streamlit-webrtc 0.53.9__tar.gz → 0.53.11__tar.gz

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.
Files changed (26) hide show
  1. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/PKG-INFO +2 -2
  2. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/pyproject.toml +2 -1
  3. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/_compat.py +3 -1
  4. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/session_info.py +2 -2
  5. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/webrtc.py +1 -0
  6. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/.gitignore +0 -0
  7. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/LICENSE +0 -0
  8. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/README.md +0 -0
  9. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/__init__.py +0 -0
  10. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/component.py +0 -0
  11. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/components_callbacks.py +0 -0
  12. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/config.py +0 -0
  13. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/credentials.py +0 -0
  14. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/eventloop.py +0 -0
  15. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/factory.py +0 -0
  16. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/frontend/dist/assets/index-DMhSSwr2.js +0 -0
  17. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/frontend/dist/index.html +0 -0
  18. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/mix.py +0 -0
  19. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/models.py +0 -0
  20. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/process.py +0 -0
  21. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/py.typed +0 -0
  22. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/receive.py +0 -0
  23. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/relay.py +0 -0
  24. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/server.py +0 -0
  25. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/shutdown.py +0 -0
  26. {streamlit_webrtc-0.53.9 → streamlit_webrtc-0.53.11}/streamlit_webrtc/source.py +0 -0
@@ -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
@@ -10,7 +10,7 @@ dependencies = [
10
10
  # For allow-same-origin, >=0.73.0 is required. See https://blog.streamlit.io/streamlit-components-security-and-a-five-month-quest-to-ship-a-single-line-of-code/
11
11
  # 0.84.0 has an error at marshalling component values.
12
12
  "streamlit>=0.84.1",
13
- "aiortc>=1.9.0", # aiortc<1.4.0 causes an error with cryptography>=39.0.0. See https://github.com/whitphx/streamlit-webrtc/issues/1164. The fix was introduced into aiortc in https://github.com/aiortc/aiortc/commit/08b0a7e9f5030a9f7e5617382e92560d4ae763a2 that 1.4.0 included.
13
+ "aiortc>=1.11.0", # aiortc<1.4.0 causes an error with cryptography>=39.0.0. See https://github.com/whitphx/streamlit-webrtc/issues/1164. The fix was introduced into aiortc in https://github.com/aiortc/aiortc/commit/08b0a7e9f5030a9f7e5617382e92560d4ae763a2 that 1.4.0 included.
14
14
  "packaging>=20.0",
15
15
  ]
16
16
 
@@ -29,6 +29,7 @@ dev = [
29
29
  "streamlit-server-state>=0.17.1",
30
30
  "twilio>=8.1",
31
31
  "opencv-python-headless>=4.5.4.58",
32
+ "streamlit-session-memo>=0.3.2",
32
33
  # For testing older versions of Streamlit: https://discuss.streamlit.io/t/modulenotfounderror-no-module-named-altair-vegalite-v4/42921
33
34
  "altair<5",
34
35
  # For testing older versions of Streamlit: https://discuss.streamlit.io/t/streamlit-run-with-protobuf-error/25632/3
@@ -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