Open AVasic opened 8 years ago
@AVasic Hi, I have the same request, have you figured out how to achieve that? Thx!
Try tune ffmpeg input params for images:
exec_push /usr/bin/ffmpeg -i "rtmp://127.0.0.1/live/$name live=1 buffer=8000" ...
and for audio:
exec_push /usr/bin/ffmpeg -i "rtmp://127.0.0.1/live/$name live=1 buffer=300" ...
Hi I'm trying to stream live video on mobile by slicing input to jpegs, and playing audio from HLS, this all works, but problem is that audio is 15-30 seconds late. Do you notice from my config that I'm doing something wrong? Is there an option to detect how late audio is so that I can somehow sync images with sound? Thanks in advance!
My config: