Update app.py
Browse files
app.py
CHANGED
@@ -144,14 +144,7 @@ webrtc_streamer(
|
|
144 |
key="virtual-keyboard",
|
145 |
mode=WebRtcMode.SENDRECV,
|
146 |
rtc_configuration={"iceServers": get_ice_servers(), "iceTransportPolicy": "relay"},
|
147 |
-
media_stream_constraints={
|
148 |
-
"video": {
|
149 |
-
"width": {"exact": 640},
|
150 |
-
"height": {"exact": 480},
|
151 |
-
# "frameRate": {"ideal": 30}
|
152 |
-
},
|
153 |
-
"audio": False,
|
154 |
-
},
|
155 |
video_frame_callback=video_frame_callback,
|
156 |
async_processing=True,
|
157 |
)
|
|
|
144 |
key="virtual-keyboard",
|
145 |
mode=WebRtcMode.SENDRECV,
|
146 |
rtc_configuration={"iceServers": get_ice_servers(), "iceTransportPolicy": "relay"},
|
147 |
+
media_stream_constraints={"video": True, "audio": False},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
video_frame_callback=video_frame_callback,
|
149 |
async_processing=True,
|
150 |
)
|