streamlit-webrtc 0.49.0__py3-none-any.whl → 0.49.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- streamlit_webrtc/frontend/dist/assets/index-Bvs6iI-H.js +258 -0
- streamlit_webrtc/frontend/dist/index.html +1 -1
- streamlit_webrtc/models.py +8 -2
- streamlit_webrtc/process.py +3 -3
- {streamlit_webrtc-0.49.0.dist-info → streamlit_webrtc-0.49.2.dist-info}/METADATA +1 -1
- {streamlit_webrtc-0.49.0.dist-info → streamlit_webrtc-0.49.2.dist-info}/RECORD +8 -8
- streamlit_webrtc/frontend/dist/assets/index-BfANt4tM.js +0 -258
- {streamlit_webrtc-0.49.0.dist-info → streamlit_webrtc-0.49.2.dist-info}/LICENSE +0 -0
- {streamlit_webrtc-0.49.0.dist-info → streamlit_webrtc-0.49.2.dist-info}/WHEEL +0 -0
@@ -6,7 +6,7 @@
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
7
7
|
<meta name="theme-color" content="#000000" />
|
8
8
|
<meta name="description" content="Streamlit WebRTC Component" />
|
9
|
-
<script type="module" crossorigin src="./assets/index-
|
9
|
+
<script type="module" crossorigin src="./assets/index-Bvs6iI-H.js"></script>
|
10
10
|
</head>
|
11
11
|
<body>
|
12
12
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
streamlit_webrtc/models.py
CHANGED
@@ -164,8 +164,14 @@ class AudioProcessorBase(ProcessorBase[av.AudioFrame]):
|
|
164
164
|
"""
|
165
165
|
|
166
166
|
|
167
|
-
VideoProcessorT = TypeVar(
|
168
|
-
|
167
|
+
VideoProcessorT = TypeVar(
|
168
|
+
"VideoProcessorT",
|
169
|
+
bound=Union[CallbackAttachableProcessor[av.VideoFrame], VideoProcessorBase],
|
170
|
+
)
|
171
|
+
AudioProcessorT = TypeVar(
|
172
|
+
"AudioProcessorT",
|
173
|
+
bound=Union[CallbackAttachableProcessor[av.AudioFrame], AudioProcessorBase],
|
174
|
+
)
|
169
175
|
|
170
176
|
MediaPlayerFactory = Callable[[], MediaPlayer]
|
171
177
|
MediaRecorderFactory = Callable[[], MediaRecorder]
|
streamlit_webrtc/process.py
CHANGED
@@ -81,9 +81,9 @@ class AsyncMediaProcessTrack(MediaStreamTrack, Generic[ProcessorT, FrameT]):
|
|
81
81
|
|
82
82
|
self.stop_timeout = stop_timeout
|
83
83
|
|
84
|
-
self._thread = None
|
84
|
+
self._thread: Optional[threading.Thread] = None
|
85
85
|
|
86
|
-
def _start(self):
|
86
|
+
def _start(self) -> None:
|
87
87
|
if self._thread:
|
88
88
|
return
|
89
89
|
|
@@ -128,7 +128,7 @@ class AsyncMediaProcessTrack(MediaStreamTrack, Generic[ProcessorT, FrameT]):
|
|
128
128
|
|
129
129
|
return frames[-1]
|
130
130
|
|
131
|
-
def _worker_thread(self):
|
131
|
+
def _worker_thread(self) -> None:
|
132
132
|
loop = asyncio.new_event_loop()
|
133
133
|
|
134
134
|
tasks: List[asyncio.Task] = []
|
@@ -5,11 +5,11 @@ streamlit_webrtc/components_callbacks.py,sha256=tdrj2TlV8qcexFEdjm4PVkz8JwHffo4A
|
|
5
5
|
streamlit_webrtc/config.py,sha256=Yoppkv0aHFEpHp5IWPgy3tbohAsm-FGEtoH5Zbgwltw,4114
|
6
6
|
streamlit_webrtc/eventloop.py,sha256=AFmxGlRRxVdl0cTS9pKpRZR2Mnq6v6DgudVZZ425IVw,1333
|
7
7
|
streamlit_webrtc/factory.py,sha256=XeHefJ6d_aHE7Oy_oqz5dWsfVKuVxjtifilvs4cMBWs,6806
|
8
|
-
streamlit_webrtc/frontend/dist/assets/index-
|
9
|
-
streamlit_webrtc/frontend/dist/index.html,sha256=
|
8
|
+
streamlit_webrtc/frontend/dist/assets/index-Bvs6iI-H.js,sha256=enlJxJYE6CE0q29vOSN0eNegSEkmi_JfAWCwh5nDAAE,582612
|
9
|
+
streamlit_webrtc/frontend/dist/index.html,sha256=I0xIQDi8GeI3xLBfg8uJU3lT17dO1W9gB2ueZTA9xBk,527
|
10
10
|
streamlit_webrtc/mix.py,sha256=Cd1a3bmJdCY_5Ita-bvW0Y5a0ydLHBANojBOqJ1Govo,8692
|
11
|
-
streamlit_webrtc/models.py,sha256=
|
12
|
-
streamlit_webrtc/process.py,sha256=
|
11
|
+
streamlit_webrtc/models.py,sha256=3sKVjCFgX-eQ7nlMHGWxzR9ohdstxUSZaiOHjyDAHVQ,6308
|
12
|
+
streamlit_webrtc/process.py,sha256=rBxrWFVc-3RUaeOsx-34G5hj49Tl5acYNIn11s8YWqo,7826
|
13
13
|
streamlit_webrtc/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
14
14
|
streamlit_webrtc/receive.py,sha256=gzv1uZDTAlxJ0hyJ5LweTr0lVuoisrH5xRevGnYkWwo,2922
|
15
15
|
streamlit_webrtc/relay.py,sha256=2K2h0uNz50ARUOScYZPYlEmZb0uAi0agaYxI9z3mLeI,896
|
@@ -18,7 +18,7 @@ streamlit_webrtc/session_info.py,sha256=pg_2RFexR18UfwpZT5ENcPfedEiWuAxBuXc2RRuF
|
|
18
18
|
streamlit_webrtc/shutdown.py,sha256=rbWMhOIrbOBZDlqqBTzCfs4MuHQ0UEhljkNvvXoeTz0,2171
|
19
19
|
streamlit_webrtc/source.py,sha256=haPqMZ50Xh8tg7Z1yN8Frfk8v7D3oOuKteaD59asbzs,2263
|
20
20
|
streamlit_webrtc/webrtc.py,sha256=grVZTC1wnL8ZpPO0vjABarvAzXzinTAWSSND-SdTAzc,27064
|
21
|
-
streamlit_webrtc-0.49.
|
22
|
-
streamlit_webrtc-0.49.
|
23
|
-
streamlit_webrtc-0.49.
|
24
|
-
streamlit_webrtc-0.49.
|
21
|
+
streamlit_webrtc-0.49.2.dist-info/LICENSE,sha256=pwccNHVA7r4rYofGlMU10aKEU90GLUlQr8uY80PR0NQ,1081
|
22
|
+
streamlit_webrtc-0.49.2.dist-info/METADATA,sha256=i0omNVEbKwaC3WJyb6KMDRYiXUhsLkJTr46Colyo6M0,19063
|
23
|
+
streamlit_webrtc-0.49.2.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
24
|
+
streamlit_webrtc-0.49.2.dist-info/RECORD,,
|