whitphx / streamlit-webrtc

Real-time video and audio streams over the network, with Streamlit.
https://discuss.streamlit.io/t/new-component-streamlit-webrtc-a-new-way-to-deal-with-real-time-media-streams/8669
MIT License
1.34k stars 179 forks source link

Retrieve frames in high quality #1047

Closed Hamdi-Ben-Abdallah closed 1 year ago

Hamdi-Ben-Abdallah commented 1 year ago

Hello,

Thank you for this very useful work. I can't seem to increase the quality of the videos. Is there a solution to have high quality images?

whitphx commented 1 year ago

This helps? https://discuss.streamlit.io/t/new-component-streamlit-webrtc-a-new-way-to-deal-with-real-time-media-streams/8669/74?u=whitphx

though, ultimately, the resolution is determined under the tradeoff between the quality and frame rate/latency by the WebRTC API under the hood, as this library does not touch the deep config of it.