quickvo-sdk-js 1.3.2 → 1.4.1

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
@@ -3427,212 +3433,6 @@ export namespace com {
3427
3433
  public static getTypeUrl(typeUrlPrefix?: string): string;
3428
3434
  }
3429
3435
 
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
3436
  /** TrackType enum. */
3637
3437
  enum TrackType {
3638
3438
  Microphone = 0,
@@ -3641,127 +3441,6 @@ export namespace com {
3641
3441
  SystemVoice = 3
3642
3442
  }
3643
3443
 
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
3444
  /** Properties of an UpdatePermissions. */
3766
3445
  interface IUpdatePermissions {
3767
3446
 
@@ -5462,6 +5141,1042 @@ export namespace com {
5462
5141
  */
5463
5142
  public static getTypeUrl(typeUrlPrefix?: string): string;
5464
5143
  }
5144
+
5145
+ /** Properties of a SdpConsult. */
5146
+ interface ISdpConsult {
5147
+
5148
+ /** SdpConsult roomId */
5149
+ roomId?: (string|null);
5150
+
5151
+ /** SdpConsult sender */
5152
+ sender?: (com.quick.voice.proto.IUser|null);
5153
+
5154
+ /** SdpConsult receiverId */
5155
+ receiverId?: (string|null);
5156
+
5157
+ /** SdpConsult sdp */
5158
+ sdp?: (string|null);
5159
+
5160
+ /** SdpConsult tracks */
5161
+ tracks?: (com.quick.voice.proto.ITrack[]|null);
5162
+ }
5163
+
5164
+ /** Represents a SdpConsult. */
5165
+ class SdpConsult implements ISdpConsult {
5166
+
5167
+ /**
5168
+ * Constructs a new SdpConsult.
5169
+ * @param [properties] Properties to set
5170
+ */
5171
+ constructor(properties?: com.quick.voice.proto.ISdpConsult);
5172
+
5173
+ /** SdpConsult roomId. */
5174
+ public roomId: string;
5175
+
5176
+ /** SdpConsult sender. */
5177
+ public sender?: (com.quick.voice.proto.IUser|null);
5178
+
5179
+ /** SdpConsult receiverId. */
5180
+ public receiverId: string;
5181
+
5182
+ /** SdpConsult sdp. */
5183
+ public sdp: string;
5184
+
5185
+ /** SdpConsult tracks. */
5186
+ public tracks: com.quick.voice.proto.ITrack[];
5187
+
5188
+ /**
5189
+ * Creates a new SdpConsult instance using the specified properties.
5190
+ * @param [properties] Properties to set
5191
+ * @returns SdpConsult instance
5192
+ */
5193
+ public static create(properties?: com.quick.voice.proto.ISdpConsult): com.quick.voice.proto.SdpConsult;
5194
+
5195
+ /**
5196
+ * Encodes the specified SdpConsult message. Does not implicitly {@link com.quick.voice.proto.SdpConsult.verify|verify} messages.
5197
+ * @param message SdpConsult message or plain object to encode
5198
+ * @param [writer] Writer to encode to
5199
+ * @returns Writer
5200
+ */
5201
+ public static encode(message: com.quick.voice.proto.ISdpConsult, writer?: $protobuf.Writer): $protobuf.Writer;
5202
+
5203
+ /**
5204
+ * Encodes the specified SdpConsult message, length delimited. Does not implicitly {@link com.quick.voice.proto.SdpConsult.verify|verify} messages.
5205
+ * @param message SdpConsult message or plain object to encode
5206
+ * @param [writer] Writer to encode to
5207
+ * @returns Writer
5208
+ */
5209
+ public static encodeDelimited(message: com.quick.voice.proto.ISdpConsult, writer?: $protobuf.Writer): $protobuf.Writer;
5210
+
5211
+ /**
5212
+ * Decodes a SdpConsult message from the specified reader or buffer.
5213
+ * @param reader Reader or buffer to decode from
5214
+ * @param [length] Message length if known beforehand
5215
+ * @returns SdpConsult
5216
+ * @throws {Error} If the payload is not a reader or valid buffer
5217
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5218
+ */
5219
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.SdpConsult;
5220
+
5221
+ /**
5222
+ * Decodes a SdpConsult message from the specified reader or buffer, length delimited.
5223
+ * @param reader Reader or buffer to decode from
5224
+ * @returns SdpConsult
5225
+ * @throws {Error} If the payload is not a reader or valid buffer
5226
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5227
+ */
5228
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.SdpConsult;
5229
+
5230
+ /**
5231
+ * Verifies a SdpConsult message.
5232
+ * @param message Plain object to verify
5233
+ * @returns `null` if valid, otherwise the reason why it is not
5234
+ */
5235
+ public static verify(message: { [k: string]: any }): (string|null);
5236
+
5237
+ /**
5238
+ * Creates a SdpConsult message from a plain object. Also converts values to their respective internal types.
5239
+ * @param object Plain object
5240
+ * @returns SdpConsult
5241
+ */
5242
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.SdpConsult;
5243
+
5244
+ /**
5245
+ * Creates a plain object from a SdpConsult message. Also converts values to other types if specified.
5246
+ * @param message SdpConsult
5247
+ * @param [options] Conversion options
5248
+ * @returns Plain object
5249
+ */
5250
+ public static toObject(message: com.quick.voice.proto.SdpConsult, options?: $protobuf.IConversionOptions): { [k: string]: any };
5251
+
5252
+ /**
5253
+ * Converts this SdpConsult to JSON.
5254
+ * @returns JSON object
5255
+ */
5256
+ public toJSON(): { [k: string]: any };
5257
+
5258
+ /**
5259
+ * Gets the default type url for SdpConsult
5260
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5261
+ * @returns The default type url
5262
+ */
5263
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5264
+ }
5265
+
5266
+ /** Properties of a Candidate. */
5267
+ interface ICandidate {
5268
+
5269
+ /** Candidate sdpMid */
5270
+ sdpMid?: (string|null);
5271
+
5272
+ /** Candidate sdpMLineIndex */
5273
+ sdpMLineIndex?: (number|null);
5274
+
5275
+ /** Candidate sdp */
5276
+ sdp?: (string|null);
5277
+ }
5278
+
5279
+ /** Represents a Candidate. */
5280
+ class Candidate implements ICandidate {
5281
+
5282
+ /**
5283
+ * Constructs a new Candidate.
5284
+ * @param [properties] Properties to set
5285
+ */
5286
+ constructor(properties?: com.quick.voice.proto.ICandidate);
5287
+
5288
+ /** Candidate sdpMid. */
5289
+ public sdpMid: string;
5290
+
5291
+ /** Candidate sdpMLineIndex. */
5292
+ public sdpMLineIndex: number;
5293
+
5294
+ /** Candidate sdp. */
5295
+ public sdp: string;
5296
+
5297
+ /**
5298
+ * Creates a new Candidate instance using the specified properties.
5299
+ * @param [properties] Properties to set
5300
+ * @returns Candidate instance
5301
+ */
5302
+ public static create(properties?: com.quick.voice.proto.ICandidate): com.quick.voice.proto.Candidate;
5303
+
5304
+ /**
5305
+ * Encodes the specified Candidate message. Does not implicitly {@link com.quick.voice.proto.Candidate.verify|verify} messages.
5306
+ * @param message Candidate message or plain object to encode
5307
+ * @param [writer] Writer to encode to
5308
+ * @returns Writer
5309
+ */
5310
+ public static encode(message: com.quick.voice.proto.ICandidate, writer?: $protobuf.Writer): $protobuf.Writer;
5311
+
5312
+ /**
5313
+ * Encodes the specified Candidate message, length delimited. Does not implicitly {@link com.quick.voice.proto.Candidate.verify|verify} messages.
5314
+ * @param message Candidate message or plain object to encode
5315
+ * @param [writer] Writer to encode to
5316
+ * @returns Writer
5317
+ */
5318
+ public static encodeDelimited(message: com.quick.voice.proto.ICandidate, writer?: $protobuf.Writer): $protobuf.Writer;
5319
+
5320
+ /**
5321
+ * Decodes a Candidate message from the specified reader or buffer.
5322
+ * @param reader Reader or buffer to decode from
5323
+ * @param [length] Message length if known beforehand
5324
+ * @returns Candidate
5325
+ * @throws {Error} If the payload is not a reader or valid buffer
5326
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5327
+ */
5328
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.Candidate;
5329
+
5330
+ /**
5331
+ * Decodes a Candidate message from the specified reader or buffer, length delimited.
5332
+ * @param reader Reader or buffer to decode from
5333
+ * @returns Candidate
5334
+ * @throws {Error} If the payload is not a reader or valid buffer
5335
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5336
+ */
5337
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.Candidate;
5338
+
5339
+ /**
5340
+ * Verifies a Candidate message.
5341
+ * @param message Plain object to verify
5342
+ * @returns `null` if valid, otherwise the reason why it is not
5343
+ */
5344
+ public static verify(message: { [k: string]: any }): (string|null);
5345
+
5346
+ /**
5347
+ * Creates a Candidate message from a plain object. Also converts values to their respective internal types.
5348
+ * @param object Plain object
5349
+ * @returns Candidate
5350
+ */
5351
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.Candidate;
5352
+
5353
+ /**
5354
+ * Creates a plain object from a Candidate message. Also converts values to other types if specified.
5355
+ * @param message Candidate
5356
+ * @param [options] Conversion options
5357
+ * @returns Plain object
5358
+ */
5359
+ public static toObject(message: com.quick.voice.proto.Candidate, options?: $protobuf.IConversionOptions): { [k: string]: any };
5360
+
5361
+ /**
5362
+ * Converts this Candidate to JSON.
5363
+ * @returns JSON object
5364
+ */
5365
+ public toJSON(): { [k: string]: any };
5366
+
5367
+ /**
5368
+ * Gets the default type url for Candidate
5369
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5370
+ * @returns The default type url
5371
+ */
5372
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5373
+ }
5374
+
5375
+ /** Properties of a Candidates. */
5376
+ interface ICandidates {
5377
+
5378
+ /** Candidates roomId */
5379
+ roomId?: (string|null);
5380
+
5381
+ /** Candidates senderId */
5382
+ senderId?: (string|null);
5383
+
5384
+ /** Candidates receiverId */
5385
+ receiverId?: (string|null);
5386
+
5387
+ /** Candidates candidates */
5388
+ candidates?: (com.quick.voice.proto.ICandidate[]|null);
5389
+
5390
+ /** Candidates isSubscribeReceiver */
5391
+ isSubscribeReceiver?: (boolean|null);
5392
+ }
5393
+
5394
+ /** Represents a Candidates. */
5395
+ class Candidates implements ICandidates {
5396
+
5397
+ /**
5398
+ * Constructs a new Candidates.
5399
+ * @param [properties] Properties to set
5400
+ */
5401
+ constructor(properties?: com.quick.voice.proto.ICandidates);
5402
+
5403
+ /** Candidates roomId. */
5404
+ public roomId: string;
5405
+
5406
+ /** Candidates senderId. */
5407
+ public senderId: string;
5408
+
5409
+ /** Candidates receiverId. */
5410
+ public receiverId: string;
5411
+
5412
+ /** Candidates candidates. */
5413
+ public candidates: com.quick.voice.proto.ICandidate[];
5414
+
5415
+ /** Candidates isSubscribeReceiver. */
5416
+ public isSubscribeReceiver: boolean;
5417
+
5418
+ /**
5419
+ * Creates a new Candidates instance using the specified properties.
5420
+ * @param [properties] Properties to set
5421
+ * @returns Candidates instance
5422
+ */
5423
+ public static create(properties?: com.quick.voice.proto.ICandidates): com.quick.voice.proto.Candidates;
5424
+
5425
+ /**
5426
+ * Encodes the specified Candidates message. Does not implicitly {@link com.quick.voice.proto.Candidates.verify|verify} messages.
5427
+ * @param message Candidates message or plain object to encode
5428
+ * @param [writer] Writer to encode to
5429
+ * @returns Writer
5430
+ */
5431
+ public static encode(message: com.quick.voice.proto.ICandidates, writer?: $protobuf.Writer): $protobuf.Writer;
5432
+
5433
+ /**
5434
+ * Encodes the specified Candidates message, length delimited. Does not implicitly {@link com.quick.voice.proto.Candidates.verify|verify} messages.
5435
+ * @param message Candidates message or plain object to encode
5436
+ * @param [writer] Writer to encode to
5437
+ * @returns Writer
5438
+ */
5439
+ public static encodeDelimited(message: com.quick.voice.proto.ICandidates, writer?: $protobuf.Writer): $protobuf.Writer;
5440
+
5441
+ /**
5442
+ * Decodes a Candidates message from the specified reader or buffer.
5443
+ * @param reader Reader or buffer to decode from
5444
+ * @param [length] Message length if known beforehand
5445
+ * @returns Candidates
5446
+ * @throws {Error} If the payload is not a reader or valid buffer
5447
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5448
+ */
5449
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.Candidates;
5450
+
5451
+ /**
5452
+ * Decodes a Candidates message from the specified reader or buffer, length delimited.
5453
+ * @param reader Reader or buffer to decode from
5454
+ * @returns Candidates
5455
+ * @throws {Error} If the payload is not a reader or valid buffer
5456
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5457
+ */
5458
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.Candidates;
5459
+
5460
+ /**
5461
+ * Verifies a Candidates message.
5462
+ * @param message Plain object to verify
5463
+ * @returns `null` if valid, otherwise the reason why it is not
5464
+ */
5465
+ public static verify(message: { [k: string]: any }): (string|null);
5466
+
5467
+ /**
5468
+ * Creates a Candidates message from a plain object. Also converts values to their respective internal types.
5469
+ * @param object Plain object
5470
+ * @returns Candidates
5471
+ */
5472
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.Candidates;
5473
+
5474
+ /**
5475
+ * Creates a plain object from a Candidates message. Also converts values to other types if specified.
5476
+ * @param message Candidates
5477
+ * @param [options] Conversion options
5478
+ * @returns Plain object
5479
+ */
5480
+ public static toObject(message: com.quick.voice.proto.Candidates, options?: $protobuf.IConversionOptions): { [k: string]: any };
5481
+
5482
+ /**
5483
+ * Converts this Candidates to JSON.
5484
+ * @returns JSON object
5485
+ */
5486
+ public toJSON(): { [k: string]: any };
5487
+
5488
+ /**
5489
+ * Gets the default type url for Candidates
5490
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5491
+ * @returns The default type url
5492
+ */
5493
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5494
+ }
5495
+
5496
+ /** NatType enum. */
5497
+ enum NatType {
5498
+ Symmetric = 0,
5499
+ Cone = 1,
5500
+ Port = 2,
5501
+ IP = 3,
5502
+ UnKnown = 4
5503
+ }
5504
+
5505
+ /** NetworkType enum. */
5506
+ enum NetworkType {
5507
+ Wifi = 0,
5508
+ Wired = 1,
5509
+ Mobile = 2
5510
+ }
5511
+
5512
+ /** Properties of a ReportNetInfo. */
5513
+ interface IReportNetInfo {
5514
+
5515
+ /** ReportNetInfo nat */
5516
+ nat?: (com.quick.voice.proto.NatType|null);
5517
+
5518
+ /** ReportNetInfo type */
5519
+ type?: (com.quick.voice.proto.NetworkType|null);
5520
+ }
5521
+
5522
+ /** Represents a ReportNetInfo. */
5523
+ class ReportNetInfo implements IReportNetInfo {
5524
+
5525
+ /**
5526
+ * Constructs a new ReportNetInfo.
5527
+ * @param [properties] Properties to set
5528
+ */
5529
+ constructor(properties?: com.quick.voice.proto.IReportNetInfo);
5530
+
5531
+ /** ReportNetInfo nat. */
5532
+ public nat: com.quick.voice.proto.NatType;
5533
+
5534
+ /** ReportNetInfo type. */
5535
+ public type: com.quick.voice.proto.NetworkType;
5536
+
5537
+ /**
5538
+ * Creates a new ReportNetInfo instance using the specified properties.
5539
+ * @param [properties] Properties to set
5540
+ * @returns ReportNetInfo instance
5541
+ */
5542
+ public static create(properties?: com.quick.voice.proto.IReportNetInfo): com.quick.voice.proto.ReportNetInfo;
5543
+
5544
+ /**
5545
+ * Encodes the specified ReportNetInfo message. Does not implicitly {@link com.quick.voice.proto.ReportNetInfo.verify|verify} messages.
5546
+ * @param message ReportNetInfo message or plain object to encode
5547
+ * @param [writer] Writer to encode to
5548
+ * @returns Writer
5549
+ */
5550
+ public static encode(message: com.quick.voice.proto.IReportNetInfo, writer?: $protobuf.Writer): $protobuf.Writer;
5551
+
5552
+ /**
5553
+ * Encodes the specified ReportNetInfo message, length delimited. Does not implicitly {@link com.quick.voice.proto.ReportNetInfo.verify|verify} messages.
5554
+ * @param message ReportNetInfo message or plain object to encode
5555
+ * @param [writer] Writer to encode to
5556
+ * @returns Writer
5557
+ */
5558
+ public static encodeDelimited(message: com.quick.voice.proto.IReportNetInfo, writer?: $protobuf.Writer): $protobuf.Writer;
5559
+
5560
+ /**
5561
+ * Decodes a ReportNetInfo message from the specified reader or buffer.
5562
+ * @param reader Reader or buffer to decode from
5563
+ * @param [length] Message length if known beforehand
5564
+ * @returns ReportNetInfo
5565
+ * @throws {Error} If the payload is not a reader or valid buffer
5566
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5567
+ */
5568
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.ReportNetInfo;
5569
+
5570
+ /**
5571
+ * Decodes a ReportNetInfo message from the specified reader or buffer, length delimited.
5572
+ * @param reader Reader or buffer to decode from
5573
+ * @returns ReportNetInfo
5574
+ * @throws {Error} If the payload is not a reader or valid buffer
5575
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5576
+ */
5577
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.ReportNetInfo;
5578
+
5579
+ /**
5580
+ * Verifies a ReportNetInfo message.
5581
+ * @param message Plain object to verify
5582
+ * @returns `null` if valid, otherwise the reason why it is not
5583
+ */
5584
+ public static verify(message: { [k: string]: any }): (string|null);
5585
+
5586
+ /**
5587
+ * Creates a ReportNetInfo message from a plain object. Also converts values to their respective internal types.
5588
+ * @param object Plain object
5589
+ * @returns ReportNetInfo
5590
+ */
5591
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.ReportNetInfo;
5592
+
5593
+ /**
5594
+ * Creates a plain object from a ReportNetInfo message. Also converts values to other types if specified.
5595
+ * @param message ReportNetInfo
5596
+ * @param [options] Conversion options
5597
+ * @returns Plain object
5598
+ */
5599
+ public static toObject(message: com.quick.voice.proto.ReportNetInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
5600
+
5601
+ /**
5602
+ * Converts this ReportNetInfo to JSON.
5603
+ * @returns JSON object
5604
+ */
5605
+ public toJSON(): { [k: string]: any };
5606
+
5607
+ /**
5608
+ * Gets the default type url for ReportNetInfo
5609
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5610
+ * @returns The default type url
5611
+ */
5612
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5613
+ }
5614
+
5615
+ /** P2PCode enum. */
5616
+ enum P2PCode {
5617
+ Success = 0,
5618
+ Failed = 1,
5619
+ Ignore = 2,
5620
+ Disconnected = 3,
5621
+ LowQuality = 4
5622
+ }
5623
+
5624
+ /** Properties of a ReportP2PReq. */
5625
+ interface IReportP2PReq {
5626
+
5627
+ /** ReportP2PReq code */
5628
+ code?: (com.quick.voice.proto.P2PCode|null);
5629
+
5630
+ /** ReportP2PReq userId */
5631
+ userId?: (string|null);
5632
+
5633
+ /** ReportP2PReq reason */
5634
+ reason?: (string|null);
5635
+
5636
+ /** ReportP2PReq pushUserIds */
5637
+ pushUserIds?: (string[]|null);
5638
+
5639
+ /** ReportP2PReq origin */
5640
+ origin?: (string|null);
5641
+
5642
+ /** ReportP2PReq connectedTime */
5643
+ connectedTime?: (string|null);
5644
+ }
5645
+
5646
+ /** Represents a ReportP2PReq. */
5647
+ class ReportP2PReq implements IReportP2PReq {
5648
+
5649
+ /**
5650
+ * Constructs a new ReportP2PReq.
5651
+ * @param [properties] Properties to set
5652
+ */
5653
+ constructor(properties?: com.quick.voice.proto.IReportP2PReq);
5654
+
5655
+ /** ReportP2PReq code. */
5656
+ public code: com.quick.voice.proto.P2PCode;
5657
+
5658
+ /** ReportP2PReq userId. */
5659
+ public userId: string;
5660
+
5661
+ /** ReportP2PReq reason. */
5662
+ public reason?: (string|null);
5663
+
5664
+ /** ReportP2PReq pushUserIds. */
5665
+ public pushUserIds: string[];
5666
+
5667
+ /** ReportP2PReq origin. */
5668
+ public origin: string;
5669
+
5670
+ /** ReportP2PReq connectedTime. */
5671
+ public connectedTime?: (string|null);
5672
+
5673
+ /**
5674
+ * Creates a new ReportP2PReq instance using the specified properties.
5675
+ * @param [properties] Properties to set
5676
+ * @returns ReportP2PReq instance
5677
+ */
5678
+ public static create(properties?: com.quick.voice.proto.IReportP2PReq): com.quick.voice.proto.ReportP2PReq;
5679
+
5680
+ /**
5681
+ * Encodes the specified ReportP2PReq message. Does not implicitly {@link com.quick.voice.proto.ReportP2PReq.verify|verify} messages.
5682
+ * @param message ReportP2PReq message or plain object to encode
5683
+ * @param [writer] Writer to encode to
5684
+ * @returns Writer
5685
+ */
5686
+ public static encode(message: com.quick.voice.proto.IReportP2PReq, writer?: $protobuf.Writer): $protobuf.Writer;
5687
+
5688
+ /**
5689
+ * Encodes the specified ReportP2PReq message, length delimited. Does not implicitly {@link com.quick.voice.proto.ReportP2PReq.verify|verify} messages.
5690
+ * @param message ReportP2PReq message or plain object to encode
5691
+ * @param [writer] Writer to encode to
5692
+ * @returns Writer
5693
+ */
5694
+ public static encodeDelimited(message: com.quick.voice.proto.IReportP2PReq, writer?: $protobuf.Writer): $protobuf.Writer;
5695
+
5696
+ /**
5697
+ * Decodes a ReportP2PReq message from the specified reader or buffer.
5698
+ * @param reader Reader or buffer to decode from
5699
+ * @param [length] Message length if known beforehand
5700
+ * @returns ReportP2PReq
5701
+ * @throws {Error} If the payload is not a reader or valid buffer
5702
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5703
+ */
5704
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.ReportP2PReq;
5705
+
5706
+ /**
5707
+ * Decodes a ReportP2PReq message from the specified reader or buffer, length delimited.
5708
+ * @param reader Reader or buffer to decode from
5709
+ * @returns ReportP2PReq
5710
+ * @throws {Error} If the payload is not a reader or valid buffer
5711
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5712
+ */
5713
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.ReportP2PReq;
5714
+
5715
+ /**
5716
+ * Verifies a ReportP2PReq message.
5717
+ * @param message Plain object to verify
5718
+ * @returns `null` if valid, otherwise the reason why it is not
5719
+ */
5720
+ public static verify(message: { [k: string]: any }): (string|null);
5721
+
5722
+ /**
5723
+ * Creates a ReportP2PReq message from a plain object. Also converts values to their respective internal types.
5724
+ * @param object Plain object
5725
+ * @returns ReportP2PReq
5726
+ */
5727
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.ReportP2PReq;
5728
+
5729
+ /**
5730
+ * Creates a plain object from a ReportP2PReq message. Also converts values to other types if specified.
5731
+ * @param message ReportP2PReq
5732
+ * @param [options] Conversion options
5733
+ * @returns Plain object
5734
+ */
5735
+ public static toObject(message: com.quick.voice.proto.ReportP2PReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
5736
+
5737
+ /**
5738
+ * Converts this ReportP2PReq to JSON.
5739
+ * @returns JSON object
5740
+ */
5741
+ public toJSON(): { [k: string]: any };
5742
+
5743
+ /**
5744
+ * Gets the default type url for ReportP2PReq
5745
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5746
+ * @returns The default type url
5747
+ */
5748
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5749
+ }
5750
+
5751
+ /** Properties of a ReportTrafficUsage. */
5752
+ interface IReportTrafficUsage {
5753
+
5754
+ /** ReportTrafficUsage p2pPush */
5755
+ p2pPush?: (number|Long|null);
5756
+
5757
+ /** ReportTrafficUsage p2pPull */
5758
+ p2pPull?: (number|Long|null);
5759
+
5760
+ /** ReportTrafficUsage sfuPush */
5761
+ sfuPush?: (number|Long|null);
5762
+
5763
+ /** ReportTrafficUsage sfuPull */
5764
+ sfuPull?: (number|Long|null);
5765
+ }
5766
+
5767
+ /** Represents a ReportTrafficUsage. */
5768
+ class ReportTrafficUsage implements IReportTrafficUsage {
5769
+
5770
+ /**
5771
+ * Constructs a new ReportTrafficUsage.
5772
+ * @param [properties] Properties to set
5773
+ */
5774
+ constructor(properties?: com.quick.voice.proto.IReportTrafficUsage);
5775
+
5776
+ /** ReportTrafficUsage p2pPush. */
5777
+ public p2pPush?: (number|Long|null);
5778
+
5779
+ /** ReportTrafficUsage p2pPull. */
5780
+ public p2pPull?: (number|Long|null);
5781
+
5782
+ /** ReportTrafficUsage sfuPush. */
5783
+ public sfuPush?: (number|Long|null);
5784
+
5785
+ /** ReportTrafficUsage sfuPull. */
5786
+ public sfuPull?: (number|Long|null);
5787
+
5788
+ /**
5789
+ * Creates a new ReportTrafficUsage instance using the specified properties.
5790
+ * @param [properties] Properties to set
5791
+ * @returns ReportTrafficUsage instance
5792
+ */
5793
+ public static create(properties?: com.quick.voice.proto.IReportTrafficUsage): com.quick.voice.proto.ReportTrafficUsage;
5794
+
5795
+ /**
5796
+ * Encodes the specified ReportTrafficUsage message. Does not implicitly {@link com.quick.voice.proto.ReportTrafficUsage.verify|verify} messages.
5797
+ * @param message ReportTrafficUsage message or plain object to encode
5798
+ * @param [writer] Writer to encode to
5799
+ * @returns Writer
5800
+ */
5801
+ public static encode(message: com.quick.voice.proto.IReportTrafficUsage, writer?: $protobuf.Writer): $protobuf.Writer;
5802
+
5803
+ /**
5804
+ * Encodes the specified ReportTrafficUsage message, length delimited. Does not implicitly {@link com.quick.voice.proto.ReportTrafficUsage.verify|verify} messages.
5805
+ * @param message ReportTrafficUsage message or plain object to encode
5806
+ * @param [writer] Writer to encode to
5807
+ * @returns Writer
5808
+ */
5809
+ public static encodeDelimited(message: com.quick.voice.proto.IReportTrafficUsage, writer?: $protobuf.Writer): $protobuf.Writer;
5810
+
5811
+ /**
5812
+ * Decodes a ReportTrafficUsage message from the specified reader or buffer.
5813
+ * @param reader Reader or buffer to decode from
5814
+ * @param [length] Message length if known beforehand
5815
+ * @returns ReportTrafficUsage
5816
+ * @throws {Error} If the payload is not a reader or valid buffer
5817
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5818
+ */
5819
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.ReportTrafficUsage;
5820
+
5821
+ /**
5822
+ * Decodes a ReportTrafficUsage message from the specified reader or buffer, length delimited.
5823
+ * @param reader Reader or buffer to decode from
5824
+ * @returns ReportTrafficUsage
5825
+ * @throws {Error} If the payload is not a reader or valid buffer
5826
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5827
+ */
5828
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.ReportTrafficUsage;
5829
+
5830
+ /**
5831
+ * Verifies a ReportTrafficUsage message.
5832
+ * @param message Plain object to verify
5833
+ * @returns `null` if valid, otherwise the reason why it is not
5834
+ */
5835
+ public static verify(message: { [k: string]: any }): (string|null);
5836
+
5837
+ /**
5838
+ * Creates a ReportTrafficUsage message from a plain object. Also converts values to their respective internal types.
5839
+ * @param object Plain object
5840
+ * @returns ReportTrafficUsage
5841
+ */
5842
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.ReportTrafficUsage;
5843
+
5844
+ /**
5845
+ * Creates a plain object from a ReportTrafficUsage message. Also converts values to other types if specified.
5846
+ * @param message ReportTrafficUsage
5847
+ * @param [options] Conversion options
5848
+ * @returns Plain object
5849
+ */
5850
+ public static toObject(message: com.quick.voice.proto.ReportTrafficUsage, options?: $protobuf.IConversionOptions): { [k: string]: any };
5851
+
5852
+ /**
5853
+ * Converts this ReportTrafficUsage to JSON.
5854
+ * @returns JSON object
5855
+ */
5856
+ public toJSON(): { [k: string]: any };
5857
+
5858
+ /**
5859
+ * Gets the default type url for ReportTrafficUsage
5860
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5861
+ * @returns The default type url
5862
+ */
5863
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5864
+ }
5865
+
5866
+ /** Properties of a P2PAttemptConnectReq. */
5867
+ interface IP2PAttemptConnectReq {
5868
+
5869
+ /** P2PAttemptConnectReq userId */
5870
+ userId?: (string|null);
5871
+
5872
+ /** P2PAttemptConnectReq roomId */
5873
+ roomId?: (string|null);
5874
+ }
5875
+
5876
+ /** Represents a P2PAttemptConnectReq. */
5877
+ class P2PAttemptConnectReq implements IP2PAttemptConnectReq {
5878
+
5879
+ /**
5880
+ * Constructs a new P2PAttemptConnectReq.
5881
+ * @param [properties] Properties to set
5882
+ */
5883
+ constructor(properties?: com.quick.voice.proto.IP2PAttemptConnectReq);
5884
+
5885
+ /** P2PAttemptConnectReq userId. */
5886
+ public userId: string;
5887
+
5888
+ /** P2PAttemptConnectReq roomId. */
5889
+ public roomId: string;
5890
+
5891
+ /**
5892
+ * Creates a new P2PAttemptConnectReq instance using the specified properties.
5893
+ * @param [properties] Properties to set
5894
+ * @returns P2PAttemptConnectReq instance
5895
+ */
5896
+ public static create(properties?: com.quick.voice.proto.IP2PAttemptConnectReq): com.quick.voice.proto.P2PAttemptConnectReq;
5897
+
5898
+ /**
5899
+ * Encodes the specified P2PAttemptConnectReq message. Does not implicitly {@link com.quick.voice.proto.P2PAttemptConnectReq.verify|verify} messages.
5900
+ * @param message P2PAttemptConnectReq message or plain object to encode
5901
+ * @param [writer] Writer to encode to
5902
+ * @returns Writer
5903
+ */
5904
+ public static encode(message: com.quick.voice.proto.IP2PAttemptConnectReq, writer?: $protobuf.Writer): $protobuf.Writer;
5905
+
5906
+ /**
5907
+ * Encodes the specified P2PAttemptConnectReq message, length delimited. Does not implicitly {@link com.quick.voice.proto.P2PAttemptConnectReq.verify|verify} messages.
5908
+ * @param message P2PAttemptConnectReq message or plain object to encode
5909
+ * @param [writer] Writer to encode to
5910
+ * @returns Writer
5911
+ */
5912
+ public static encodeDelimited(message: com.quick.voice.proto.IP2PAttemptConnectReq, writer?: $protobuf.Writer): $protobuf.Writer;
5913
+
5914
+ /**
5915
+ * Decodes a P2PAttemptConnectReq message from the specified reader or buffer.
5916
+ * @param reader Reader or buffer to decode from
5917
+ * @param [length] Message length if known beforehand
5918
+ * @returns P2PAttemptConnectReq
5919
+ * @throws {Error} If the payload is not a reader or valid buffer
5920
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5921
+ */
5922
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.P2PAttemptConnectReq;
5923
+
5924
+ /**
5925
+ * Decodes a P2PAttemptConnectReq message from the specified reader or buffer, length delimited.
5926
+ * @param reader Reader or buffer to decode from
5927
+ * @returns P2PAttemptConnectReq
5928
+ * @throws {Error} If the payload is not a reader or valid buffer
5929
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5930
+ */
5931
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.P2PAttemptConnectReq;
5932
+
5933
+ /**
5934
+ * Verifies a P2PAttemptConnectReq message.
5935
+ * @param message Plain object to verify
5936
+ * @returns `null` if valid, otherwise the reason why it is not
5937
+ */
5938
+ public static verify(message: { [k: string]: any }): (string|null);
5939
+
5940
+ /**
5941
+ * Creates a P2PAttemptConnectReq message from a plain object. Also converts values to their respective internal types.
5942
+ * @param object Plain object
5943
+ * @returns P2PAttemptConnectReq
5944
+ */
5945
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.P2PAttemptConnectReq;
5946
+
5947
+ /**
5948
+ * Creates a plain object from a P2PAttemptConnectReq message. Also converts values to other types if specified.
5949
+ * @param message P2PAttemptConnectReq
5950
+ * @param [options] Conversion options
5951
+ * @returns Plain object
5952
+ */
5953
+ public static toObject(message: com.quick.voice.proto.P2PAttemptConnectReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
5954
+
5955
+ /**
5956
+ * Converts this P2PAttemptConnectReq to JSON.
5957
+ * @returns JSON object
5958
+ */
5959
+ public toJSON(): { [k: string]: any };
5960
+
5961
+ /**
5962
+ * Gets the default type url for P2PAttemptConnectReq
5963
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5964
+ * @returns The default type url
5965
+ */
5966
+ public static getTypeUrl(typeUrlPrefix?: string): string;
5967
+ }
5968
+
5969
+ /** Properties of a CheckSessionReq. */
5970
+ interface ICheckSessionReq {
5971
+
5972
+ /** CheckSessionReq session */
5973
+ session?: (string|null);
5974
+
5975
+ /** CheckSessionReq tracks */
5976
+ tracks?: (com.quick.voice.proto.ITrack[]|null);
5977
+ }
5978
+
5979
+ /** Represents a CheckSessionReq. */
5980
+ class CheckSessionReq implements ICheckSessionReq {
5981
+
5982
+ /**
5983
+ * Constructs a new CheckSessionReq.
5984
+ * @param [properties] Properties to set
5985
+ */
5986
+ constructor(properties?: com.quick.voice.proto.ICheckSessionReq);
5987
+
5988
+ /** CheckSessionReq session. */
5989
+ public session: string;
5990
+
5991
+ /** CheckSessionReq tracks. */
5992
+ public tracks: com.quick.voice.proto.ITrack[];
5993
+
5994
+ /**
5995
+ * Creates a new CheckSessionReq instance using the specified properties.
5996
+ * @param [properties] Properties to set
5997
+ * @returns CheckSessionReq instance
5998
+ */
5999
+ public static create(properties?: com.quick.voice.proto.ICheckSessionReq): com.quick.voice.proto.CheckSessionReq;
6000
+
6001
+ /**
6002
+ * Encodes the specified CheckSessionReq message. Does not implicitly {@link com.quick.voice.proto.CheckSessionReq.verify|verify} messages.
6003
+ * @param message CheckSessionReq message or plain object to encode
6004
+ * @param [writer] Writer to encode to
6005
+ * @returns Writer
6006
+ */
6007
+ public static encode(message: com.quick.voice.proto.ICheckSessionReq, writer?: $protobuf.Writer): $protobuf.Writer;
6008
+
6009
+ /**
6010
+ * Encodes the specified CheckSessionReq message, length delimited. Does not implicitly {@link com.quick.voice.proto.CheckSessionReq.verify|verify} messages.
6011
+ * @param message CheckSessionReq message or plain object to encode
6012
+ * @param [writer] Writer to encode to
6013
+ * @returns Writer
6014
+ */
6015
+ public static encodeDelimited(message: com.quick.voice.proto.ICheckSessionReq, writer?: $protobuf.Writer): $protobuf.Writer;
6016
+
6017
+ /**
6018
+ * Decodes a CheckSessionReq message from the specified reader or buffer.
6019
+ * @param reader Reader or buffer to decode from
6020
+ * @param [length] Message length if known beforehand
6021
+ * @returns CheckSessionReq
6022
+ * @throws {Error} If the payload is not a reader or valid buffer
6023
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6024
+ */
6025
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.CheckSessionReq;
6026
+
6027
+ /**
6028
+ * Decodes a CheckSessionReq message from the specified reader or buffer, length delimited.
6029
+ * @param reader Reader or buffer to decode from
6030
+ * @returns CheckSessionReq
6031
+ * @throws {Error} If the payload is not a reader or valid buffer
6032
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6033
+ */
6034
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.CheckSessionReq;
6035
+
6036
+ /**
6037
+ * Verifies a CheckSessionReq message.
6038
+ * @param message Plain object to verify
6039
+ * @returns `null` if valid, otherwise the reason why it is not
6040
+ */
6041
+ public static verify(message: { [k: string]: any }): (string|null);
6042
+
6043
+ /**
6044
+ * Creates a CheckSessionReq message from a plain object. Also converts values to their respective internal types.
6045
+ * @param object Plain object
6046
+ * @returns CheckSessionReq
6047
+ */
6048
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.CheckSessionReq;
6049
+
6050
+ /**
6051
+ * Creates a plain object from a CheckSessionReq message. Also converts values to other types if specified.
6052
+ * @param message CheckSessionReq
6053
+ * @param [options] Conversion options
6054
+ * @returns Plain object
6055
+ */
6056
+ public static toObject(message: com.quick.voice.proto.CheckSessionReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
6057
+
6058
+ /**
6059
+ * Converts this CheckSessionReq to JSON.
6060
+ * @returns JSON object
6061
+ */
6062
+ public toJSON(): { [k: string]: any };
6063
+
6064
+ /**
6065
+ * Gets the default type url for CheckSessionReq
6066
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6067
+ * @returns The default type url
6068
+ */
6069
+ public static getTypeUrl(typeUrlPrefix?: string): string;
6070
+ }
6071
+
6072
+ /** Properties of a CheckSessionRsq. */
6073
+ interface ICheckSessionRsq {
6074
+
6075
+ /** CheckSessionRsq sessionIsValid */
6076
+ sessionIsValid?: (boolean|null);
6077
+
6078
+ /** CheckSessionRsq tracks */
6079
+ tracks?: (com.quick.voice.proto.ITrack[]|null);
6080
+
6081
+ /** CheckSessionRsq session */
6082
+ session?: (string|null);
6083
+ }
6084
+
6085
+ /** Represents a CheckSessionRsq. */
6086
+ class CheckSessionRsq implements ICheckSessionRsq {
6087
+
6088
+ /**
6089
+ * Constructs a new CheckSessionRsq.
6090
+ * @param [properties] Properties to set
6091
+ */
6092
+ constructor(properties?: com.quick.voice.proto.ICheckSessionRsq);
6093
+
6094
+ /** CheckSessionRsq sessionIsValid. */
6095
+ public sessionIsValid: boolean;
6096
+
6097
+ /** CheckSessionRsq tracks. */
6098
+ public tracks: com.quick.voice.proto.ITrack[];
6099
+
6100
+ /** CheckSessionRsq session. */
6101
+ public session: string;
6102
+
6103
+ /**
6104
+ * Creates a new CheckSessionRsq instance using the specified properties.
6105
+ * @param [properties] Properties to set
6106
+ * @returns CheckSessionRsq instance
6107
+ */
6108
+ public static create(properties?: com.quick.voice.proto.ICheckSessionRsq): com.quick.voice.proto.CheckSessionRsq;
6109
+
6110
+ /**
6111
+ * Encodes the specified CheckSessionRsq message. Does not implicitly {@link com.quick.voice.proto.CheckSessionRsq.verify|verify} messages.
6112
+ * @param message CheckSessionRsq message or plain object to encode
6113
+ * @param [writer] Writer to encode to
6114
+ * @returns Writer
6115
+ */
6116
+ public static encode(message: com.quick.voice.proto.ICheckSessionRsq, writer?: $protobuf.Writer): $protobuf.Writer;
6117
+
6118
+ /**
6119
+ * Encodes the specified CheckSessionRsq message, length delimited. Does not implicitly {@link com.quick.voice.proto.CheckSessionRsq.verify|verify} messages.
6120
+ * @param message CheckSessionRsq message or plain object to encode
6121
+ * @param [writer] Writer to encode to
6122
+ * @returns Writer
6123
+ */
6124
+ public static encodeDelimited(message: com.quick.voice.proto.ICheckSessionRsq, writer?: $protobuf.Writer): $protobuf.Writer;
6125
+
6126
+ /**
6127
+ * Decodes a CheckSessionRsq message from the specified reader or buffer.
6128
+ * @param reader Reader or buffer to decode from
6129
+ * @param [length] Message length if known beforehand
6130
+ * @returns CheckSessionRsq
6131
+ * @throws {Error} If the payload is not a reader or valid buffer
6132
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6133
+ */
6134
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.CheckSessionRsq;
6135
+
6136
+ /**
6137
+ * Decodes a CheckSessionRsq message from the specified reader or buffer, length delimited.
6138
+ * @param reader Reader or buffer to decode from
6139
+ * @returns CheckSessionRsq
6140
+ * @throws {Error} If the payload is not a reader or valid buffer
6141
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6142
+ */
6143
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.CheckSessionRsq;
6144
+
6145
+ /**
6146
+ * Verifies a CheckSessionRsq message.
6147
+ * @param message Plain object to verify
6148
+ * @returns `null` if valid, otherwise the reason why it is not
6149
+ */
6150
+ public static verify(message: { [k: string]: any }): (string|null);
6151
+
6152
+ /**
6153
+ * Creates a CheckSessionRsq message from a plain object. Also converts values to their respective internal types.
6154
+ * @param object Plain object
6155
+ * @returns CheckSessionRsq
6156
+ */
6157
+ public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.CheckSessionRsq;
6158
+
6159
+ /**
6160
+ * Creates a plain object from a CheckSessionRsq message. Also converts values to other types if specified.
6161
+ * @param message CheckSessionRsq
6162
+ * @param [options] Conversion options
6163
+ * @returns Plain object
6164
+ */
6165
+ public static toObject(message: com.quick.voice.proto.CheckSessionRsq, options?: $protobuf.IConversionOptions): { [k: string]: any };
6166
+
6167
+ /**
6168
+ * Converts this CheckSessionRsq to JSON.
6169
+ * @returns JSON object
6170
+ */
6171
+ public toJSON(): { [k: string]: any };
6172
+
6173
+ /**
6174
+ * Gets the default type url for CheckSessionRsq
6175
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6176
+ * @returns The default type url
6177
+ */
6178
+ public static getTypeUrl(typeUrlPrefix?: string): string;
6179
+ }
5465
6180
  }
5466
6181
  }
5467
6182
  }