aau-zid / BigBlueButton-liveStreaming

Streams a given BBB Meeting to an RTMP Server.
GNU General Public License v3.0
200 stars 159 forks source link

Audio/video not synchronized #100

Closed salleman33 closed 3 years ago

salleman33 commented 3 years ago

Describe the bug Hi, Audio and video are not sync. Audio is ~3 second early.

To Reproduce Steps to reproduce the behavior: just launch docker image and play rtmp stream

Expected behavior audio and video are synchronized

Desktop (please complete the following information):

thanks for your help

salleman33 commented 3 years ago

Ok, i add an offset to resolve my problem : new ffmpeg options with "itsoffset 1.5" on pulseaudio stream : ffmpeg_stream = 'ffmpeg -thread_queue_size "%s" -f x11grab -draw_mouse 0 -s %s -i :%d -thread_queue_size "%s" -f pulse -itsoffset 1.5 -i default -ac 2 %s -f flv -flvflags no_duration_filesize "%s"'

mtsonline commented 3 years ago

thanks for the fix example. hopefully this can help others that experience this. cheers