Open cksmith opened 6 years ago
When I run the webrtcrecorder example I only ever seem to receive mono samples from the browser.
I see the line: 17:19:58 [warn] [streamrecorder.cpp(124)] Dropping initial mono samples over and over.
17:19:58 [warn] [streamrecorder.cpp(124)] Dropping initial mono samples
Any idea what might be going on here? Let me know if you need any other information to debug.
BTW, the latest updates broke the stream recorder. In StreamRecorder::OnData, before initializing the encoder we should check
if (_shouldInit && !_awaitingVideo)
not just _shouldInit. Similarly in StreamRecorder::OnFrame, we should check !_awaitingAudio.
_shouldInit
!_awaitingAudio
When I run the webrtcrecorder example I only ever seem to receive mono samples from the browser.
I see the line:
17:19:58 [warn] [streamrecorder.cpp(124)] Dropping initial mono samples
over and over.Any idea what might be going on here? Let me know if you need any other information to debug.
BTW, the latest updates broke the stream recorder. In StreamRecorder::OnData, before initializing the encoder we should check
if (_shouldInit && !_awaitingVideo)
not just
_shouldInit
. Similarly in StreamRecorder::OnFrame, we should check!_awaitingAudio
.