gdombiak / OctoPod

Free open source client for OctoPrint
Apache License 2.0
225 stars 42 forks source link

Add WebRTC camera streams #691

Open jdwhite opened 3 months ago

jdwhite commented 3 months ago

Please add support for WebRTC streaming.

gdombiak commented 3 months ago

Hi @jdwhite, thanks for suggesting this new feature. I haven't played with WebRTC before so it would be great if you could share how to setup an env with WebRTC so I can develop and test this feature? I'm reading about this but your input would be appreciated.

Thanks, Gaston

jdwhite commented 3 months ago

I have no particular knowledge of WebRTC other than the new camera stack for OctoPrint, Camera-Streamer, supports it. WebRTC uses a lot less bandwidth (~150K/s versus 2M+/s for MJPEG) in my testing with no difference in lag or quality.

I'm using the "Stable OctoPi with New Camera Stack" distribution available from octoprint.org/download.

gdombiak commented 3 months ago

Thanks for the information. I'm using the new camera stack but was not aware it already comes with WebRTC. Sweet! Working on this feature next....

Regards, Gaston