streamlit-webrtc 0.53.9__py3-none-any.whl → 0.53.11__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.
@@ -56,8 +56,10 @@ except ModuleNotFoundError:
56
56
  from streamlit.app_session import AppSession, AppSessionState # type: ignore
57
57
  except ModuleNotFoundError:
58
58
  # streamlit < 1.4
59
- from streamlit.report_session import ( # type: ignore # isort:skip
59
+ from streamlit.report_session import ( # type: ignore
60
60
  ReportSession as AppSession,
61
+ )
62
+ from streamlit.report_session import ( # type: ignore
61
63
  ReportSessionState as AppSessionState,
62
64
  )
63
65
 
@@ -34,11 +34,11 @@ def get_this_session_info() -> Optional[SessionInfo]:
34
34
  if VER_GTE_1_18_0:
35
35
  from streamlit.runtime.runtime import Runtime
36
36
 
37
- return Runtime.instance()._session_mgr.get_session_info(session_id) # type: ignore # noqa: E501
37
+ return Runtime.instance()._session_mgr.get_session_info(session_id) # type: ignore
38
38
  elif VER_GTE_1_14_0:
39
39
  from streamlit.runtime.runtime import Runtime
40
40
 
41
- return Runtime.instance()._get_session_info(session_id) # type: ignore # noqa: E501
41
+ return Runtime.instance()._get_session_info(session_id) # type: ignore
42
42
 
43
43
  current_server = get_current_server()
44
44
 
@@ -580,6 +580,7 @@ class WebRtcWorker(Generic[VideoProcessorT, AudioProcessorT]):
580
580
  )
581
581
 
582
582
  if isinstance(result, Exception):
583
+ self.stop(timeout=1)
583
584
  raise result
584
585
 
585
586
  return result
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: streamlit-webrtc
3
- Version: 0.53.9
3
+ Version: 0.53.11
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: aiortc>=1.9.0
10
+ Requires-Dist: aiortc>=1.11.0
11
11
  Requires-Dist: packaging>=20.0
12
12
  Requires-Dist: streamlit>=0.84.1
13
13
  Description-Content-Type: text/markdown
@@ -1,5 +1,5 @@
1
1
  streamlit_webrtc/__init__.py,sha256=jMWwXoQ9hVyYXPD4Vrps7MyiR9goyC-n7LtkZNFBOxU,2273
2
- streamlit_webrtc/_compat.py,sha256=43RUwFoGdRBq8EkOdf6inWkl-qogs5lF8tc-sYrVd1s,4128
2
+ streamlit_webrtc/_compat.py,sha256=YQdkF6Qsl_1WO_HIS4tydx2L0jNB3H0C7YnvWDS9mmA,4188
3
3
  streamlit_webrtc/component.py,sha256=t5mGw0mGjx0RoXm1vbLYR7hC00mLBsxys6mYTaf1S1s,26108
4
4
  streamlit_webrtc/components_callbacks.py,sha256=tdrj2TlV8qcexFEdjm4PVkz8JwHffo4A8imoXOtjNHA,2401
5
5
  streamlit_webrtc/config.py,sha256=yKFIVjIoX2F62_G2qcDrNYm2Qe_qx1E9E0YqAnAibMo,5544
@@ -13,13 +13,13 @@ streamlit_webrtc/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  streamlit_webrtc/receive.py,sha256=gzv1uZDTAlxJ0hyJ5LweTr0lVuoisrH5xRevGnYkWwo,2922
14
14
  streamlit_webrtc/relay.py,sha256=2K2h0uNz50ARUOScYZPYlEmZb0uAi0agaYxI9z3mLeI,896
15
15
  streamlit_webrtc/server.py,sha256=5o9E2MRIPoS18lfGPJkyhbd23RWyTwblNVVuAA2kKrA,1489
16
- streamlit_webrtc/session_info.py,sha256=pg_2RFexR18UfwpZT5ENcPfedEiWuAxBuXc2RRuFCaE,2341
16
+ streamlit_webrtc/session_info.py,sha256=V1EdzD2I8dWANXdC84EKSz8XgPM-zugtkYsb4hJm8Qo,2313
17
17
  streamlit_webrtc/shutdown.py,sha256=rbWMhOIrbOBZDlqqBTzCfs4MuHQ0UEhljkNvvXoeTz0,2171
18
18
  streamlit_webrtc/source.py,sha256=haPqMZ50Xh8tg7Z1yN8Frfk8v7D3oOuKteaD59asbzs,2263
19
- streamlit_webrtc/webrtc.py,sha256=UBWoa2-u3X3tAaIj3NSUY9Thptk9CH50qeQS-tRY2tY,27278
19
+ streamlit_webrtc/webrtc.py,sha256=6fSf-2Irqi9JQ2vBIUzWqlP45rJifqnAFva3optZMfE,27311
20
20
  streamlit_webrtc/frontend/dist/index.html,sha256=mae7QlSxz7tCcSszMZG21Q0qXjbQzPun68zD3bjjO0U,527
21
21
  streamlit_webrtc/frontend/dist/assets/index-DMhSSwr2.js,sha256=01mdY7O01shSnWVGKCBSfhgZYSulgZ2uhkWotKlqHIA,582849
22
- streamlit_webrtc-0.53.9.dist-info/METADATA,sha256=d-WeGQyRHw7f1-AjH8DbxBbyuP8mcujjfCRhdC_LgSw,18640
23
- streamlit_webrtc-0.53.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
24
- streamlit_webrtc-0.53.9.dist-info/licenses/LICENSE,sha256=pwccNHVA7r4rYofGlMU10aKEU90GLUlQr8uY80PR0NQ,1081
25
- streamlit_webrtc-0.53.9.dist-info/RECORD,,
22
+ streamlit_webrtc-0.53.11.dist-info/METADATA,sha256=zb2vHjnyOQY5cJrim2VnwRP3081mWmr8LetA3dzVLL4,18642
23
+ streamlit_webrtc-0.53.11.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
24
+ streamlit_webrtc-0.53.11.dist-info/licenses/LICENSE,sha256=pwccNHVA7r4rYofGlMU10aKEU90GLUlQr8uY80PR0NQ,1081
25
+ streamlit_webrtc-0.53.11.dist-info/RECORD,,