whitphx / streamlit-webrtc

Real-time video and audio processing on Streamlit
https://discuss.streamlit.io/t/new-component-streamlit-webrtc-a-new-way-to-deal-with-real-time-media-streams/8669
MIT License
1.36k stars 182 forks source link

Specify a Local Port for Binding #738

Closed alercelik closed 2 years ago

alercelik commented 2 years ago

Is there a way to specify a port to bind for webrtc? I can use only one port however I believe aiortc assigns a port randomly and I couldn't find a way to specify a local port.

whitphx commented 2 years ago

From my understanding, there is no way to do it. See #7.

If your question is in the context of Docker, https://github.com/whitphx/streamlit-webrtc/issues/7#issuecomment-1001866337 may help you.

alercelik commented 2 years ago

Oh, I missed that issue. Thanks!