streamlit-webrtc 0.60.1__py3-none-any.whl → 0.60.2__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/webrtc.py +4 -2
- {streamlit_webrtc-0.60.1.dist-info → streamlit_webrtc-0.60.2.dist-info}/METADATA +1 -1
- {streamlit_webrtc-0.60.1.dist-info → streamlit_webrtc-0.60.2.dist-info}/RECORD +5 -5
- {streamlit_webrtc-0.60.1.dist-info → streamlit_webrtc-0.60.2.dist-info}/WHEEL +0 -0
- {streamlit_webrtc-0.60.1.dist-info → streamlit_webrtc-0.60.2.dist-info}/licenses/LICENSE +0 -0
streamlit_webrtc/webrtc.py
CHANGED
@@ -28,7 +28,7 @@ from aiortc.sdp import candidate_from_sdp
|
|
28
28
|
|
29
29
|
from streamlit_webrtc.shutdown import SessionShutdownObserver
|
30
30
|
|
31
|
-
from .eventloop import get_global_event_loop
|
31
|
+
from .eventloop import get_global_event_loop, loop_context
|
32
32
|
from .models import (
|
33
33
|
AudioFrameCallback,
|
34
34
|
AudioProcessorBase,
|
@@ -383,9 +383,11 @@ class WebRtcWorker(Generic[VideoProcessorT, AudioProcessorT]):
|
|
383
383
|
) -> None:
|
384
384
|
self._process_offer_thread: Union[threading.Thread, None] = None
|
385
385
|
self.pc = RTCPeerConnection(rtc_configuration)
|
386
|
-
self._remote_description_set: asyncio.Event = asyncio.Event()
|
387
386
|
self._answer_queue: queue.Queue = queue.Queue()
|
388
387
|
|
388
|
+
with loop_context(get_global_event_loop()):
|
389
|
+
self._remote_description_set = asyncio.Event()
|
390
|
+
|
389
391
|
self.mode = mode
|
390
392
|
self.source_video_track = source_video_track
|
391
393
|
self.source_audio_track = source_audio_track
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: streamlit-webrtc
|
3
|
-
Version: 0.60.
|
3
|
+
Version: 0.60.2
|
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,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=
|
19
|
+
streamlit_webrtc/webrtc.py,sha256=Bx4tYZkGcm341AzDW_rcKaravpAYAUtHMEnCepyJjXM,29462
|
20
20
|
streamlit_webrtc/frontend/dist/index.html,sha256=Iw2ulM_HTlCdchAUJLCBiZQk6FboupXx3g-5Zf4MrUQ,527
|
21
21
|
streamlit_webrtc/frontend/dist/assets/index-DV2u3ooX.js,sha256=HpCe_touce0s9XRRQEB9PvmcIz5705ePMym6FB8sLFg,583792
|
22
|
-
streamlit_webrtc-0.60.
|
23
|
-
streamlit_webrtc-0.60.
|
24
|
-
streamlit_webrtc-0.60.
|
25
|
-
streamlit_webrtc-0.60.
|
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,,
|
File without changes
|
File without changes
|