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.
@@ -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-DIc_tEma.js"></script>
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>
@@ -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
- raise TypeError("video_processor is None")
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
- raise TypeError("audio_processor is None")
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.1
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.9.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=uNmy3kLxhT6vlIp61uMgAjqeS4PaaPMy9choGIHvENE,26832
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=CC6Z55e2aikhF1r_C6p08xmIYqbYZGFTpsmgBd1lo_A,29732
20
- streamlit_webrtc/frontend/dist/index.html,sha256=F6pWGF0VhKyiXxZ1clUviJsT3T7R6Uavg7eqTBPbM-g,527
21
- streamlit_webrtc/frontend/dist/assets/index-DIc_tEma.js,sha256=FQpDZoH92lGpIw9wkP9CF0IJ2jwLOUV-eRAtu-tDcTI,589649
22
- streamlit_webrtc-0.61.1.dist-info/METADATA,sha256=nGBX1JNGbZp3Hp_UbxcyYdRAHNzQ9F3wop0M6kTYnLc,18287
23
- streamlit_webrtc-0.61.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
24
- streamlit_webrtc-0.61.1.dist-info/licenses/LICENSE,sha256=pwccNHVA7r4rYofGlMU10aKEU90GLUlQr8uY80PR0NQ,1081
25
- streamlit_webrtc-0.61.1.dist-info/RECORD,,
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,,