streamlit-webrtc icon indicating copy to clipboard operation
streamlit-webrtc copied to clipboard

Can we add mjpeg as input instead of webcam or camera

Open tomriddle54 opened this issue 2 years ago • 1 comments

@whitphx Hello, we are using cctv camera feed which is in the from of RTSP and converting it to MJPEG for browser view is there any way we can use streamlit-webrtc or modify it.

tomriddle54 avatar Jun 07 '22 15:06 tomriddle54

There is an example to use RTSP source: https://github.com/whitphx/streamlit-webrtc/blob/0b143be13ec71c3339e4a1917aab8d4fd7dd333f/app.py#L415 while I'm not sure if it's possible to use MJPEG in that way.

whitphx avatar Jun 09 '22 03:06 whitphx