streamlit-webrtc 0.60.2__py3-none-any.whl → 0.61.0__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-DV2u3ooX.js"></script>
9
+ <script type="module" crossorigin src="./assets/index-dqvSNohr.js"></script>
10
10
  </head>
11
11
  <body>
12
12
  <noscript>You need to enable JavaScript to run this app.</noscript>
@@ -620,7 +620,15 @@ class WebRtcWorker(Generic[VideoProcessorT, AudioProcessorT]):
620
620
  if candidate_id in self._added_ice_candidate_ids:
621
621
  continue
622
622
 
623
- candidate = candidate_from_sdp(candidate_dict["candidate"])
623
+ try:
624
+ candidate = candidate_from_sdp(candidate_dict["candidate"])
625
+ except Exception as e:
626
+ logger.error(
627
+ "Error occurred while parsing candidate %s: %s",
628
+ candidate_dict["candidate"],
629
+ e,
630
+ )
631
+ continue
624
632
  candidate.sdpMid = candidate_dict.get("sdpMid")
625
633
  candidate.sdpMLineIndex = candidate_dict.get("sdpMLineIndex")
626
634
  # candidate.usernameFragment = candidate_dict.get("usernameFragment")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: streamlit-webrtc
3
- Version: 0.60.2
3
+ Version: 0.61.0
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>
@@ -16,8 +16,7 @@ Description-Content-Type: text/markdown
16
16
  # streamlit-webrtc
17
17
  **Handling and transmitting real-time video/audio streams over the network with Streamlit** [![Open in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://share.streamlit.io/whitphx/streamlit-webrtc-example/main/app.py)
18
18
 
19
- [![Tests](https://github.com/whitphx/streamlit-webrtc/workflows/Tests/badge.svg?branch=main)](https://github.com/whitphx/streamlit-webrtc/actions?query=workflow%3ATests+branch%3Amain)
20
- [![Frontend Tests](https://github.com/whitphx/streamlit-webrtc/workflows/Frontend%20tests/badge.svg?branch=main)](https://github.com/whitphx/streamlit-webrtc/actions?query=workflow%3A%22Frontend+tests%22+branch%3Amain)
19
+ [![Test, Build, and Publish](https://github.com/whitphx/streamlit-webrtc/actions/workflows/main.yml/badge.svg)](https://github.com/whitphx/streamlit-webrtc/actions/workflows/main.yml)
21
20
  [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
22
21
 
23
22
  [![PyPI](https://img.shields.io/pypi/v/streamlit-webrtc)](https://pypi.org/project/streamlit-webrtc/)
@@ -29,12 +28,12 @@ Description-Content-Type: text/markdown
29
28
  <tr>
30
29
  <td width="48%">
31
30
  <a href="https://share.streamlit.io/whitphx/streamlit-webrtc-example/main/app.py">
32
- <img src="https://global.discourse-cdn.com/business7/uploads/streamlit/original/2X/a/af111a7393c77cb69d7712ac8e71ca862feaeb24.gif" />
31
+ <img src="https://global.discourse-cdn.com/streamlit/original/2X/a/af111a7393c77cb69d7712ac8e71ca862feaeb24.gif" />
33
32
  </a>
34
33
  </td>
35
34
  <td width="48%">
36
35
  <a href="https://share.streamlit.io/whitphx/style-transfer-web-app/main/app.py">
37
- <img src="https://global.discourse-cdn.com/business7/uploads/streamlit/original/2X/b/b3cb8aa60eb746366e06726a9137720583c02c3a.gif" />
36
+ <img src="https://global.discourse-cdn.com/streamlit/original/2X/b/b3cb8aa60eb746366e06726a9137720583c02c3a.gif" />
38
37
  </a>
39
38
  </td>
40
39
  </tr>
@@ -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=Bx4tYZkGcm341AzDW_rcKaravpAYAUtHMEnCepyJjXM,29462
20
- streamlit_webrtc/frontend/dist/index.html,sha256=Iw2ulM_HTlCdchAUJLCBiZQk6FboupXx3g-5Zf4MrUQ,527
21
- streamlit_webrtc/frontend/dist/assets/index-DV2u3ooX.js,sha256=HpCe_touce0s9XRRQEB9PvmcIz5705ePMym6FB8sLFg,583792
22
- streamlit_webrtc-0.60.2.dist-info/METADATA,sha256=FGyoOVT_MOzPNmJTiryjNJyHu6ViSkZ-8_DEs1m9NlU,18670
23
- streamlit_webrtc-0.60.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
24
- streamlit_webrtc-0.60.2.dist-info/licenses/LICENSE,sha256=pwccNHVA7r4rYofGlMU10aKEU90GLUlQr8uY80PR0NQ,1081
25
- streamlit_webrtc-0.60.2.dist-info/RECORD,,
19
+ streamlit_webrtc/webrtc.py,sha256=CC6Z55e2aikhF1r_C6p08xmIYqbYZGFTpsmgBd1lo_A,29732
20
+ streamlit_webrtc/frontend/dist/index.html,sha256=9X_k8hk2UnM8xfDqJwJ7Ujh6jdpT_fRQhlP9Ud_azr8,527
21
+ streamlit_webrtc/frontend/dist/assets/index-dqvSNohr.js,sha256=yCr1Y4yY1F0oVCz0ZgI3-_IXc6-0Jis3wueuz2rr5jY,589442
22
+ streamlit_webrtc-0.61.0.dist-info/METADATA,sha256=cshfi9Uy2q6W3aoUaIAgr8us5dEQCxKz8y3uOSPHdrI,18415
23
+ streamlit_webrtc-0.61.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
24
+ streamlit_webrtc-0.61.0.dist-info/licenses/LICENSE,sha256=pwccNHVA7r4rYofGlMU10aKEU90GLUlQr8uY80PR0NQ,1081
25
+ streamlit_webrtc-0.61.0.dist-info/RECORD,,