I used live menu to push camera to an rtmp server but the video is delayed like 10 second and audio is out of sync, video is always behind audio. how can we fix it? may be better buffering?
below is log file in android:
06-09 19:11:44.642 10103-12852/com.dxyh.fqrtmpplayer W/FQRtmp: [jitter_buffer.cpp:0123] Delay between the first packet and last packet in the muxing queue is 1022 > 1000: forcing output
06-09 19:11:44.692 10103-12852/com.dxyh.fqrtmpplayer W/FQRtmp: [jitter_buffer.cpp:0123] Delay between the first packet and last packet in the muxing queue is 1022 > 1000: forcing output
06-09 19:11:44.712 10103-12852/com.dxyh.fqrtmpplayer W/FQRtmp: [jitter_buffer.cpp:0123] Delay between the first packet and last packet in the muxing queue is 1022 > 1000: forcing output
06-09 19:11:44.722 10103-12852/com.dxyh.fqrtmpplayer W/FQRtmp: [jitter_buffer.cpp:0123] Delay between the first packet and last packet in the muxing queue is 1021 > 1000: forcing output
06-09 19:11:44.732 10103-12852/com.dxyh.fqrtmpplayer W/FQRtmp: [jitter_buffer.cpp:0123] Delay between the first packet and last packet in the muxing queue is 1022 > 1000: forcing output
Noted.
You can modify mCamcorderProfileId & mBitrate & mFPS ... in LibFQRtmp.java to have a better experience.
Currently just audio & video sync mechanism is used.
I used live menu to push camera to an rtmp server but the video is delayed like 10 second and audio is out of sync, video is always behind audio. how can we fix it? may be better buffering?
below is log file in android: 06-09 19:11:44.642 10103-12852/com.dxyh.fqrtmpplayer W/FQRtmp: [jitter_buffer.cpp:0123] Delay between the first packet and last packet in the muxing queue is 1022 > 1000: forcing output 06-09 19:11:44.692 10103-12852/com.dxyh.fqrtmpplayer W/FQRtmp: [jitter_buffer.cpp:0123] Delay between the first packet and last packet in the muxing queue is 1022 > 1000: forcing output 06-09 19:11:44.712 10103-12852/com.dxyh.fqrtmpplayer W/FQRtmp: [jitter_buffer.cpp:0123] Delay between the first packet and last packet in the muxing queue is 1022 > 1000: forcing output 06-09 19:11:44.722 10103-12852/com.dxyh.fqrtmpplayer W/FQRtmp: [jitter_buffer.cpp:0123] Delay between the first packet and last packet in the muxing queue is 1021 > 1000: forcing output 06-09 19:11:44.732 10103-12852/com.dxyh.fqrtmpplayer W/FQRtmp: [jitter_buffer.cpp:0123] Delay between the first packet and last packet in the muxing queue is 1022 > 1000: forcing output