Skip to content

Commit 9a07d4d

Browse files
authored
Update protocol (#131)
1 parent 96c8be2 commit 9a07d4d

File tree

7 files changed

+274
-139
lines changed

7 files changed

+274
-139
lines changed

livekit-protocol/livekit/protocol/analytics.py

Lines changed: 13 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

livekit-protocol/livekit/protocol/analytics.pyi

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,3 +402,86 @@ class AnalyticsEvents(google.protobuf.message.Message):
402402
def ClearField(self, field_name: typing_extensions.Literal["events", b"events"]) -> None: ...
403403

404404
global___AnalyticsEvents = AnalyticsEvents
405+
406+
@typing_extensions.final
407+
class AnalyticsRoomParticipant(google.protobuf.message.Message):
408+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
409+
410+
ID_FIELD_NUMBER: builtins.int
411+
IDENTITY_FIELD_NUMBER: builtins.int
412+
NAME_FIELD_NUMBER: builtins.int
413+
STATE_FIELD_NUMBER: builtins.int
414+
JOINED_AT_FIELD_NUMBER: builtins.int
415+
id: builtins.str
416+
identity: builtins.str
417+
name: builtins.str
418+
state: models.ParticipantInfo.State.ValueType
419+
@property
420+
def joined_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
421+
def __init__(
422+
self,
423+
*,
424+
id: builtins.str = ...,
425+
identity: builtins.str = ...,
426+
name: builtins.str = ...,
427+
state: models.ParticipantInfo.State.ValueType = ...,
428+
joined_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
429+
) -> None: ...
430+
def HasField(self, field_name: typing_extensions.Literal["joined_at", b"joined_at"]) -> builtins.bool: ...
431+
def ClearField(self, field_name: typing_extensions.Literal["id", b"id", "identity", b"identity", "joined_at", b"joined_at", "name", b"name", "state", b"state"]) -> None: ...
432+
433+
global___AnalyticsRoomParticipant = AnalyticsRoomParticipant
434+
435+
@typing_extensions.final
436+
class AnalyticsRoom(google.protobuf.message.Message):
437+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
438+
439+
ID_FIELD_NUMBER: builtins.int
440+
NAME_FIELD_NUMBER: builtins.int
441+
CREATED_AT_FIELD_NUMBER: builtins.int
442+
PARTICIPANTS_FIELD_NUMBER: builtins.int
443+
id: builtins.str
444+
name: builtins.str
445+
@property
446+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
447+
@property
448+
def participants(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AnalyticsRoomParticipant]: ...
449+
def __init__(
450+
self,
451+
*,
452+
id: builtins.str = ...,
453+
name: builtins.str = ...,
454+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
455+
participants: collections.abc.Iterable[global___AnalyticsRoomParticipant] | None = ...,
456+
) -> None: ...
457+
def HasField(self, field_name: typing_extensions.Literal["created_at", b"created_at"]) -> builtins.bool: ...
458+
def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "id", b"id", "name", b"name", "participants", b"participants"]) -> None: ...
459+
460+
global___AnalyticsRoom = AnalyticsRoom
461+
462+
@typing_extensions.final
463+
class AnalyticsNodeRooms(google.protobuf.message.Message):
464+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
465+
466+
NODE_ID_FIELD_NUMBER: builtins.int
467+
SEQUENCE_NUMBER_FIELD_NUMBER: builtins.int
468+
TIMESTAMP_FIELD_NUMBER: builtins.int
469+
ROOMS_FIELD_NUMBER: builtins.int
470+
node_id: builtins.str
471+
sequence_number: builtins.int
472+
@property
473+
def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
474+
@property
475+
def rooms(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AnalyticsRoom]: ...
476+
def __init__(
477+
self,
478+
*,
479+
node_id: builtins.str = ...,
480+
sequence_number: builtins.int = ...,
481+
timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ...,
482+
rooms: collections.abc.Iterable[global___AnalyticsRoom] | None = ...,
483+
) -> None: ...
484+
def HasField(self, field_name: typing_extensions.Literal["timestamp", b"timestamp"]) -> builtins.bool: ...
485+
def ClearField(self, field_name: typing_extensions.Literal["node_id", b"node_id", "rooms", b"rooms", "sequence_number", b"sequence_number", "timestamp", b"timestamp"]) -> None: ...
486+
487+
global___AnalyticsNodeRooms = AnalyticsNodeRooms

0 commit comments

Comments
 (0)