Closed clacladev closed 1 year ago
Hi, I am quite surprised that video frame timestamp are not in order. I know that audio and video frames are not in order because the audio and the video encoders are executed in separate threads and it is too complicated to synchronize. That is not supported by the RTMP format but most of modern RTMP server support that now (Youtube, ffmpeg,...). Could you test with video only?
Hi,
I just implemented a way to synchronise audio and video frames for RTMP. Could you test the sample in the feature/rtmp_av_sync branch? APK is here: https://github.com/ThibaultBee/StreamPack/suites/10072532349/artifacts/490517994
Hello! I will happily test it as soon as I am back in early January. Thanks for the ping
Hey @ThibaultBee I have been able to test the change and it works! Thanks a lot for it
Hi. Glad to hear that. Sorry I took my time to find a clean way to do do. Other open source librairies changes the timestamp but there is no way I will implement a machanism that changes timestamps.
Aldo, I might add a static variable to enable/disable this mechanism. Not sure yet
Released in 2.5.2
I've been using StreamPack on Android via api.video-reactnative-live-stream. Running on device or simulator the broadcasting service livepeer.studio is not able to show the broadcasted camera content on Android. Even though I am able to see it if I broadcast to a local
ffplay -listen 1 -i rtmp://0.0.0.0:1935/s/streamKey
.After talking with a colleague of mine at Livepeer, he debugged the RTMP stream received content. His feedback is:
Do you know why this is happening? Thanks