streamlit-webrtc 0.61.1__py3-none-any.whl → 0.61.3__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/component.py +56 -52
- streamlit_webrtc/frontend/dist/assets/{index-DIc_tEma.js → index-Cz1nSw2-.js} +30 -30
- streamlit_webrtc/frontend/dist/index.html +1 -1
- streamlit_webrtc/webrtc.py +4 -2
- {streamlit_webrtc-0.61.1.dist-info → streamlit_webrtc-0.61.3.dist-info}/METADATA +2 -2
- {streamlit_webrtc-0.61.1.dist-info → streamlit_webrtc-0.61.3.dist-info}/RECORD +8 -8
- {streamlit_webrtc-0.61.1.dist-info → streamlit_webrtc-0.61.3.dist-info}/WHEEL +0 -0
- {streamlit_webrtc-0.61.1.dist-info → streamlit_webrtc-0.61.3.dist-info}/licenses/LICENSE +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-Cz1nSw2-.js"></script>
|
10
10
|
</head>
|
11
11
|
<body>
|
12
12
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
streamlit_webrtc/webrtc.py
CHANGED
@@ -662,7 +662,8 @@ class WebRtcWorker(Generic[VideoProcessorT, AudioProcessorT]):
|
|
662
662
|
self.on_video_ended = on_ended
|
663
663
|
|
664
664
|
if not self.video_processor:
|
665
|
-
|
665
|
+
# `update_video_callbacks` can be called before `process_offer` is called that sets up the video processor.
|
666
|
+
return
|
666
667
|
if type(self.video_processor).__name__ != CallbackAttachableProcessor.__name__:
|
667
668
|
raise TypeError(
|
668
669
|
f"video_processor has an invalid type: {type(self.video_processor)}"
|
@@ -686,7 +687,8 @@ class WebRtcWorker(Generic[VideoProcessorT, AudioProcessorT]):
|
|
686
687
|
self.on_audio_ended = on_ended
|
687
688
|
|
688
689
|
if not self.audio_processor:
|
689
|
-
|
690
|
+
# `update_audio_callbacks` can be called before `process_offer` is called that sets up the audio processor.
|
691
|
+
return
|
690
692
|
if type(self.audio_processor).__name__ != CallbackAttachableProcessor.__name__:
|
691
693
|
raise TypeError(
|
692
694
|
f"audio_processor has an invalid type: {type(self.audio_processor)}"
|
@@ -1,13 +1,13 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: streamlit-webrtc
|
3
|
-
Version: 0.61.
|
3
|
+
Version: 0.61.3
|
4
4
|
Summary: Real-time video and audio processing on Streamlit
|
5
5
|
Project-URL: Repository, https://github.com/whitphx/streamlit-webrtc
|
6
6
|
Author-email: "Yuichiro Tachibana (Tsuchiya)" <t.yic.yt@gmail.com>
|
7
7
|
License-Expression: MIT
|
8
8
|
License-File: LICENSE
|
9
9
|
Requires-Python: !=3.9.7,>=3.9
|
10
|
-
Requires-Dist: aioice>=0.
|
10
|
+
Requires-Dist: aioice>=0.10.0
|
11
11
|
Requires-Dist: aiortc>=1.11.0
|
12
12
|
Requires-Dist: packaging>=20.0
|
13
13
|
Requires-Dist: streamlit>=0.89.0
|
@@ -1,6 +1,6 @@
|
|
1
1
|
streamlit_webrtc/__init__.py,sha256=jMWwXoQ9hVyYXPD4Vrps7MyiR9goyC-n7LtkZNFBOxU,2273
|
2
2
|
streamlit_webrtc/_compat.py,sha256=AVRcUGdgWDQcCE7-ufhGr6Hb5P6EHLgejUAA72ArJmg,4384
|
3
|
-
streamlit_webrtc/component.py,sha256=
|
3
|
+
streamlit_webrtc/component.py,sha256=Imoz2xuLRvgjy2Lxi9VVXgCMdvf-nUriTim2AjdFfC0,27155
|
4
4
|
streamlit_webrtc/components_callbacks.py,sha256=tdrj2TlV8qcexFEdjm4PVkz8JwHffo4A8imoXOtjNHA,2401
|
5
5
|
streamlit_webrtc/config.py,sha256=yKFIVjIoX2F62_G2qcDrNYm2Qe_qx1E9E0YqAnAibMo,5544
|
6
6
|
streamlit_webrtc/credentials.py,sha256=3IOk7w1JLQ2Qs6XFP9dxsF81lpjLL2kdRe2ZIhHvaj4,4562
|
@@ -16,10 +16,10 @@ streamlit_webrtc/server.py,sha256=5o9E2MRIPoS18lfGPJkyhbd23RWyTwblNVVuAA2kKrA,14
|
|
16
16
|
streamlit_webrtc/session_info.py,sha256=V1EdzD2I8dWANXdC84EKSz8XgPM-zugtkYsb4hJm8Qo,2313
|
17
17
|
streamlit_webrtc/shutdown.py,sha256=PUjMoNZcTRGzZCooCmjWARpeVs5EG_9JXAf1Iay7dBM,2353
|
18
18
|
streamlit_webrtc/source.py,sha256=haPqMZ50Xh8tg7Z1yN8Frfk8v7D3oOuKteaD59asbzs,2263
|
19
|
-
streamlit_webrtc/webrtc.py,sha256=
|
20
|
-
streamlit_webrtc/frontend/dist/index.html,sha256=
|
21
|
-
streamlit_webrtc/frontend/dist/assets/index-
|
22
|
-
streamlit_webrtc-0.61.
|
23
|
-
streamlit_webrtc-0.61.
|
24
|
-
streamlit_webrtc-0.61.
|
25
|
-
streamlit_webrtc-0.61.
|
19
|
+
streamlit_webrtc/webrtc.py,sha256=WzgydYm3Xhoi5c1QHNLc_GiF_E0aGC5ynzmxeAbtJCw,29900
|
20
|
+
streamlit_webrtc/frontend/dist/index.html,sha256=ZY_Iflaf7wRUHHNpw7JMlSMraE3ewM9T_tZA94NIPRs,527
|
21
|
+
streamlit_webrtc/frontend/dist/assets/index-Cz1nSw2-.js,sha256=j126AA3NGo8BLgQSjjMyQR6QwpDRq_jILP9woihrncI,589799
|
22
|
+
streamlit_webrtc-0.61.3.dist-info/METADATA,sha256=nUJ6oMZtfpG5E0l5dQw_E0UfXX3XrQ1gTxkYEwalntA,18288
|
23
|
+
streamlit_webrtc-0.61.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
24
|
+
streamlit_webrtc-0.61.3.dist-info/licenses/LICENSE,sha256=pwccNHVA7r4rYofGlMU10aKEU90GLUlQr8uY80PR0NQ,1081
|
25
|
+
streamlit_webrtc-0.61.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|