livekit-client 2.7.0 → 2.7.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/livekit-client.esm.mjs +843 -879
- package/dist/livekit-client.esm.mjs.map +1 -1
- package/dist/livekit-client.umd.js +1 -1
- package/dist/livekit-client.umd.js.map +1 -1
- package/dist/src/room/participant/LocalParticipant.d.ts.map +1 -1
- package/dist/src/room/track/create.d.ts +0 -7
- package/dist/src/room/track/create.d.ts.map +1 -1
- package/dist/src/room/track/utils.d.ts +10 -0
- package/dist/src/room/track/utils.d.ts.map +1 -1
- package/dist/ts4.2/src/room/track/create.d.ts +0 -7
- package/dist/ts4.2/src/room/track/utils.d.ts +10 -0
- package/package.json +2 -2
- package/src/room/participant/LocalParticipant.ts +16 -8
- package/src/room/track/create.ts +1 -20
- package/src/room/track/utils.ts +36 -8
@@ -3637,20 +3637,12 @@ Timestamp.fields = proto3.util.newFieldList(() => [{
|
|
3637
3637
|
T: 5 /* ScalarType.INT32 */
|
3638
3638
|
}]);
|
3639
3639
|
|
3640
|
-
|
3641
|
-
// @generated from file livekit_metrics.proto (package livekit, syntax proto3)
|
3642
|
-
/* eslint-disable */
|
3643
|
-
// @ts-nocheck
|
3644
|
-
|
3645
|
-
|
3646
|
-
/**
|
3647
|
-
* @generated from message livekit.MetricsBatch
|
3648
|
-
*/
|
3649
|
-
const MetricsBatch = /*@__PURE__*/proto3.makeMessageType("livekit.MetricsBatch", () => [{
|
3640
|
+
const MetricsBatch = /* @__PURE__ */proto3.makeMessageType("livekit.MetricsBatch", () => [{
|
3650
3641
|
no: 1,
|
3651
3642
|
name: "timestamp_ms",
|
3652
3643
|
kind: "scalar",
|
3653
|
-
T: 3
|
3644
|
+
T: 3
|
3645
|
+
/* ScalarType.INT64 */
|
3654
3646
|
}, {
|
3655
3647
|
no: 2,
|
3656
3648
|
name: "normalized_timestamp",
|
@@ -3660,7 +3652,7 @@ const MetricsBatch = /*@__PURE__*/proto3.makeMessageType("livekit.MetricsBatch",
|
|
3660
3652
|
no: 3,
|
3661
3653
|
name: "str_data",
|
3662
3654
|
kind: "scalar",
|
3663
|
-
T: 9
|
3655
|
+
T: 9,
|
3664
3656
|
repeated: true
|
3665
3657
|
}, {
|
3666
3658
|
no: 4,
|
@@ -3675,25 +3667,24 @@ const MetricsBatch = /*@__PURE__*/proto3.makeMessageType("livekit.MetricsBatch",
|
|
3675
3667
|
T: EventMetric,
|
3676
3668
|
repeated: true
|
3677
3669
|
}]);
|
3678
|
-
|
3679
|
-
/**
|
3680
|
-
* @generated from message livekit.TimeSeriesMetric
|
3681
|
-
*/
|
3682
|
-
const TimeSeriesMetric = /*@__PURE__*/proto3.makeMessageType("livekit.TimeSeriesMetric", () => [{
|
3670
|
+
const TimeSeriesMetric = /* @__PURE__ */proto3.makeMessageType("livekit.TimeSeriesMetric", () => [{
|
3683
3671
|
no: 1,
|
3684
3672
|
name: "label",
|
3685
3673
|
kind: "scalar",
|
3686
|
-
T: 13
|
3674
|
+
T: 13
|
3675
|
+
/* ScalarType.UINT32 */
|
3687
3676
|
}, {
|
3688
3677
|
no: 2,
|
3689
3678
|
name: "participant_identity",
|
3690
3679
|
kind: "scalar",
|
3691
|
-
T: 13
|
3680
|
+
T: 13
|
3681
|
+
/* ScalarType.UINT32 */
|
3692
3682
|
}, {
|
3693
3683
|
no: 3,
|
3694
3684
|
name: "track_sid",
|
3695
3685
|
kind: "scalar",
|
3696
|
-
T: 13
|
3686
|
+
T: 13
|
3687
|
+
/* ScalarType.UINT32 */
|
3697
3688
|
}, {
|
3698
3689
|
no: 4,
|
3699
3690
|
name: "samples",
|
@@ -3704,17 +3695,15 @@ const TimeSeriesMetric = /*@__PURE__*/proto3.makeMessageType("livekit.TimeSeries
|
|
3704
3695
|
no: 5,
|
3705
3696
|
name: "rid",
|
3706
3697
|
kind: "scalar",
|
3707
|
-
T: 13
|
3698
|
+
T: 13
|
3699
|
+
/* ScalarType.UINT32 */
|
3708
3700
|
}]);
|
3709
|
-
|
3710
|
-
/**
|
3711
|
-
* @generated from message livekit.MetricSample
|
3712
|
-
*/
|
3713
|
-
const MetricSample = /*@__PURE__*/proto3.makeMessageType("livekit.MetricSample", () => [{
|
3701
|
+
const MetricSample = /* @__PURE__ */proto3.makeMessageType("livekit.MetricSample", () => [{
|
3714
3702
|
no: 1,
|
3715
3703
|
name: "timestamp_ms",
|
3716
3704
|
kind: "scalar",
|
3717
|
-
T: 3
|
3705
|
+
T: 3
|
3706
|
+
/* ScalarType.INT64 */
|
3718
3707
|
}, {
|
3719
3708
|
no: 2,
|
3720
3709
|
name: "normalized_timestamp",
|
@@ -3724,37 +3713,38 @@ const MetricSample = /*@__PURE__*/proto3.makeMessageType("livekit.MetricSample",
|
|
3724
3713
|
no: 3,
|
3725
3714
|
name: "value",
|
3726
3715
|
kind: "scalar",
|
3727
|
-
T: 2
|
3716
|
+
T: 2
|
3717
|
+
/* ScalarType.FLOAT */
|
3728
3718
|
}]);
|
3729
|
-
|
3730
|
-
/**
|
3731
|
-
* @generated from message livekit.EventMetric
|
3732
|
-
*/
|
3733
|
-
const EventMetric = /*@__PURE__*/proto3.makeMessageType("livekit.EventMetric", () => [{
|
3719
|
+
const EventMetric = /* @__PURE__ */proto3.makeMessageType("livekit.EventMetric", () => [{
|
3734
3720
|
no: 1,
|
3735
3721
|
name: "label",
|
3736
3722
|
kind: "scalar",
|
3737
|
-
T: 13
|
3723
|
+
T: 13
|
3724
|
+
/* ScalarType.UINT32 */
|
3738
3725
|
}, {
|
3739
3726
|
no: 2,
|
3740
3727
|
name: "participant_identity",
|
3741
3728
|
kind: "scalar",
|
3742
|
-
T: 13
|
3729
|
+
T: 13
|
3730
|
+
/* ScalarType.UINT32 */
|
3743
3731
|
}, {
|
3744
3732
|
no: 3,
|
3745
3733
|
name: "track_sid",
|
3746
3734
|
kind: "scalar",
|
3747
|
-
T: 13
|
3735
|
+
T: 13
|
3736
|
+
/* ScalarType.UINT32 */
|
3748
3737
|
}, {
|
3749
3738
|
no: 4,
|
3750
3739
|
name: "start_timestamp_ms",
|
3751
3740
|
kind: "scalar",
|
3752
|
-
T: 3
|
3741
|
+
T: 3
|
3742
|
+
/* ScalarType.INT64 */
|
3753
3743
|
}, {
|
3754
3744
|
no: 5,
|
3755
3745
|
name: "end_timestamp_ms",
|
3756
3746
|
kind: "scalar",
|
3757
|
-
T: 3
|
3747
|
+
T: 3,
|
3758
3748
|
opt: true
|
3759
3749
|
}, {
|
3760
3750
|
no: 6,
|
@@ -3771,33 +3761,16 @@ const EventMetric = /*@__PURE__*/proto3.makeMessageType("livekit.EventMetric", (
|
|
3771
3761
|
no: 8,
|
3772
3762
|
name: "metadata",
|
3773
3763
|
kind: "scalar",
|
3774
|
-
T: 9
|
3764
|
+
T: 9
|
3765
|
+
/* ScalarType.STRING */
|
3775
3766
|
}, {
|
3776
3767
|
no: 9,
|
3777
3768
|
name: "rid",
|
3778
3769
|
kind: "scalar",
|
3779
|
-
T: 13
|
3770
|
+
T: 13
|
3771
|
+
/* ScalarType.UINT32 */
|
3780
3772
|
}]);
|
3781
|
-
|
3782
|
-
// Copyright 2023 LiveKit, Inc.
|
3783
|
-
//
|
3784
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
3785
|
-
// you may not use this file except in compliance with the License.
|
3786
|
-
// You may obtain a copy of the License at
|
3787
|
-
//
|
3788
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
3789
|
-
//
|
3790
|
-
// Unless required by applicable law or agreed to in writing, software
|
3791
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
3792
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
3793
|
-
// See the License for the specific language governing permissions and
|
3794
|
-
// limitations under the License.
|
3795
|
-
|
3796
|
-
|
3797
|
-
/**
|
3798
|
-
* @generated from enum livekit.TrackType
|
3799
|
-
*/
|
3800
|
-
const TrackType = /*@__PURE__*/proto3.makeEnum("livekit.TrackType", [{
|
3773
|
+
const TrackType = /* @__PURE__ */proto3.makeEnum("livekit.TrackType", [{
|
3801
3774
|
no: 0,
|
3802
3775
|
name: "AUDIO"
|
3803
3776
|
}, {
|
@@ -3807,11 +3780,7 @@ const TrackType = /*@__PURE__*/proto3.makeEnum("livekit.TrackType", [{
|
|
3807
3780
|
no: 2,
|
3808
3781
|
name: "DATA"
|
3809
3782
|
}]);
|
3810
|
-
|
3811
|
-
/**
|
3812
|
-
* @generated from enum livekit.TrackSource
|
3813
|
-
*/
|
3814
|
-
const TrackSource = /*@__PURE__*/proto3.makeEnum("livekit.TrackSource", [{
|
3783
|
+
const TrackSource = /* @__PURE__ */proto3.makeEnum("livekit.TrackSource", [{
|
3815
3784
|
no: 0,
|
3816
3785
|
name: "UNKNOWN"
|
3817
3786
|
}, {
|
@@ -3827,11 +3796,7 @@ const TrackSource = /*@__PURE__*/proto3.makeEnum("livekit.TrackSource", [{
|
|
3827
3796
|
no: 4,
|
3828
3797
|
name: "SCREEN_SHARE_AUDIO"
|
3829
3798
|
}]);
|
3830
|
-
|
3831
|
-
/**
|
3832
|
-
* @generated from enum livekit.VideoQuality
|
3833
|
-
*/
|
3834
|
-
const VideoQuality$1 = /*@__PURE__*/proto3.makeEnum("livekit.VideoQuality", [{
|
3799
|
+
const VideoQuality$1 = /* @__PURE__ */proto3.makeEnum("livekit.VideoQuality", [{
|
3835
3800
|
no: 0,
|
3836
3801
|
name: "LOW"
|
3837
3802
|
}, {
|
@@ -3844,11 +3809,7 @@ const VideoQuality$1 = /*@__PURE__*/proto3.makeEnum("livekit.VideoQuality", [{
|
|
3844
3809
|
no: 3,
|
3845
3810
|
name: "OFF"
|
3846
3811
|
}]);
|
3847
|
-
|
3848
|
-
/**
|
3849
|
-
* @generated from enum livekit.ConnectionQuality
|
3850
|
-
*/
|
3851
|
-
const ConnectionQuality$1 = /*@__PURE__*/proto3.makeEnum("livekit.ConnectionQuality", [{
|
3812
|
+
const ConnectionQuality$1 = /* @__PURE__ */proto3.makeEnum("livekit.ConnectionQuality", [{
|
3852
3813
|
no: 0,
|
3853
3814
|
name: "POOR"
|
3854
3815
|
}, {
|
@@ -3861,11 +3822,7 @@ const ConnectionQuality$1 = /*@__PURE__*/proto3.makeEnum("livekit.ConnectionQual
|
|
3861
3822
|
no: 3,
|
3862
3823
|
name: "LOST"
|
3863
3824
|
}]);
|
3864
|
-
|
3865
|
-
/**
|
3866
|
-
* @generated from enum livekit.ClientConfigSetting
|
3867
|
-
*/
|
3868
|
-
const ClientConfigSetting = /*@__PURE__*/proto3.makeEnum("livekit.ClientConfigSetting", [{
|
3825
|
+
const ClientConfigSetting = /* @__PURE__ */proto3.makeEnum("livekit.ClientConfigSetting", [{
|
3869
3826
|
no: 0,
|
3870
3827
|
name: "UNSET"
|
3871
3828
|
}, {
|
@@ -3875,11 +3832,7 @@ const ClientConfigSetting = /*@__PURE__*/proto3.makeEnum("livekit.ClientConfigSe
|
|
3875
3832
|
no: 2,
|
3876
3833
|
name: "ENABLED"
|
3877
3834
|
}]);
|
3878
|
-
|
3879
|
-
/**
|
3880
|
-
* @generated from enum livekit.DisconnectReason
|
3881
|
-
*/
|
3882
|
-
const DisconnectReason = /*@__PURE__*/proto3.makeEnum("livekit.DisconnectReason", [{
|
3835
|
+
const DisconnectReason = /* @__PURE__ */proto3.makeEnum("livekit.DisconnectReason", [{
|
3883
3836
|
no: 0,
|
3884
3837
|
name: "UNKNOWN_REASON"
|
3885
3838
|
}, {
|
@@ -3918,12 +3871,11 @@ const DisconnectReason = /*@__PURE__*/proto3.makeEnum("livekit.DisconnectReason"
|
|
3918
3871
|
}, {
|
3919
3872
|
no: 12,
|
3920
3873
|
name: "USER_REJECTED"
|
3874
|
+
}, {
|
3875
|
+
no: 13,
|
3876
|
+
name: "SIP_TRUNK_FAILURE"
|
3921
3877
|
}]);
|
3922
|
-
|
3923
|
-
/**
|
3924
|
-
* @generated from enum livekit.ReconnectReason
|
3925
|
-
*/
|
3926
|
-
const ReconnectReason = /*@__PURE__*/proto3.makeEnum("livekit.ReconnectReason", [{
|
3878
|
+
const ReconnectReason = /* @__PURE__ */proto3.makeEnum("livekit.ReconnectReason", [{
|
3927
3879
|
no: 0,
|
3928
3880
|
name: "RR_UNKNOWN"
|
3929
3881
|
}, {
|
@@ -3939,11 +3891,7 @@ const ReconnectReason = /*@__PURE__*/proto3.makeEnum("livekit.ReconnectReason",
|
|
3939
3891
|
no: 4,
|
3940
3892
|
name: "RR_SWITCH_CANDIDATE"
|
3941
3893
|
}]);
|
3942
|
-
|
3943
|
-
/**
|
3944
|
-
* @generated from enum livekit.SubscriptionError
|
3945
|
-
*/
|
3946
|
-
const SubscriptionError = /*@__PURE__*/proto3.makeEnum("livekit.SubscriptionError", [{
|
3894
|
+
const SubscriptionError = /* @__PURE__ */proto3.makeEnum("livekit.SubscriptionError", [{
|
3947
3895
|
no: 0,
|
3948
3896
|
name: "SE_UNKNOWN"
|
3949
3897
|
}, {
|
@@ -3953,11 +3901,7 @@ const SubscriptionError = /*@__PURE__*/proto3.makeEnum("livekit.SubscriptionErro
|
|
3953
3901
|
no: 2,
|
3954
3902
|
name: "SE_TRACK_NOTFOUND"
|
3955
3903
|
}]);
|
3956
|
-
|
3957
|
-
/**
|
3958
|
-
* @generated from enum livekit.AudioTrackFeature
|
3959
|
-
*/
|
3960
|
-
const AudioTrackFeature = /*@__PURE__*/proto3.makeEnum("livekit.AudioTrackFeature", [{
|
3904
|
+
const AudioTrackFeature = /* @__PURE__ */proto3.makeEnum("livekit.AudioTrackFeature", [{
|
3961
3905
|
no: 0,
|
3962
3906
|
name: "TF_STEREO"
|
3963
3907
|
}, {
|
@@ -3976,45 +3920,48 @@ const AudioTrackFeature = /*@__PURE__*/proto3.makeEnum("livekit.AudioTrackFeatur
|
|
3976
3920
|
no: 5,
|
3977
3921
|
name: "TF_ENHANCED_NOISE_CANCELLATION"
|
3978
3922
|
}]);
|
3979
|
-
|
3980
|
-
/**
|
3981
|
-
* @generated from message livekit.Room
|
3982
|
-
*/
|
3983
|
-
const Room$1 = /*@__PURE__*/proto3.makeMessageType("livekit.Room", () => [{
|
3923
|
+
const Room$1 = /* @__PURE__ */proto3.makeMessageType("livekit.Room", () => [{
|
3984
3924
|
no: 1,
|
3985
3925
|
name: "sid",
|
3986
3926
|
kind: "scalar",
|
3987
|
-
T: 9
|
3927
|
+
T: 9
|
3928
|
+
/* ScalarType.STRING */
|
3988
3929
|
}, {
|
3989
3930
|
no: 2,
|
3990
3931
|
name: "name",
|
3991
3932
|
kind: "scalar",
|
3992
|
-
T: 9
|
3933
|
+
T: 9
|
3934
|
+
/* ScalarType.STRING */
|
3993
3935
|
}, {
|
3994
3936
|
no: 3,
|
3995
3937
|
name: "empty_timeout",
|
3996
3938
|
kind: "scalar",
|
3997
|
-
T: 13
|
3939
|
+
T: 13
|
3940
|
+
/* ScalarType.UINT32 */
|
3998
3941
|
}, {
|
3999
3942
|
no: 14,
|
4000
3943
|
name: "departure_timeout",
|
4001
3944
|
kind: "scalar",
|
4002
|
-
T: 13
|
3945
|
+
T: 13
|
3946
|
+
/* ScalarType.UINT32 */
|
4003
3947
|
}, {
|
4004
3948
|
no: 4,
|
4005
3949
|
name: "max_participants",
|
4006
3950
|
kind: "scalar",
|
4007
|
-
T: 13
|
3951
|
+
T: 13
|
3952
|
+
/* ScalarType.UINT32 */
|
4008
3953
|
}, {
|
4009
3954
|
no: 5,
|
4010
3955
|
name: "creation_time",
|
4011
3956
|
kind: "scalar",
|
4012
|
-
T: 3
|
3957
|
+
T: 3
|
3958
|
+
/* ScalarType.INT64 */
|
4013
3959
|
}, {
|
4014
3960
|
no: 6,
|
4015
3961
|
name: "turn_password",
|
4016
3962
|
kind: "scalar",
|
4017
|
-
T: 9
|
3963
|
+
T: 9
|
3964
|
+
/* ScalarType.STRING */
|
4018
3965
|
}, {
|
4019
3966
|
no: 7,
|
4020
3967
|
name: "enabled_codecs",
|
@@ -4025,62 +3972,63 @@ const Room$1 = /*@__PURE__*/proto3.makeMessageType("livekit.Room", () => [{
|
|
4025
3972
|
no: 8,
|
4026
3973
|
name: "metadata",
|
4027
3974
|
kind: "scalar",
|
4028
|
-
T: 9
|
3975
|
+
T: 9
|
3976
|
+
/* ScalarType.STRING */
|
4029
3977
|
}, {
|
4030
3978
|
no: 9,
|
4031
3979
|
name: "num_participants",
|
4032
3980
|
kind: "scalar",
|
4033
|
-
T: 13
|
3981
|
+
T: 13
|
3982
|
+
/* ScalarType.UINT32 */
|
4034
3983
|
}, {
|
4035
3984
|
no: 11,
|
4036
3985
|
name: "num_publishers",
|
4037
3986
|
kind: "scalar",
|
4038
|
-
T: 13
|
3987
|
+
T: 13
|
3988
|
+
/* ScalarType.UINT32 */
|
4039
3989
|
}, {
|
4040
3990
|
no: 10,
|
4041
3991
|
name: "active_recording",
|
4042
3992
|
kind: "scalar",
|
4043
|
-
T: 8
|
3993
|
+
T: 8
|
3994
|
+
/* ScalarType.BOOL */
|
4044
3995
|
}, {
|
4045
3996
|
no: 13,
|
4046
3997
|
name: "version",
|
4047
3998
|
kind: "message",
|
4048
3999
|
T: TimedVersion
|
4049
4000
|
}]);
|
4050
|
-
|
4051
|
-
/**
|
4052
|
-
* @generated from message livekit.Codec
|
4053
|
-
*/
|
4054
|
-
const Codec = /*@__PURE__*/proto3.makeMessageType("livekit.Codec", () => [{
|
4001
|
+
const Codec = /* @__PURE__ */proto3.makeMessageType("livekit.Codec", () => [{
|
4055
4002
|
no: 1,
|
4056
4003
|
name: "mime",
|
4057
4004
|
kind: "scalar",
|
4058
|
-
T: 9
|
4005
|
+
T: 9
|
4006
|
+
/* ScalarType.STRING */
|
4059
4007
|
}, {
|
4060
4008
|
no: 2,
|
4061
4009
|
name: "fmtp_line",
|
4062
4010
|
kind: "scalar",
|
4063
|
-
T: 9
|
4011
|
+
T: 9
|
4012
|
+
/* ScalarType.STRING */
|
4064
4013
|
}]);
|
4065
|
-
|
4066
|
-
/**
|
4067
|
-
* @generated from message livekit.ParticipantPermission
|
4068
|
-
*/
|
4069
|
-
const ParticipantPermission = /*@__PURE__*/proto3.makeMessageType("livekit.ParticipantPermission", () => [{
|
4014
|
+
const ParticipantPermission = /* @__PURE__ */proto3.makeMessageType("livekit.ParticipantPermission", () => [{
|
4070
4015
|
no: 1,
|
4071
4016
|
name: "can_subscribe",
|
4072
4017
|
kind: "scalar",
|
4073
|
-
T: 8
|
4018
|
+
T: 8
|
4019
|
+
/* ScalarType.BOOL */
|
4074
4020
|
}, {
|
4075
4021
|
no: 2,
|
4076
4022
|
name: "can_publish",
|
4077
4023
|
kind: "scalar",
|
4078
|
-
T: 8
|
4024
|
+
T: 8
|
4025
|
+
/* ScalarType.BOOL */
|
4079
4026
|
}, {
|
4080
4027
|
no: 3,
|
4081
4028
|
name: "can_publish_data",
|
4082
4029
|
kind: "scalar",
|
4083
|
-
T: 8
|
4030
|
+
T: 8
|
4031
|
+
/* ScalarType.BOOL */
|
4084
4032
|
}, {
|
4085
4033
|
no: 9,
|
4086
4034
|
name: "can_publish_sources",
|
@@ -4091,42 +4039,45 @@ const ParticipantPermission = /*@__PURE__*/proto3.makeMessageType("livekit.Parti
|
|
4091
4039
|
no: 7,
|
4092
4040
|
name: "hidden",
|
4093
4041
|
kind: "scalar",
|
4094
|
-
T: 8
|
4042
|
+
T: 8
|
4043
|
+
/* ScalarType.BOOL */
|
4095
4044
|
}, {
|
4096
4045
|
no: 8,
|
4097
4046
|
name: "recorder",
|
4098
4047
|
kind: "scalar",
|
4099
|
-
T: 8
|
4048
|
+
T: 8
|
4049
|
+
/* ScalarType.BOOL */
|
4100
4050
|
}, {
|
4101
4051
|
no: 10,
|
4102
4052
|
name: "can_update_metadata",
|
4103
4053
|
kind: "scalar",
|
4104
|
-
T: 8
|
4054
|
+
T: 8
|
4055
|
+
/* ScalarType.BOOL */
|
4105
4056
|
}, {
|
4106
4057
|
no: 11,
|
4107
4058
|
name: "agent",
|
4108
4059
|
kind: "scalar",
|
4109
|
-
T: 8
|
4060
|
+
T: 8
|
4061
|
+
/* ScalarType.BOOL */
|
4110
4062
|
}, {
|
4111
4063
|
no: 12,
|
4112
4064
|
name: "can_subscribe_metrics",
|
4113
4065
|
kind: "scalar",
|
4114
|
-
T: 8
|
4066
|
+
T: 8
|
4067
|
+
/* ScalarType.BOOL */
|
4115
4068
|
}]);
|
4116
|
-
|
4117
|
-
/**
|
4118
|
-
* @generated from message livekit.ParticipantInfo
|
4119
|
-
*/
|
4120
|
-
const ParticipantInfo = /*@__PURE__*/proto3.makeMessageType("livekit.ParticipantInfo", () => [{
|
4069
|
+
const ParticipantInfo = /* @__PURE__ */proto3.makeMessageType("livekit.ParticipantInfo", () => [{
|
4121
4070
|
no: 1,
|
4122
4071
|
name: "sid",
|
4123
4072
|
kind: "scalar",
|
4124
|
-
T: 9
|
4073
|
+
T: 9
|
4074
|
+
/* ScalarType.STRING */
|
4125
4075
|
}, {
|
4126
4076
|
no: 2,
|
4127
4077
|
name: "identity",
|
4128
4078
|
kind: "scalar",
|
4129
|
-
T: 9
|
4079
|
+
T: 9
|
4080
|
+
/* ScalarType.STRING */
|
4130
4081
|
}, {
|
4131
4082
|
no: 3,
|
4132
4083
|
name: "state",
|
@@ -4142,22 +4093,26 @@ const ParticipantInfo = /*@__PURE__*/proto3.makeMessageType("livekit.Participant
|
|
4142
4093
|
no: 5,
|
4143
4094
|
name: "metadata",
|
4144
4095
|
kind: "scalar",
|
4145
|
-
T: 9
|
4096
|
+
T: 9
|
4097
|
+
/* ScalarType.STRING */
|
4146
4098
|
}, {
|
4147
4099
|
no: 6,
|
4148
4100
|
name: "joined_at",
|
4149
4101
|
kind: "scalar",
|
4150
|
-
T: 3
|
4102
|
+
T: 3
|
4103
|
+
/* ScalarType.INT64 */
|
4151
4104
|
}, {
|
4152
4105
|
no: 9,
|
4153
4106
|
name: "name",
|
4154
4107
|
kind: "scalar",
|
4155
|
-
T: 9
|
4108
|
+
T: 9
|
4109
|
+
/* ScalarType.STRING */
|
4156
4110
|
}, {
|
4157
4111
|
no: 10,
|
4158
4112
|
name: "version",
|
4159
4113
|
kind: "scalar",
|
4160
|
-
T: 13
|
4114
|
+
T: 13
|
4115
|
+
/* ScalarType.UINT32 */
|
4161
4116
|
}, {
|
4162
4117
|
no: 11,
|
4163
4118
|
name: "permission",
|
@@ -4167,12 +4122,14 @@ const ParticipantInfo = /*@__PURE__*/proto3.makeMessageType("livekit.Participant
|
|
4167
4122
|
no: 12,
|
4168
4123
|
name: "region",
|
4169
4124
|
kind: "scalar",
|
4170
|
-
T: 9
|
4125
|
+
T: 9
|
4126
|
+
/* ScalarType.STRING */
|
4171
4127
|
}, {
|
4172
4128
|
no: 13,
|
4173
4129
|
name: "is_publisher",
|
4174
4130
|
kind: "scalar",
|
4175
|
-
T: 8
|
4131
|
+
T: 8
|
4132
|
+
/* ScalarType.BOOL */
|
4176
4133
|
}, {
|
4177
4134
|
no: 14,
|
4178
4135
|
name: "kind",
|
@@ -4182,10 +4139,11 @@ const ParticipantInfo = /*@__PURE__*/proto3.makeMessageType("livekit.Participant
|
|
4182
4139
|
no: 15,
|
4183
4140
|
name: "attributes",
|
4184
4141
|
kind: "map",
|
4185
|
-
K: 9
|
4142
|
+
K: 9,
|
4186
4143
|
V: {
|
4187
4144
|
kind: "scalar",
|
4188
|
-
T: 9
|
4145
|
+
T: 9
|
4146
|
+
/* ScalarType.STRING */
|
4189
4147
|
}
|
4190
4148
|
}, {
|
4191
4149
|
no: 16,
|
@@ -4193,11 +4151,7 @@ const ParticipantInfo = /*@__PURE__*/proto3.makeMessageType("livekit.Participant
|
|
4193
4151
|
kind: "enum",
|
4194
4152
|
T: proto3.getEnumType(DisconnectReason)
|
4195
4153
|
}]);
|
4196
|
-
|
4197
|
-
/**
|
4198
|
-
* @generated from enum livekit.ParticipantInfo.State
|
4199
|
-
*/
|
4200
|
-
const ParticipantInfo_State = /*@__PURE__*/proto3.makeEnum("livekit.ParticipantInfo.State", [{
|
4154
|
+
const ParticipantInfo_State = /* @__PURE__ */proto3.makeEnum("livekit.ParticipantInfo.State", [{
|
4201
4155
|
no: 0,
|
4202
4156
|
name: "JOINING"
|
4203
4157
|
}, {
|
@@ -4210,11 +4164,7 @@ const ParticipantInfo_State = /*@__PURE__*/proto3.makeEnum("livekit.ParticipantI
|
|
4210
4164
|
no: 3,
|
4211
4165
|
name: "DISCONNECTED"
|
4212
4166
|
}]);
|
4213
|
-
|
4214
|
-
/**
|
4215
|
-
* @generated from enum livekit.ParticipantInfo.Kind
|
4216
|
-
*/
|
4217
|
-
const ParticipantInfo_Kind = /*@__PURE__*/proto3.makeEnum("livekit.ParticipantInfo.Kind", [{
|
4167
|
+
const ParticipantInfo_Kind = /* @__PURE__ */proto3.makeEnum("livekit.ParticipantInfo.Kind", [{
|
4218
4168
|
no: 0,
|
4219
4169
|
name: "STANDARD"
|
4220
4170
|
}, {
|
@@ -4230,11 +4180,7 @@ const ParticipantInfo_Kind = /*@__PURE__*/proto3.makeEnum("livekit.ParticipantIn
|
|
4230
4180
|
no: 4,
|
4231
4181
|
name: "AGENT"
|
4232
4182
|
}]);
|
4233
|
-
|
4234
|
-
/**
|
4235
|
-
* @generated from enum livekit.Encryption.Type
|
4236
|
-
*/
|
4237
|
-
const Encryption_Type = /*@__PURE__*/proto3.makeEnum("livekit.Encryption.Type", [{
|
4183
|
+
const Encryption_Type = /* @__PURE__ */proto3.makeEnum("livekit.Encryption.Type", [{
|
4238
4184
|
no: 0,
|
4239
4185
|
name: "NONE"
|
4240
4186
|
}, {
|
@@ -4244,25 +4190,24 @@ const Encryption_Type = /*@__PURE__*/proto3.makeEnum("livekit.Encryption.Type",
|
|
4244
4190
|
no: 2,
|
4245
4191
|
name: "CUSTOM"
|
4246
4192
|
}]);
|
4247
|
-
|
4248
|
-
/**
|
4249
|
-
* @generated from message livekit.SimulcastCodecInfo
|
4250
|
-
*/
|
4251
|
-
const SimulcastCodecInfo = /*@__PURE__*/proto3.makeMessageType("livekit.SimulcastCodecInfo", () => [{
|
4193
|
+
const SimulcastCodecInfo = /* @__PURE__ */proto3.makeMessageType("livekit.SimulcastCodecInfo", () => [{
|
4252
4194
|
no: 1,
|
4253
4195
|
name: "mime_type",
|
4254
4196
|
kind: "scalar",
|
4255
|
-
T: 9
|
4197
|
+
T: 9
|
4198
|
+
/* ScalarType.STRING */
|
4256
4199
|
}, {
|
4257
4200
|
no: 2,
|
4258
4201
|
name: "mid",
|
4259
4202
|
kind: "scalar",
|
4260
|
-
T: 9
|
4203
|
+
T: 9
|
4204
|
+
/* ScalarType.STRING */
|
4261
4205
|
}, {
|
4262
4206
|
no: 3,
|
4263
4207
|
name: "cid",
|
4264
4208
|
kind: "scalar",
|
4265
|
-
T: 9
|
4209
|
+
T: 9
|
4210
|
+
/* ScalarType.STRING */
|
4266
4211
|
}, {
|
4267
4212
|
no: 4,
|
4268
4213
|
name: "layers",
|
@@ -4270,15 +4215,12 @@ const SimulcastCodecInfo = /*@__PURE__*/proto3.makeMessageType("livekit.Simulcas
|
|
4270
4215
|
T: VideoLayer,
|
4271
4216
|
repeated: true
|
4272
4217
|
}]);
|
4273
|
-
|
4274
|
-
/**
|
4275
|
-
* @generated from message livekit.TrackInfo
|
4276
|
-
*/
|
4277
|
-
const TrackInfo = /*@__PURE__*/proto3.makeMessageType("livekit.TrackInfo", () => [{
|
4218
|
+
const TrackInfo = /* @__PURE__ */proto3.makeMessageType("livekit.TrackInfo", () => [{
|
4278
4219
|
no: 1,
|
4279
4220
|
name: "sid",
|
4280
4221
|
kind: "scalar",
|
4281
|
-
T: 9
|
4222
|
+
T: 9
|
4223
|
+
/* ScalarType.STRING */
|
4282
4224
|
}, {
|
4283
4225
|
no: 2,
|
4284
4226
|
name: "type",
|
@@ -4288,32 +4230,38 @@ const TrackInfo = /*@__PURE__*/proto3.makeMessageType("livekit.TrackInfo", () =>
|
|
4288
4230
|
no: 3,
|
4289
4231
|
name: "name",
|
4290
4232
|
kind: "scalar",
|
4291
|
-
T: 9
|
4233
|
+
T: 9
|
4234
|
+
/* ScalarType.STRING */
|
4292
4235
|
}, {
|
4293
4236
|
no: 4,
|
4294
4237
|
name: "muted",
|
4295
4238
|
kind: "scalar",
|
4296
|
-
T: 8
|
4239
|
+
T: 8
|
4240
|
+
/* ScalarType.BOOL */
|
4297
4241
|
}, {
|
4298
4242
|
no: 5,
|
4299
4243
|
name: "width",
|
4300
4244
|
kind: "scalar",
|
4301
|
-
T: 13
|
4245
|
+
T: 13
|
4246
|
+
/* ScalarType.UINT32 */
|
4302
4247
|
}, {
|
4303
4248
|
no: 6,
|
4304
4249
|
name: "height",
|
4305
4250
|
kind: "scalar",
|
4306
|
-
T: 13
|
4251
|
+
T: 13
|
4252
|
+
/* ScalarType.UINT32 */
|
4307
4253
|
}, {
|
4308
4254
|
no: 7,
|
4309
4255
|
name: "simulcast",
|
4310
4256
|
kind: "scalar",
|
4311
|
-
T: 8
|
4257
|
+
T: 8
|
4258
|
+
/* ScalarType.BOOL */
|
4312
4259
|
}, {
|
4313
4260
|
no: 8,
|
4314
4261
|
name: "disable_dtx",
|
4315
4262
|
kind: "scalar",
|
4316
|
-
T: 8
|
4263
|
+
T: 8
|
4264
|
+
/* ScalarType.BOOL */
|
4317
4265
|
}, {
|
4318
4266
|
no: 9,
|
4319
4267
|
name: "source",
|
@@ -4329,12 +4277,14 @@ const TrackInfo = /*@__PURE__*/proto3.makeMessageType("livekit.TrackInfo", () =>
|
|
4329
4277
|
no: 11,
|
4330
4278
|
name: "mime_type",
|
4331
4279
|
kind: "scalar",
|
4332
|
-
T: 9
|
4280
|
+
T: 9
|
4281
|
+
/* ScalarType.STRING */
|
4333
4282
|
}, {
|
4334
4283
|
no: 12,
|
4335
4284
|
name: "mid",
|
4336
4285
|
kind: "scalar",
|
4337
|
-
T: 9
|
4286
|
+
T: 9
|
4287
|
+
/* ScalarType.STRING */
|
4338
4288
|
}, {
|
4339
4289
|
no: 13,
|
4340
4290
|
name: "codecs",
|
@@ -4345,12 +4295,14 @@ const TrackInfo = /*@__PURE__*/proto3.makeMessageType("livekit.TrackInfo", () =>
|
|
4345
4295
|
no: 14,
|
4346
4296
|
name: "stereo",
|
4347
4297
|
kind: "scalar",
|
4348
|
-
T: 8
|
4298
|
+
T: 8
|
4299
|
+
/* ScalarType.BOOL */
|
4349
4300
|
}, {
|
4350
4301
|
no: 15,
|
4351
4302
|
name: "disable_red",
|
4352
4303
|
kind: "scalar",
|
4353
|
-
T: 8
|
4304
|
+
T: 8
|
4305
|
+
/* ScalarType.BOOL */
|
4354
4306
|
}, {
|
4355
4307
|
no: 16,
|
4356
4308
|
name: "encryption",
|
@@ -4360,7 +4312,8 @@ const TrackInfo = /*@__PURE__*/proto3.makeMessageType("livekit.TrackInfo", () =>
|
|
4360
4312
|
no: 17,
|
4361
4313
|
name: "stream",
|
4362
4314
|
kind: "scalar",
|
4363
|
-
T: 9
|
4315
|
+
T: 9
|
4316
|
+
/* ScalarType.STRING */
|
4364
4317
|
}, {
|
4365
4318
|
no: 18,
|
4366
4319
|
name: "version",
|
@@ -4373,13 +4326,7 @@ const TrackInfo = /*@__PURE__*/proto3.makeMessageType("livekit.TrackInfo", () =>
|
|
4373
4326
|
T: proto3.getEnumType(AudioTrackFeature),
|
4374
4327
|
repeated: true
|
4375
4328
|
}]);
|
4376
|
-
|
4377
|
-
/**
|
4378
|
-
* provide information about available spatial layers
|
4379
|
-
*
|
4380
|
-
* @generated from message livekit.VideoLayer
|
4381
|
-
*/
|
4382
|
-
const VideoLayer = /*@__PURE__*/proto3.makeMessageType("livekit.VideoLayer", () => [{
|
4329
|
+
const VideoLayer = /* @__PURE__ */proto3.makeMessageType("livekit.VideoLayer", () => [{
|
4383
4330
|
no: 1,
|
4384
4331
|
name: "quality",
|
4385
4332
|
kind: "enum",
|
@@ -4388,30 +4335,28 @@ const VideoLayer = /*@__PURE__*/proto3.makeMessageType("livekit.VideoLayer", ()
|
|
4388
4335
|
no: 2,
|
4389
4336
|
name: "width",
|
4390
4337
|
kind: "scalar",
|
4391
|
-
T: 13
|
4338
|
+
T: 13
|
4339
|
+
/* ScalarType.UINT32 */
|
4392
4340
|
}, {
|
4393
4341
|
no: 3,
|
4394
4342
|
name: "height",
|
4395
4343
|
kind: "scalar",
|
4396
|
-
T: 13
|
4344
|
+
T: 13
|
4345
|
+
/* ScalarType.UINT32 */
|
4397
4346
|
}, {
|
4398
4347
|
no: 4,
|
4399
4348
|
name: "bitrate",
|
4400
4349
|
kind: "scalar",
|
4401
|
-
T: 13
|
4350
|
+
T: 13
|
4351
|
+
/* ScalarType.UINT32 */
|
4402
4352
|
}, {
|
4403
4353
|
no: 5,
|
4404
4354
|
name: "ssrc",
|
4405
4355
|
kind: "scalar",
|
4406
|
-
T: 13
|
4356
|
+
T: 13
|
4357
|
+
/* ScalarType.UINT32 */
|
4407
4358
|
}]);
|
4408
|
-
|
4409
|
-
/**
|
4410
|
-
* new DataPacket API
|
4411
|
-
*
|
4412
|
-
* @generated from message livekit.DataPacket
|
4413
|
-
*/
|
4414
|
-
const DataPacket = /*@__PURE__*/proto3.makeMessageType("livekit.DataPacket", () => [{
|
4359
|
+
const DataPacket = /* @__PURE__ */proto3.makeMessageType("livekit.DataPacket", () => [{
|
4415
4360
|
no: 1,
|
4416
4361
|
name: "kind",
|
4417
4362
|
kind: "enum",
|
@@ -4420,12 +4365,13 @@ const DataPacket = /*@__PURE__*/proto3.makeMessageType("livekit.DataPacket", ()
|
|
4420
4365
|
no: 4,
|
4421
4366
|
name: "participant_identity",
|
4422
4367
|
kind: "scalar",
|
4423
|
-
T: 9
|
4368
|
+
T: 9
|
4369
|
+
/* ScalarType.STRING */
|
4424
4370
|
}, {
|
4425
4371
|
no: 5,
|
4426
4372
|
name: "destination_identities",
|
4427
4373
|
kind: "scalar",
|
4428
|
-
T: 9
|
4374
|
+
T: 9,
|
4429
4375
|
repeated: true
|
4430
4376
|
}, {
|
4431
4377
|
no: 2,
|
@@ -4481,134 +4427,132 @@ const DataPacket = /*@__PURE__*/proto3.makeMessageType("livekit.DataPacket", ()
|
|
4481
4427
|
kind: "message",
|
4482
4428
|
T: RpcResponse,
|
4483
4429
|
oneof: "value"
|
4430
|
+
}, {
|
4431
|
+
no: 13,
|
4432
|
+
name: "stream_header",
|
4433
|
+
kind: "message",
|
4434
|
+
T: DataStream_Header,
|
4435
|
+
oneof: "value"
|
4436
|
+
}, {
|
4437
|
+
no: 14,
|
4438
|
+
name: "stream_chunk",
|
4439
|
+
kind: "message",
|
4440
|
+
T: DataStream_Chunk,
|
4441
|
+
oneof: "value"
|
4484
4442
|
}]);
|
4485
|
-
|
4486
|
-
/**
|
4487
|
-
* @generated from enum livekit.DataPacket.Kind
|
4488
|
-
*/
|
4489
|
-
const DataPacket_Kind = /*@__PURE__*/proto3.makeEnum("livekit.DataPacket.Kind", [{
|
4443
|
+
const DataPacket_Kind = /* @__PURE__ */proto3.makeEnum("livekit.DataPacket.Kind", [{
|
4490
4444
|
no: 0,
|
4491
4445
|
name: "RELIABLE"
|
4492
4446
|
}, {
|
4493
4447
|
no: 1,
|
4494
4448
|
name: "LOSSY"
|
4495
4449
|
}]);
|
4496
|
-
|
4497
|
-
/**
|
4498
|
-
* @generated from message livekit.ActiveSpeakerUpdate
|
4499
|
-
*/
|
4500
|
-
const ActiveSpeakerUpdate = /*@__PURE__*/proto3.makeMessageType("livekit.ActiveSpeakerUpdate", () => [{
|
4450
|
+
const ActiveSpeakerUpdate = /* @__PURE__ */proto3.makeMessageType("livekit.ActiveSpeakerUpdate", () => [{
|
4501
4451
|
no: 1,
|
4502
4452
|
name: "speakers",
|
4503
4453
|
kind: "message",
|
4504
4454
|
T: SpeakerInfo,
|
4505
4455
|
repeated: true
|
4506
4456
|
}]);
|
4507
|
-
|
4508
|
-
/**
|
4509
|
-
* @generated from message livekit.SpeakerInfo
|
4510
|
-
*/
|
4511
|
-
const SpeakerInfo = /*@__PURE__*/proto3.makeMessageType("livekit.SpeakerInfo", () => [{
|
4457
|
+
const SpeakerInfo = /* @__PURE__ */proto3.makeMessageType("livekit.SpeakerInfo", () => [{
|
4512
4458
|
no: 1,
|
4513
4459
|
name: "sid",
|
4514
4460
|
kind: "scalar",
|
4515
|
-
T: 9
|
4461
|
+
T: 9
|
4462
|
+
/* ScalarType.STRING */
|
4516
4463
|
}, {
|
4517
4464
|
no: 2,
|
4518
4465
|
name: "level",
|
4519
4466
|
kind: "scalar",
|
4520
|
-
T: 2
|
4467
|
+
T: 2
|
4468
|
+
/* ScalarType.FLOAT */
|
4521
4469
|
}, {
|
4522
4470
|
no: 3,
|
4523
4471
|
name: "active",
|
4524
4472
|
kind: "scalar",
|
4525
|
-
T: 8
|
4473
|
+
T: 8
|
4474
|
+
/* ScalarType.BOOL */
|
4526
4475
|
}]);
|
4527
|
-
|
4528
|
-
/**
|
4529
|
-
* @generated from message livekit.UserPacket
|
4530
|
-
*/
|
4531
|
-
const UserPacket = /*@__PURE__*/proto3.makeMessageType("livekit.UserPacket", () => [{
|
4476
|
+
const UserPacket = /* @__PURE__ */proto3.makeMessageType("livekit.UserPacket", () => [{
|
4532
4477
|
no: 1,
|
4533
4478
|
name: "participant_sid",
|
4534
4479
|
kind: "scalar",
|
4535
|
-
T: 9
|
4480
|
+
T: 9
|
4481
|
+
/* ScalarType.STRING */
|
4536
4482
|
}, {
|
4537
4483
|
no: 5,
|
4538
4484
|
name: "participant_identity",
|
4539
4485
|
kind: "scalar",
|
4540
|
-
T: 9
|
4486
|
+
T: 9
|
4487
|
+
/* ScalarType.STRING */
|
4541
4488
|
}, {
|
4542
4489
|
no: 2,
|
4543
4490
|
name: "payload",
|
4544
4491
|
kind: "scalar",
|
4545
|
-
T: 12
|
4492
|
+
T: 12
|
4493
|
+
/* ScalarType.BYTES */
|
4546
4494
|
}, {
|
4547
4495
|
no: 3,
|
4548
4496
|
name: "destination_sids",
|
4549
4497
|
kind: "scalar",
|
4550
|
-
T: 9
|
4498
|
+
T: 9,
|
4551
4499
|
repeated: true
|
4552
4500
|
}, {
|
4553
4501
|
no: 6,
|
4554
4502
|
name: "destination_identities",
|
4555
4503
|
kind: "scalar",
|
4556
|
-
T: 9
|
4504
|
+
T: 9,
|
4557
4505
|
repeated: true
|
4558
4506
|
}, {
|
4559
4507
|
no: 4,
|
4560
4508
|
name: "topic",
|
4561
4509
|
kind: "scalar",
|
4562
|
-
T: 9
|
4510
|
+
T: 9,
|
4563
4511
|
opt: true
|
4564
4512
|
}, {
|
4565
4513
|
no: 8,
|
4566
4514
|
name: "id",
|
4567
4515
|
kind: "scalar",
|
4568
|
-
T: 9
|
4516
|
+
T: 9,
|
4569
4517
|
opt: true
|
4570
4518
|
}, {
|
4571
4519
|
no: 9,
|
4572
4520
|
name: "start_time",
|
4573
4521
|
kind: "scalar",
|
4574
|
-
T: 4
|
4522
|
+
T: 4,
|
4575
4523
|
opt: true
|
4576
4524
|
}, {
|
4577
4525
|
no: 10,
|
4578
4526
|
name: "end_time",
|
4579
4527
|
kind: "scalar",
|
4580
|
-
T: 4
|
4528
|
+
T: 4,
|
4581
4529
|
opt: true
|
4582
4530
|
}]);
|
4583
|
-
|
4584
|
-
/**
|
4585
|
-
* @generated from message livekit.SipDTMF
|
4586
|
-
*/
|
4587
|
-
const SipDTMF = /*@__PURE__*/proto3.makeMessageType("livekit.SipDTMF", () => [{
|
4531
|
+
const SipDTMF = /* @__PURE__ */proto3.makeMessageType("livekit.SipDTMF", () => [{
|
4588
4532
|
no: 3,
|
4589
4533
|
name: "code",
|
4590
4534
|
kind: "scalar",
|
4591
|
-
T: 13
|
4535
|
+
T: 13
|
4536
|
+
/* ScalarType.UINT32 */
|
4592
4537
|
}, {
|
4593
4538
|
no: 4,
|
4594
4539
|
name: "digit",
|
4595
4540
|
kind: "scalar",
|
4596
|
-
T: 9
|
4541
|
+
T: 9
|
4542
|
+
/* ScalarType.STRING */
|
4597
4543
|
}]);
|
4598
|
-
|
4599
|
-
/**
|
4600
|
-
* @generated from message livekit.Transcription
|
4601
|
-
*/
|
4602
|
-
const Transcription = /*@__PURE__*/proto3.makeMessageType("livekit.Transcription", () => [{
|
4544
|
+
const Transcription = /* @__PURE__ */proto3.makeMessageType("livekit.Transcription", () => [{
|
4603
4545
|
no: 2,
|
4604
4546
|
name: "transcribed_participant_identity",
|
4605
4547
|
kind: "scalar",
|
4606
|
-
T: 9
|
4548
|
+
T: 9
|
4549
|
+
/* ScalarType.STRING */
|
4607
4550
|
}, {
|
4608
4551
|
no: 3,
|
4609
4552
|
name: "track_id",
|
4610
4553
|
kind: "scalar",
|
4611
|
-
T: 9
|
4554
|
+
T: 9
|
4555
|
+
/* ScalarType.STRING */
|
4612
4556
|
}, {
|
4613
4557
|
no: 4,
|
4614
4558
|
name: "segments",
|
@@ -4616,131 +4560,129 @@ const Transcription = /*@__PURE__*/proto3.makeMessageType("livekit.Transcription
|
|
4616
4560
|
T: TranscriptionSegment,
|
4617
4561
|
repeated: true
|
4618
4562
|
}]);
|
4619
|
-
|
4620
|
-
/**
|
4621
|
-
* @generated from message livekit.TranscriptionSegment
|
4622
|
-
*/
|
4623
|
-
const TranscriptionSegment = /*@__PURE__*/proto3.makeMessageType("livekit.TranscriptionSegment", () => [{
|
4563
|
+
const TranscriptionSegment = /* @__PURE__ */proto3.makeMessageType("livekit.TranscriptionSegment", () => [{
|
4624
4564
|
no: 1,
|
4625
4565
|
name: "id",
|
4626
4566
|
kind: "scalar",
|
4627
|
-
T: 9
|
4567
|
+
T: 9
|
4568
|
+
/* ScalarType.STRING */
|
4628
4569
|
}, {
|
4629
4570
|
no: 2,
|
4630
4571
|
name: "text",
|
4631
4572
|
kind: "scalar",
|
4632
|
-
T: 9
|
4573
|
+
T: 9
|
4574
|
+
/* ScalarType.STRING */
|
4633
4575
|
}, {
|
4634
4576
|
no: 3,
|
4635
4577
|
name: "start_time",
|
4636
4578
|
kind: "scalar",
|
4637
|
-
T: 4
|
4579
|
+
T: 4
|
4580
|
+
/* ScalarType.UINT64 */
|
4638
4581
|
}, {
|
4639
4582
|
no: 4,
|
4640
4583
|
name: "end_time",
|
4641
4584
|
kind: "scalar",
|
4642
|
-
T: 4
|
4585
|
+
T: 4
|
4586
|
+
/* ScalarType.UINT64 */
|
4643
4587
|
}, {
|
4644
4588
|
no: 5,
|
4645
4589
|
name: "final",
|
4646
4590
|
kind: "scalar",
|
4647
|
-
T: 8
|
4591
|
+
T: 8
|
4592
|
+
/* ScalarType.BOOL */
|
4648
4593
|
}, {
|
4649
4594
|
no: 6,
|
4650
4595
|
name: "language",
|
4651
4596
|
kind: "scalar",
|
4652
|
-
T: 9
|
4597
|
+
T: 9
|
4598
|
+
/* ScalarType.STRING */
|
4653
4599
|
}]);
|
4654
|
-
|
4655
|
-
/**
|
4656
|
-
* @generated from message livekit.ChatMessage
|
4657
|
-
*/
|
4658
|
-
const ChatMessage = /*@__PURE__*/proto3.makeMessageType("livekit.ChatMessage", () => [{
|
4600
|
+
const ChatMessage = /* @__PURE__ */proto3.makeMessageType("livekit.ChatMessage", () => [{
|
4659
4601
|
no: 1,
|
4660
4602
|
name: "id",
|
4661
4603
|
kind: "scalar",
|
4662
|
-
T: 9
|
4604
|
+
T: 9
|
4605
|
+
/* ScalarType.STRING */
|
4663
4606
|
}, {
|
4664
4607
|
no: 2,
|
4665
4608
|
name: "timestamp",
|
4666
4609
|
kind: "scalar",
|
4667
|
-
T: 3
|
4610
|
+
T: 3
|
4611
|
+
/* ScalarType.INT64 */
|
4668
4612
|
}, {
|
4669
4613
|
no: 3,
|
4670
4614
|
name: "edit_timestamp",
|
4671
4615
|
kind: "scalar",
|
4672
|
-
T: 3
|
4616
|
+
T: 3,
|
4673
4617
|
opt: true
|
4674
4618
|
}, {
|
4675
4619
|
no: 4,
|
4676
4620
|
name: "message",
|
4677
4621
|
kind: "scalar",
|
4678
|
-
T: 9
|
4622
|
+
T: 9
|
4623
|
+
/* ScalarType.STRING */
|
4679
4624
|
}, {
|
4680
4625
|
no: 5,
|
4681
4626
|
name: "deleted",
|
4682
4627
|
kind: "scalar",
|
4683
|
-
T: 8
|
4628
|
+
T: 8
|
4629
|
+
/* ScalarType.BOOL */
|
4684
4630
|
}, {
|
4685
4631
|
no: 6,
|
4686
4632
|
name: "generated",
|
4687
4633
|
kind: "scalar",
|
4688
|
-
T: 8
|
4634
|
+
T: 8
|
4635
|
+
/* ScalarType.BOOL */
|
4689
4636
|
}]);
|
4690
|
-
|
4691
|
-
/**
|
4692
|
-
* @generated from message livekit.RpcRequest
|
4693
|
-
*/
|
4694
|
-
const RpcRequest = /*@__PURE__*/proto3.makeMessageType("livekit.RpcRequest", () => [{
|
4637
|
+
const RpcRequest = /* @__PURE__ */proto3.makeMessageType("livekit.RpcRequest", () => [{
|
4695
4638
|
no: 1,
|
4696
4639
|
name: "id",
|
4697
4640
|
kind: "scalar",
|
4698
|
-
T: 9
|
4641
|
+
T: 9
|
4642
|
+
/* ScalarType.STRING */
|
4699
4643
|
}, {
|
4700
4644
|
no: 2,
|
4701
4645
|
name: "method",
|
4702
4646
|
kind: "scalar",
|
4703
|
-
T: 9
|
4647
|
+
T: 9
|
4648
|
+
/* ScalarType.STRING */
|
4704
4649
|
}, {
|
4705
4650
|
no: 3,
|
4706
4651
|
name: "payload",
|
4707
4652
|
kind: "scalar",
|
4708
|
-
T: 9
|
4653
|
+
T: 9
|
4654
|
+
/* ScalarType.STRING */
|
4709
4655
|
}, {
|
4710
4656
|
no: 4,
|
4711
4657
|
name: "response_timeout_ms",
|
4712
4658
|
kind: "scalar",
|
4713
|
-
T: 13
|
4659
|
+
T: 13
|
4660
|
+
/* ScalarType.UINT32 */
|
4714
4661
|
}, {
|
4715
4662
|
no: 5,
|
4716
4663
|
name: "version",
|
4717
4664
|
kind: "scalar",
|
4718
|
-
T: 13
|
4665
|
+
T: 13
|
4666
|
+
/* ScalarType.UINT32 */
|
4719
4667
|
}]);
|
4720
|
-
|
4721
|
-
/**
|
4722
|
-
* @generated from message livekit.RpcAck
|
4723
|
-
*/
|
4724
|
-
const RpcAck = /*@__PURE__*/proto3.makeMessageType("livekit.RpcAck", () => [{
|
4668
|
+
const RpcAck = /* @__PURE__ */proto3.makeMessageType("livekit.RpcAck", () => [{
|
4725
4669
|
no: 1,
|
4726
4670
|
name: "request_id",
|
4727
4671
|
kind: "scalar",
|
4728
|
-
T: 9
|
4672
|
+
T: 9
|
4673
|
+
/* ScalarType.STRING */
|
4729
4674
|
}]);
|
4730
|
-
|
4731
|
-
/**
|
4732
|
-
* @generated from message livekit.RpcResponse
|
4733
|
-
*/
|
4734
|
-
const RpcResponse = /*@__PURE__*/proto3.makeMessageType("livekit.RpcResponse", () => [{
|
4675
|
+
const RpcResponse = /* @__PURE__ */proto3.makeMessageType("livekit.RpcResponse", () => [{
|
4735
4676
|
no: 1,
|
4736
4677
|
name: "request_id",
|
4737
4678
|
kind: "scalar",
|
4738
|
-
T: 9
|
4679
|
+
T: 9
|
4680
|
+
/* ScalarType.STRING */
|
4739
4681
|
}, {
|
4740
4682
|
no: 2,
|
4741
4683
|
name: "payload",
|
4742
4684
|
kind: "scalar",
|
4743
|
-
T: 9
|
4685
|
+
T: 9,
|
4744
4686
|
oneof: "value"
|
4745
4687
|
}, {
|
4746
4688
|
no: 3,
|
@@ -4749,49 +4691,39 @@ const RpcResponse = /*@__PURE__*/proto3.makeMessageType("livekit.RpcResponse", (
|
|
4749
4691
|
T: RpcError$1,
|
4750
4692
|
oneof: "value"
|
4751
4693
|
}]);
|
4752
|
-
|
4753
|
-
/**
|
4754
|
-
* @generated from message livekit.RpcError
|
4755
|
-
*/
|
4756
|
-
const RpcError$1 = /*@__PURE__*/proto3.makeMessageType("livekit.RpcError", () => [{
|
4694
|
+
const RpcError$1 = /* @__PURE__ */proto3.makeMessageType("livekit.RpcError", () => [{
|
4757
4695
|
no: 1,
|
4758
4696
|
name: "code",
|
4759
4697
|
kind: "scalar",
|
4760
|
-
T: 13
|
4698
|
+
T: 13
|
4699
|
+
/* ScalarType.UINT32 */
|
4761
4700
|
}, {
|
4762
4701
|
no: 2,
|
4763
4702
|
name: "message",
|
4764
4703
|
kind: "scalar",
|
4765
|
-
T: 9
|
4704
|
+
T: 9
|
4705
|
+
/* ScalarType.STRING */
|
4766
4706
|
}, {
|
4767
4707
|
no: 3,
|
4768
4708
|
name: "data",
|
4769
4709
|
kind: "scalar",
|
4770
|
-
T: 9
|
4710
|
+
T: 9
|
4711
|
+
/* ScalarType.STRING */
|
4771
4712
|
}]);
|
4772
|
-
|
4773
|
-
/**
|
4774
|
-
* @generated from message livekit.ParticipantTracks
|
4775
|
-
*/
|
4776
|
-
const ParticipantTracks = /*@__PURE__*/proto3.makeMessageType("livekit.ParticipantTracks", () => [{
|
4713
|
+
const ParticipantTracks = /* @__PURE__ */proto3.makeMessageType("livekit.ParticipantTracks", () => [{
|
4777
4714
|
no: 1,
|
4778
4715
|
name: "participant_sid",
|
4779
4716
|
kind: "scalar",
|
4780
|
-
T: 9
|
4717
|
+
T: 9
|
4718
|
+
/* ScalarType.STRING */
|
4781
4719
|
}, {
|
4782
4720
|
no: 2,
|
4783
4721
|
name: "track_sids",
|
4784
4722
|
kind: "scalar",
|
4785
|
-
T: 9
|
4723
|
+
T: 9,
|
4786
4724
|
repeated: true
|
4787
4725
|
}]);
|
4788
|
-
|
4789
|
-
/**
|
4790
|
-
* details about the server
|
4791
|
-
*
|
4792
|
-
* @generated from message livekit.ServerInfo
|
4793
|
-
*/
|
4794
|
-
const ServerInfo = /*@__PURE__*/proto3.makeMessageType("livekit.ServerInfo", () => [{
|
4726
|
+
const ServerInfo = /* @__PURE__ */proto3.makeMessageType("livekit.ServerInfo", () => [{
|
4795
4727
|
no: 1,
|
4796
4728
|
name: "edition",
|
4797
4729
|
kind: "enum",
|
@@ -4800,51 +4732,47 @@ const ServerInfo = /*@__PURE__*/proto3.makeMessageType("livekit.ServerInfo", ()
|
|
4800
4732
|
no: 2,
|
4801
4733
|
name: "version",
|
4802
4734
|
kind: "scalar",
|
4803
|
-
T: 9
|
4735
|
+
T: 9
|
4736
|
+
/* ScalarType.STRING */
|
4804
4737
|
}, {
|
4805
4738
|
no: 3,
|
4806
4739
|
name: "protocol",
|
4807
4740
|
kind: "scalar",
|
4808
|
-
T: 5
|
4741
|
+
T: 5
|
4742
|
+
/* ScalarType.INT32 */
|
4809
4743
|
}, {
|
4810
4744
|
no: 4,
|
4811
4745
|
name: "region",
|
4812
4746
|
kind: "scalar",
|
4813
|
-
T: 9
|
4747
|
+
T: 9
|
4748
|
+
/* ScalarType.STRING */
|
4814
4749
|
}, {
|
4815
4750
|
no: 5,
|
4816
4751
|
name: "node_id",
|
4817
4752
|
kind: "scalar",
|
4818
|
-
T: 9
|
4753
|
+
T: 9
|
4754
|
+
/* ScalarType.STRING */
|
4819
4755
|
}, {
|
4820
4756
|
no: 6,
|
4821
4757
|
name: "debug_info",
|
4822
4758
|
kind: "scalar",
|
4823
|
-
T: 9
|
4759
|
+
T: 9
|
4760
|
+
/* ScalarType.STRING */
|
4824
4761
|
}, {
|
4825
4762
|
no: 7,
|
4826
4763
|
name: "agent_protocol",
|
4827
4764
|
kind: "scalar",
|
4828
|
-
T: 5
|
4765
|
+
T: 5
|
4766
|
+
/* ScalarType.INT32 */
|
4829
4767
|
}]);
|
4830
|
-
|
4831
|
-
/**
|
4832
|
-
* @generated from enum livekit.ServerInfo.Edition
|
4833
|
-
*/
|
4834
|
-
const ServerInfo_Edition = /*@__PURE__*/proto3.makeEnum("livekit.ServerInfo.Edition", [{
|
4768
|
+
const ServerInfo_Edition = /* @__PURE__ */proto3.makeEnum("livekit.ServerInfo.Edition", [{
|
4835
4769
|
no: 0,
|
4836
4770
|
name: "Standard"
|
4837
4771
|
}, {
|
4838
4772
|
no: 1,
|
4839
4773
|
name: "Cloud"
|
4840
4774
|
}]);
|
4841
|
-
|
4842
|
-
/**
|
4843
|
-
* details about the client
|
4844
|
-
*
|
4845
|
-
* @generated from message livekit.ClientInfo
|
4846
|
-
*/
|
4847
|
-
const ClientInfo = /*@__PURE__*/proto3.makeMessageType("livekit.ClientInfo", () => [{
|
4775
|
+
const ClientInfo = /* @__PURE__ */proto3.makeMessageType("livekit.ClientInfo", () => [{
|
4848
4776
|
no: 1,
|
4849
4777
|
name: "sdk",
|
4850
4778
|
kind: "enum",
|
@@ -4853,58 +4781,64 @@ const ClientInfo = /*@__PURE__*/proto3.makeMessageType("livekit.ClientInfo", ()
|
|
4853
4781
|
no: 2,
|
4854
4782
|
name: "version",
|
4855
4783
|
kind: "scalar",
|
4856
|
-
T: 9
|
4784
|
+
T: 9
|
4785
|
+
/* ScalarType.STRING */
|
4857
4786
|
}, {
|
4858
4787
|
no: 3,
|
4859
4788
|
name: "protocol",
|
4860
4789
|
kind: "scalar",
|
4861
|
-
T: 5
|
4790
|
+
T: 5
|
4791
|
+
/* ScalarType.INT32 */
|
4862
4792
|
}, {
|
4863
4793
|
no: 4,
|
4864
4794
|
name: "os",
|
4865
4795
|
kind: "scalar",
|
4866
|
-
T: 9
|
4796
|
+
T: 9
|
4797
|
+
/* ScalarType.STRING */
|
4867
4798
|
}, {
|
4868
4799
|
no: 5,
|
4869
4800
|
name: "os_version",
|
4870
4801
|
kind: "scalar",
|
4871
|
-
T: 9
|
4802
|
+
T: 9
|
4803
|
+
/* ScalarType.STRING */
|
4872
4804
|
}, {
|
4873
4805
|
no: 6,
|
4874
4806
|
name: "device_model",
|
4875
4807
|
kind: "scalar",
|
4876
|
-
T: 9
|
4808
|
+
T: 9
|
4809
|
+
/* ScalarType.STRING */
|
4877
4810
|
}, {
|
4878
4811
|
no: 7,
|
4879
4812
|
name: "browser",
|
4880
4813
|
kind: "scalar",
|
4881
|
-
T: 9
|
4814
|
+
T: 9
|
4815
|
+
/* ScalarType.STRING */
|
4882
4816
|
}, {
|
4883
4817
|
no: 8,
|
4884
4818
|
name: "browser_version",
|
4885
4819
|
kind: "scalar",
|
4886
|
-
T: 9
|
4820
|
+
T: 9
|
4821
|
+
/* ScalarType.STRING */
|
4887
4822
|
}, {
|
4888
4823
|
no: 9,
|
4889
4824
|
name: "address",
|
4890
4825
|
kind: "scalar",
|
4891
|
-
T: 9
|
4826
|
+
T: 9
|
4827
|
+
/* ScalarType.STRING */
|
4892
4828
|
}, {
|
4893
4829
|
no: 10,
|
4894
4830
|
name: "network",
|
4895
4831
|
kind: "scalar",
|
4896
|
-
T: 9
|
4832
|
+
T: 9
|
4833
|
+
/* ScalarType.STRING */
|
4897
4834
|
}, {
|
4898
4835
|
no: 11,
|
4899
4836
|
name: "other_sdks",
|
4900
4837
|
kind: "scalar",
|
4901
|
-
T: 9
|
4838
|
+
T: 9
|
4839
|
+
/* ScalarType.STRING */
|
4902
4840
|
}]);
|
4903
|
-
|
4904
|
-
/**
|
4905
|
-
* @generated from enum livekit.ClientInfo.SDK
|
4906
|
-
*/
|
4907
|
-
const ClientInfo_SDK = /*@__PURE__*/proto3.makeEnum("livekit.ClientInfo.SDK", [{
|
4841
|
+
const ClientInfo_SDK = /* @__PURE__ */proto3.makeEnum("livekit.ClientInfo.SDK", [{
|
4908
4842
|
no: 0,
|
4909
4843
|
name: "UNKNOWN"
|
4910
4844
|
}, {
|
@@ -4944,13 +4878,7 @@ const ClientInfo_SDK = /*@__PURE__*/proto3.makeEnum("livekit.ClientInfo.SDK", [{
|
|
4944
4878
|
no: 12,
|
4945
4879
|
name: "NODE"
|
4946
4880
|
}]);
|
4947
|
-
|
4948
|
-
/**
|
4949
|
-
* server provided client configuration
|
4950
|
-
*
|
4951
|
-
* @generated from message livekit.ClientConfiguration
|
4952
|
-
*/
|
4953
|
-
const ClientConfiguration = /*@__PURE__*/proto3.makeMessageType("livekit.ClientConfiguration", () => [{
|
4881
|
+
const ClientConfiguration = /* @__PURE__ */proto3.makeMessageType("livekit.ClientConfiguration", () => [{
|
4954
4882
|
no: 1,
|
4955
4883
|
name: "video",
|
4956
4884
|
kind: "message",
|
@@ -4976,21 +4904,13 @@ const ClientConfiguration = /*@__PURE__*/proto3.makeMessageType("livekit.ClientC
|
|
4976
4904
|
kind: "enum",
|
4977
4905
|
T: proto3.getEnumType(ClientConfigSetting)
|
4978
4906
|
}]);
|
4979
|
-
|
4980
|
-
/**
|
4981
|
-
* @generated from message livekit.VideoConfiguration
|
4982
|
-
*/
|
4983
|
-
const VideoConfiguration = /*@__PURE__*/proto3.makeMessageType("livekit.VideoConfiguration", () => [{
|
4907
|
+
const VideoConfiguration = /* @__PURE__ */proto3.makeMessageType("livekit.VideoConfiguration", () => [{
|
4984
4908
|
no: 1,
|
4985
4909
|
name: "hardware_encoder",
|
4986
4910
|
kind: "enum",
|
4987
4911
|
T: proto3.getEnumType(ClientConfigSetting)
|
4988
4912
|
}]);
|
4989
|
-
|
4990
|
-
/**
|
4991
|
-
* @generated from message livekit.DisabledCodecs
|
4992
|
-
*/
|
4993
|
-
const DisabledCodecs = /*@__PURE__*/proto3.makeMessageType("livekit.DisabledCodecs", () => [{
|
4913
|
+
const DisabledCodecs = /* @__PURE__ */proto3.makeMessageType("livekit.DisabledCodecs", () => [{
|
4994
4914
|
no: 1,
|
4995
4915
|
name: "codecs",
|
4996
4916
|
kind: "message",
|
@@ -5003,63 +4923,193 @@ const DisabledCodecs = /*@__PURE__*/proto3.makeMessageType("livekit.DisabledCode
|
|
5003
4923
|
T: Codec,
|
5004
4924
|
repeated: true
|
5005
4925
|
}]);
|
5006
|
-
|
5007
|
-
/**
|
5008
|
-
* @generated from message livekit.TimedVersion
|
5009
|
-
*/
|
5010
|
-
const TimedVersion = /*@__PURE__*/proto3.makeMessageType("livekit.TimedVersion", () => [{
|
4926
|
+
const TimedVersion = /* @__PURE__ */proto3.makeMessageType("livekit.TimedVersion", () => [{
|
5011
4927
|
no: 1,
|
5012
4928
|
name: "unix_micro",
|
5013
4929
|
kind: "scalar",
|
5014
|
-
T: 3
|
4930
|
+
T: 3
|
4931
|
+
/* ScalarType.INT64 */
|
5015
4932
|
}, {
|
5016
4933
|
no: 2,
|
5017
4934
|
name: "ticks",
|
5018
4935
|
kind: "scalar",
|
5019
|
-
T: 5
|
4936
|
+
T: 5
|
4937
|
+
/* ScalarType.INT32 */
|
5020
4938
|
}]);
|
5021
|
-
|
5022
|
-
|
5023
|
-
|
5024
|
-
|
5025
|
-
|
5026
|
-
|
5027
|
-
|
5028
|
-
|
5029
|
-
|
5030
|
-
|
5031
|
-
|
5032
|
-
|
5033
|
-
|
5034
|
-
|
5035
|
-
|
5036
|
-
|
5037
|
-
|
5038
|
-
|
5039
|
-
|
5040
|
-
|
4939
|
+
const DataStream_OperationType = /* @__PURE__ */proto3.makeEnum("livekit.DataStream.OperationType", [{
|
4940
|
+
no: 0,
|
4941
|
+
name: "CREATE"
|
4942
|
+
}, {
|
4943
|
+
no: 1,
|
4944
|
+
name: "UPDATE"
|
4945
|
+
}, {
|
4946
|
+
no: 2,
|
4947
|
+
name: "DELETE"
|
4948
|
+
}, {
|
4949
|
+
no: 3,
|
4950
|
+
name: "REACTION"
|
4951
|
+
}]);
|
4952
|
+
const DataStream_TextHeader = /* @__PURE__ */proto3.makeMessageType("livekit.DataStream.TextHeader", () => [{
|
4953
|
+
no: 1,
|
4954
|
+
name: "operation_type",
|
4955
|
+
kind: "enum",
|
4956
|
+
T: proto3.getEnumType(DataStream_OperationType)
|
4957
|
+
}, {
|
4958
|
+
no: 2,
|
4959
|
+
name: "version",
|
4960
|
+
kind: "scalar",
|
4961
|
+
T: 5
|
4962
|
+
/* ScalarType.INT32 */
|
4963
|
+
}, {
|
4964
|
+
no: 3,
|
4965
|
+
name: "reply_to_stream_id",
|
4966
|
+
kind: "scalar",
|
4967
|
+
T: 9
|
4968
|
+
/* ScalarType.STRING */
|
4969
|
+
}, {
|
4970
|
+
no: 4,
|
4971
|
+
name: "attached_stream_ids",
|
4972
|
+
kind: "scalar",
|
4973
|
+
T: 9,
|
4974
|
+
repeated: true
|
4975
|
+
}, {
|
4976
|
+
no: 5,
|
4977
|
+
name: "generated",
|
4978
|
+
kind: "scalar",
|
4979
|
+
T: 8
|
4980
|
+
/* ScalarType.BOOL */
|
4981
|
+
}], {
|
4982
|
+
localName: "DataStream_TextHeader"
|
4983
|
+
});
|
4984
|
+
const DataStream_FileHeader = /* @__PURE__ */proto3.makeMessageType("livekit.DataStream.FileHeader", () => [{
|
4985
|
+
no: 1,
|
4986
|
+
name: "file_name",
|
4987
|
+
kind: "scalar",
|
4988
|
+
T: 9
|
4989
|
+
/* ScalarType.STRING */
|
4990
|
+
}], {
|
4991
|
+
localName: "DataStream_FileHeader"
|
4992
|
+
});
|
4993
|
+
const DataStream_Header = /* @__PURE__ */proto3.makeMessageType("livekit.DataStream.Header", () => [{
|
4994
|
+
no: 1,
|
4995
|
+
name: "stream_id",
|
4996
|
+
kind: "scalar",
|
4997
|
+
T: 9
|
4998
|
+
/* ScalarType.STRING */
|
4999
|
+
}, {
|
5000
|
+
no: 2,
|
5001
|
+
name: "timestamp",
|
5002
|
+
kind: "scalar",
|
5003
|
+
T: 3
|
5004
|
+
/* ScalarType.INT64 */
|
5005
|
+
}, {
|
5006
|
+
no: 3,
|
5007
|
+
name: "topic",
|
5008
|
+
kind: "scalar",
|
5009
|
+
T: 9
|
5010
|
+
/* ScalarType.STRING */
|
5011
|
+
}, {
|
5012
|
+
no: 4,
|
5013
|
+
name: "mime_type",
|
5014
|
+
kind: "scalar",
|
5015
|
+
T: 9
|
5016
|
+
/* ScalarType.STRING */
|
5017
|
+
}, {
|
5018
|
+
no: 5,
|
5019
|
+
name: "total_length",
|
5020
|
+
kind: "scalar",
|
5021
|
+
T: 4,
|
5022
|
+
opt: true
|
5023
|
+
}, {
|
5024
|
+
no: 6,
|
5025
|
+
name: "total_chunks",
|
5026
|
+
kind: "scalar",
|
5027
|
+
T: 4,
|
5028
|
+
opt: true
|
5029
|
+
}, {
|
5030
|
+
no: 7,
|
5031
|
+
name: "encryption_type",
|
5032
|
+
kind: "enum",
|
5033
|
+
T: proto3.getEnumType(Encryption_Type)
|
5034
|
+
}, {
|
5035
|
+
no: 8,
|
5036
|
+
name: "extensions",
|
5037
|
+
kind: "map",
|
5038
|
+
K: 9,
|
5039
|
+
V: {
|
5040
|
+
kind: "scalar",
|
5041
|
+
T: 9
|
5042
|
+
/* ScalarType.STRING */
|
5043
|
+
}
|
5044
|
+
}, {
|
5045
|
+
no: 9,
|
5046
|
+
name: "text_header",
|
5047
|
+
kind: "message",
|
5048
|
+
T: DataStream_TextHeader,
|
5049
|
+
oneof: "content_header"
|
5050
|
+
}, {
|
5051
|
+
no: 10,
|
5052
|
+
name: "file_header",
|
5053
|
+
kind: "message",
|
5054
|
+
T: DataStream_FileHeader,
|
5055
|
+
oneof: "content_header"
|
5056
|
+
}], {
|
5057
|
+
localName: "DataStream_Header"
|
5058
|
+
});
|
5059
|
+
const DataStream_Chunk = /* @__PURE__ */proto3.makeMessageType("livekit.DataStream.Chunk", () => [{
|
5060
|
+
no: 1,
|
5061
|
+
name: "stream_id",
|
5062
|
+
kind: "scalar",
|
5063
|
+
T: 9
|
5064
|
+
/* ScalarType.STRING */
|
5065
|
+
}, {
|
5066
|
+
no: 2,
|
5067
|
+
name: "chunk_index",
|
5068
|
+
kind: "scalar",
|
5069
|
+
T: 4
|
5070
|
+
/* ScalarType.UINT64 */
|
5071
|
+
}, {
|
5072
|
+
no: 3,
|
5073
|
+
name: "content",
|
5074
|
+
kind: "scalar",
|
5075
|
+
T: 12
|
5076
|
+
/* ScalarType.BYTES */
|
5077
|
+
}, {
|
5078
|
+
no: 4,
|
5079
|
+
name: "complete",
|
5080
|
+
kind: "scalar",
|
5081
|
+
T: 8
|
5082
|
+
/* ScalarType.BOOL */
|
5083
|
+
}, {
|
5084
|
+
no: 5,
|
5085
|
+
name: "version",
|
5086
|
+
kind: "scalar",
|
5087
|
+
T: 5
|
5088
|
+
/* ScalarType.INT32 */
|
5089
|
+
}, {
|
5090
|
+
no: 6,
|
5091
|
+
name: "iv",
|
5092
|
+
kind: "scalar",
|
5093
|
+
T: 12,
|
5094
|
+
opt: true
|
5095
|
+
}], {
|
5096
|
+
localName: "DataStream_Chunk"
|
5097
|
+
});
|
5098
|
+
const SignalTarget = /* @__PURE__ */proto3.makeEnum("livekit.SignalTarget", [{
|
5041
5099
|
no: 0,
|
5042
5100
|
name: "PUBLISHER"
|
5043
5101
|
}, {
|
5044
5102
|
no: 1,
|
5045
5103
|
name: "SUBSCRIBER"
|
5046
5104
|
}]);
|
5047
|
-
|
5048
|
-
/**
|
5049
|
-
* @generated from enum livekit.StreamState
|
5050
|
-
*/
|
5051
|
-
const StreamState = /*@__PURE__*/proto3.makeEnum("livekit.StreamState", [{
|
5105
|
+
const StreamState = /* @__PURE__ */proto3.makeEnum("livekit.StreamState", [{
|
5052
5106
|
no: 0,
|
5053
5107
|
name: "ACTIVE"
|
5054
5108
|
}, {
|
5055
5109
|
no: 1,
|
5056
5110
|
name: "PAUSED"
|
5057
5111
|
}]);
|
5058
|
-
|
5059
|
-
/**
|
5060
|
-
* @generated from enum livekit.CandidateProtocol
|
5061
|
-
*/
|
5062
|
-
const CandidateProtocol = /*@__PURE__*/proto3.makeEnum("livekit.CandidateProtocol", [{
|
5112
|
+
const CandidateProtocol = /* @__PURE__ */proto3.makeEnum("livekit.CandidateProtocol", [{
|
5063
5113
|
no: 0,
|
5064
5114
|
name: "UDP"
|
5065
5115
|
}, {
|
@@ -5069,11 +5119,7 @@ const CandidateProtocol = /*@__PURE__*/proto3.makeEnum("livekit.CandidateProtoco
|
|
5069
5119
|
no: 2,
|
5070
5120
|
name: "TLS"
|
5071
5121
|
}]);
|
5072
|
-
|
5073
|
-
/**
|
5074
|
-
* @generated from message livekit.SignalRequest
|
5075
|
-
*/
|
5076
|
-
const SignalRequest = /*@__PURE__*/proto3.makeMessageType("livekit.SignalRequest", () => [{
|
5122
|
+
const SignalRequest = /* @__PURE__ */proto3.makeMessageType("livekit.SignalRequest", () => [{
|
5077
5123
|
no: 1,
|
5078
5124
|
name: "offer",
|
5079
5125
|
kind: "message",
|
@@ -5149,7 +5195,7 @@ const SignalRequest = /*@__PURE__*/proto3.makeMessageType("livekit.SignalRequest
|
|
5149
5195
|
no: 14,
|
5150
5196
|
name: "ping",
|
5151
5197
|
kind: "scalar",
|
5152
|
-
T: 3
|
5198
|
+
T: 3,
|
5153
5199
|
oneof: "message"
|
5154
5200
|
}, {
|
5155
5201
|
no: 15,
|
@@ -5176,11 +5222,7 @@ const SignalRequest = /*@__PURE__*/proto3.makeMessageType("livekit.SignalRequest
|
|
5176
5222
|
T: UpdateLocalVideoTrack,
|
5177
5223
|
oneof: "message"
|
5178
5224
|
}]);
|
5179
|
-
|
5180
|
-
/**
|
5181
|
-
* @generated from message livekit.SignalResponse
|
5182
|
-
*/
|
5183
|
-
const SignalResponse = /*@__PURE__*/proto3.makeMessageType("livekit.SignalResponse", () => [{
|
5225
|
+
const SignalResponse = /* @__PURE__ */proto3.makeMessageType("livekit.SignalResponse", () => [{
|
5184
5226
|
no: 1,
|
5185
5227
|
name: "join",
|
5186
5228
|
kind: "message",
|
@@ -5268,7 +5310,7 @@ const SignalResponse = /*@__PURE__*/proto3.makeMessageType("livekit.SignalRespon
|
|
5268
5310
|
no: 16,
|
5269
5311
|
name: "refresh_token",
|
5270
5312
|
kind: "scalar",
|
5271
|
-
T: 9
|
5313
|
+
T: 9,
|
5272
5314
|
oneof: "message"
|
5273
5315
|
}, {
|
5274
5316
|
no: 17,
|
@@ -5280,7 +5322,7 @@ const SignalResponse = /*@__PURE__*/proto3.makeMessageType("livekit.SignalRespon
|
|
5280
5322
|
no: 18,
|
5281
5323
|
name: "pong",
|
5282
5324
|
kind: "scalar",
|
5283
|
-
T: 3
|
5325
|
+
T: 3,
|
5284
5326
|
oneof: "message"
|
5285
5327
|
}, {
|
5286
5328
|
no: 19,
|
@@ -5313,35 +5355,31 @@ const SignalResponse = /*@__PURE__*/proto3.makeMessageType("livekit.SignalRespon
|
|
5313
5355
|
T: TrackSubscribed,
|
5314
5356
|
oneof: "message"
|
5315
5357
|
}]);
|
5316
|
-
|
5317
|
-
/**
|
5318
|
-
* @generated from message livekit.SimulcastCodec
|
5319
|
-
*/
|
5320
|
-
const SimulcastCodec = /*@__PURE__*/proto3.makeMessageType("livekit.SimulcastCodec", () => [{
|
5358
|
+
const SimulcastCodec = /* @__PURE__ */proto3.makeMessageType("livekit.SimulcastCodec", () => [{
|
5321
5359
|
no: 1,
|
5322
5360
|
name: "codec",
|
5323
5361
|
kind: "scalar",
|
5324
|
-
T: 9
|
5362
|
+
T: 9
|
5363
|
+
/* ScalarType.STRING */
|
5325
5364
|
}, {
|
5326
5365
|
no: 2,
|
5327
5366
|
name: "cid",
|
5328
5367
|
kind: "scalar",
|
5329
|
-
T: 9
|
5368
|
+
T: 9
|
5369
|
+
/* ScalarType.STRING */
|
5330
5370
|
}]);
|
5331
|
-
|
5332
|
-
/**
|
5333
|
-
* @generated from message livekit.AddTrackRequest
|
5334
|
-
*/
|
5335
|
-
const AddTrackRequest = /*@__PURE__*/proto3.makeMessageType("livekit.AddTrackRequest", () => [{
|
5371
|
+
const AddTrackRequest = /* @__PURE__ */proto3.makeMessageType("livekit.AddTrackRequest", () => [{
|
5336
5372
|
no: 1,
|
5337
5373
|
name: "cid",
|
5338
5374
|
kind: "scalar",
|
5339
|
-
T: 9
|
5375
|
+
T: 9
|
5376
|
+
/* ScalarType.STRING */
|
5340
5377
|
}, {
|
5341
5378
|
no: 2,
|
5342
5379
|
name: "name",
|
5343
5380
|
kind: "scalar",
|
5344
|
-
T: 9
|
5381
|
+
T: 9
|
5382
|
+
/* ScalarType.STRING */
|
5345
5383
|
}, {
|
5346
5384
|
no: 3,
|
5347
5385
|
name: "type",
|
@@ -5351,22 +5389,26 @@ const AddTrackRequest = /*@__PURE__*/proto3.makeMessageType("livekit.AddTrackReq
|
|
5351
5389
|
no: 4,
|
5352
5390
|
name: "width",
|
5353
5391
|
kind: "scalar",
|
5354
|
-
T: 13
|
5392
|
+
T: 13
|
5393
|
+
/* ScalarType.UINT32 */
|
5355
5394
|
}, {
|
5356
5395
|
no: 5,
|
5357
5396
|
name: "height",
|
5358
5397
|
kind: "scalar",
|
5359
|
-
T: 13
|
5398
|
+
T: 13
|
5399
|
+
/* ScalarType.UINT32 */
|
5360
5400
|
}, {
|
5361
5401
|
no: 6,
|
5362
5402
|
name: "muted",
|
5363
5403
|
kind: "scalar",
|
5364
|
-
T: 8
|
5404
|
+
T: 8
|
5405
|
+
/* ScalarType.BOOL */
|
5365
5406
|
}, {
|
5366
5407
|
no: 7,
|
5367
5408
|
name: "disable_dtx",
|
5368
5409
|
kind: "scalar",
|
5369
|
-
T: 8
|
5410
|
+
T: 8
|
5411
|
+
/* ScalarType.BOOL */
|
5370
5412
|
}, {
|
5371
5413
|
no: 8,
|
5372
5414
|
name: "source",
|
@@ -5388,17 +5430,20 @@ const AddTrackRequest = /*@__PURE__*/proto3.makeMessageType("livekit.AddTrackReq
|
|
5388
5430
|
no: 11,
|
5389
5431
|
name: "sid",
|
5390
5432
|
kind: "scalar",
|
5391
|
-
T: 9
|
5433
|
+
T: 9
|
5434
|
+
/* ScalarType.STRING */
|
5392
5435
|
}, {
|
5393
5436
|
no: 12,
|
5394
5437
|
name: "stereo",
|
5395
5438
|
kind: "scalar",
|
5396
|
-
T: 8
|
5439
|
+
T: 8
|
5440
|
+
/* ScalarType.BOOL */
|
5397
5441
|
}, {
|
5398
5442
|
no: 13,
|
5399
5443
|
name: "disable_red",
|
5400
5444
|
kind: "scalar",
|
5401
|
-
T: 8
|
5445
|
+
T: 8
|
5446
|
+
/* ScalarType.BOOL */
|
5402
5447
|
}, {
|
5403
5448
|
no: 14,
|
5404
5449
|
name: "encryption",
|
@@ -5408,17 +5453,15 @@ const AddTrackRequest = /*@__PURE__*/proto3.makeMessageType("livekit.AddTrackReq
|
|
5408
5453
|
no: 15,
|
5409
5454
|
name: "stream",
|
5410
5455
|
kind: "scalar",
|
5411
|
-
T: 9
|
5456
|
+
T: 9
|
5457
|
+
/* ScalarType.STRING */
|
5412
5458
|
}]);
|
5413
|
-
|
5414
|
-
/**
|
5415
|
-
* @generated from message livekit.TrickleRequest
|
5416
|
-
*/
|
5417
|
-
const TrickleRequest = /*@__PURE__*/proto3.makeMessageType("livekit.TrickleRequest", () => [{
|
5459
|
+
const TrickleRequest = /* @__PURE__ */proto3.makeMessageType("livekit.TrickleRequest", () => [{
|
5418
5460
|
no: 1,
|
5419
5461
|
name: "candidateInit",
|
5420
5462
|
kind: "scalar",
|
5421
|
-
T: 9
|
5463
|
+
T: 9
|
5464
|
+
/* ScalarType.STRING */
|
5422
5465
|
}, {
|
5423
5466
|
no: 2,
|
5424
5467
|
name: "target",
|
@@ -5428,28 +5471,23 @@ const TrickleRequest = /*@__PURE__*/proto3.makeMessageType("livekit.TrickleReque
|
|
5428
5471
|
no: 3,
|
5429
5472
|
name: "final",
|
5430
5473
|
kind: "scalar",
|
5431
|
-
T: 8
|
5474
|
+
T: 8
|
5475
|
+
/* ScalarType.BOOL */
|
5432
5476
|
}]);
|
5433
|
-
|
5434
|
-
/**
|
5435
|
-
* @generated from message livekit.MuteTrackRequest
|
5436
|
-
*/
|
5437
|
-
const MuteTrackRequest = /*@__PURE__*/proto3.makeMessageType("livekit.MuteTrackRequest", () => [{
|
5477
|
+
const MuteTrackRequest = /* @__PURE__ */proto3.makeMessageType("livekit.MuteTrackRequest", () => [{
|
5438
5478
|
no: 1,
|
5439
5479
|
name: "sid",
|
5440
5480
|
kind: "scalar",
|
5441
|
-
T: 9
|
5481
|
+
T: 9
|
5482
|
+
/* ScalarType.STRING */
|
5442
5483
|
}, {
|
5443
5484
|
no: 2,
|
5444
5485
|
name: "muted",
|
5445
5486
|
kind: "scalar",
|
5446
|
-
T: 8
|
5487
|
+
T: 8
|
5488
|
+
/* ScalarType.BOOL */
|
5447
5489
|
}]);
|
5448
|
-
|
5449
|
-
/**
|
5450
|
-
* @generated from message livekit.JoinResponse
|
5451
|
-
*/
|
5452
|
-
const JoinResponse = /*@__PURE__*/proto3.makeMessageType("livekit.JoinResponse", () => [{
|
5490
|
+
const JoinResponse = /* @__PURE__ */proto3.makeMessageType("livekit.JoinResponse", () => [{
|
5453
5491
|
no: 1,
|
5454
5492
|
name: "room",
|
5455
5493
|
kind: "message",
|
@@ -5469,7 +5507,8 @@ const JoinResponse = /*@__PURE__*/proto3.makeMessageType("livekit.JoinResponse",
|
|
5469
5507
|
no: 4,
|
5470
5508
|
name: "server_version",
|
5471
5509
|
kind: "scalar",
|
5472
|
-
T: 9
|
5510
|
+
T: 9
|
5511
|
+
/* ScalarType.STRING */
|
5473
5512
|
}, {
|
5474
5513
|
no: 5,
|
5475
5514
|
name: "ice_servers",
|
@@ -5480,12 +5519,14 @@ const JoinResponse = /*@__PURE__*/proto3.makeMessageType("livekit.JoinResponse",
|
|
5480
5519
|
no: 6,
|
5481
5520
|
name: "subscriber_primary",
|
5482
5521
|
kind: "scalar",
|
5483
|
-
T: 8
|
5522
|
+
T: 8
|
5523
|
+
/* ScalarType.BOOL */
|
5484
5524
|
}, {
|
5485
5525
|
no: 7,
|
5486
5526
|
name: "alternative_url",
|
5487
5527
|
kind: "scalar",
|
5488
|
-
T: 9
|
5528
|
+
T: 9
|
5529
|
+
/* ScalarType.STRING */
|
5489
5530
|
}, {
|
5490
5531
|
no: 8,
|
5491
5532
|
name: "client_configuration",
|
@@ -5495,17 +5536,20 @@ const JoinResponse = /*@__PURE__*/proto3.makeMessageType("livekit.JoinResponse",
|
|
5495
5536
|
no: 9,
|
5496
5537
|
name: "server_region",
|
5497
5538
|
kind: "scalar",
|
5498
|
-
T: 9
|
5539
|
+
T: 9
|
5540
|
+
/* ScalarType.STRING */
|
5499
5541
|
}, {
|
5500
5542
|
no: 10,
|
5501
5543
|
name: "ping_timeout",
|
5502
5544
|
kind: "scalar",
|
5503
|
-
T: 5
|
5545
|
+
T: 5
|
5546
|
+
/* ScalarType.INT32 */
|
5504
5547
|
}, {
|
5505
5548
|
no: 11,
|
5506
5549
|
name: "ping_interval",
|
5507
5550
|
kind: "scalar",
|
5508
|
-
T: 5
|
5551
|
+
T: 5
|
5552
|
+
/* ScalarType.INT32 */
|
5509
5553
|
}, {
|
5510
5554
|
no: 12,
|
5511
5555
|
name: "server_info",
|
@@ -5515,7 +5559,8 @@ const JoinResponse = /*@__PURE__*/proto3.makeMessageType("livekit.JoinResponse",
|
|
5515
5559
|
no: 13,
|
5516
5560
|
name: "sif_trailer",
|
5517
5561
|
kind: "scalar",
|
5518
|
-
T: 12
|
5562
|
+
T: 12
|
5563
|
+
/* ScalarType.BYTES */
|
5519
5564
|
}, {
|
5520
5565
|
no: 14,
|
5521
5566
|
name: "enabled_publish_codecs",
|
@@ -5526,13 +5571,10 @@ const JoinResponse = /*@__PURE__*/proto3.makeMessageType("livekit.JoinResponse",
|
|
5526
5571
|
no: 15,
|
5527
5572
|
name: "fast_publish",
|
5528
5573
|
kind: "scalar",
|
5529
|
-
T: 8
|
5574
|
+
T: 8
|
5575
|
+
/* ScalarType.BOOL */
|
5530
5576
|
}]);
|
5531
|
-
|
5532
|
-
/**
|
5533
|
-
* @generated from message livekit.ReconnectResponse
|
5534
|
-
*/
|
5535
|
-
const ReconnectResponse = /*@__PURE__*/proto3.makeMessageType("livekit.ReconnectResponse", () => [{
|
5577
|
+
const ReconnectResponse = /* @__PURE__ */proto3.makeMessageType("livekit.ReconnectResponse", () => [{
|
5536
5578
|
no: 1,
|
5537
5579
|
name: "ice_servers",
|
5538
5580
|
kind: "message",
|
@@ -5544,72 +5586,57 @@ const ReconnectResponse = /*@__PURE__*/proto3.makeMessageType("livekit.Reconnect
|
|
5544
5586
|
kind: "message",
|
5545
5587
|
T: ClientConfiguration
|
5546
5588
|
}]);
|
5547
|
-
|
5548
|
-
/**
|
5549
|
-
* @generated from message livekit.TrackPublishedResponse
|
5550
|
-
*/
|
5551
|
-
const TrackPublishedResponse = /*@__PURE__*/proto3.makeMessageType("livekit.TrackPublishedResponse", () => [{
|
5589
|
+
const TrackPublishedResponse = /* @__PURE__ */proto3.makeMessageType("livekit.TrackPublishedResponse", () => [{
|
5552
5590
|
no: 1,
|
5553
5591
|
name: "cid",
|
5554
5592
|
kind: "scalar",
|
5555
|
-
T: 9
|
5593
|
+
T: 9
|
5594
|
+
/* ScalarType.STRING */
|
5556
5595
|
}, {
|
5557
5596
|
no: 2,
|
5558
5597
|
name: "track",
|
5559
5598
|
kind: "message",
|
5560
5599
|
T: TrackInfo
|
5561
5600
|
}]);
|
5562
|
-
|
5563
|
-
/**
|
5564
|
-
* @generated from message livekit.TrackUnpublishedResponse
|
5565
|
-
*/
|
5566
|
-
const TrackUnpublishedResponse = /*@__PURE__*/proto3.makeMessageType("livekit.TrackUnpublishedResponse", () => [{
|
5601
|
+
const TrackUnpublishedResponse = /* @__PURE__ */proto3.makeMessageType("livekit.TrackUnpublishedResponse", () => [{
|
5567
5602
|
no: 1,
|
5568
5603
|
name: "track_sid",
|
5569
5604
|
kind: "scalar",
|
5570
|
-
T: 9
|
5605
|
+
T: 9
|
5606
|
+
/* ScalarType.STRING */
|
5571
5607
|
}]);
|
5572
|
-
|
5573
|
-
/**
|
5574
|
-
* @generated from message livekit.SessionDescription
|
5575
|
-
*/
|
5576
|
-
const SessionDescription = /*@__PURE__*/proto3.makeMessageType("livekit.SessionDescription", () => [{
|
5608
|
+
const SessionDescription = /* @__PURE__ */proto3.makeMessageType("livekit.SessionDescription", () => [{
|
5577
5609
|
no: 1,
|
5578
5610
|
name: "type",
|
5579
5611
|
kind: "scalar",
|
5580
|
-
T: 9
|
5612
|
+
T: 9
|
5613
|
+
/* ScalarType.STRING */
|
5581
5614
|
}, {
|
5582
5615
|
no: 2,
|
5583
5616
|
name: "sdp",
|
5584
5617
|
kind: "scalar",
|
5585
|
-
T: 9
|
5618
|
+
T: 9
|
5619
|
+
/* ScalarType.STRING */
|
5586
5620
|
}]);
|
5587
|
-
|
5588
|
-
/**
|
5589
|
-
* @generated from message livekit.ParticipantUpdate
|
5590
|
-
*/
|
5591
|
-
const ParticipantUpdate = /*@__PURE__*/proto3.makeMessageType("livekit.ParticipantUpdate", () => [{
|
5621
|
+
const ParticipantUpdate = /* @__PURE__ */proto3.makeMessageType("livekit.ParticipantUpdate", () => [{
|
5592
5622
|
no: 1,
|
5593
5623
|
name: "participants",
|
5594
5624
|
kind: "message",
|
5595
5625
|
T: ParticipantInfo,
|
5596
5626
|
repeated: true
|
5597
5627
|
}]);
|
5598
|
-
|
5599
|
-
/**
|
5600
|
-
* @generated from message livekit.UpdateSubscription
|
5601
|
-
*/
|
5602
|
-
const UpdateSubscription = /*@__PURE__*/proto3.makeMessageType("livekit.UpdateSubscription", () => [{
|
5628
|
+
const UpdateSubscription = /* @__PURE__ */proto3.makeMessageType("livekit.UpdateSubscription", () => [{
|
5603
5629
|
no: 1,
|
5604
5630
|
name: "track_sids",
|
5605
5631
|
kind: "scalar",
|
5606
|
-
T: 9
|
5632
|
+
T: 9,
|
5607
5633
|
repeated: true
|
5608
5634
|
}, {
|
5609
5635
|
no: 2,
|
5610
5636
|
name: "subscribe",
|
5611
5637
|
kind: "scalar",
|
5612
|
-
T: 8
|
5638
|
+
T: 8
|
5639
|
+
/* ScalarType.BOOL */
|
5613
5640
|
}, {
|
5614
5641
|
no: 3,
|
5615
5642
|
name: "participant_tracks",
|
@@ -5617,21 +5644,18 @@ const UpdateSubscription = /*@__PURE__*/proto3.makeMessageType("livekit.UpdateSu
|
|
5617
5644
|
T: ParticipantTracks,
|
5618
5645
|
repeated: true
|
5619
5646
|
}]);
|
5620
|
-
|
5621
|
-
/**
|
5622
|
-
* @generated from message livekit.UpdateTrackSettings
|
5623
|
-
*/
|
5624
|
-
const UpdateTrackSettings = /*@__PURE__*/proto3.makeMessageType("livekit.UpdateTrackSettings", () => [{
|
5647
|
+
const UpdateTrackSettings = /* @__PURE__ */proto3.makeMessageType("livekit.UpdateTrackSettings", () => [{
|
5625
5648
|
no: 1,
|
5626
5649
|
name: "track_sids",
|
5627
5650
|
kind: "scalar",
|
5628
|
-
T: 9
|
5651
|
+
T: 9,
|
5629
5652
|
repeated: true
|
5630
5653
|
}, {
|
5631
5654
|
no: 3,
|
5632
5655
|
name: "disabled",
|
5633
5656
|
kind: "scalar",
|
5634
|
-
T: 8
|
5657
|
+
T: 8
|
5658
|
+
/* ScalarType.BOOL */
|
5635
5659
|
}, {
|
5636
5660
|
no: 4,
|
5637
5661
|
name: "quality",
|
@@ -5641,32 +5665,33 @@ const UpdateTrackSettings = /*@__PURE__*/proto3.makeMessageType("livekit.UpdateT
|
|
5641
5665
|
no: 5,
|
5642
5666
|
name: "width",
|
5643
5667
|
kind: "scalar",
|
5644
|
-
T: 13
|
5668
|
+
T: 13
|
5669
|
+
/* ScalarType.UINT32 */
|
5645
5670
|
}, {
|
5646
5671
|
no: 6,
|
5647
5672
|
name: "height",
|
5648
5673
|
kind: "scalar",
|
5649
|
-
T: 13
|
5674
|
+
T: 13
|
5675
|
+
/* ScalarType.UINT32 */
|
5650
5676
|
}, {
|
5651
5677
|
no: 7,
|
5652
5678
|
name: "fps",
|
5653
5679
|
kind: "scalar",
|
5654
|
-
T: 13
|
5680
|
+
T: 13
|
5681
|
+
/* ScalarType.UINT32 */
|
5655
5682
|
}, {
|
5656
5683
|
no: 8,
|
5657
5684
|
name: "priority",
|
5658
5685
|
kind: "scalar",
|
5659
|
-
T: 13
|
5686
|
+
T: 13
|
5687
|
+
/* ScalarType.UINT32 */
|
5660
5688
|
}]);
|
5661
|
-
|
5662
|
-
/**
|
5663
|
-
* @generated from message livekit.UpdateLocalAudioTrack
|
5664
|
-
*/
|
5665
|
-
const UpdateLocalAudioTrack = /*@__PURE__*/proto3.makeMessageType("livekit.UpdateLocalAudioTrack", () => [{
|
5689
|
+
const UpdateLocalAudioTrack = /* @__PURE__ */proto3.makeMessageType("livekit.UpdateLocalAudioTrack", () => [{
|
5666
5690
|
no: 1,
|
5667
5691
|
name: "track_sid",
|
5668
5692
|
kind: "scalar",
|
5669
|
-
T: 9
|
5693
|
+
T: 9
|
5694
|
+
/* ScalarType.STRING */
|
5670
5695
|
}, {
|
5671
5696
|
no: 2,
|
5672
5697
|
name: "features",
|
@@ -5674,35 +5699,31 @@ const UpdateLocalAudioTrack = /*@__PURE__*/proto3.makeMessageType("livekit.Updat
|
|
5674
5699
|
T: proto3.getEnumType(AudioTrackFeature),
|
5675
5700
|
repeated: true
|
5676
5701
|
}]);
|
5677
|
-
|
5678
|
-
/**
|
5679
|
-
* @generated from message livekit.UpdateLocalVideoTrack
|
5680
|
-
*/
|
5681
|
-
const UpdateLocalVideoTrack = /*@__PURE__*/proto3.makeMessageType("livekit.UpdateLocalVideoTrack", () => [{
|
5702
|
+
const UpdateLocalVideoTrack = /* @__PURE__ */proto3.makeMessageType("livekit.UpdateLocalVideoTrack", () => [{
|
5682
5703
|
no: 1,
|
5683
5704
|
name: "track_sid",
|
5684
5705
|
kind: "scalar",
|
5685
|
-
T: 9
|
5706
|
+
T: 9
|
5707
|
+
/* ScalarType.STRING */
|
5686
5708
|
}, {
|
5687
5709
|
no: 2,
|
5688
5710
|
name: "width",
|
5689
5711
|
kind: "scalar",
|
5690
|
-
T: 13
|
5712
|
+
T: 13
|
5713
|
+
/* ScalarType.UINT32 */
|
5691
5714
|
}, {
|
5692
5715
|
no: 3,
|
5693
5716
|
name: "height",
|
5694
5717
|
kind: "scalar",
|
5695
|
-
T: 13
|
5718
|
+
T: 13
|
5719
|
+
/* ScalarType.UINT32 */
|
5696
5720
|
}]);
|
5697
|
-
|
5698
|
-
/**
|
5699
|
-
* @generated from message livekit.LeaveRequest
|
5700
|
-
*/
|
5701
|
-
const LeaveRequest = /*@__PURE__*/proto3.makeMessageType("livekit.LeaveRequest", () => [{
|
5721
|
+
const LeaveRequest = /* @__PURE__ */proto3.makeMessageType("livekit.LeaveRequest", () => [{
|
5702
5722
|
no: 1,
|
5703
5723
|
name: "can_reconnect",
|
5704
5724
|
kind: "scalar",
|
5705
|
-
T: 8
|
5725
|
+
T: 8
|
5726
|
+
/* ScalarType.BOOL */
|
5706
5727
|
}, {
|
5707
5728
|
no: 2,
|
5708
5729
|
name: "reason",
|
@@ -5719,13 +5740,7 @@ const LeaveRequest = /*@__PURE__*/proto3.makeMessageType("livekit.LeaveRequest",
|
|
5719
5740
|
kind: "message",
|
5720
5741
|
T: RegionSettings
|
5721
5742
|
}]);
|
5722
|
-
|
5723
|
-
/**
|
5724
|
-
* indicates action clients should take on receiving this message
|
5725
|
-
*
|
5726
|
-
* @generated from enum livekit.LeaveRequest.Action
|
5727
|
-
*/
|
5728
|
-
const LeaveRequest_Action = /*@__PURE__*/proto3.makeEnum("livekit.LeaveRequest.Action", [{
|
5743
|
+
const LeaveRequest_Action = /* @__PURE__ */proto3.makeEnum("livekit.LeaveRequest.Action", [{
|
5729
5744
|
no: 0,
|
5730
5745
|
name: "DISCONNECT"
|
5731
5746
|
}, {
|
@@ -5735,18 +5750,12 @@ const LeaveRequest_Action = /*@__PURE__*/proto3.makeEnum("livekit.LeaveRequest.A
|
|
5735
5750
|
no: 2,
|
5736
5751
|
name: "RECONNECT"
|
5737
5752
|
}]);
|
5738
|
-
|
5739
|
-
/**
|
5740
|
-
* message to indicate published video track dimensions are changing
|
5741
|
-
*
|
5742
|
-
* @generated from message livekit.UpdateVideoLayers
|
5743
|
-
* @deprecated
|
5744
|
-
*/
|
5745
|
-
const UpdateVideoLayers = /*@__PURE__*/proto3.makeMessageType("livekit.UpdateVideoLayers", () => [{
|
5753
|
+
const UpdateVideoLayers = /* @__PURE__ */proto3.makeMessageType("livekit.UpdateVideoLayers", () => [{
|
5746
5754
|
no: 1,
|
5747
5755
|
name: "track_sid",
|
5748
5756
|
kind: "scalar",
|
5749
|
-
T: 9
|
5757
|
+
T: 9
|
5758
|
+
/* ScalarType.STRING */
|
5750
5759
|
}, {
|
5751
5760
|
no: 2,
|
5752
5761
|
name: "layers",
|
@@ -5754,86 +5763,73 @@ const UpdateVideoLayers = /*@__PURE__*/proto3.makeMessageType("livekit.UpdateVid
|
|
5754
5763
|
T: VideoLayer,
|
5755
5764
|
repeated: true
|
5756
5765
|
}]);
|
5757
|
-
|
5758
|
-
/**
|
5759
|
-
* @generated from message livekit.UpdateParticipantMetadata
|
5760
|
-
*/
|
5761
|
-
const UpdateParticipantMetadata = /*@__PURE__*/proto3.makeMessageType("livekit.UpdateParticipantMetadata", () => [{
|
5766
|
+
const UpdateParticipantMetadata = /* @__PURE__ */proto3.makeMessageType("livekit.UpdateParticipantMetadata", () => [{
|
5762
5767
|
no: 1,
|
5763
5768
|
name: "metadata",
|
5764
5769
|
kind: "scalar",
|
5765
|
-
T: 9
|
5770
|
+
T: 9
|
5771
|
+
/* ScalarType.STRING */
|
5766
5772
|
}, {
|
5767
5773
|
no: 2,
|
5768
5774
|
name: "name",
|
5769
5775
|
kind: "scalar",
|
5770
|
-
T: 9
|
5776
|
+
T: 9
|
5777
|
+
/* ScalarType.STRING */
|
5771
5778
|
}, {
|
5772
5779
|
no: 3,
|
5773
5780
|
name: "attributes",
|
5774
5781
|
kind: "map",
|
5775
|
-
K: 9
|
5782
|
+
K: 9,
|
5776
5783
|
V: {
|
5777
5784
|
kind: "scalar",
|
5778
|
-
T: 9
|
5785
|
+
T: 9
|
5786
|
+
/* ScalarType.STRING */
|
5779
5787
|
}
|
5780
5788
|
}, {
|
5781
5789
|
no: 4,
|
5782
5790
|
name: "request_id",
|
5783
5791
|
kind: "scalar",
|
5784
|
-
T: 13
|
5792
|
+
T: 13
|
5793
|
+
/* ScalarType.UINT32 */
|
5785
5794
|
}]);
|
5786
|
-
|
5787
|
-
/**
|
5788
|
-
* @generated from message livekit.ICEServer
|
5789
|
-
*/
|
5790
|
-
const ICEServer = /*@__PURE__*/proto3.makeMessageType("livekit.ICEServer", () => [{
|
5795
|
+
const ICEServer = /* @__PURE__ */proto3.makeMessageType("livekit.ICEServer", () => [{
|
5791
5796
|
no: 1,
|
5792
5797
|
name: "urls",
|
5793
5798
|
kind: "scalar",
|
5794
|
-
T: 9
|
5799
|
+
T: 9,
|
5795
5800
|
repeated: true
|
5796
5801
|
}, {
|
5797
5802
|
no: 2,
|
5798
5803
|
name: "username",
|
5799
5804
|
kind: "scalar",
|
5800
|
-
T: 9
|
5805
|
+
T: 9
|
5806
|
+
/* ScalarType.STRING */
|
5801
5807
|
}, {
|
5802
5808
|
no: 3,
|
5803
5809
|
name: "credential",
|
5804
5810
|
kind: "scalar",
|
5805
|
-
T: 9
|
5811
|
+
T: 9
|
5812
|
+
/* ScalarType.STRING */
|
5806
5813
|
}]);
|
5807
|
-
|
5808
|
-
/**
|
5809
|
-
* @generated from message livekit.SpeakersChanged
|
5810
|
-
*/
|
5811
|
-
const SpeakersChanged = /*@__PURE__*/proto3.makeMessageType("livekit.SpeakersChanged", () => [{
|
5814
|
+
const SpeakersChanged = /* @__PURE__ */proto3.makeMessageType("livekit.SpeakersChanged", () => [{
|
5812
5815
|
no: 1,
|
5813
5816
|
name: "speakers",
|
5814
5817
|
kind: "message",
|
5815
5818
|
T: SpeakerInfo,
|
5816
5819
|
repeated: true
|
5817
5820
|
}]);
|
5818
|
-
|
5819
|
-
/**
|
5820
|
-
* @generated from message livekit.RoomUpdate
|
5821
|
-
*/
|
5822
|
-
const RoomUpdate = /*@__PURE__*/proto3.makeMessageType("livekit.RoomUpdate", () => [{
|
5821
|
+
const RoomUpdate = /* @__PURE__ */proto3.makeMessageType("livekit.RoomUpdate", () => [{
|
5823
5822
|
no: 1,
|
5824
5823
|
name: "room",
|
5825
5824
|
kind: "message",
|
5826
5825
|
T: Room$1
|
5827
5826
|
}]);
|
5828
|
-
|
5829
|
-
/**
|
5830
|
-
* @generated from message livekit.ConnectionQualityInfo
|
5831
|
-
*/
|
5832
|
-
const ConnectionQualityInfo = /*@__PURE__*/proto3.makeMessageType("livekit.ConnectionQualityInfo", () => [{
|
5827
|
+
const ConnectionQualityInfo = /* @__PURE__ */proto3.makeMessageType("livekit.ConnectionQualityInfo", () => [{
|
5833
5828
|
no: 1,
|
5834
5829
|
name: "participant_sid",
|
5835
5830
|
kind: "scalar",
|
5836
|
-
T: 9
|
5831
|
+
T: 9
|
5832
|
+
/* ScalarType.STRING */
|
5837
5833
|
}, {
|
5838
5834
|
no: 2,
|
5839
5835
|
name: "quality",
|
@@ -5843,55 +5839,42 @@ const ConnectionQualityInfo = /*@__PURE__*/proto3.makeMessageType("livekit.Conne
|
|
5843
5839
|
no: 3,
|
5844
5840
|
name: "score",
|
5845
5841
|
kind: "scalar",
|
5846
|
-
T: 2
|
5842
|
+
T: 2
|
5843
|
+
/* ScalarType.FLOAT */
|
5847
5844
|
}]);
|
5848
|
-
|
5849
|
-
/**
|
5850
|
-
* @generated from message livekit.ConnectionQualityUpdate
|
5851
|
-
*/
|
5852
|
-
const ConnectionQualityUpdate = /*@__PURE__*/proto3.makeMessageType("livekit.ConnectionQualityUpdate", () => [{
|
5845
|
+
const ConnectionQualityUpdate = /* @__PURE__ */proto3.makeMessageType("livekit.ConnectionQualityUpdate", () => [{
|
5853
5846
|
no: 1,
|
5854
5847
|
name: "updates",
|
5855
5848
|
kind: "message",
|
5856
5849
|
T: ConnectionQualityInfo,
|
5857
5850
|
repeated: true
|
5858
5851
|
}]);
|
5859
|
-
|
5860
|
-
/**
|
5861
|
-
* @generated from message livekit.StreamStateInfo
|
5862
|
-
*/
|
5863
|
-
const StreamStateInfo = /*@__PURE__*/proto3.makeMessageType("livekit.StreamStateInfo", () => [{
|
5852
|
+
const StreamStateInfo = /* @__PURE__ */proto3.makeMessageType("livekit.StreamStateInfo", () => [{
|
5864
5853
|
no: 1,
|
5865
5854
|
name: "participant_sid",
|
5866
5855
|
kind: "scalar",
|
5867
|
-
T: 9
|
5856
|
+
T: 9
|
5857
|
+
/* ScalarType.STRING */
|
5868
5858
|
}, {
|
5869
5859
|
no: 2,
|
5870
5860
|
name: "track_sid",
|
5871
5861
|
kind: "scalar",
|
5872
|
-
T: 9
|
5862
|
+
T: 9
|
5863
|
+
/* ScalarType.STRING */
|
5873
5864
|
}, {
|
5874
5865
|
no: 3,
|
5875
5866
|
name: "state",
|
5876
5867
|
kind: "enum",
|
5877
5868
|
T: proto3.getEnumType(StreamState)
|
5878
5869
|
}]);
|
5879
|
-
|
5880
|
-
/**
|
5881
|
-
* @generated from message livekit.StreamStateUpdate
|
5882
|
-
*/
|
5883
|
-
const StreamStateUpdate = /*@__PURE__*/proto3.makeMessageType("livekit.StreamStateUpdate", () => [{
|
5870
|
+
const StreamStateUpdate = /* @__PURE__ */proto3.makeMessageType("livekit.StreamStateUpdate", () => [{
|
5884
5871
|
no: 1,
|
5885
5872
|
name: "stream_states",
|
5886
5873
|
kind: "message",
|
5887
5874
|
T: StreamStateInfo,
|
5888
5875
|
repeated: true
|
5889
5876
|
}]);
|
5890
|
-
|
5891
|
-
/**
|
5892
|
-
* @generated from message livekit.SubscribedQuality
|
5893
|
-
*/
|
5894
|
-
const SubscribedQuality = /*@__PURE__*/proto3.makeMessageType("livekit.SubscribedQuality", () => [{
|
5877
|
+
const SubscribedQuality = /* @__PURE__ */proto3.makeMessageType("livekit.SubscribedQuality", () => [{
|
5895
5878
|
no: 1,
|
5896
5879
|
name: "quality",
|
5897
5880
|
kind: "enum",
|
@@ -5900,17 +5883,15 @@ const SubscribedQuality = /*@__PURE__*/proto3.makeMessageType("livekit.Subscribe
|
|
5900
5883
|
no: 2,
|
5901
5884
|
name: "enabled",
|
5902
5885
|
kind: "scalar",
|
5903
|
-
T: 8
|
5886
|
+
T: 8
|
5887
|
+
/* ScalarType.BOOL */
|
5904
5888
|
}]);
|
5905
|
-
|
5906
|
-
/**
|
5907
|
-
* @generated from message livekit.SubscribedCodec
|
5908
|
-
*/
|
5909
|
-
const SubscribedCodec = /*@__PURE__*/proto3.makeMessageType("livekit.SubscribedCodec", () => [{
|
5889
|
+
const SubscribedCodec = /* @__PURE__ */proto3.makeMessageType("livekit.SubscribedCodec", () => [{
|
5910
5890
|
no: 1,
|
5911
5891
|
name: "codec",
|
5912
5892
|
kind: "scalar",
|
5913
|
-
T: 9
|
5893
|
+
T: 9
|
5894
|
+
/* ScalarType.STRING */
|
5914
5895
|
}, {
|
5915
5896
|
no: 2,
|
5916
5897
|
name: "qualities",
|
@@ -5918,15 +5899,12 @@ const SubscribedCodec = /*@__PURE__*/proto3.makeMessageType("livekit.SubscribedC
|
|
5918
5899
|
T: SubscribedQuality,
|
5919
5900
|
repeated: true
|
5920
5901
|
}]);
|
5921
|
-
|
5922
|
-
/**
|
5923
|
-
* @generated from message livekit.SubscribedQualityUpdate
|
5924
|
-
*/
|
5925
|
-
const SubscribedQualityUpdate = /*@__PURE__*/proto3.makeMessageType("livekit.SubscribedQualityUpdate", () => [{
|
5902
|
+
const SubscribedQualityUpdate = /* @__PURE__ */proto3.makeMessageType("livekit.SubscribedQualityUpdate", () => [{
|
5926
5903
|
no: 1,
|
5927
5904
|
name: "track_sid",
|
5928
5905
|
kind: "scalar",
|
5929
|
-
T: 9
|
5906
|
+
T: 9
|
5907
|
+
/* ScalarType.STRING */
|
5930
5908
|
}, {
|
5931
5909
|
no: 2,
|
5932
5910
|
name: "subscribed_qualities",
|
@@ -5940,41 +5918,37 @@ const SubscribedQualityUpdate = /*@__PURE__*/proto3.makeMessageType("livekit.Sub
|
|
5940
5918
|
T: SubscribedCodec,
|
5941
5919
|
repeated: true
|
5942
5920
|
}]);
|
5943
|
-
|
5944
|
-
/**
|
5945
|
-
* @generated from message livekit.TrackPermission
|
5946
|
-
*/
|
5947
|
-
const TrackPermission = /*@__PURE__*/proto3.makeMessageType("livekit.TrackPermission", () => [{
|
5921
|
+
const TrackPermission = /* @__PURE__ */proto3.makeMessageType("livekit.TrackPermission", () => [{
|
5948
5922
|
no: 1,
|
5949
5923
|
name: "participant_sid",
|
5950
5924
|
kind: "scalar",
|
5951
|
-
T: 9
|
5925
|
+
T: 9
|
5926
|
+
/* ScalarType.STRING */
|
5952
5927
|
}, {
|
5953
5928
|
no: 2,
|
5954
5929
|
name: "all_tracks",
|
5955
5930
|
kind: "scalar",
|
5956
|
-
T: 8
|
5931
|
+
T: 8
|
5932
|
+
/* ScalarType.BOOL */
|
5957
5933
|
}, {
|
5958
5934
|
no: 3,
|
5959
5935
|
name: "track_sids",
|
5960
5936
|
kind: "scalar",
|
5961
|
-
T: 9
|
5937
|
+
T: 9,
|
5962
5938
|
repeated: true
|
5963
5939
|
}, {
|
5964
5940
|
no: 4,
|
5965
5941
|
name: "participant_identity",
|
5966
5942
|
kind: "scalar",
|
5967
|
-
T: 9
|
5943
|
+
T: 9
|
5944
|
+
/* ScalarType.STRING */
|
5968
5945
|
}]);
|
5969
|
-
|
5970
|
-
/**
|
5971
|
-
* @generated from message livekit.SubscriptionPermission
|
5972
|
-
*/
|
5973
|
-
const SubscriptionPermission = /*@__PURE__*/proto3.makeMessageType("livekit.SubscriptionPermission", () => [{
|
5946
|
+
const SubscriptionPermission = /* @__PURE__ */proto3.makeMessageType("livekit.SubscriptionPermission", () => [{
|
5974
5947
|
no: 1,
|
5975
5948
|
name: "all_participants",
|
5976
5949
|
kind: "scalar",
|
5977
|
-
T: 8
|
5950
|
+
T: 8
|
5951
|
+
/* ScalarType.BOOL */
|
5978
5952
|
}, {
|
5979
5953
|
no: 2,
|
5980
5954
|
name: "track_permissions",
|
@@ -5982,31 +5956,26 @@ const SubscriptionPermission = /*@__PURE__*/proto3.makeMessageType("livekit.Subs
|
|
5982
5956
|
T: TrackPermission,
|
5983
5957
|
repeated: true
|
5984
5958
|
}]);
|
5985
|
-
|
5986
|
-
/**
|
5987
|
-
* @generated from message livekit.SubscriptionPermissionUpdate
|
5988
|
-
*/
|
5989
|
-
const SubscriptionPermissionUpdate = /*@__PURE__*/proto3.makeMessageType("livekit.SubscriptionPermissionUpdate", () => [{
|
5959
|
+
const SubscriptionPermissionUpdate = /* @__PURE__ */proto3.makeMessageType("livekit.SubscriptionPermissionUpdate", () => [{
|
5990
5960
|
no: 1,
|
5991
5961
|
name: "participant_sid",
|
5992
5962
|
kind: "scalar",
|
5993
|
-
T: 9
|
5963
|
+
T: 9
|
5964
|
+
/* ScalarType.STRING */
|
5994
5965
|
}, {
|
5995
5966
|
no: 2,
|
5996
5967
|
name: "track_sid",
|
5997
5968
|
kind: "scalar",
|
5998
|
-
T: 9
|
5969
|
+
T: 9
|
5970
|
+
/* ScalarType.STRING */
|
5999
5971
|
}, {
|
6000
5972
|
no: 3,
|
6001
5973
|
name: "allowed",
|
6002
5974
|
kind: "scalar",
|
6003
|
-
T: 8
|
5975
|
+
T: 8
|
5976
|
+
/* ScalarType.BOOL */
|
6004
5977
|
}]);
|
6005
|
-
|
6006
|
-
/**
|
6007
|
-
* @generated from message livekit.SyncState
|
6008
|
-
*/
|
6009
|
-
const SyncState = /*@__PURE__*/proto3.makeMessageType("livekit.SyncState", () => [{
|
5978
|
+
const SyncState = /* @__PURE__ */proto3.makeMessageType("livekit.SyncState", () => [{
|
6010
5979
|
no: 1,
|
6011
5980
|
name: "answer",
|
6012
5981
|
kind: "message",
|
@@ -6037,56 +6006,50 @@ const SyncState = /*@__PURE__*/proto3.makeMessageType("livekit.SyncState", () =>
|
|
6037
6006
|
no: 6,
|
6038
6007
|
name: "track_sids_disabled",
|
6039
6008
|
kind: "scalar",
|
6040
|
-
T: 9
|
6009
|
+
T: 9,
|
6041
6010
|
repeated: true
|
6042
6011
|
}]);
|
6043
|
-
|
6044
|
-
/**
|
6045
|
-
* @generated from message livekit.DataChannelInfo
|
6046
|
-
*/
|
6047
|
-
const DataChannelInfo = /*@__PURE__*/proto3.makeMessageType("livekit.DataChannelInfo", () => [{
|
6012
|
+
const DataChannelInfo = /* @__PURE__ */proto3.makeMessageType("livekit.DataChannelInfo", () => [{
|
6048
6013
|
no: 1,
|
6049
6014
|
name: "label",
|
6050
6015
|
kind: "scalar",
|
6051
|
-
T: 9
|
6016
|
+
T: 9
|
6017
|
+
/* ScalarType.STRING */
|
6052
6018
|
}, {
|
6053
6019
|
no: 2,
|
6054
6020
|
name: "id",
|
6055
6021
|
kind: "scalar",
|
6056
|
-
T: 13
|
6022
|
+
T: 13
|
6023
|
+
/* ScalarType.UINT32 */
|
6057
6024
|
}, {
|
6058
6025
|
no: 3,
|
6059
6026
|
name: "target",
|
6060
6027
|
kind: "enum",
|
6061
6028
|
T: proto3.getEnumType(SignalTarget)
|
6062
6029
|
}]);
|
6063
|
-
|
6064
|
-
/**
|
6065
|
-
* @generated from message livekit.SimulateScenario
|
6066
|
-
*/
|
6067
|
-
const SimulateScenario = /*@__PURE__*/proto3.makeMessageType("livekit.SimulateScenario", () => [{
|
6030
|
+
const SimulateScenario = /* @__PURE__ */proto3.makeMessageType("livekit.SimulateScenario", () => [{
|
6068
6031
|
no: 1,
|
6069
6032
|
name: "speaker_update",
|
6070
6033
|
kind: "scalar",
|
6071
|
-
T: 5
|
6034
|
+
T: 5,
|
6072
6035
|
oneof: "scenario"
|
6073
6036
|
}, {
|
6074
6037
|
no: 2,
|
6075
6038
|
name: "node_failure",
|
6076
6039
|
kind: "scalar",
|
6077
|
-
T: 8
|
6040
|
+
T: 8,
|
6078
6041
|
oneof: "scenario"
|
6079
6042
|
}, {
|
6080
6043
|
no: 3,
|
6081
6044
|
name: "migration",
|
6082
6045
|
kind: "scalar",
|
6083
|
-
T: 8
|
6046
|
+
T: 8,
|
6084
6047
|
oneof: "scenario"
|
6085
6048
|
}, {
|
6086
6049
|
no: 4,
|
6087
6050
|
name: "server_leave",
|
6088
6051
|
kind: "scalar",
|
6089
|
-
T: 8
|
6052
|
+
T: 8,
|
6090
6053
|
oneof: "scenario"
|
6091
6054
|
}, {
|
6092
6055
|
no: 5,
|
@@ -6098,112 +6061,97 @@ const SimulateScenario = /*@__PURE__*/proto3.makeMessageType("livekit.SimulateSc
|
|
6098
6061
|
no: 6,
|
6099
6062
|
name: "subscriber_bandwidth",
|
6100
6063
|
kind: "scalar",
|
6101
|
-
T: 3
|
6064
|
+
T: 3,
|
6102
6065
|
oneof: "scenario"
|
6103
6066
|
}, {
|
6104
6067
|
no: 7,
|
6105
6068
|
name: "disconnect_signal_on_resume",
|
6106
6069
|
kind: "scalar",
|
6107
|
-
T: 8
|
6070
|
+
T: 8,
|
6108
6071
|
oneof: "scenario"
|
6109
6072
|
}, {
|
6110
6073
|
no: 8,
|
6111
6074
|
name: "disconnect_signal_on_resume_no_messages",
|
6112
6075
|
kind: "scalar",
|
6113
|
-
T: 8
|
6076
|
+
T: 8,
|
6114
6077
|
oneof: "scenario"
|
6115
6078
|
}, {
|
6116
6079
|
no: 9,
|
6117
6080
|
name: "leave_request_full_reconnect",
|
6118
6081
|
kind: "scalar",
|
6119
|
-
T: 8
|
6082
|
+
T: 8,
|
6120
6083
|
oneof: "scenario"
|
6121
6084
|
}]);
|
6122
|
-
|
6123
|
-
/**
|
6124
|
-
* @generated from message livekit.Ping
|
6125
|
-
*/
|
6126
|
-
const Ping = /*@__PURE__*/proto3.makeMessageType("livekit.Ping", () => [{
|
6085
|
+
const Ping = /* @__PURE__ */proto3.makeMessageType("livekit.Ping", () => [{
|
6127
6086
|
no: 1,
|
6128
6087
|
name: "timestamp",
|
6129
6088
|
kind: "scalar",
|
6130
|
-
T: 3
|
6089
|
+
T: 3
|
6090
|
+
/* ScalarType.INT64 */
|
6131
6091
|
}, {
|
6132
6092
|
no: 2,
|
6133
6093
|
name: "rtt",
|
6134
6094
|
kind: "scalar",
|
6135
|
-
T: 3
|
6095
|
+
T: 3
|
6096
|
+
/* ScalarType.INT64 */
|
6136
6097
|
}]);
|
6137
|
-
|
6138
|
-
/**
|
6139
|
-
* @generated from message livekit.Pong
|
6140
|
-
*/
|
6141
|
-
const Pong = /*@__PURE__*/proto3.makeMessageType("livekit.Pong", () => [{
|
6098
|
+
const Pong = /* @__PURE__ */proto3.makeMessageType("livekit.Pong", () => [{
|
6142
6099
|
no: 1,
|
6143
6100
|
name: "last_ping_timestamp",
|
6144
6101
|
kind: "scalar",
|
6145
|
-
T: 3
|
6102
|
+
T: 3
|
6103
|
+
/* ScalarType.INT64 */
|
6146
6104
|
}, {
|
6147
6105
|
no: 2,
|
6148
6106
|
name: "timestamp",
|
6149
6107
|
kind: "scalar",
|
6150
|
-
T: 3
|
6108
|
+
T: 3
|
6109
|
+
/* ScalarType.INT64 */
|
6151
6110
|
}]);
|
6152
|
-
|
6153
|
-
/**
|
6154
|
-
* @generated from message livekit.RegionSettings
|
6155
|
-
*/
|
6156
|
-
const RegionSettings = /*@__PURE__*/proto3.makeMessageType("livekit.RegionSettings", () => [{
|
6111
|
+
const RegionSettings = /* @__PURE__ */proto3.makeMessageType("livekit.RegionSettings", () => [{
|
6157
6112
|
no: 1,
|
6158
6113
|
name: "regions",
|
6159
6114
|
kind: "message",
|
6160
6115
|
T: RegionInfo,
|
6161
6116
|
repeated: true
|
6162
6117
|
}]);
|
6163
|
-
|
6164
|
-
/**
|
6165
|
-
* @generated from message livekit.RegionInfo
|
6166
|
-
*/
|
6167
|
-
const RegionInfo = /*@__PURE__*/proto3.makeMessageType("livekit.RegionInfo", () => [{
|
6118
|
+
const RegionInfo = /* @__PURE__ */proto3.makeMessageType("livekit.RegionInfo", () => [{
|
6168
6119
|
no: 1,
|
6169
6120
|
name: "region",
|
6170
6121
|
kind: "scalar",
|
6171
|
-
T: 9
|
6122
|
+
T: 9
|
6123
|
+
/* ScalarType.STRING */
|
6172
6124
|
}, {
|
6173
6125
|
no: 2,
|
6174
6126
|
name: "url",
|
6175
6127
|
kind: "scalar",
|
6176
|
-
T: 9
|
6128
|
+
T: 9
|
6129
|
+
/* ScalarType.STRING */
|
6177
6130
|
}, {
|
6178
6131
|
no: 3,
|
6179
6132
|
name: "distance",
|
6180
6133
|
kind: "scalar",
|
6181
|
-
T: 3
|
6134
|
+
T: 3
|
6135
|
+
/* ScalarType.INT64 */
|
6182
6136
|
}]);
|
6183
|
-
|
6184
|
-
/**
|
6185
|
-
* @generated from message livekit.SubscriptionResponse
|
6186
|
-
*/
|
6187
|
-
const SubscriptionResponse = /*@__PURE__*/proto3.makeMessageType("livekit.SubscriptionResponse", () => [{
|
6137
|
+
const SubscriptionResponse = /* @__PURE__ */proto3.makeMessageType("livekit.SubscriptionResponse", () => [{
|
6188
6138
|
no: 1,
|
6189
6139
|
name: "track_sid",
|
6190
6140
|
kind: "scalar",
|
6191
|
-
T: 9
|
6141
|
+
T: 9
|
6142
|
+
/* ScalarType.STRING */
|
6192
6143
|
}, {
|
6193
6144
|
no: 2,
|
6194
6145
|
name: "err",
|
6195
6146
|
kind: "enum",
|
6196
6147
|
T: proto3.getEnumType(SubscriptionError)
|
6197
6148
|
}]);
|
6198
|
-
|
6199
|
-
/**
|
6200
|
-
* @generated from message livekit.RequestResponse
|
6201
|
-
*/
|
6202
|
-
const RequestResponse = /*@__PURE__*/proto3.makeMessageType("livekit.RequestResponse", () => [{
|
6149
|
+
const RequestResponse = /* @__PURE__ */proto3.makeMessageType("livekit.RequestResponse", () => [{
|
6203
6150
|
no: 1,
|
6204
6151
|
name: "request_id",
|
6205
6152
|
kind: "scalar",
|
6206
|
-
T: 13
|
6153
|
+
T: 13
|
6154
|
+
/* ScalarType.UINT32 */
|
6207
6155
|
}, {
|
6208
6156
|
no: 2,
|
6209
6157
|
name: "reason",
|
@@ -6213,13 +6161,10 @@ const RequestResponse = /*@__PURE__*/proto3.makeMessageType("livekit.RequestResp
|
|
6213
6161
|
no: 3,
|
6214
6162
|
name: "message",
|
6215
6163
|
kind: "scalar",
|
6216
|
-
T: 9
|
6164
|
+
T: 9
|
6165
|
+
/* ScalarType.STRING */
|
6217
6166
|
}]);
|
6218
|
-
|
6219
|
-
/**
|
6220
|
-
* @generated from enum livekit.RequestResponse.Reason
|
6221
|
-
*/
|
6222
|
-
const RequestResponse_Reason = /*@__PURE__*/proto3.makeEnum("livekit.RequestResponse.Reason", [{
|
6167
|
+
const RequestResponse_Reason = /* @__PURE__ */proto3.makeEnum("livekit.RequestResponse.Reason", [{
|
6223
6168
|
no: 0,
|
6224
6169
|
name: "OK"
|
6225
6170
|
}, {
|
@@ -6232,15 +6177,12 @@ const RequestResponse_Reason = /*@__PURE__*/proto3.makeEnum("livekit.RequestResp
|
|
6232
6177
|
no: 3,
|
6233
6178
|
name: "LIMIT_EXCEEDED"
|
6234
6179
|
}]);
|
6235
|
-
|
6236
|
-
/**
|
6237
|
-
* @generated from message livekit.TrackSubscribed
|
6238
|
-
*/
|
6239
|
-
const TrackSubscribed = /*@__PURE__*/proto3.makeMessageType("livekit.TrackSubscribed", () => [{
|
6180
|
+
const TrackSubscribed = /* @__PURE__ */proto3.makeMessageType("livekit.TrackSubscribed", () => [{
|
6240
6181
|
no: 1,
|
6241
6182
|
name: "track_sid",
|
6242
6183
|
kind: "scalar",
|
6243
|
-
T: 9
|
6184
|
+
T: 9
|
6185
|
+
/* ScalarType.STRING */
|
6244
6186
|
}]);
|
6245
6187
|
|
6246
6188
|
function getDefaultExportFromCjs (x) {
|
@@ -11177,7 +11119,7 @@ function getOSVersion(ua) {
|
|
11177
11119
|
return ua.includes('mac os') ? getMatch(/\(.+?(\d+_\d+(:?_\d+)?)/, ua, 1).replace(/_/g, '.') : undefined;
|
11178
11120
|
}
|
11179
11121
|
|
11180
|
-
var version$1 = "2.7.
|
11122
|
+
var version$1 = "2.7.1";
|
11181
11123
|
|
11182
11124
|
const version = version$1;
|
11183
11125
|
const protocolVersion = 15;
|
@@ -11689,17 +11631,28 @@ function detachTrack(track, element) {
|
|
11689
11631
|
|
11690
11632
|
function mergeDefaultOptions(options, audioDefaults, videoDefaults) {
|
11691
11633
|
var _a;
|
11692
|
-
const
|
11693
|
-
|
11694
|
-
|
11634
|
+
const {
|
11635
|
+
optionsWithoutProcessor,
|
11636
|
+
audioProcessor,
|
11637
|
+
videoProcessor
|
11638
|
+
} = extractProcessorsFromOptions(options !== null && options !== void 0 ? options : {});
|
11639
|
+
const clonedOptions = (_a = cloneDeep(optionsWithoutProcessor)) !== null && _a !== void 0 ? _a : {};
|
11640
|
+
if (clonedOptions.audio === true) clonedOptions.audio = {};
|
11641
|
+
if (clonedOptions.video === true) clonedOptions.video = {};
|
11695
11642
|
// use defaults
|
11696
|
-
if (
|
11697
|
-
mergeObjectWithoutOverwriting(
|
11643
|
+
if (clonedOptions.audio) {
|
11644
|
+
mergeObjectWithoutOverwriting(clonedOptions.audio, audioDefaults);
|
11645
|
+
if (audioProcessor) {
|
11646
|
+
clonedOptions.audio.processor = audioProcessor;
|
11647
|
+
}
|
11698
11648
|
}
|
11699
|
-
if (
|
11700
|
-
mergeObjectWithoutOverwriting(
|
11649
|
+
if (clonedOptions.video) {
|
11650
|
+
mergeObjectWithoutOverwriting(clonedOptions.video, videoDefaults);
|
11651
|
+
if (videoProcessor) {
|
11652
|
+
clonedOptions.video.processor = videoProcessor;
|
11653
|
+
}
|
11701
11654
|
}
|
11702
|
-
return
|
11655
|
+
return clonedOptions;
|
11703
11656
|
}
|
11704
11657
|
function mergeObjectWithoutOverwriting(mainObject, objectToMerge) {
|
11705
11658
|
Object.keys(objectToMerge).forEach(key => {
|
@@ -11897,6 +11850,25 @@ function diffAttributes(oldValues, newValues) {
|
|
11897
11850
|
}
|
11898
11851
|
return diff;
|
11899
11852
|
}
|
11853
|
+
/** @internal */
|
11854
|
+
function extractProcessorsFromOptions(options) {
|
11855
|
+
const newOptions = Object.assign({}, options);
|
11856
|
+
let audioProcessor;
|
11857
|
+
let videoProcessor;
|
11858
|
+
if (typeof newOptions.audio === 'object' && newOptions.audio.processor) {
|
11859
|
+
audioProcessor = newOptions.audio.processor;
|
11860
|
+
newOptions.audio.processor = undefined;
|
11861
|
+
}
|
11862
|
+
if (typeof newOptions.video === 'object' && newOptions.video.processor) {
|
11863
|
+
videoProcessor = newOptions.video.processor;
|
11864
|
+
newOptions.video.processor = undefined;
|
11865
|
+
}
|
11866
|
+
return {
|
11867
|
+
audioProcessor,
|
11868
|
+
videoProcessor,
|
11869
|
+
optionsWithoutProcessor: newOptions
|
11870
|
+
};
|
11871
|
+
}
|
11900
11872
|
|
11901
11873
|
const separator = '|';
|
11902
11874
|
const ddExtensionURI = 'https://aomediacodec.github.io/av1-rtp-spec/#dependency-descriptor-rtp-header-extension';
|
@@ -18861,141 +18833,6 @@ class LocalTrackPublication extends TrackPublication {
|
|
18861
18833
|
}
|
18862
18834
|
}
|
18863
18835
|
|
18864
|
-
/** @internal */
|
18865
|
-
function extractProcessorsFromOptions(options) {
|
18866
|
-
let audioProcessor;
|
18867
|
-
let videoProcessor;
|
18868
|
-
if (typeof options.audio === 'object' && options.audio.processor) {
|
18869
|
-
audioProcessor = options.audio.processor;
|
18870
|
-
}
|
18871
|
-
if (typeof options.video === 'object' && options.video.processor) {
|
18872
|
-
videoProcessor = options.video.processor;
|
18873
|
-
}
|
18874
|
-
return {
|
18875
|
-
audioProcessor,
|
18876
|
-
videoProcessor
|
18877
|
-
};
|
18878
|
-
}
|
18879
|
-
/**
|
18880
|
-
* Creates a local video and audio track at the same time. When acquiring both
|
18881
|
-
* audio and video tracks together, it'll display a single permission prompt to
|
18882
|
-
* the user instead of two separate ones.
|
18883
|
-
* @param options
|
18884
|
-
*/
|
18885
|
-
function createLocalTracks(options) {
|
18886
|
-
return __awaiter(this, void 0, void 0, function* () {
|
18887
|
-
var _a, _b;
|
18888
|
-
// set default options to true
|
18889
|
-
options !== null && options !== void 0 ? options : options = {};
|
18890
|
-
(_a = options.audio) !== null && _a !== void 0 ? _a : options.audio = true;
|
18891
|
-
(_b = options.video) !== null && _b !== void 0 ? _b : options.video = true;
|
18892
|
-
const {
|
18893
|
-
audioProcessor,
|
18894
|
-
videoProcessor
|
18895
|
-
} = extractProcessorsFromOptions(options);
|
18896
|
-
const opts = mergeDefaultOptions(options, audioDefaults, videoDefaults);
|
18897
|
-
const constraints = constraintsForOptions(opts);
|
18898
|
-
// Keep a reference to the promise on DeviceManager and await it in getLocalDevices()
|
18899
|
-
// works around iOS Safari Bug https://bugs.webkit.org/show_bug.cgi?id=179363
|
18900
|
-
const mediaPromise = navigator.mediaDevices.getUserMedia(constraints);
|
18901
|
-
if (options.audio) {
|
18902
|
-
DeviceManager.userMediaPromiseMap.set('audioinput', mediaPromise);
|
18903
|
-
mediaPromise.catch(() => DeviceManager.userMediaPromiseMap.delete('audioinput'));
|
18904
|
-
}
|
18905
|
-
if (options.video) {
|
18906
|
-
DeviceManager.userMediaPromiseMap.set('videoinput', mediaPromise);
|
18907
|
-
mediaPromise.catch(() => DeviceManager.userMediaPromiseMap.delete('videoinput'));
|
18908
|
-
}
|
18909
|
-
const stream = yield mediaPromise;
|
18910
|
-
return Promise.all(stream.getTracks().map(mediaStreamTrack => __awaiter(this, void 0, void 0, function* () {
|
18911
|
-
const isAudio = mediaStreamTrack.kind === 'audio';
|
18912
|
-
isAudio ? opts.audio : opts.video;
|
18913
|
-
let trackConstraints;
|
18914
|
-
const conOrBool = isAudio ? constraints.audio : constraints.video;
|
18915
|
-
if (typeof conOrBool !== 'boolean') {
|
18916
|
-
trackConstraints = conOrBool;
|
18917
|
-
}
|
18918
|
-
// update the constraints with the device id the user gave permissions to in the permission prompt
|
18919
|
-
// otherwise each track restart (e.g. mute - unmute) will try to initialize the device again -> causing additional permission prompts
|
18920
|
-
if (trackConstraints) {
|
18921
|
-
trackConstraints.deviceId = mediaStreamTrack.getSettings().deviceId;
|
18922
|
-
} else {
|
18923
|
-
trackConstraints = {
|
18924
|
-
deviceId: mediaStreamTrack.getSettings().deviceId
|
18925
|
-
};
|
18926
|
-
}
|
18927
|
-
const track = mediaTrackToLocalTrack(mediaStreamTrack, trackConstraints);
|
18928
|
-
if (track.kind === Track.Kind.Video) {
|
18929
|
-
track.source = Track.Source.Camera;
|
18930
|
-
} else if (track.kind === Track.Kind.Audio) {
|
18931
|
-
track.source = Track.Source.Microphone;
|
18932
|
-
}
|
18933
|
-
track.mediaStream = stream;
|
18934
|
-
if (track instanceof LocalAudioTrack && audioProcessor) {
|
18935
|
-
yield track.setProcessor(audioProcessor);
|
18936
|
-
} else if (track instanceof LocalVideoTrack && videoProcessor) {
|
18937
|
-
yield track.setProcessor(videoProcessor);
|
18938
|
-
}
|
18939
|
-
return track;
|
18940
|
-
})));
|
18941
|
-
});
|
18942
|
-
}
|
18943
|
-
/**
|
18944
|
-
* Creates a [[LocalVideoTrack]] with getUserMedia()
|
18945
|
-
* @param options
|
18946
|
-
*/
|
18947
|
-
function createLocalVideoTrack(options) {
|
18948
|
-
return __awaiter(this, void 0, void 0, function* () {
|
18949
|
-
const tracks = yield createLocalTracks({
|
18950
|
-
audio: false,
|
18951
|
-
video: options
|
18952
|
-
});
|
18953
|
-
return tracks[0];
|
18954
|
-
});
|
18955
|
-
}
|
18956
|
-
function createLocalAudioTrack(options) {
|
18957
|
-
return __awaiter(this, void 0, void 0, function* () {
|
18958
|
-
const tracks = yield createLocalTracks({
|
18959
|
-
audio: options,
|
18960
|
-
video: false
|
18961
|
-
});
|
18962
|
-
return tracks[0];
|
18963
|
-
});
|
18964
|
-
}
|
18965
|
-
/**
|
18966
|
-
* Creates a screen capture tracks with getDisplayMedia().
|
18967
|
-
* A LocalVideoTrack is always created and returned.
|
18968
|
-
* If { audio: true }, and the browser supports audio capture, a LocalAudioTrack is also created.
|
18969
|
-
*/
|
18970
|
-
function createLocalScreenTracks(options) {
|
18971
|
-
return __awaiter(this, void 0, void 0, function* () {
|
18972
|
-
if (options === undefined) {
|
18973
|
-
options = {};
|
18974
|
-
}
|
18975
|
-
if (options.resolution === undefined && !isSafari17()) {
|
18976
|
-
options.resolution = ScreenSharePresets.h1080fps30.resolution;
|
18977
|
-
}
|
18978
|
-
if (navigator.mediaDevices.getDisplayMedia === undefined) {
|
18979
|
-
throw new DeviceUnsupportedError('getDisplayMedia not supported');
|
18980
|
-
}
|
18981
|
-
const constraints = screenCaptureToDisplayMediaStreamOptions(options);
|
18982
|
-
const stream = yield navigator.mediaDevices.getDisplayMedia(constraints);
|
18983
|
-
const tracks = stream.getVideoTracks();
|
18984
|
-
if (tracks.length === 0) {
|
18985
|
-
throw new TrackInvalidError('no video track found');
|
18986
|
-
}
|
18987
|
-
const screenVideo = new LocalVideoTrack(tracks[0], undefined, false);
|
18988
|
-
screenVideo.source = Track.Source.ScreenShare;
|
18989
|
-
const localTracks = [screenVideo];
|
18990
|
-
if (stream.getAudioTracks().length > 0) {
|
18991
|
-
const screenAudio = new LocalAudioTrack(stream.getAudioTracks()[0], undefined, false);
|
18992
|
-
screenAudio.source = Track.Source.ScreenShareAudio;
|
18993
|
-
localTracks.push(screenAudio);
|
18994
|
-
}
|
18995
|
-
return localTracks;
|
18996
|
-
});
|
18997
|
-
}
|
18998
|
-
|
18999
18836
|
var ConnectionQuality;
|
19000
18837
|
(function (ConnectionQuality) {
|
19001
18838
|
ConnectionQuality["Excellent"] = "excellent";
|
@@ -19756,9 +19593,10 @@ class LocalParticipant extends Participant {
|
|
19756
19593
|
options !== null && options !== void 0 ? options : options = {};
|
19757
19594
|
const {
|
19758
19595
|
audioProcessor,
|
19759
|
-
videoProcessor
|
19596
|
+
videoProcessor,
|
19597
|
+
optionsWithoutProcessor
|
19760
19598
|
} = extractProcessorsFromOptions(options);
|
19761
|
-
const mergedOptions = mergeDefaultOptions(
|
19599
|
+
const mergedOptions = mergeDefaultOptions(optionsWithoutProcessor, (_a = this.roomOptions) === null || _a === void 0 ? void 0 : _a.audioCaptureDefaults, (_b = this.roomOptions) === null || _b === void 0 ? void 0 : _b.videoCaptureDefaults);
|
19762
19600
|
const constraints = constraintsForOptions(mergedOptions);
|
19763
19601
|
let stream;
|
19764
19602
|
try {
|
@@ -20810,13 +20648,19 @@ class LocalParticipant extends Participant {
|
|
20810
20648
|
}
|
20811
20649
|
waitForPendingPublicationOfSource(source) {
|
20812
20650
|
return __awaiter(this, void 0, void 0, function* () {
|
20813
|
-
const
|
20814
|
-
|
20815
|
-
|
20816
|
-
|
20817
|
-
|
20818
|
-
|
20651
|
+
const waitForPendingTimeout = 10000;
|
20652
|
+
const startTime = Date.now();
|
20653
|
+
while (Date.now() < startTime + waitForPendingTimeout) {
|
20654
|
+
const publishPromiseEntry = Array.from(this.pendingPublishPromises.entries()).find(_ref4 => {
|
20655
|
+
let [pendingTrack] = _ref4;
|
20656
|
+
return pendingTrack.source === source;
|
20657
|
+
});
|
20658
|
+
if (publishPromiseEntry) {
|
20659
|
+
return publishPromiseEntry[1];
|
20660
|
+
}
|
20661
|
+
sleep(20);
|
20819
20662
|
}
|
20663
|
+
throw new Error('waiting for pending publication promise timed out');
|
20820
20664
|
});
|
20821
20665
|
}
|
20822
20666
|
}
|
@@ -23116,6 +22960,126 @@ class Checker extends eventsExports.EventEmitter {
|
|
23116
22960
|
}
|
23117
22961
|
}
|
23118
22962
|
|
22963
|
+
/**
|
22964
|
+
* Creates a local video and audio track at the same time. When acquiring both
|
22965
|
+
* audio and video tracks together, it'll display a single permission prompt to
|
22966
|
+
* the user instead of two separate ones.
|
22967
|
+
* @param options
|
22968
|
+
*/
|
22969
|
+
function createLocalTracks(options) {
|
22970
|
+
return __awaiter(this, void 0, void 0, function* () {
|
22971
|
+
var _a, _b;
|
22972
|
+
// set default options to true
|
22973
|
+
options !== null && options !== void 0 ? options : options = {};
|
22974
|
+
(_a = options.audio) !== null && _a !== void 0 ? _a : options.audio = true;
|
22975
|
+
(_b = options.video) !== null && _b !== void 0 ? _b : options.video = true;
|
22976
|
+
const {
|
22977
|
+
audioProcessor,
|
22978
|
+
videoProcessor
|
22979
|
+
} = extractProcessorsFromOptions(options);
|
22980
|
+
const opts = mergeDefaultOptions(options, audioDefaults, videoDefaults);
|
22981
|
+
const constraints = constraintsForOptions(opts);
|
22982
|
+
// Keep a reference to the promise on DeviceManager and await it in getLocalDevices()
|
22983
|
+
// works around iOS Safari Bug https://bugs.webkit.org/show_bug.cgi?id=179363
|
22984
|
+
const mediaPromise = navigator.mediaDevices.getUserMedia(constraints);
|
22985
|
+
if (options.audio) {
|
22986
|
+
DeviceManager.userMediaPromiseMap.set('audioinput', mediaPromise);
|
22987
|
+
mediaPromise.catch(() => DeviceManager.userMediaPromiseMap.delete('audioinput'));
|
22988
|
+
}
|
22989
|
+
if (options.video) {
|
22990
|
+
DeviceManager.userMediaPromiseMap.set('videoinput', mediaPromise);
|
22991
|
+
mediaPromise.catch(() => DeviceManager.userMediaPromiseMap.delete('videoinput'));
|
22992
|
+
}
|
22993
|
+
const stream = yield mediaPromise;
|
22994
|
+
return Promise.all(stream.getTracks().map(mediaStreamTrack => __awaiter(this, void 0, void 0, function* () {
|
22995
|
+
const isAudio = mediaStreamTrack.kind === 'audio';
|
22996
|
+
isAudio ? opts.audio : opts.video;
|
22997
|
+
let trackConstraints;
|
22998
|
+
const conOrBool = isAudio ? constraints.audio : constraints.video;
|
22999
|
+
if (typeof conOrBool !== 'boolean') {
|
23000
|
+
trackConstraints = conOrBool;
|
23001
|
+
}
|
23002
|
+
// update the constraints with the device id the user gave permissions to in the permission prompt
|
23003
|
+
// otherwise each track restart (e.g. mute - unmute) will try to initialize the device again -> causing additional permission prompts
|
23004
|
+
if (trackConstraints) {
|
23005
|
+
trackConstraints.deviceId = mediaStreamTrack.getSettings().deviceId;
|
23006
|
+
} else {
|
23007
|
+
trackConstraints = {
|
23008
|
+
deviceId: mediaStreamTrack.getSettings().deviceId
|
23009
|
+
};
|
23010
|
+
}
|
23011
|
+
const track = mediaTrackToLocalTrack(mediaStreamTrack, trackConstraints);
|
23012
|
+
if (track.kind === Track.Kind.Video) {
|
23013
|
+
track.source = Track.Source.Camera;
|
23014
|
+
} else if (track.kind === Track.Kind.Audio) {
|
23015
|
+
track.source = Track.Source.Microphone;
|
23016
|
+
}
|
23017
|
+
track.mediaStream = stream;
|
23018
|
+
if (track instanceof LocalAudioTrack && audioProcessor) {
|
23019
|
+
yield track.setProcessor(audioProcessor);
|
23020
|
+
} else if (track instanceof LocalVideoTrack && videoProcessor) {
|
23021
|
+
yield track.setProcessor(videoProcessor);
|
23022
|
+
}
|
23023
|
+
return track;
|
23024
|
+
})));
|
23025
|
+
});
|
23026
|
+
}
|
23027
|
+
/**
|
23028
|
+
* Creates a [[LocalVideoTrack]] with getUserMedia()
|
23029
|
+
* @param options
|
23030
|
+
*/
|
23031
|
+
function createLocalVideoTrack(options) {
|
23032
|
+
return __awaiter(this, void 0, void 0, function* () {
|
23033
|
+
const tracks = yield createLocalTracks({
|
23034
|
+
audio: false,
|
23035
|
+
video: options
|
23036
|
+
});
|
23037
|
+
return tracks[0];
|
23038
|
+
});
|
23039
|
+
}
|
23040
|
+
function createLocalAudioTrack(options) {
|
23041
|
+
return __awaiter(this, void 0, void 0, function* () {
|
23042
|
+
const tracks = yield createLocalTracks({
|
23043
|
+
audio: options,
|
23044
|
+
video: false
|
23045
|
+
});
|
23046
|
+
return tracks[0];
|
23047
|
+
});
|
23048
|
+
}
|
23049
|
+
/**
|
23050
|
+
* Creates a screen capture tracks with getDisplayMedia().
|
23051
|
+
* A LocalVideoTrack is always created and returned.
|
23052
|
+
* If { audio: true }, and the browser supports audio capture, a LocalAudioTrack is also created.
|
23053
|
+
*/
|
23054
|
+
function createLocalScreenTracks(options) {
|
23055
|
+
return __awaiter(this, void 0, void 0, function* () {
|
23056
|
+
if (options === undefined) {
|
23057
|
+
options = {};
|
23058
|
+
}
|
23059
|
+
if (options.resolution === undefined && !isSafari17()) {
|
23060
|
+
options.resolution = ScreenSharePresets.h1080fps30.resolution;
|
23061
|
+
}
|
23062
|
+
if (navigator.mediaDevices.getDisplayMedia === undefined) {
|
23063
|
+
throw new DeviceUnsupportedError('getDisplayMedia not supported');
|
23064
|
+
}
|
23065
|
+
const constraints = screenCaptureToDisplayMediaStreamOptions(options);
|
23066
|
+
const stream = yield navigator.mediaDevices.getDisplayMedia(constraints);
|
23067
|
+
const tracks = stream.getVideoTracks();
|
23068
|
+
if (tracks.length === 0) {
|
23069
|
+
throw new TrackInvalidError('no video track found');
|
23070
|
+
}
|
23071
|
+
const screenVideo = new LocalVideoTrack(tracks[0], undefined, false);
|
23072
|
+
screenVideo.source = Track.Source.ScreenShare;
|
23073
|
+
const localTracks = [screenVideo];
|
23074
|
+
if (stream.getAudioTracks().length > 0) {
|
23075
|
+
const screenAudio = new LocalAudioTrack(stream.getAudioTracks()[0], undefined, false);
|
23076
|
+
screenAudio.source = Track.Source.ScreenShareAudio;
|
23077
|
+
localTracks.push(screenAudio);
|
23078
|
+
}
|
23079
|
+
return localTracks;
|
23080
|
+
});
|
23081
|
+
}
|
23082
|
+
|
23119
23083
|
class PublishAudioCheck extends Checker {
|
23120
23084
|
get description() {
|
23121
23085
|
return 'Can publish audio';
|
@@ -23524,5 +23488,5 @@ function isFacingModeValue(item) {
|
|
23524
23488
|
return item === undefined || allowedValues.includes(item);
|
23525
23489
|
}
|
23526
23490
|
|
23527
|
-
export { AudioPresets, BaseKeyProvider, CheckStatus, Checker, ConnectionCheck, ConnectionError, ConnectionErrorReason, ConnectionQuality, ConnectionState, CriticalTimers, CryptorError, CryptorErrorReason, CryptorEvent, DataPacket_Kind, DefaultReconnectPolicy, DeviceUnsupportedError, DisconnectReason, EncryptionEvent, EngineEvent, ExternalE2EEKeyProvider, KeyHandlerEvent, KeyProviderEvent, LivekitError, LocalAudioTrack, LocalParticipant, LocalTrack, LocalTrackPublication, LocalVideoTrack, LogLevel, LoggerNames, MediaDeviceFailure, h as Mutex, NegotiationError, Participant, ParticipantEvent, ParticipantInfo_Kind as ParticipantKind, PublishDataError, RemoteAudioTrack, RemoteParticipant, RemoteTrack, RemoteTrackPublication, RemoteVideoTrack, Room, RoomEvent, RpcError, ScreenSharePresets, SignalRequestError, SubscriptionError, Track, TrackEvent, TrackInvalidError, TrackPublication, UnexpectedConnectionState, UnsupportedServer, VideoPreset, VideoPresets, VideoPresets43, VideoQuality, attachToElement, compareVersions, createAudioAnalyser, createE2EEKey, createKeyMaterialFromBuffer, createKeyMaterialFromString, createLocalAudioTrack, createLocalScreenTracks, createLocalTracks, createLocalVideoTrack, deriveKeys, detachTrack,
|
23491
|
+
export { AudioPresets, BaseKeyProvider, CheckStatus, Checker, ConnectionCheck, ConnectionError, ConnectionErrorReason, ConnectionQuality, ConnectionState, CriticalTimers, CryptorError, CryptorErrorReason, CryptorEvent, DataPacket_Kind, DefaultReconnectPolicy, DeviceUnsupportedError, DisconnectReason, EncryptionEvent, EngineEvent, ExternalE2EEKeyProvider, KeyHandlerEvent, KeyProviderEvent, LivekitError, LocalAudioTrack, LocalParticipant, LocalTrack, LocalTrackPublication, LocalVideoTrack, LogLevel, LoggerNames, MediaDeviceFailure, h as Mutex, NegotiationError, Participant, ParticipantEvent, ParticipantInfo_Kind as ParticipantKind, PublishDataError, RemoteAudioTrack, RemoteParticipant, RemoteTrack, RemoteTrackPublication, RemoteVideoTrack, Room, RoomEvent, RpcError, ScreenSharePresets, SignalRequestError, SubscriptionError, Track, TrackEvent, TrackInvalidError, TrackPublication, UnexpectedConnectionState, UnsupportedServer, VideoPreset, VideoPresets, VideoPresets43, VideoQuality, attachToElement, compareVersions, createAudioAnalyser, createE2EEKey, createKeyMaterialFromBuffer, createKeyMaterialFromString, createLocalAudioTrack, createLocalScreenTracks, createLocalTracks, createLocalVideoTrack, deriveKeys, detachTrack, facingModeFromDeviceLabel, facingModeFromLocalTrack, getBrowser, getEmptyAudioStreamTrack, getEmptyVideoStreamTrack, getLogger, importKey, isBackupCodec, isBrowserSupported, isE2EESupported, isInsertableStreamSupported, isScriptTransformSupported, isVideoFrame, needsRbspUnescaping, parseRbsp, protocolVersion, ratchet, setLogExtension, setLogLevel, supportsAV1, supportsAdaptiveStream, supportsDynacast, supportsVP9, version, videoCodecs, writeRbsp };
|
23528
23492
|
//# sourceMappingURL=livekit-client.esm.mjs.map
|