MP4Recoder maybe can not work
vvspacetime opened this issue · comments
vvspacetime commented
When I test mp4record, I found it can not work. When check it stack as follow
StreamTrackDepacketizer::onRTP should have called MP4Recorder::onMediaFrame. But it call MP4Recorder::Stop method actually. I think it is a Virtual Function Pointer error. So I change MP4Recorder inheritance order, put the public MediaFrame::Listener
before public RecorderControl
. Now it worked, and I record success.
Environment: I compile and run in mac.
Sergio Garcia Murillo commented
Could you recompile and try again with latest version please?