Delete pages/11_programatic_control_playing.py
Browse files
pages/11_programatic_control_playing.py
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
"""A sample of controlling the playing state from Python."""
|
2 |
-
|
3 |
-
import streamlit as st
|
4 |
-
from streamlit_webrtc import WebRtcMode, webrtc_streamer
|
5 |
-
|
6 |
-
from sample_utils.turn import get_ice_servers
|
7 |
-
|
8 |
-
playing = st.checkbox("Playing", value=True)
|
9 |
-
|
10 |
-
webrtc_streamer(
|
11 |
-
key="programatic_control",
|
12 |
-
desired_playing_state=playing,
|
13 |
-
mode=WebRtcMode.SENDRECV,
|
14 |
-
rtc_configuration={"iceServers": get_ice_servers()},
|
15 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|