scivision / PyLivestream

Pure Python FFmpeg-based live video / audio streaming to YouTube, Facebook, Periscope, Twitch, and more
Apache License 2.0
707 stars 156 forks source link

Choppy video when streamming over WiFi #59

Closed lailamor closed 1 year ago

lailamor commented 3 years ago

Description

When streaming over WiFi, the video stream gets choppy. Audio seems OK though.

Reproduce

If connected to Ethernet, disconnect Connect to WiFi Stream to twitch.tv

pylivestram Configuration

Default. Only added stream key.

Software

Other comments

Same issue with my personal ffmpeg script. So maybe something that could be worked around rtmp?

scivision commented 3 years ago

This is not unexpected with WiFi. A lot of WiFi networks experience congestion especially in the pandemic with so many home offices. This congestion isn't noticed while watching (consuming) video due to more extensive buffering.

lailamor commented 3 years ago

I've tested with OBS studio. With OBS this issue doesn't happen... Only with ffmpeg/pylivestream. Seems OBS devs might have workarounded it or something.