quickvo-sdk-js 1.3.2 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -773,6 +773,9 @@ export namespace com {
773
773
 
774
774
  /** Track simulcast */
775
775
  simulcast?: (string|null);
776
+
777
+ /** Track lastRetry */
778
+ lastRetry?: (boolean|null);
776
779
  }
777
780
 
778
781
  /** Represents a Track. */
@@ -811,6 +814,9 @@ export namespace com {
811
814
  /** Track simulcast. */
812
815
  public simulcast?: (string|null);
813
816
 
817
+ /** Track lastRetry. */
818
+ public lastRetry?: (boolean|null);
819
+
814
820
  /**
815
821
  * Creates a new Track instance using the specified properties.
816
822
  * @param [properties] Properties to set
@@ -1763,6 +1769,9 @@ export namespace com {
1763
1769
 
1764
1770
  /** SubscribeReq session */
1765
1771
  session?: (string|null);
1772
+
1773
+ /** SubscribeReq isLastSub */
1774
+ isLastSub?: (boolean|null);
1766
1775
  }
1767
1776
 
1768
1777
  /** Represents a SubscribeReq. */
@@ -1780,6 +1789,9 @@ export namespace com {
1780
1789
  /** SubscribeReq session. */
1781
1790
  public session?: (string|null);
1782
1791
 
1792
+ /** SubscribeReq isLastSub. */
1793
+ public isLastSub?: (boolean|null);
1794
+
1783
1795
  /**
1784
1796
  * Creates a new SubscribeReq instance using the specified properties.
1785
1797
  * @param [properties] Properties to set
@@ -3427,212 +3439,6 @@ export namespace com {
3427
3439
  public static getTypeUrl(typeUrlPrefix?: string): string;
3428
3440
  }
3429
3441
 
3430
- /** Properties of a ToggleLiveRoomReq. */
3431
- interface IToggleLiveRoomReq {
3432
-
3433
- /** ToggleLiveRoomReq roomId */
3434
- roomId?: (string|null);
3435
- }
3436
-
3437
- /** Represents a ToggleLiveRoomReq. */
3438
- class ToggleLiveRoomReq implements IToggleLiveRoomReq {
3439
-
3440
- /**
3441
- * Constructs a new ToggleLiveRoomReq.
3442
- * @param [properties] Properties to set
3443
- */
3444
- constructor(properties?: com.quick.voice.proto.IToggleLiveRoomReq);
3445
-
3446
- /** ToggleLiveRoomReq roomId. */
3447
- public roomId: string;
3448
-
3449
- /**
3450
- * Creates a new ToggleLiveRoomReq instance using the specified properties.
3451
- * @param [properties] Properties to set
3452
- * @returns ToggleLiveRoomReq instance
3453
- */
3454
- public static create(properties?: com.quick.voice.proto.IToggleLiveRoomReq): com.quick.voice.proto.ToggleLiveRoomReq;
3455
-
3456
- /**
3457
- * Encodes the specified ToggleLiveRoomReq message. Does not implicitly {@link com.quick.voice.proto.ToggleLiveRoomReq.verify|verify} messages.
3458
- * @param message ToggleLiveRoomReq message or plain object to encode
3459
- * @param [writer] Writer to encode to
3460
- * @returns Writer
3461
- */
3462
- public static encode(message: com.quick.voice.proto.IToggleLiveRoomReq, writer?: $protobuf.Writer): $protobuf.Writer;
3463
-
3464
- /**
3465
- * Encodes the specified ToggleLiveRoomReq message, length delimited. Does not implicitly {@link com.quick.voice.proto.ToggleLiveRoomReq.verify|verify} messages.
3466
- * @param message ToggleLiveRoomReq message or plain object to encode
3467
- * @param [writer] Writer to encode to
3468
- * @returns Writer
3469
- */
3470
- public static encodeDelimited(message: com.quick.voice.proto.IToggleLiveRoomReq, writer?: $protobuf.Writer): $protobuf.Writer;
3471
-
3472
- /**
3473
- * Decodes a ToggleLiveRoomReq message from the specified reader or buffer.
3474
- * @param reader Reader or buffer to decode from
3475
- * @param [length] Message length if known beforehand
3476
- * @returns ToggleLiveRoomReq
3477
- * @throws {Error} If the payload is not a reader or valid buffer
3478
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3479
- */
3480
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.ToggleLiveRoomReq;
3481
-
3482
- /**
3483
- * Decodes a ToggleLiveRoomReq message from the specified reader or buffer, length delimited.
3484
- * @param reader Reader or buffer to decode from
3485
- * @returns ToggleLiveRoomReq
3486
- * @throws {Error} If the payload is not a reader or valid buffer
3487
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3488
- */
3489
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.ToggleLiveRoomReq;
3490
-
3491
- /**
3492
- * Verifies a ToggleLiveRoomReq message.
3493
- * @param message Plain object to verify
3494
- * @returns `null` if valid, otherwise the reason why it is not
3495
- */
3496
- public static verify(message: { [k: string]: any }): (string|null);
3497
-
3498
- /**
3499
- * Creates a ToggleLiveRoomReq message from a plain object. Also converts values to their respective internal types.
3500
- * @param object Plain object
3501
- * @returns ToggleLiveRoomReq
3502
- */
3503
- public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.ToggleLiveRoomReq;
3504
-
3505
- /**
3506
- * Creates a plain object from a ToggleLiveRoomReq message. Also converts values to other types if specified.
3507
- * @param message ToggleLiveRoomReq
3508
- * @param [options] Conversion options
3509
- * @returns Plain object
3510
- */
3511
- public static toObject(message: com.quick.voice.proto.ToggleLiveRoomReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
3512
-
3513
- /**
3514
- * Converts this ToggleLiveRoomReq to JSON.
3515
- * @returns JSON object
3516
- */
3517
- public toJSON(): { [k: string]: any };
3518
-
3519
- /**
3520
- * Gets the default type url for ToggleLiveRoomReq
3521
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3522
- * @returns The default type url
3523
- */
3524
- public static getTypeUrl(typeUrlPrefix?: string): string;
3525
- }
3526
-
3527
- /** Properties of a ToggleLiveRoomRsq. */
3528
- interface IToggleLiveRoomRsq {
3529
-
3530
- /** ToggleLiveRoomRsq roomId */
3531
- roomId?: (string|null);
3532
-
3533
- /** ToggleLiveRoomRsq hash */
3534
- hash?: (string|null);
3535
-
3536
- /** ToggleLiveRoomRsq roomUsers */
3537
- roomUsers?: (com.quick.voice.proto.IUser[]|null);
3538
- }
3539
-
3540
- /** Represents a ToggleLiveRoomRsq. */
3541
- class ToggleLiveRoomRsq implements IToggleLiveRoomRsq {
3542
-
3543
- /**
3544
- * Constructs a new ToggleLiveRoomRsq.
3545
- * @param [properties] Properties to set
3546
- */
3547
- constructor(properties?: com.quick.voice.proto.IToggleLiveRoomRsq);
3548
-
3549
- /** ToggleLiveRoomRsq roomId. */
3550
- public roomId: string;
3551
-
3552
- /** ToggleLiveRoomRsq hash. */
3553
- public hash: string;
3554
-
3555
- /** ToggleLiveRoomRsq roomUsers. */
3556
- public roomUsers: com.quick.voice.proto.IUser[];
3557
-
3558
- /**
3559
- * Creates a new ToggleLiveRoomRsq instance using the specified properties.
3560
- * @param [properties] Properties to set
3561
- * @returns ToggleLiveRoomRsq instance
3562
- */
3563
- public static create(properties?: com.quick.voice.proto.IToggleLiveRoomRsq): com.quick.voice.proto.ToggleLiveRoomRsq;
3564
-
3565
- /**
3566
- * Encodes the specified ToggleLiveRoomRsq message. Does not implicitly {@link com.quick.voice.proto.ToggleLiveRoomRsq.verify|verify} messages.
3567
- * @param message ToggleLiveRoomRsq message or plain object to encode
3568
- * @param [writer] Writer to encode to
3569
- * @returns Writer
3570
- */
3571
- public static encode(message: com.quick.voice.proto.IToggleLiveRoomRsq, writer?: $protobuf.Writer): $protobuf.Writer;
3572
-
3573
- /**
3574
- * Encodes the specified ToggleLiveRoomRsq message, length delimited. Does not implicitly {@link com.quick.voice.proto.ToggleLiveRoomRsq.verify|verify} messages.
3575
- * @param message ToggleLiveRoomRsq message or plain object to encode
3576
- * @param [writer] Writer to encode to
3577
- * @returns Writer
3578
- */
3579
- public static encodeDelimited(message: com.quick.voice.proto.IToggleLiveRoomRsq, writer?: $protobuf.Writer): $protobuf.Writer;
3580
-
3581
- /**
3582
- * Decodes a ToggleLiveRoomRsq message from the specified reader or buffer.
3583
- * @param reader Reader or buffer to decode from
3584
- * @param [length] Message length if known beforehand
3585
- * @returns ToggleLiveRoomRsq
3586
- * @throws {Error} If the payload is not a reader or valid buffer
3587
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3588
- */
3589
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.ToggleLiveRoomRsq;
3590
-
3591
- /**
3592
- * Decodes a ToggleLiveRoomRsq message from the specified reader or buffer, length delimited.
3593
- * @param reader Reader or buffer to decode from
3594
- * @returns ToggleLiveRoomRsq
3595
- * @throws {Error} If the payload is not a reader or valid buffer
3596
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3597
- */
3598
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.ToggleLiveRoomRsq;
3599
-
3600
- /**
3601
- * Verifies a ToggleLiveRoomRsq message.
3602
- * @param message Plain object to verify
3603
- * @returns `null` if valid, otherwise the reason why it is not
3604
- */
3605
- public static verify(message: { [k: string]: any }): (string|null);
3606
-
3607
- /**
3608
- * Creates a ToggleLiveRoomRsq message from a plain object. Also converts values to their respective internal types.
3609
- * @param object Plain object
3610
- * @returns ToggleLiveRoomRsq
3611
- */
3612
- public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.ToggleLiveRoomRsq;
3613
-
3614
- /**
3615
- * Creates a plain object from a ToggleLiveRoomRsq message. Also converts values to other types if specified.
3616
- * @param message ToggleLiveRoomRsq
3617
- * @param [options] Conversion options
3618
- * @returns Plain object
3619
- */
3620
- public static toObject(message: com.quick.voice.proto.ToggleLiveRoomRsq, options?: $protobuf.IConversionOptions): { [k: string]: any };
3621
-
3622
- /**
3623
- * Converts this ToggleLiveRoomRsq to JSON.
3624
- * @returns JSON object
3625
- */
3626
- public toJSON(): { [k: string]: any };
3627
-
3628
- /**
3629
- * Gets the default type url for ToggleLiveRoomRsq
3630
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3631
- * @returns The default type url
3632
- */
3633
- public static getTypeUrl(typeUrlPrefix?: string): string;
3634
- }
3635
-
3636
3442
  /** TrackType enum. */
3637
3443
  enum TrackType {
3638
3444
  Microphone = 0,
@@ -3641,127 +3447,6 @@ export namespace com {
3641
3447
  SystemVoice = 3
3642
3448
  }
3643
3449
 
3644
- /** Properties of a ReportInfoReq. */
3645
- interface IReportInfoReq {
3646
-
3647
- /** ReportInfoReq actionEvent */
3648
- actionEvent?: (string|null);
3649
-
3650
- /** ReportInfoReq userId */
3651
- userId?: (string|null);
3652
-
3653
- /** ReportInfoReq platform */
3654
- platform?: (string|null);
3655
-
3656
- /** ReportInfoReq time */
3657
- time?: (number|Long|null);
3658
-
3659
- /** ReportInfoReq actionData */
3660
- actionData?: (string|null);
3661
- }
3662
-
3663
- /** Represents a ReportInfoReq. */
3664
- class ReportInfoReq implements IReportInfoReq {
3665
-
3666
- /**
3667
- * Constructs a new ReportInfoReq.
3668
- * @param [properties] Properties to set
3669
- */
3670
- constructor(properties?: com.quick.voice.proto.IReportInfoReq);
3671
-
3672
- /** ReportInfoReq actionEvent. */
3673
- public actionEvent: string;
3674
-
3675
- /** ReportInfoReq userId. */
3676
- public userId: string;
3677
-
3678
- /** ReportInfoReq platform. */
3679
- public platform: string;
3680
-
3681
- /** ReportInfoReq time. */
3682
- public time: (number|Long);
3683
-
3684
- /** ReportInfoReq actionData. */
3685
- public actionData: string;
3686
-
3687
- /**
3688
- * Creates a new ReportInfoReq instance using the specified properties.
3689
- * @param [properties] Properties to set
3690
- * @returns ReportInfoReq instance
3691
- */
3692
- public static create(properties?: com.quick.voice.proto.IReportInfoReq): com.quick.voice.proto.ReportInfoReq;
3693
-
3694
- /**
3695
- * Encodes the specified ReportInfoReq message. Does not implicitly {@link com.quick.voice.proto.ReportInfoReq.verify|verify} messages.
3696
- * @param message ReportInfoReq message or plain object to encode
3697
- * @param [writer] Writer to encode to
3698
- * @returns Writer
3699
- */
3700
- public static encode(message: com.quick.voice.proto.IReportInfoReq, writer?: $protobuf.Writer): $protobuf.Writer;
3701
-
3702
- /**
3703
- * Encodes the specified ReportInfoReq message, length delimited. Does not implicitly {@link com.quick.voice.proto.ReportInfoReq.verify|verify} messages.
3704
- * @param message ReportInfoReq message or plain object to encode
3705
- * @param [writer] Writer to encode to
3706
- * @returns Writer
3707
- */
3708
- public static encodeDelimited(message: com.quick.voice.proto.IReportInfoReq, writer?: $protobuf.Writer): $protobuf.Writer;
3709
-
3710
- /**
3711
- * Decodes a ReportInfoReq message from the specified reader or buffer.
3712
- * @param reader Reader or buffer to decode from
3713
- * @param [length] Message length if known beforehand
3714
- * @returns ReportInfoReq
3715
- * @throws {Error} If the payload is not a reader or valid buffer
3716
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3717
- */
3718
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.ReportInfoReq;
3719
-
3720
- /**
3721
- * Decodes a ReportInfoReq message from the specified reader or buffer, length delimited.
3722
- * @param reader Reader or buffer to decode from
3723
- * @returns ReportInfoReq
3724
- * @throws {Error} If the payload is not a reader or valid buffer
3725
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3726
- */
3727
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.ReportInfoReq;
3728
-
3729
- /**
3730
- * Verifies a ReportInfoReq message.
3731
- * @param message Plain object to verify
3732
- * @returns `null` if valid, otherwise the reason why it is not
3733
- */
3734
- public static verify(message: { [k: string]: any }): (string|null);
3735
-
3736
- /**
3737
- * Creates a ReportInfoReq message from a plain object. Also converts values to their respective internal types.
3738
- * @param object Plain object
3739
- * @returns ReportInfoReq
3740
- */
3741
- public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.ReportInfoReq;
3742
-
3743
- /**
3744
- * Creates a plain object from a ReportInfoReq message. Also converts values to other types if specified.
3745
- * @param message ReportInfoReq
3746
- * @param [options] Conversion options
3747
- * @returns Plain object
3748
- */
3749
- public static toObject(message: com.quick.voice.proto.ReportInfoReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
3750
-
3751
- /**
3752
- * Converts this ReportInfoReq to JSON.
3753
- * @returns JSON object
3754
- */
3755
- public toJSON(): { [k: string]: any };
3756
-
3757
- /**
3758
- * Gets the default type url for ReportInfoReq
3759
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3760
- * @returns The default type url
3761
- */
3762
- public static getTypeUrl(typeUrlPrefix?: string): string;
3763
- }
3764
-
3765
3450
  /** Properties of an UpdatePermissions. */
3766
3451
  interface IUpdatePermissions {
3767
3452
 
@@ -5462,6 +5147,1041 @@ export namespace com {
5462
5147
  */
5463
5148
  public static getTypeUrl(typeUrlPrefix?: string): string;
5464
5149
  }
5150
+
5151
+ /** Properties of a SdpConsult. */
5152
+ interface ISdpConsult {
5153
+
5154
+ /** SdpConsult roomId */
5155
+ roomId?: (string|null);
5156
+
5157
+ /** SdpConsult sender */
5158
+ sender?: (com.quick.voice.proto.IUser|null);
5159
+
5160
+ /** SdpConsult receiverId */
5161
+ receiverId?: (string|null);
5162
+
5163
+ /** SdpConsult sdp */
5164
+ sdp?: (string|null);
5165
+
5166
+ /** SdpConsult tracks */
5167
+ tracks?: (com.quick.voice.proto.ITrack[]|null);
5168
+ }
5169
+
5170
+ /** Represents a SdpConsult. */
5171
+ class SdpConsult implements ISdpConsult {
5172
+
5173
+ /**
5174
+ * Constructs a new SdpConsult.
5175
+ * @param [properties] Properties to set
5176
+ */
5177
+ constructor(properties?: com.quick.voice.proto.ISdpConsult);
5178
+
5179
+ /** SdpConsult roomId. */
5180
+ public roomId: string;
5181
+
5182
+ /** SdpConsult sender. */
5183
+ public sender?: (com.quick.voice.proto.IUser|null);
5184
+
5185
+ /** SdpConsult receiverId. */
5186
+ public receiverId: string;
5187
+
5188
+ /** SdpConsult sdp. */
5189
+ public sdp: string;
5190
+
5191
+ /** SdpConsult tracks. */
5192
+ public tracks: com.quick.voice.proto.ITrack[];
5193
+
5194
+ /**
5195
+ * Creates a new SdpConsult instance using the specified properties.
5196
+ * @param [properties] Properties to set
5197
+ * @returns SdpConsult instance
5198
+ */
5199
+ public static create(properties?: com.quick.voice.proto.ISdpConsult): com.quick.voice.proto.SdpConsult;
5200
+
5201
+ /**
5202
+ * Encodes the specified SdpConsult message. Does not implicitly {@link com.quick.voice.proto.SdpConsult.verify|verify} messages.
5203
+ * @param message SdpConsult message or plain object to encode
5204
+ * @param [writer] Writer to encode to
5205
+ * @returns Writer
5206
+ */
5207
+ public static encode(message: com.quick.voice.proto.ISdpConsult, writer?: $protobuf.Writer): $protobuf.Writer;
5208
+
5209
+ /**
5210
+ * Encodes the specified SdpConsult message, length delimited. Does not implicitly {@link com.quick.voice.proto.SdpConsult.verify|verify} messages.
5211
+ * @param message SdpConsult message or plain object to encode
5212
+ * @param [writer] Writer to encode to
5213
+ * @returns Writer
5214
+ */
5215
+ public static encodeDelimited(message: com.quick.voice.proto.ISdpConsult, writer?: $protobuf.Writer): $protobuf.Writer;
5216
+
5217
+ /**
5218
+ * Decodes a SdpConsult message from the specified reader or buffer.
5219
+ * @param reader Reader or buffer to decode from
5220
+ * @param [length] Message length if known beforehand
5221
+ * @returns SdpConsult
5222
+ * @throws {Error} If the payload is not a reader or valid buffer
5223
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5224
+ */
5225
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.SdpConsult;
5226
+
5227
+ /**
5228
+ * Decodes a SdpConsult message from the specified reader or buffer, length delimited.
5229
+ * @param reader Reader or buffer to decode from
5230
+ * @returns SdpConsult
5231
+ * @throws {Error} If the payload is not a reader or valid buffer
5232
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5233
+ */
5234
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.SdpConsult;
5235
+
5236
+ /**
5237
+ * Verifies a SdpConsult message.
5238
+ * @param message Plain object to verify
5239
+ * @returns `null` if valid, otherwise the reason why it is not
5240
+ */
5241
+ public static verify(message: { [k: string]: any }): (string|null);
5242
+
5243
+ /**
5244
+ * Creates a SdpConsult message from a plain object. Also converts values to their respective internal types.
5245
+ * @param object Plain object
5246
+ * @returns SdpConsult
5247
+ */
5248
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.SdpConsult;
5249
+
5250
+ /**
5251
+ * Creates a plain object from a SdpConsult message. Also converts values to other types if specified.
5252
+ * @param message SdpConsult
5253
+ * @param [options] Conversion options
5254
+ * @returns Plain object
5255
+ */
5256
+ public static toObject(message: com.quick.voice.proto.SdpConsult, options?: $protobuf.IConversionOptions): { [k: string]: any };
5257
+
5258
+ /**
5259
+ * Converts this SdpConsult to JSON.
5260
+ * @returns JSON object
5261
+ */
5262
+ public toJSON(): { [k: string]: any };
5263
+
5264
+ /**
5265
+ * Gets the default type url for SdpConsult
5266
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5267
+ * @returns The default type url
5268
+ */
5269
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5270
+ }
5271
+
5272
+ /** Properties of a Candidate. */
5273
+ interface ICandidate {
5274
+
5275
+ /** Candidate sdpMid */
5276
+ sdpMid?: (string|null);
5277
+
5278
+ /** Candidate sdpMLineIndex */
5279
+ sdpMLineIndex?: (number|null);
5280
+
5281
+ /** Candidate sdp */
5282
+ sdp?: (string|null);
5283
+ }
5284
+
5285
+ /** Represents a Candidate. */
5286
+ class Candidate implements ICandidate {
5287
+
5288
+ /**
5289
+ * Constructs a new Candidate.
5290
+ * @param [properties] Properties to set
5291
+ */
5292
+ constructor(properties?: com.quick.voice.proto.ICandidate);
5293
+
5294
+ /** Candidate sdpMid. */
5295
+ public sdpMid: string;
5296
+
5297
+ /** Candidate sdpMLineIndex. */
5298
+ public sdpMLineIndex: number;
5299
+
5300
+ /** Candidate sdp. */
5301
+ public sdp: string;
5302
+
5303
+ /**
5304
+ * Creates a new Candidate instance using the specified properties.
5305
+ * @param [properties] Properties to set
5306
+ * @returns Candidate instance
5307
+ */
5308
+ public static create(properties?: com.quick.voice.proto.ICandidate): com.quick.voice.proto.Candidate;
5309
+
5310
+ /**
5311
+ * Encodes the specified Candidate message. Does not implicitly {@link com.quick.voice.proto.Candidate.verify|verify} messages.
5312
+ * @param message Candidate message or plain object to encode
5313
+ * @param [writer] Writer to encode to
5314
+ * @returns Writer
5315
+ */
5316
+ public static encode(message: com.quick.voice.proto.ICandidate, writer?: $protobuf.Writer): $protobuf.Writer;
5317
+
5318
+ /**
5319
+ * Encodes the specified Candidate message, length delimited. Does not implicitly {@link com.quick.voice.proto.Candidate.verify|verify} messages.
5320
+ * @param message Candidate message or plain object to encode
5321
+ * @param [writer] Writer to encode to
5322
+ * @returns Writer
5323
+ */
5324
+ public static encodeDelimited(message: com.quick.voice.proto.ICandidate, writer?: $protobuf.Writer): $protobuf.Writer;
5325
+
5326
+ /**
5327
+ * Decodes a Candidate message from the specified reader or buffer.
5328
+ * @param reader Reader or buffer to decode from
5329
+ * @param [length] Message length if known beforehand
5330
+ * @returns Candidate
5331
+ * @throws {Error} If the payload is not a reader or valid buffer
5332
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5333
+ */
5334
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.Candidate;
5335
+
5336
+ /**
5337
+ * Decodes a Candidate message from the specified reader or buffer, length delimited.
5338
+ * @param reader Reader or buffer to decode from
5339
+ * @returns Candidate
5340
+ * @throws {Error} If the payload is not a reader or valid buffer
5341
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5342
+ */
5343
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.Candidate;
5344
+
5345
+ /**
5346
+ * Verifies a Candidate message.
5347
+ * @param message Plain object to verify
5348
+ * @returns `null` if valid, otherwise the reason why it is not
5349
+ */
5350
+ public static verify(message: { [k: string]: any }): (string|null);
5351
+
5352
+ /**
5353
+ * Creates a Candidate message from a plain object. Also converts values to their respective internal types.
5354
+ * @param object Plain object
5355
+ * @returns Candidate
5356
+ */
5357
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.Candidate;
5358
+
5359
+ /**
5360
+ * Creates a plain object from a Candidate message. Also converts values to other types if specified.
5361
+ * @param message Candidate
5362
+ * @param [options] Conversion options
5363
+ * @returns Plain object
5364
+ */
5365
+ public static toObject(message: com.quick.voice.proto.Candidate, options?: $protobuf.IConversionOptions): { [k: string]: any };
5366
+
5367
+ /**
5368
+ * Converts this Candidate to JSON.
5369
+ * @returns JSON object
5370
+ */
5371
+ public toJSON(): { [k: string]: any };
5372
+
5373
+ /**
5374
+ * Gets the default type url for Candidate
5375
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5376
+ * @returns The default type url
5377
+ */
5378
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5379
+ }
5380
+
5381
+ /** Properties of a Candidates. */
5382
+ interface ICandidates {
5383
+
5384
+ /** Candidates roomId */
5385
+ roomId?: (string|null);
5386
+
5387
+ /** Candidates senderId */
5388
+ senderId?: (string|null);
5389
+
5390
+ /** Candidates receiverId */
5391
+ receiverId?: (string|null);
5392
+
5393
+ /** Candidates candidates */
5394
+ candidates?: (com.quick.voice.proto.ICandidate[]|null);
5395
+
5396
+ /** Candidates isSubscribeReceiver */
5397
+ isSubscribeReceiver?: (boolean|null);
5398
+ }
5399
+
5400
+ /** Represents a Candidates. */
5401
+ class Candidates implements ICandidates {
5402
+
5403
+ /**
5404
+ * Constructs a new Candidates.
5405
+ * @param [properties] Properties to set
5406
+ */
5407
+ constructor(properties?: com.quick.voice.proto.ICandidates);
5408
+
5409
+ /** Candidates roomId. */
5410
+ public roomId: string;
5411
+
5412
+ /** Candidates senderId. */
5413
+ public senderId: string;
5414
+
5415
+ /** Candidates receiverId. */
5416
+ public receiverId: string;
5417
+
5418
+ /** Candidates candidates. */
5419
+ public candidates: com.quick.voice.proto.ICandidate[];
5420
+
5421
+ /** Candidates isSubscribeReceiver. */
5422
+ public isSubscribeReceiver: boolean;
5423
+
5424
+ /**
5425
+ * Creates a new Candidates instance using the specified properties.
5426
+ * @param [properties] Properties to set
5427
+ * @returns Candidates instance
5428
+ */
5429
+ public static create(properties?: com.quick.voice.proto.ICandidates): com.quick.voice.proto.Candidates;
5430
+
5431
+ /**
5432
+ * Encodes the specified Candidates message. Does not implicitly {@link com.quick.voice.proto.Candidates.verify|verify} messages.
5433
+ * @param message Candidates message or plain object to encode
5434
+ * @param [writer] Writer to encode to
5435
+ * @returns Writer
5436
+ */
5437
+ public static encode(message: com.quick.voice.proto.ICandidates, writer?: $protobuf.Writer): $protobuf.Writer;
5438
+
5439
+ /**
5440
+ * Encodes the specified Candidates message, length delimited. Does not implicitly {@link com.quick.voice.proto.Candidates.verify|verify} messages.
5441
+ * @param message Candidates message or plain object to encode
5442
+ * @param [writer] Writer to encode to
5443
+ * @returns Writer
5444
+ */
5445
+ public static encodeDelimited(message: com.quick.voice.proto.ICandidates, writer?: $protobuf.Writer): $protobuf.Writer;
5446
+
5447
+ /**
5448
+ * Decodes a Candidates message from the specified reader or buffer.
5449
+ * @param reader Reader or buffer to decode from
5450
+ * @param [length] Message length if known beforehand
5451
+ * @returns Candidates
5452
+ * @throws {Error} If the payload is not a reader or valid buffer
5453
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5454
+ */
5455
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.Candidates;
5456
+
5457
+ /**
5458
+ * Decodes a Candidates message from the specified reader or buffer, length delimited.
5459
+ * @param reader Reader or buffer to decode from
5460
+ * @returns Candidates
5461
+ * @throws {Error} If the payload is not a reader or valid buffer
5462
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5463
+ */
5464
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.Candidates;
5465
+
5466
+ /**
5467
+ * Verifies a Candidates message.
5468
+ * @param message Plain object to verify
5469
+ * @returns `null` if valid, otherwise the reason why it is not
5470
+ */
5471
+ public static verify(message: { [k: string]: any }): (string|null);
5472
+
5473
+ /**
5474
+ * Creates a Candidates message from a plain object. Also converts values to their respective internal types.
5475
+ * @param object Plain object
5476
+ * @returns Candidates
5477
+ */
5478
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.Candidates;
5479
+
5480
+ /**
5481
+ * Creates a plain object from a Candidates message. Also converts values to other types if specified.
5482
+ * @param message Candidates
5483
+ * @param [options] Conversion options
5484
+ * @returns Plain object
5485
+ */
5486
+ public static toObject(message: com.quick.voice.proto.Candidates, options?: $protobuf.IConversionOptions): { [k: string]: any };
5487
+
5488
+ /**
5489
+ * Converts this Candidates to JSON.
5490
+ * @returns JSON object
5491
+ */
5492
+ public toJSON(): { [k: string]: any };
5493
+
5494
+ /**
5495
+ * Gets the default type url for Candidates
5496
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5497
+ * @returns The default type url
5498
+ */
5499
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5500
+ }
5501
+
5502
+ /** NatType enum. */
5503
+ enum NatType {
5504
+ Symmetric = 0,
5505
+ Cone = 1,
5506
+ Port = 2,
5507
+ IP = 3,
5508
+ UnKnown = 4
5509
+ }
5510
+
5511
+ /** NetworkType enum. */
5512
+ enum NetworkType {
5513
+ Wifi = 0,
5514
+ Wired = 1,
5515
+ Mobile = 2
5516
+ }
5517
+
5518
+ /** Properties of a ReportNetInfo. */
5519
+ interface IReportNetInfo {
5520
+
5521
+ /** ReportNetInfo nat */
5522
+ nat?: (com.quick.voice.proto.NatType|null);
5523
+
5524
+ /** ReportNetInfo type */
5525
+ type?: (com.quick.voice.proto.NetworkType|null);
5526
+ }
5527
+
5528
+ /** Represents a ReportNetInfo. */
5529
+ class ReportNetInfo implements IReportNetInfo {
5530
+
5531
+ /**
5532
+ * Constructs a new ReportNetInfo.
5533
+ * @param [properties] Properties to set
5534
+ */
5535
+ constructor(properties?: com.quick.voice.proto.IReportNetInfo);
5536
+
5537
+ /** ReportNetInfo nat. */
5538
+ public nat: com.quick.voice.proto.NatType;
5539
+
5540
+ /** ReportNetInfo type. */
5541
+ public type: com.quick.voice.proto.NetworkType;
5542
+
5543
+ /**
5544
+ * Creates a new ReportNetInfo instance using the specified properties.
5545
+ * @param [properties] Properties to set
5546
+ * @returns ReportNetInfo instance
5547
+ */
5548
+ public static create(properties?: com.quick.voice.proto.IReportNetInfo): com.quick.voice.proto.ReportNetInfo;
5549
+
5550
+ /**
5551
+ * Encodes the specified ReportNetInfo message. Does not implicitly {@link com.quick.voice.proto.ReportNetInfo.verify|verify} messages.
5552
+ * @param message ReportNetInfo message or plain object to encode
5553
+ * @param [writer] Writer to encode to
5554
+ * @returns Writer
5555
+ */
5556
+ public static encode(message: com.quick.voice.proto.IReportNetInfo, writer?: $protobuf.Writer): $protobuf.Writer;
5557
+
5558
+ /**
5559
+ * Encodes the specified ReportNetInfo message, length delimited. Does not implicitly {@link com.quick.voice.proto.ReportNetInfo.verify|verify} messages.
5560
+ * @param message ReportNetInfo message or plain object to encode
5561
+ * @param [writer] Writer to encode to
5562
+ * @returns Writer
5563
+ */
5564
+ public static encodeDelimited(message: com.quick.voice.proto.IReportNetInfo, writer?: $protobuf.Writer): $protobuf.Writer;
5565
+
5566
+ /**
5567
+ * Decodes a ReportNetInfo message from the specified reader or buffer.
5568
+ * @param reader Reader or buffer to decode from
5569
+ * @param [length] Message length if known beforehand
5570
+ * @returns ReportNetInfo
5571
+ * @throws {Error} If the payload is not a reader or valid buffer
5572
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5573
+ */
5574
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.ReportNetInfo;
5575
+
5576
+ /**
5577
+ * Decodes a ReportNetInfo message from the specified reader or buffer, length delimited.
5578
+ * @param reader Reader or buffer to decode from
5579
+ * @returns ReportNetInfo
5580
+ * @throws {Error} If the payload is not a reader or valid buffer
5581
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5582
+ */
5583
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.ReportNetInfo;
5584
+
5585
+ /**
5586
+ * Verifies a ReportNetInfo message.
5587
+ * @param message Plain object to verify
5588
+ * @returns `null` if valid, otherwise the reason why it is not
5589
+ */
5590
+ public static verify(message: { [k: string]: any }): (string|null);
5591
+
5592
+ /**
5593
+ * Creates a ReportNetInfo message from a plain object. Also converts values to their respective internal types.
5594
+ * @param object Plain object
5595
+ * @returns ReportNetInfo
5596
+ */
5597
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.ReportNetInfo;
5598
+
5599
+ /**
5600
+ * Creates a plain object from a ReportNetInfo message. Also converts values to other types if specified.
5601
+ * @param message ReportNetInfo
5602
+ * @param [options] Conversion options
5603
+ * @returns Plain object
5604
+ */
5605
+ public static toObject(message: com.quick.voice.proto.ReportNetInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
5606
+
5607
+ /**
5608
+ * Converts this ReportNetInfo to JSON.
5609
+ * @returns JSON object
5610
+ */
5611
+ public toJSON(): { [k: string]: any };
5612
+
5613
+ /**
5614
+ * Gets the default type url for ReportNetInfo
5615
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5616
+ * @returns The default type url
5617
+ */
5618
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5619
+ }
5620
+
5621
+ /** P2PCode enum. */
5622
+ enum P2PCode {
5623
+ Success = 0,
5624
+ Failed = 1,
5625
+ Ignore = 2,
5626
+ Disconnected = 3
5627
+ }
5628
+
5629
+ /** Properties of a ReportP2PReq. */
5630
+ interface IReportP2PReq {
5631
+
5632
+ /** ReportP2PReq code */
5633
+ code?: (com.quick.voice.proto.P2PCode|null);
5634
+
5635
+ /** ReportP2PReq userId */
5636
+ userId?: (string|null);
5637
+
5638
+ /** ReportP2PReq reason */
5639
+ reason?: (string|null);
5640
+
5641
+ /** ReportP2PReq pushUserIds */
5642
+ pushUserIds?: (string[]|null);
5643
+
5644
+ /** ReportP2PReq origin */
5645
+ origin?: (string|null);
5646
+
5647
+ /** ReportP2PReq connectedTime */
5648
+ connectedTime?: (string|null);
5649
+ }
5650
+
5651
+ /** Represents a ReportP2PReq. */
5652
+ class ReportP2PReq implements IReportP2PReq {
5653
+
5654
+ /**
5655
+ * Constructs a new ReportP2PReq.
5656
+ * @param [properties] Properties to set
5657
+ */
5658
+ constructor(properties?: com.quick.voice.proto.IReportP2PReq);
5659
+
5660
+ /** ReportP2PReq code. */
5661
+ public code: com.quick.voice.proto.P2PCode;
5662
+
5663
+ /** ReportP2PReq userId. */
5664
+ public userId: string;
5665
+
5666
+ /** ReportP2PReq reason. */
5667
+ public reason?: (string|null);
5668
+
5669
+ /** ReportP2PReq pushUserIds. */
5670
+ public pushUserIds: string[];
5671
+
5672
+ /** ReportP2PReq origin. */
5673
+ public origin: string;
5674
+
5675
+ /** ReportP2PReq connectedTime. */
5676
+ public connectedTime?: (string|null);
5677
+
5678
+ /**
5679
+ * Creates a new ReportP2PReq instance using the specified properties.
5680
+ * @param [properties] Properties to set
5681
+ * @returns ReportP2PReq instance
5682
+ */
5683
+ public static create(properties?: com.quick.voice.proto.IReportP2PReq): com.quick.voice.proto.ReportP2PReq;
5684
+
5685
+ /**
5686
+ * Encodes the specified ReportP2PReq message. Does not implicitly {@link com.quick.voice.proto.ReportP2PReq.verify|verify} messages.
5687
+ * @param message ReportP2PReq message or plain object to encode
5688
+ * @param [writer] Writer to encode to
5689
+ * @returns Writer
5690
+ */
5691
+ public static encode(message: com.quick.voice.proto.IReportP2PReq, writer?: $protobuf.Writer): $protobuf.Writer;
5692
+
5693
+ /**
5694
+ * Encodes the specified ReportP2PReq message, length delimited. Does not implicitly {@link com.quick.voice.proto.ReportP2PReq.verify|verify} messages.
5695
+ * @param message ReportP2PReq message or plain object to encode
5696
+ * @param [writer] Writer to encode to
5697
+ * @returns Writer
5698
+ */
5699
+ public static encodeDelimited(message: com.quick.voice.proto.IReportP2PReq, writer?: $protobuf.Writer): $protobuf.Writer;
5700
+
5701
+ /**
5702
+ * Decodes a ReportP2PReq message from the specified reader or buffer.
5703
+ * @param reader Reader or buffer to decode from
5704
+ * @param [length] Message length if known beforehand
5705
+ * @returns ReportP2PReq
5706
+ * @throws {Error} If the payload is not a reader or valid buffer
5707
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5708
+ */
5709
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.ReportP2PReq;
5710
+
5711
+ /**
5712
+ * Decodes a ReportP2PReq message from the specified reader or buffer, length delimited.
5713
+ * @param reader Reader or buffer to decode from
5714
+ * @returns ReportP2PReq
5715
+ * @throws {Error} If the payload is not a reader or valid buffer
5716
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5717
+ */
5718
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.ReportP2PReq;
5719
+
5720
+ /**
5721
+ * Verifies a ReportP2PReq message.
5722
+ * @param message Plain object to verify
5723
+ * @returns `null` if valid, otherwise the reason why it is not
5724
+ */
5725
+ public static verify(message: { [k: string]: any }): (string|null);
5726
+
5727
+ /**
5728
+ * Creates a ReportP2PReq message from a plain object. Also converts values to their respective internal types.
5729
+ * @param object Plain object
5730
+ * @returns ReportP2PReq
5731
+ */
5732
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.ReportP2PReq;
5733
+
5734
+ /**
5735
+ * Creates a plain object from a ReportP2PReq message. Also converts values to other types if specified.
5736
+ * @param message ReportP2PReq
5737
+ * @param [options] Conversion options
5738
+ * @returns Plain object
5739
+ */
5740
+ public static toObject(message: com.quick.voice.proto.ReportP2PReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
5741
+
5742
+ /**
5743
+ * Converts this ReportP2PReq to JSON.
5744
+ * @returns JSON object
5745
+ */
5746
+ public toJSON(): { [k: string]: any };
5747
+
5748
+ /**
5749
+ * Gets the default type url for ReportP2PReq
5750
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5751
+ * @returns The default type url
5752
+ */
5753
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5754
+ }
5755
+
5756
+ /** Properties of a ReportTrafficUsage. */
5757
+ interface IReportTrafficUsage {
5758
+
5759
+ /** ReportTrafficUsage p2pPush */
5760
+ p2pPush?: (number|Long|null);
5761
+
5762
+ /** ReportTrafficUsage p2pPull */
5763
+ p2pPull?: (number|Long|null);
5764
+
5765
+ /** ReportTrafficUsage sfuPush */
5766
+ sfuPush?: (number|Long|null);
5767
+
5768
+ /** ReportTrafficUsage sfuPull */
5769
+ sfuPull?: (number|Long|null);
5770
+ }
5771
+
5772
+ /** Represents a ReportTrafficUsage. */
5773
+ class ReportTrafficUsage implements IReportTrafficUsage {
5774
+
5775
+ /**
5776
+ * Constructs a new ReportTrafficUsage.
5777
+ * @param [properties] Properties to set
5778
+ */
5779
+ constructor(properties?: com.quick.voice.proto.IReportTrafficUsage);
5780
+
5781
+ /** ReportTrafficUsage p2pPush. */
5782
+ public p2pPush?: (number|Long|null);
5783
+
5784
+ /** ReportTrafficUsage p2pPull. */
5785
+ public p2pPull?: (number|Long|null);
5786
+
5787
+ /** ReportTrafficUsage sfuPush. */
5788
+ public sfuPush?: (number|Long|null);
5789
+
5790
+ /** ReportTrafficUsage sfuPull. */
5791
+ public sfuPull?: (number|Long|null);
5792
+
5793
+ /**
5794
+ * Creates a new ReportTrafficUsage instance using the specified properties.
5795
+ * @param [properties] Properties to set
5796
+ * @returns ReportTrafficUsage instance
5797
+ */
5798
+ public static create(properties?: com.quick.voice.proto.IReportTrafficUsage): com.quick.voice.proto.ReportTrafficUsage;
5799
+
5800
+ /**
5801
+ * Encodes the specified ReportTrafficUsage message. Does not implicitly {@link com.quick.voice.proto.ReportTrafficUsage.verify|verify} messages.
5802
+ * @param message ReportTrafficUsage message or plain object to encode
5803
+ * @param [writer] Writer to encode to
5804
+ * @returns Writer
5805
+ */
5806
+ public static encode(message: com.quick.voice.proto.IReportTrafficUsage, writer?: $protobuf.Writer): $protobuf.Writer;
5807
+
5808
+ /**
5809
+ * Encodes the specified ReportTrafficUsage message, length delimited. Does not implicitly {@link com.quick.voice.proto.ReportTrafficUsage.verify|verify} messages.
5810
+ * @param message ReportTrafficUsage message or plain object to encode
5811
+ * @param [writer] Writer to encode to
5812
+ * @returns Writer
5813
+ */
5814
+ public static encodeDelimited(message: com.quick.voice.proto.IReportTrafficUsage, writer?: $protobuf.Writer): $protobuf.Writer;
5815
+
5816
+ /**
5817
+ * Decodes a ReportTrafficUsage message from the specified reader or buffer.
5818
+ * @param reader Reader or buffer to decode from
5819
+ * @param [length] Message length if known beforehand
5820
+ * @returns ReportTrafficUsage
5821
+ * @throws {Error} If the payload is not a reader or valid buffer
5822
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5823
+ */
5824
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.ReportTrafficUsage;
5825
+
5826
+ /**
5827
+ * Decodes a ReportTrafficUsage message from the specified reader or buffer, length delimited.
5828
+ * @param reader Reader or buffer to decode from
5829
+ * @returns ReportTrafficUsage
5830
+ * @throws {Error} If the payload is not a reader or valid buffer
5831
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5832
+ */
5833
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.ReportTrafficUsage;
5834
+
5835
+ /**
5836
+ * Verifies a ReportTrafficUsage message.
5837
+ * @param message Plain object to verify
5838
+ * @returns `null` if valid, otherwise the reason why it is not
5839
+ */
5840
+ public static verify(message: { [k: string]: any }): (string|null);
5841
+
5842
+ /**
5843
+ * Creates a ReportTrafficUsage message from a plain object. Also converts values to their respective internal types.
5844
+ * @param object Plain object
5845
+ * @returns ReportTrafficUsage
5846
+ */
5847
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.ReportTrafficUsage;
5848
+
5849
+ /**
5850
+ * Creates a plain object from a ReportTrafficUsage message. Also converts values to other types if specified.
5851
+ * @param message ReportTrafficUsage
5852
+ * @param [options] Conversion options
5853
+ * @returns Plain object
5854
+ */
5855
+ public static toObject(message: com.quick.voice.proto.ReportTrafficUsage, options?: $protobuf.IConversionOptions): { [k: string]: any };
5856
+
5857
+ /**
5858
+ * Converts this ReportTrafficUsage to JSON.
5859
+ * @returns JSON object
5860
+ */
5861
+ public toJSON(): { [k: string]: any };
5862
+
5863
+ /**
5864
+ * Gets the default type url for ReportTrafficUsage
5865
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5866
+ * @returns The default type url
5867
+ */
5868
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5869
+ }
5870
+
5871
+ /** Properties of a P2PAttemptConnectReq. */
5872
+ interface IP2PAttemptConnectReq {
5873
+
5874
+ /** P2PAttemptConnectReq userId */
5875
+ userId?: (string|null);
5876
+
5877
+ /** P2PAttemptConnectReq roomId */
5878
+ roomId?: (string|null);
5879
+ }
5880
+
5881
+ /** Represents a P2PAttemptConnectReq. */
5882
+ class P2PAttemptConnectReq implements IP2PAttemptConnectReq {
5883
+
5884
+ /**
5885
+ * Constructs a new P2PAttemptConnectReq.
5886
+ * @param [properties] Properties to set
5887
+ */
5888
+ constructor(properties?: com.quick.voice.proto.IP2PAttemptConnectReq);
5889
+
5890
+ /** P2PAttemptConnectReq userId. */
5891
+ public userId: string;
5892
+
5893
+ /** P2PAttemptConnectReq roomId. */
5894
+ public roomId: string;
5895
+
5896
+ /**
5897
+ * Creates a new P2PAttemptConnectReq instance using the specified properties.
5898
+ * @param [properties] Properties to set
5899
+ * @returns P2PAttemptConnectReq instance
5900
+ */
5901
+ public static create(properties?: com.quick.voice.proto.IP2PAttemptConnectReq): com.quick.voice.proto.P2PAttemptConnectReq;
5902
+
5903
+ /**
5904
+ * Encodes the specified P2PAttemptConnectReq message. Does not implicitly {@link com.quick.voice.proto.P2PAttemptConnectReq.verify|verify} messages.
5905
+ * @param message P2PAttemptConnectReq message or plain object to encode
5906
+ * @param [writer] Writer to encode to
5907
+ * @returns Writer
5908
+ */
5909
+ public static encode(message: com.quick.voice.proto.IP2PAttemptConnectReq, writer?: $protobuf.Writer): $protobuf.Writer;
5910
+
5911
+ /**
5912
+ * Encodes the specified P2PAttemptConnectReq message, length delimited. Does not implicitly {@link com.quick.voice.proto.P2PAttemptConnectReq.verify|verify} messages.
5913
+ * @param message P2PAttemptConnectReq message or plain object to encode
5914
+ * @param [writer] Writer to encode to
5915
+ * @returns Writer
5916
+ */
5917
+ public static encodeDelimited(message: com.quick.voice.proto.IP2PAttemptConnectReq, writer?: $protobuf.Writer): $protobuf.Writer;
5918
+
5919
+ /**
5920
+ * Decodes a P2PAttemptConnectReq message from the specified reader or buffer.
5921
+ * @param reader Reader or buffer to decode from
5922
+ * @param [length] Message length if known beforehand
5923
+ * @returns P2PAttemptConnectReq
5924
+ * @throws {Error} If the payload is not a reader or valid buffer
5925
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5926
+ */
5927
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.P2PAttemptConnectReq;
5928
+
5929
+ /**
5930
+ * Decodes a P2PAttemptConnectReq message from the specified reader or buffer, length delimited.
5931
+ * @param reader Reader or buffer to decode from
5932
+ * @returns P2PAttemptConnectReq
5933
+ * @throws {Error} If the payload is not a reader or valid buffer
5934
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5935
+ */
5936
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.P2PAttemptConnectReq;
5937
+
5938
+ /**
5939
+ * Verifies a P2PAttemptConnectReq message.
5940
+ * @param message Plain object to verify
5941
+ * @returns `null` if valid, otherwise the reason why it is not
5942
+ */
5943
+ public static verify(message: { [k: string]: any }): (string|null);
5944
+
5945
+ /**
5946
+ * Creates a P2PAttemptConnectReq message from a plain object. Also converts values to their respective internal types.
5947
+ * @param object Plain object
5948
+ * @returns P2PAttemptConnectReq
5949
+ */
5950
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.P2PAttemptConnectReq;
5951
+
5952
+ /**
5953
+ * Creates a plain object from a P2PAttemptConnectReq message. Also converts values to other types if specified.
5954
+ * @param message P2PAttemptConnectReq
5955
+ * @param [options] Conversion options
5956
+ * @returns Plain object
5957
+ */
5958
+ public static toObject(message: com.quick.voice.proto.P2PAttemptConnectReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
5959
+
5960
+ /**
5961
+ * Converts this P2PAttemptConnectReq to JSON.
5962
+ * @returns JSON object
5963
+ */
5964
+ public toJSON(): { [k: string]: any };
5965
+
5966
+ /**
5967
+ * Gets the default type url for P2PAttemptConnectReq
5968
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5969
+ * @returns The default type url
5970
+ */
5971
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5972
+ }
5973
+
5974
+ /** Properties of a CheckSessionReq. */
5975
+ interface ICheckSessionReq {
5976
+
5977
+ /** CheckSessionReq session */
5978
+ session?: (string|null);
5979
+
5980
+ /** CheckSessionReq tracks */
5981
+ tracks?: (com.quick.voice.proto.ITrack[]|null);
5982
+ }
5983
+
5984
+ /** Represents a CheckSessionReq. */
5985
+ class CheckSessionReq implements ICheckSessionReq {
5986
+
5987
+ /**
5988
+ * Constructs a new CheckSessionReq.
5989
+ * @param [properties] Properties to set
5990
+ */
5991
+ constructor(properties?: com.quick.voice.proto.ICheckSessionReq);
5992
+
5993
+ /** CheckSessionReq session. */
5994
+ public session: string;
5995
+
5996
+ /** CheckSessionReq tracks. */
5997
+ public tracks: com.quick.voice.proto.ITrack[];
5998
+
5999
+ /**
6000
+ * Creates a new CheckSessionReq instance using the specified properties.
6001
+ * @param [properties] Properties to set
6002
+ * @returns CheckSessionReq instance
6003
+ */
6004
+ public static create(properties?: com.quick.voice.proto.ICheckSessionReq): com.quick.voice.proto.CheckSessionReq;
6005
+
6006
+ /**
6007
+ * Encodes the specified CheckSessionReq message. Does not implicitly {@link com.quick.voice.proto.CheckSessionReq.verify|verify} messages.
6008
+ * @param message CheckSessionReq message or plain object to encode
6009
+ * @param [writer] Writer to encode to
6010
+ * @returns Writer
6011
+ */
6012
+ public static encode(message: com.quick.voice.proto.ICheckSessionReq, writer?: $protobuf.Writer): $protobuf.Writer;
6013
+
6014
+ /**
6015
+ * Encodes the specified CheckSessionReq message, length delimited. Does not implicitly {@link com.quick.voice.proto.CheckSessionReq.verify|verify} messages.
6016
+ * @param message CheckSessionReq message or plain object to encode
6017
+ * @param [writer] Writer to encode to
6018
+ * @returns Writer
6019
+ */
6020
+ public static encodeDelimited(message: com.quick.voice.proto.ICheckSessionReq, writer?: $protobuf.Writer): $protobuf.Writer;
6021
+
6022
+ /**
6023
+ * Decodes a CheckSessionReq message from the specified reader or buffer.
6024
+ * @param reader Reader or buffer to decode from
6025
+ * @param [length] Message length if known beforehand
6026
+ * @returns CheckSessionReq
6027
+ * @throws {Error} If the payload is not a reader or valid buffer
6028
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6029
+ */
6030
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.CheckSessionReq;
6031
+
6032
+ /**
6033
+ * Decodes a CheckSessionReq message from the specified reader or buffer, length delimited.
6034
+ * @param reader Reader or buffer to decode from
6035
+ * @returns CheckSessionReq
6036
+ * @throws {Error} If the payload is not a reader or valid buffer
6037
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6038
+ */
6039
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.CheckSessionReq;
6040
+
6041
+ /**
6042
+ * Verifies a CheckSessionReq message.
6043
+ * @param message Plain object to verify
6044
+ * @returns `null` if valid, otherwise the reason why it is not
6045
+ */
6046
+ public static verify(message: { [k: string]: any }): (string|null);
6047
+
6048
+ /**
6049
+ * Creates a CheckSessionReq message from a plain object. Also converts values to their respective internal types.
6050
+ * @param object Plain object
6051
+ * @returns CheckSessionReq
6052
+ */
6053
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.CheckSessionReq;
6054
+
6055
+ /**
6056
+ * Creates a plain object from a CheckSessionReq message. Also converts values to other types if specified.
6057
+ * @param message CheckSessionReq
6058
+ * @param [options] Conversion options
6059
+ * @returns Plain object
6060
+ */
6061
+ public static toObject(message: com.quick.voice.proto.CheckSessionReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
6062
+
6063
+ /**
6064
+ * Converts this CheckSessionReq to JSON.
6065
+ * @returns JSON object
6066
+ */
6067
+ public toJSON(): { [k: string]: any };
6068
+
6069
+ /**
6070
+ * Gets the default type url for CheckSessionReq
6071
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6072
+ * @returns The default type url
6073
+ */
6074
+ public static getTypeUrl(typeUrlPrefix?: string): string;
6075
+ }
6076
+
6077
+ /** Properties of a CheckSessionRsq. */
6078
+ interface ICheckSessionRsq {
6079
+
6080
+ /** CheckSessionRsq sessionIsValid */
6081
+ sessionIsValid?: (boolean|null);
6082
+
6083
+ /** CheckSessionRsq tracks */
6084
+ tracks?: (com.quick.voice.proto.ITrack[]|null);
6085
+
6086
+ /** CheckSessionRsq session */
6087
+ session?: (string|null);
6088
+ }
6089
+
6090
+ /** Represents a CheckSessionRsq. */
6091
+ class CheckSessionRsq implements ICheckSessionRsq {
6092
+
6093
+ /**
6094
+ * Constructs a new CheckSessionRsq.
6095
+ * @param [properties] Properties to set
6096
+ */
6097
+ constructor(properties?: com.quick.voice.proto.ICheckSessionRsq);
6098
+
6099
+ /** CheckSessionRsq sessionIsValid. */
6100
+ public sessionIsValid: boolean;
6101
+
6102
+ /** CheckSessionRsq tracks. */
6103
+ public tracks: com.quick.voice.proto.ITrack[];
6104
+
6105
+ /** CheckSessionRsq session. */
6106
+ public session: string;
6107
+
6108
+ /**
6109
+ * Creates a new CheckSessionRsq instance using the specified properties.
6110
+ * @param [properties] Properties to set
6111
+ * @returns CheckSessionRsq instance
6112
+ */
6113
+ public static create(properties?: com.quick.voice.proto.ICheckSessionRsq): com.quick.voice.proto.CheckSessionRsq;
6114
+
6115
+ /**
6116
+ * Encodes the specified CheckSessionRsq message. Does not implicitly {@link com.quick.voice.proto.CheckSessionRsq.verify|verify} messages.
6117
+ * @param message CheckSessionRsq message or plain object to encode
6118
+ * @param [writer] Writer to encode to
6119
+ * @returns Writer
6120
+ */
6121
+ public static encode(message: com.quick.voice.proto.ICheckSessionRsq, writer?: $protobuf.Writer): $protobuf.Writer;
6122
+
6123
+ /**
6124
+ * Encodes the specified CheckSessionRsq message, length delimited. Does not implicitly {@link com.quick.voice.proto.CheckSessionRsq.verify|verify} messages.
6125
+ * @param message CheckSessionRsq message or plain object to encode
6126
+ * @param [writer] Writer to encode to
6127
+ * @returns Writer
6128
+ */
6129
+ public static encodeDelimited(message: com.quick.voice.proto.ICheckSessionRsq, writer?: $protobuf.Writer): $protobuf.Writer;
6130
+
6131
+ /**
6132
+ * Decodes a CheckSessionRsq message from the specified reader or buffer.
6133
+ * @param reader Reader or buffer to decode from
6134
+ * @param [length] Message length if known beforehand
6135
+ * @returns CheckSessionRsq
6136
+ * @throws {Error} If the payload is not a reader or valid buffer
6137
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6138
+ */
6139
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.CheckSessionRsq;
6140
+
6141
+ /**
6142
+ * Decodes a CheckSessionRsq message from the specified reader or buffer, length delimited.
6143
+ * @param reader Reader or buffer to decode from
6144
+ * @returns CheckSessionRsq
6145
+ * @throws {Error} If the payload is not a reader or valid buffer
6146
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6147
+ */
6148
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.CheckSessionRsq;
6149
+
6150
+ /**
6151
+ * Verifies a CheckSessionRsq message.
6152
+ * @param message Plain object to verify
6153
+ * @returns `null` if valid, otherwise the reason why it is not
6154
+ */
6155
+ public static verify(message: { [k: string]: any }): (string|null);
6156
+
6157
+ /**
6158
+ * Creates a CheckSessionRsq message from a plain object. Also converts values to their respective internal types.
6159
+ * @param object Plain object
6160
+ * @returns CheckSessionRsq
6161
+ */
6162
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.CheckSessionRsq;
6163
+
6164
+ /**
6165
+ * Creates a plain object from a CheckSessionRsq message. Also converts values to other types if specified.
6166
+ * @param message CheckSessionRsq
6167
+ * @param [options] Conversion options
6168
+ * @returns Plain object
6169
+ */
6170
+ public static toObject(message: com.quick.voice.proto.CheckSessionRsq, options?: $protobuf.IConversionOptions): { [k: string]: any };
6171
+
6172
+ /**
6173
+ * Converts this CheckSessionRsq to JSON.
6174
+ * @returns JSON object
6175
+ */
6176
+ public toJSON(): { [k: string]: any };
6177
+
6178
+ /**
6179
+ * Gets the default type url for CheckSessionRsq
6180
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6181
+ * @returns The default type url
6182
+ */
6183
+ public static getTypeUrl(typeUrlPrefix?: string): string;
6184
+ }
5465
6185
  }
5466
6186
  }
5467
6187
  }