livekit 0.13.1.dev0__tar.gz → 0.14.0__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.
- {livekit-0.13.1.dev0 → livekit-0.14.0}/PKG-INFO +1 -1
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/room.py +1 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/track_publication.py +5 -0
- livekit-0.14.0/livekit/rtc/version.py +1 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit.egg-info/PKG-INFO +1 -1
- livekit-0.13.1.dev0/livekit/rtc/version.py +0 -1
- {livekit-0.13.1.dev0 → livekit-0.14.0}/README.md +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/__init__.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_event_emitter.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_ffi_client.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_proto/__init__.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_proto/audio_frame_pb2.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_proto/audio_frame_pb2.pyi +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_proto/e2ee_pb2.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_proto/e2ee_pb2.pyi +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_proto/ffi_pb2.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_proto/ffi_pb2.pyi +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_proto/handle_pb2.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_proto/handle_pb2.pyi +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_proto/participant_pb2.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_proto/participant_pb2.pyi +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_proto/room_pb2.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_proto/room_pb2.pyi +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_proto/stats_pb2.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_proto/stats_pb2.pyi +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_proto/track_pb2.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_proto/track_pb2.pyi +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_proto/video_frame_pb2.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_proto/video_frame_pb2.pyi +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/_utils.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/audio_frame.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/audio_source.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/audio_stream.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/chat.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/e2ee.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/participant.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/py.typed +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/resources/__init__.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/track.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/transcription.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/video_frame.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/video_source.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit/rtc/video_stream.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit.egg-info/SOURCES.txt +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit.egg-info/dependency_links.txt +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit.egg-info/requires.txt +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/livekit.egg-info/top_level.txt +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/pyproject.toml +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/setup.cfg +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/setup.py +0 -0
- {livekit-0.13.1.dev0 → livekit-0.14.0}/tests/test_chat.py +0 -0
|
@@ -288,6 +288,7 @@ class Room(EventEmitter[EventTypes]):
|
|
|
288
288
|
elif which == "local_track_subscribed":
|
|
289
289
|
sid = event.local_track_subscribed.track_sid
|
|
290
290
|
lpublication = self.local_participant.track_publications[sid]
|
|
291
|
+
lpublication._first_subscription.set_result(None)
|
|
291
292
|
self.emit("local_track_subscribed", lpublication.track)
|
|
292
293
|
elif which == "track_published":
|
|
293
294
|
rparticipant = self.remote_participants[
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
15
|
from typing import Optional
|
|
16
|
+
import asyncio
|
|
16
17
|
|
|
17
18
|
from ._ffi_client import FfiHandle, FfiClient
|
|
18
19
|
from ._proto import e2ee_pb2 as proto_e2ee
|
|
@@ -71,6 +72,10 @@ class TrackPublication:
|
|
|
71
72
|
class LocalTrackPublication(TrackPublication):
|
|
72
73
|
def __init__(self, owned_info: proto_track.OwnedTrackPublication):
|
|
73
74
|
super().__init__(owned_info)
|
|
75
|
+
self._first_subscription: asyncio.Future[None] = asyncio.Future()
|
|
76
|
+
|
|
77
|
+
async def wait_for_subscription(self) -> None:
|
|
78
|
+
await asyncio.shield(self._first_subscription)
|
|
74
79
|
|
|
75
80
|
|
|
76
81
|
class RemoteTrackPublication(TrackPublication):
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.14.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.13.1.dev0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|