36
36
37
37
DESCRIPTOR : google .protobuf .descriptor .FileDescriptor
38
38
39
+ class _IceTransportPolicy :
40
+ ValueType = typing .NewType ("ValueType" , builtins .int )
41
+ V : typing_extensions .TypeAlias = ValueType
42
+
43
+ class _IceTransportPolicyEnumTypeWrapper (google .protobuf .internal .enum_type_wrapper ._EnumTypeWrapper [_IceTransportPolicy .ValueType ], builtins .type ):
44
+ DESCRIPTOR : google .protobuf .descriptor .EnumDescriptor
45
+ TRANSPORT_NONE : _IceTransportPolicy .ValueType # 0
46
+ TRANSPORT_RELAY : _IceTransportPolicy .ValueType # 1
47
+ TRANSPORT_NOHOST : _IceTransportPolicy .ValueType # 2
48
+ TRANSPORT_ALL : _IceTransportPolicy .ValueType # 3
49
+
50
+ class IceTransportPolicy (_IceTransportPolicy , metaclass = _IceTransportPolicyEnumTypeWrapper ): ...
51
+
52
+ TRANSPORT_NONE : IceTransportPolicy .ValueType # 0
53
+ TRANSPORT_RELAY : IceTransportPolicy .ValueType # 1
54
+ TRANSPORT_NOHOST : IceTransportPolicy .ValueType # 2
55
+ TRANSPORT_ALL : IceTransportPolicy .ValueType # 3
56
+ global___IceTransportPolicy = IceTransportPolicy
57
+
39
58
class _ConnectionQuality :
40
59
ValueType = typing .NewType ("ValueType" , builtins .int )
41
60
V : typing_extensions .TypeAlias = ValueType
@@ -521,6 +540,47 @@ class TrackPublishOptions(google.protobuf.message.Message):
521
540
522
541
global___TrackPublishOptions = TrackPublishOptions
523
542
543
+ @typing_extensions .final
544
+ class IceServer (google .protobuf .message .Message ):
545
+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
546
+
547
+ URLS_FIELD_NUMBER : builtins .int
548
+ USERNAME_FIELD_NUMBER : builtins .int
549
+ CREDENTIAL_FIELD_NUMBER : builtins .int
550
+ @property
551
+ def urls (self ) -> google .protobuf .internal .containers .RepeatedScalarFieldContainer [builtins .str ]: ...
552
+ username : builtins .str
553
+ credential : builtins .str
554
+ def __init__ (
555
+ self ,
556
+ * ,
557
+ urls : collections .abc .Iterable [builtins .str ] | None = ...,
558
+ username : builtins .str = ...,
559
+ credential : builtins .str = ...,
560
+ ) -> None : ...
561
+ def ClearField (self , field_name : typing_extensions .Literal ["credential" , b"credential" , "urls" , b"urls" , "username" , b"username" ]) -> None : ...
562
+
563
+ global___IceServer = IceServer
564
+
565
+ @typing_extensions .final
566
+ class RtcConfig (google .protobuf .message .Message ):
567
+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
568
+
569
+ ICE_TRANSPORT_POLICY_FIELD_NUMBER : builtins .int
570
+ ICE_SERVERS_FIELD_NUMBER : builtins .int
571
+ ice_transport_policy : global___IceTransportPolicy .ValueType
572
+ @property
573
+ def ice_servers (self ) -> google .protobuf .internal .containers .RepeatedCompositeFieldContainer [global___IceServer ]: ...
574
+ def __init__ (
575
+ self ,
576
+ * ,
577
+ ice_transport_policy : global___IceTransportPolicy .ValueType = ...,
578
+ ice_servers : collections .abc .Iterable [global___IceServer ] | None = ...,
579
+ ) -> None : ...
580
+ def ClearField (self , field_name : typing_extensions .Literal ["ice_servers" , b"ice_servers" , "ice_transport_policy" , b"ice_transport_policy" ]) -> None : ...
581
+
582
+ global___RtcConfig = RtcConfig
583
+
524
584
@typing_extensions .final
525
585
class RoomOptions (google .protobuf .message .Message ):
526
586
DESCRIPTOR : google .protobuf .descriptor .Descriptor
@@ -529,22 +589,30 @@ class RoomOptions(google.protobuf.message.Message):
529
589
ADAPTIVE_STREAM_FIELD_NUMBER : builtins .int
530
590
DYNACAST_FIELD_NUMBER : builtins .int
531
591
E2EE_FIELD_NUMBER : builtins .int
592
+ RTC_CONFIG_FIELD_NUMBER : builtins .int
532
593
auto_subscribe : builtins .bool
533
594
adaptive_stream : builtins .bool
534
595
dynacast : builtins .bool
535
596
@property
536
597
def e2ee (self ) -> e2ee_pb2 .E2eeOptions : ...
598
+ @property
599
+ def rtc_config (self ) -> global___RtcConfig :
600
+ """allow to setup a custom RtcConfiguration"""
537
601
def __init__ (
538
602
self ,
539
603
* ,
540
604
auto_subscribe : builtins .bool = ...,
541
605
adaptive_stream : builtins .bool = ...,
542
606
dynacast : builtins .bool = ...,
543
607
e2ee : e2ee_pb2 .E2eeOptions | None = ...,
608
+ rtc_config : global___RtcConfig | None = ...,
544
609
) -> None : ...
545
- def HasField (self , field_name : typing_extensions .Literal ["_e2ee" , b"_e2ee" , "e2ee" , b"e2ee" ]) -> builtins .bool : ...
546
- def ClearField (self , field_name : typing_extensions .Literal ["_e2ee" , b"_e2ee" , "adaptive_stream" , b"adaptive_stream" , "auto_subscribe" , b"auto_subscribe" , "dynacast" , b"dynacast" , "e2ee" , b"e2ee" ]) -> None : ...
610
+ def HasField (self , field_name : typing_extensions .Literal ["_e2ee" , b"_e2ee" , "_rtc_config" , b"_rtc_config" , "e2ee" , b"e2ee" , "rtc_config" , b"rtc_config" ]) -> builtins .bool : ...
611
+ def ClearField (self , field_name : typing_extensions .Literal ["_e2ee" , b"_e2ee" , "_rtc_config" , b"_rtc_config" , "adaptive_stream" , b"adaptive_stream" , "auto_subscribe" , b"auto_subscribe" , "dynacast" , b"dynacast" , "e2ee" , b"e2ee" , "rtc_config" , b"rtc_config" ]) -> None : ...
612
+ @typing .overload
547
613
def WhichOneof (self , oneof_group : typing_extensions .Literal ["_e2ee" , b"_e2ee" ]) -> typing_extensions .Literal ["e2ee" ] | None : ...
614
+ @typing .overload
615
+ def WhichOneof (self , oneof_group : typing_extensions .Literal ["_rtc_config" , b"_rtc_config" ]) -> typing_extensions .Literal ["rtc_config" ] | None : ...
548
616
549
617
global___RoomOptions = RoomOptions
550
618
0 commit comments