quickvo-sdk-js 1.3.1 → 1.3.2
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.
- package/dist/enums/eventName.d.ts +1 -6
- package/dist/enums/notifyName.d.ts +1 -5
- package/dist/index.js +17894 -19444
- package/dist/index.umd.cjs +4 -4
- package/dist/protos/compiled.d.ts +327 -805
- package/dist/room/P2P.d.ts +8 -58
- package/dist/room/RoomCalls.d.ts +0 -22
- package/dist/room/RoomUsers.d.ts +1 -6
- package/dist/types.d.ts +0 -4
- package/package.json +2 -3
|
@@ -3427,6 +3427,212 @@ export namespace com {
|
|
|
3427
3427
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3428
3428
|
}
|
|
3429
3429
|
|
|
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
|
+
|
|
3430
3636
|
/** TrackType enum. */
|
|
3431
3637
|
enum TrackType {
|
|
3432
3638
|
Microphone = 0,
|
|
@@ -3435,6 +3641,127 @@ export namespace com {
|
|
|
3435
3641
|
SystemVoice = 3
|
|
3436
3642
|
}
|
|
3437
3643
|
|
|
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
|
+
|
|
3438
3765
|
/** Properties of an UpdatePermissions. */
|
|
3439
3766
|
interface IUpdatePermissions {
|
|
3440
3767
|
|
|
@@ -5135,811 +5462,6 @@ export namespace com {
|
|
|
5135
5462
|
*/
|
|
5136
5463
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5137
5464
|
}
|
|
5138
|
-
|
|
5139
|
-
/** Properties of a SdpConsult. */
|
|
5140
|
-
interface ISdpConsult {
|
|
5141
|
-
|
|
5142
|
-
/** SdpConsult roomId */
|
|
5143
|
-
roomId?: (string|null);
|
|
5144
|
-
|
|
5145
|
-
/** SdpConsult sender */
|
|
5146
|
-
sender?: (com.quick.voice.proto.IUser|null);
|
|
5147
|
-
|
|
5148
|
-
/** SdpConsult receiverId */
|
|
5149
|
-
receiverId?: (string|null);
|
|
5150
|
-
|
|
5151
|
-
/** SdpConsult sdp */
|
|
5152
|
-
sdp?: (string|null);
|
|
5153
|
-
|
|
5154
|
-
/** SdpConsult tracks */
|
|
5155
|
-
tracks?: (com.quick.voice.proto.ITrack[]|null);
|
|
5156
|
-
}
|
|
5157
|
-
|
|
5158
|
-
/** Represents a SdpConsult. */
|
|
5159
|
-
class SdpConsult implements ISdpConsult {
|
|
5160
|
-
|
|
5161
|
-
/**
|
|
5162
|
-
* Constructs a new SdpConsult.
|
|
5163
|
-
* @param [properties] Properties to set
|
|
5164
|
-
*/
|
|
5165
|
-
constructor(properties?: com.quick.voice.proto.ISdpConsult);
|
|
5166
|
-
|
|
5167
|
-
/** SdpConsult roomId. */
|
|
5168
|
-
public roomId: string;
|
|
5169
|
-
|
|
5170
|
-
/** SdpConsult sender. */
|
|
5171
|
-
public sender?: (com.quick.voice.proto.IUser|null);
|
|
5172
|
-
|
|
5173
|
-
/** SdpConsult receiverId. */
|
|
5174
|
-
public receiverId: string;
|
|
5175
|
-
|
|
5176
|
-
/** SdpConsult sdp. */
|
|
5177
|
-
public sdp: string;
|
|
5178
|
-
|
|
5179
|
-
/** SdpConsult tracks. */
|
|
5180
|
-
public tracks: com.quick.voice.proto.ITrack[];
|
|
5181
|
-
|
|
5182
|
-
/**
|
|
5183
|
-
* Creates a new SdpConsult instance using the specified properties.
|
|
5184
|
-
* @param [properties] Properties to set
|
|
5185
|
-
* @returns SdpConsult instance
|
|
5186
|
-
*/
|
|
5187
|
-
public static create(properties?: com.quick.voice.proto.ISdpConsult): com.quick.voice.proto.SdpConsult;
|
|
5188
|
-
|
|
5189
|
-
/**
|
|
5190
|
-
* Encodes the specified SdpConsult message. Does not implicitly {@link com.quick.voice.proto.SdpConsult.verify|verify} messages.
|
|
5191
|
-
* @param message SdpConsult message or plain object to encode
|
|
5192
|
-
* @param [writer] Writer to encode to
|
|
5193
|
-
* @returns Writer
|
|
5194
|
-
*/
|
|
5195
|
-
public static encode(message: com.quick.voice.proto.ISdpConsult, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5196
|
-
|
|
5197
|
-
/**
|
|
5198
|
-
* Encodes the specified SdpConsult message, length delimited. Does not implicitly {@link com.quick.voice.proto.SdpConsult.verify|verify} messages.
|
|
5199
|
-
* @param message SdpConsult message or plain object to encode
|
|
5200
|
-
* @param [writer] Writer to encode to
|
|
5201
|
-
* @returns Writer
|
|
5202
|
-
*/
|
|
5203
|
-
public static encodeDelimited(message: com.quick.voice.proto.ISdpConsult, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5204
|
-
|
|
5205
|
-
/**
|
|
5206
|
-
* Decodes a SdpConsult message from the specified reader or buffer.
|
|
5207
|
-
* @param reader Reader or buffer to decode from
|
|
5208
|
-
* @param [length] Message length if known beforehand
|
|
5209
|
-
* @returns SdpConsult
|
|
5210
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5211
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5212
|
-
*/
|
|
5213
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.SdpConsult;
|
|
5214
|
-
|
|
5215
|
-
/**
|
|
5216
|
-
* Decodes a SdpConsult message from the specified reader or buffer, length delimited.
|
|
5217
|
-
* @param reader Reader or buffer to decode from
|
|
5218
|
-
* @returns SdpConsult
|
|
5219
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5220
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5221
|
-
*/
|
|
5222
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.SdpConsult;
|
|
5223
|
-
|
|
5224
|
-
/**
|
|
5225
|
-
* Verifies a SdpConsult message.
|
|
5226
|
-
* @param message Plain object to verify
|
|
5227
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
5228
|
-
*/
|
|
5229
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
5230
|
-
|
|
5231
|
-
/**
|
|
5232
|
-
* Creates a SdpConsult message from a plain object. Also converts values to their respective internal types.
|
|
5233
|
-
* @param object Plain object
|
|
5234
|
-
* @returns SdpConsult
|
|
5235
|
-
*/
|
|
5236
|
-
public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.SdpConsult;
|
|
5237
|
-
|
|
5238
|
-
/**
|
|
5239
|
-
* Creates a plain object from a SdpConsult message. Also converts values to other types if specified.
|
|
5240
|
-
* @param message SdpConsult
|
|
5241
|
-
* @param [options] Conversion options
|
|
5242
|
-
* @returns Plain object
|
|
5243
|
-
*/
|
|
5244
|
-
public static toObject(message: com.quick.voice.proto.SdpConsult, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5245
|
-
|
|
5246
|
-
/**
|
|
5247
|
-
* Converts this SdpConsult to JSON.
|
|
5248
|
-
* @returns JSON object
|
|
5249
|
-
*/
|
|
5250
|
-
public toJSON(): { [k: string]: any };
|
|
5251
|
-
|
|
5252
|
-
/**
|
|
5253
|
-
* Gets the default type url for SdpConsult
|
|
5254
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5255
|
-
* @returns The default type url
|
|
5256
|
-
*/
|
|
5257
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5258
|
-
}
|
|
5259
|
-
|
|
5260
|
-
/** Properties of a Candidate. */
|
|
5261
|
-
interface ICandidate {
|
|
5262
|
-
|
|
5263
|
-
/** Candidate sdpMid */
|
|
5264
|
-
sdpMid?: (string|null);
|
|
5265
|
-
|
|
5266
|
-
/** Candidate sdpMLineIndex */
|
|
5267
|
-
sdpMLineIndex?: (number|null);
|
|
5268
|
-
|
|
5269
|
-
/** Candidate sdp */
|
|
5270
|
-
sdp?: (string|null);
|
|
5271
|
-
}
|
|
5272
|
-
|
|
5273
|
-
/** Represents a Candidate. */
|
|
5274
|
-
class Candidate implements ICandidate {
|
|
5275
|
-
|
|
5276
|
-
/**
|
|
5277
|
-
* Constructs a new Candidate.
|
|
5278
|
-
* @param [properties] Properties to set
|
|
5279
|
-
*/
|
|
5280
|
-
constructor(properties?: com.quick.voice.proto.ICandidate);
|
|
5281
|
-
|
|
5282
|
-
/** Candidate sdpMid. */
|
|
5283
|
-
public sdpMid: string;
|
|
5284
|
-
|
|
5285
|
-
/** Candidate sdpMLineIndex. */
|
|
5286
|
-
public sdpMLineIndex: number;
|
|
5287
|
-
|
|
5288
|
-
/** Candidate sdp. */
|
|
5289
|
-
public sdp: string;
|
|
5290
|
-
|
|
5291
|
-
/**
|
|
5292
|
-
* Creates a new Candidate instance using the specified properties.
|
|
5293
|
-
* @param [properties] Properties to set
|
|
5294
|
-
* @returns Candidate instance
|
|
5295
|
-
*/
|
|
5296
|
-
public static create(properties?: com.quick.voice.proto.ICandidate): com.quick.voice.proto.Candidate;
|
|
5297
|
-
|
|
5298
|
-
/**
|
|
5299
|
-
* Encodes the specified Candidate message. Does not implicitly {@link com.quick.voice.proto.Candidate.verify|verify} messages.
|
|
5300
|
-
* @param message Candidate message or plain object to encode
|
|
5301
|
-
* @param [writer] Writer to encode to
|
|
5302
|
-
* @returns Writer
|
|
5303
|
-
*/
|
|
5304
|
-
public static encode(message: com.quick.voice.proto.ICandidate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5305
|
-
|
|
5306
|
-
/**
|
|
5307
|
-
* Encodes the specified Candidate message, length delimited. Does not implicitly {@link com.quick.voice.proto.Candidate.verify|verify} messages.
|
|
5308
|
-
* @param message Candidate message or plain object to encode
|
|
5309
|
-
* @param [writer] Writer to encode to
|
|
5310
|
-
* @returns Writer
|
|
5311
|
-
*/
|
|
5312
|
-
public static encodeDelimited(message: com.quick.voice.proto.ICandidate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5313
|
-
|
|
5314
|
-
/**
|
|
5315
|
-
* Decodes a Candidate message from the specified reader or buffer.
|
|
5316
|
-
* @param reader Reader or buffer to decode from
|
|
5317
|
-
* @param [length] Message length if known beforehand
|
|
5318
|
-
* @returns Candidate
|
|
5319
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5320
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5321
|
-
*/
|
|
5322
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.Candidate;
|
|
5323
|
-
|
|
5324
|
-
/**
|
|
5325
|
-
* Decodes a Candidate message from the specified reader or buffer, length delimited.
|
|
5326
|
-
* @param reader Reader or buffer to decode from
|
|
5327
|
-
* @returns Candidate
|
|
5328
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5329
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5330
|
-
*/
|
|
5331
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.Candidate;
|
|
5332
|
-
|
|
5333
|
-
/**
|
|
5334
|
-
* Verifies a Candidate message.
|
|
5335
|
-
* @param message Plain object to verify
|
|
5336
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
5337
|
-
*/
|
|
5338
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
5339
|
-
|
|
5340
|
-
/**
|
|
5341
|
-
* Creates a Candidate message from a plain object. Also converts values to their respective internal types.
|
|
5342
|
-
* @param object Plain object
|
|
5343
|
-
* @returns Candidate
|
|
5344
|
-
*/
|
|
5345
|
-
public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.Candidate;
|
|
5346
|
-
|
|
5347
|
-
/**
|
|
5348
|
-
* Creates a plain object from a Candidate message. Also converts values to other types if specified.
|
|
5349
|
-
* @param message Candidate
|
|
5350
|
-
* @param [options] Conversion options
|
|
5351
|
-
* @returns Plain object
|
|
5352
|
-
*/
|
|
5353
|
-
public static toObject(message: com.quick.voice.proto.Candidate, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5354
|
-
|
|
5355
|
-
/**
|
|
5356
|
-
* Converts this Candidate to JSON.
|
|
5357
|
-
* @returns JSON object
|
|
5358
|
-
*/
|
|
5359
|
-
public toJSON(): { [k: string]: any };
|
|
5360
|
-
|
|
5361
|
-
/**
|
|
5362
|
-
* Gets the default type url for Candidate
|
|
5363
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5364
|
-
* @returns The default type url
|
|
5365
|
-
*/
|
|
5366
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5367
|
-
}
|
|
5368
|
-
|
|
5369
|
-
/** Properties of a Candidates. */
|
|
5370
|
-
interface ICandidates {
|
|
5371
|
-
|
|
5372
|
-
/** Candidates roomId */
|
|
5373
|
-
roomId?: (string|null);
|
|
5374
|
-
|
|
5375
|
-
/** Candidates senderId */
|
|
5376
|
-
senderId?: (string|null);
|
|
5377
|
-
|
|
5378
|
-
/** Candidates receiverId */
|
|
5379
|
-
receiverId?: (string|null);
|
|
5380
|
-
|
|
5381
|
-
/** Candidates candidates */
|
|
5382
|
-
candidates?: (com.quick.voice.proto.ICandidate[]|null);
|
|
5383
|
-
|
|
5384
|
-
/** Candidates isSubscribeReceiver */
|
|
5385
|
-
isSubscribeReceiver?: (boolean|null);
|
|
5386
|
-
}
|
|
5387
|
-
|
|
5388
|
-
/** Represents a Candidates. */
|
|
5389
|
-
class Candidates implements ICandidates {
|
|
5390
|
-
|
|
5391
|
-
/**
|
|
5392
|
-
* Constructs a new Candidates.
|
|
5393
|
-
* @param [properties] Properties to set
|
|
5394
|
-
*/
|
|
5395
|
-
constructor(properties?: com.quick.voice.proto.ICandidates);
|
|
5396
|
-
|
|
5397
|
-
/** Candidates roomId. */
|
|
5398
|
-
public roomId: string;
|
|
5399
|
-
|
|
5400
|
-
/** Candidates senderId. */
|
|
5401
|
-
public senderId: string;
|
|
5402
|
-
|
|
5403
|
-
/** Candidates receiverId. */
|
|
5404
|
-
public receiverId: string;
|
|
5405
|
-
|
|
5406
|
-
/** Candidates candidates. */
|
|
5407
|
-
public candidates: com.quick.voice.proto.ICandidate[];
|
|
5408
|
-
|
|
5409
|
-
/** Candidates isSubscribeReceiver. */
|
|
5410
|
-
public isSubscribeReceiver: boolean;
|
|
5411
|
-
|
|
5412
|
-
/**
|
|
5413
|
-
* Creates a new Candidates instance using the specified properties.
|
|
5414
|
-
* @param [properties] Properties to set
|
|
5415
|
-
* @returns Candidates instance
|
|
5416
|
-
*/
|
|
5417
|
-
public static create(properties?: com.quick.voice.proto.ICandidates): com.quick.voice.proto.Candidates;
|
|
5418
|
-
|
|
5419
|
-
/**
|
|
5420
|
-
* Encodes the specified Candidates message. Does not implicitly {@link com.quick.voice.proto.Candidates.verify|verify} messages.
|
|
5421
|
-
* @param message Candidates message or plain object to encode
|
|
5422
|
-
* @param [writer] Writer to encode to
|
|
5423
|
-
* @returns Writer
|
|
5424
|
-
*/
|
|
5425
|
-
public static encode(message: com.quick.voice.proto.ICandidates, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5426
|
-
|
|
5427
|
-
/**
|
|
5428
|
-
* Encodes the specified Candidates message, length delimited. Does not implicitly {@link com.quick.voice.proto.Candidates.verify|verify} messages.
|
|
5429
|
-
* @param message Candidates message or plain object to encode
|
|
5430
|
-
* @param [writer] Writer to encode to
|
|
5431
|
-
* @returns Writer
|
|
5432
|
-
*/
|
|
5433
|
-
public static encodeDelimited(message: com.quick.voice.proto.ICandidates, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5434
|
-
|
|
5435
|
-
/**
|
|
5436
|
-
* Decodes a Candidates message from the specified reader or buffer.
|
|
5437
|
-
* @param reader Reader or buffer to decode from
|
|
5438
|
-
* @param [length] Message length if known beforehand
|
|
5439
|
-
* @returns Candidates
|
|
5440
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5441
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5442
|
-
*/
|
|
5443
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.Candidates;
|
|
5444
|
-
|
|
5445
|
-
/**
|
|
5446
|
-
* Decodes a Candidates message from the specified reader or buffer, length delimited.
|
|
5447
|
-
* @param reader Reader or buffer to decode from
|
|
5448
|
-
* @returns Candidates
|
|
5449
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5450
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5451
|
-
*/
|
|
5452
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.Candidates;
|
|
5453
|
-
|
|
5454
|
-
/**
|
|
5455
|
-
* Verifies a Candidates message.
|
|
5456
|
-
* @param message Plain object to verify
|
|
5457
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
5458
|
-
*/
|
|
5459
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
5460
|
-
|
|
5461
|
-
/**
|
|
5462
|
-
* Creates a Candidates message from a plain object. Also converts values to their respective internal types.
|
|
5463
|
-
* @param object Plain object
|
|
5464
|
-
* @returns Candidates
|
|
5465
|
-
*/
|
|
5466
|
-
public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.Candidates;
|
|
5467
|
-
|
|
5468
|
-
/**
|
|
5469
|
-
* Creates a plain object from a Candidates message. Also converts values to other types if specified.
|
|
5470
|
-
* @param message Candidates
|
|
5471
|
-
* @param [options] Conversion options
|
|
5472
|
-
* @returns Plain object
|
|
5473
|
-
*/
|
|
5474
|
-
public static toObject(message: com.quick.voice.proto.Candidates, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5475
|
-
|
|
5476
|
-
/**
|
|
5477
|
-
* Converts this Candidates to JSON.
|
|
5478
|
-
* @returns JSON object
|
|
5479
|
-
*/
|
|
5480
|
-
public toJSON(): { [k: string]: any };
|
|
5481
|
-
|
|
5482
|
-
/**
|
|
5483
|
-
* Gets the default type url for Candidates
|
|
5484
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5485
|
-
* @returns The default type url
|
|
5486
|
-
*/
|
|
5487
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5488
|
-
}
|
|
5489
|
-
|
|
5490
|
-
/** NatType enum. */
|
|
5491
|
-
enum NatType {
|
|
5492
|
-
Symmetric = 0,
|
|
5493
|
-
Cone = 1,
|
|
5494
|
-
Port = 2,
|
|
5495
|
-
IP = 3,
|
|
5496
|
-
UnKnown = 4
|
|
5497
|
-
}
|
|
5498
|
-
|
|
5499
|
-
/** NetworkType enum. */
|
|
5500
|
-
enum NetworkType {
|
|
5501
|
-
Wifi = 0,
|
|
5502
|
-
Wired = 1,
|
|
5503
|
-
Mobile = 2
|
|
5504
|
-
}
|
|
5505
|
-
|
|
5506
|
-
/** Properties of a ReportNetInfo. */
|
|
5507
|
-
interface IReportNetInfo {
|
|
5508
|
-
|
|
5509
|
-
/** ReportNetInfo nat */
|
|
5510
|
-
nat?: (com.quick.voice.proto.NatType|null);
|
|
5511
|
-
|
|
5512
|
-
/** ReportNetInfo type */
|
|
5513
|
-
type?: (com.quick.voice.proto.NetworkType|null);
|
|
5514
|
-
}
|
|
5515
|
-
|
|
5516
|
-
/** Represents a ReportNetInfo. */
|
|
5517
|
-
class ReportNetInfo implements IReportNetInfo {
|
|
5518
|
-
|
|
5519
|
-
/**
|
|
5520
|
-
* Constructs a new ReportNetInfo.
|
|
5521
|
-
* @param [properties] Properties to set
|
|
5522
|
-
*/
|
|
5523
|
-
constructor(properties?: com.quick.voice.proto.IReportNetInfo);
|
|
5524
|
-
|
|
5525
|
-
/** ReportNetInfo nat. */
|
|
5526
|
-
public nat: com.quick.voice.proto.NatType;
|
|
5527
|
-
|
|
5528
|
-
/** ReportNetInfo type. */
|
|
5529
|
-
public type: com.quick.voice.proto.NetworkType;
|
|
5530
|
-
|
|
5531
|
-
/**
|
|
5532
|
-
* Creates a new ReportNetInfo instance using the specified properties.
|
|
5533
|
-
* @param [properties] Properties to set
|
|
5534
|
-
* @returns ReportNetInfo instance
|
|
5535
|
-
*/
|
|
5536
|
-
public static create(properties?: com.quick.voice.proto.IReportNetInfo): com.quick.voice.proto.ReportNetInfo;
|
|
5537
|
-
|
|
5538
|
-
/**
|
|
5539
|
-
* Encodes the specified ReportNetInfo message. Does not implicitly {@link com.quick.voice.proto.ReportNetInfo.verify|verify} messages.
|
|
5540
|
-
* @param message ReportNetInfo message or plain object to encode
|
|
5541
|
-
* @param [writer] Writer to encode to
|
|
5542
|
-
* @returns Writer
|
|
5543
|
-
*/
|
|
5544
|
-
public static encode(message: com.quick.voice.proto.IReportNetInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5545
|
-
|
|
5546
|
-
/**
|
|
5547
|
-
* Encodes the specified ReportNetInfo message, length delimited. Does not implicitly {@link com.quick.voice.proto.ReportNetInfo.verify|verify} messages.
|
|
5548
|
-
* @param message ReportNetInfo message or plain object to encode
|
|
5549
|
-
* @param [writer] Writer to encode to
|
|
5550
|
-
* @returns Writer
|
|
5551
|
-
*/
|
|
5552
|
-
public static encodeDelimited(message: com.quick.voice.proto.IReportNetInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5553
|
-
|
|
5554
|
-
/**
|
|
5555
|
-
* Decodes a ReportNetInfo message from the specified reader or buffer.
|
|
5556
|
-
* @param reader Reader or buffer to decode from
|
|
5557
|
-
* @param [length] Message length if known beforehand
|
|
5558
|
-
* @returns ReportNetInfo
|
|
5559
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5560
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5561
|
-
*/
|
|
5562
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.ReportNetInfo;
|
|
5563
|
-
|
|
5564
|
-
/**
|
|
5565
|
-
* Decodes a ReportNetInfo message from the specified reader or buffer, length delimited.
|
|
5566
|
-
* @param reader Reader or buffer to decode from
|
|
5567
|
-
* @returns ReportNetInfo
|
|
5568
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5569
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5570
|
-
*/
|
|
5571
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.ReportNetInfo;
|
|
5572
|
-
|
|
5573
|
-
/**
|
|
5574
|
-
* Verifies a ReportNetInfo message.
|
|
5575
|
-
* @param message Plain object to verify
|
|
5576
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
5577
|
-
*/
|
|
5578
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
5579
|
-
|
|
5580
|
-
/**
|
|
5581
|
-
* Creates a ReportNetInfo message from a plain object. Also converts values to their respective internal types.
|
|
5582
|
-
* @param object Plain object
|
|
5583
|
-
* @returns ReportNetInfo
|
|
5584
|
-
*/
|
|
5585
|
-
public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.ReportNetInfo;
|
|
5586
|
-
|
|
5587
|
-
/**
|
|
5588
|
-
* Creates a plain object from a ReportNetInfo message. Also converts values to other types if specified.
|
|
5589
|
-
* @param message ReportNetInfo
|
|
5590
|
-
* @param [options] Conversion options
|
|
5591
|
-
* @returns Plain object
|
|
5592
|
-
*/
|
|
5593
|
-
public static toObject(message: com.quick.voice.proto.ReportNetInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5594
|
-
|
|
5595
|
-
/**
|
|
5596
|
-
* Converts this ReportNetInfo to JSON.
|
|
5597
|
-
* @returns JSON object
|
|
5598
|
-
*/
|
|
5599
|
-
public toJSON(): { [k: string]: any };
|
|
5600
|
-
|
|
5601
|
-
/**
|
|
5602
|
-
* Gets the default type url for ReportNetInfo
|
|
5603
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5604
|
-
* @returns The default type url
|
|
5605
|
-
*/
|
|
5606
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5607
|
-
}
|
|
5608
|
-
|
|
5609
|
-
/** P2PCode enum. */
|
|
5610
|
-
enum P2PCode {
|
|
5611
|
-
Success = 0,
|
|
5612
|
-
Failed = 1,
|
|
5613
|
-
Ignore = 2,
|
|
5614
|
-
Disconnected = 3
|
|
5615
|
-
}
|
|
5616
|
-
|
|
5617
|
-
/** Properties of a ReportP2PReq. */
|
|
5618
|
-
interface IReportP2PReq {
|
|
5619
|
-
|
|
5620
|
-
/** ReportP2PReq code */
|
|
5621
|
-
code?: (com.quick.voice.proto.P2PCode|null);
|
|
5622
|
-
|
|
5623
|
-
/** ReportP2PReq userId */
|
|
5624
|
-
userId?: (string|null);
|
|
5625
|
-
|
|
5626
|
-
/** ReportP2PReq reason */
|
|
5627
|
-
reason?: (string|null);
|
|
5628
|
-
}
|
|
5629
|
-
|
|
5630
|
-
/** Represents a ReportP2PReq. */
|
|
5631
|
-
class ReportP2PReq implements IReportP2PReq {
|
|
5632
|
-
|
|
5633
|
-
/**
|
|
5634
|
-
* Constructs a new ReportP2PReq.
|
|
5635
|
-
* @param [properties] Properties to set
|
|
5636
|
-
*/
|
|
5637
|
-
constructor(properties?: com.quick.voice.proto.IReportP2PReq);
|
|
5638
|
-
|
|
5639
|
-
/** ReportP2PReq code. */
|
|
5640
|
-
public code: com.quick.voice.proto.P2PCode;
|
|
5641
|
-
|
|
5642
|
-
/** ReportP2PReq userId. */
|
|
5643
|
-
public userId: string;
|
|
5644
|
-
|
|
5645
|
-
/** ReportP2PReq reason. */
|
|
5646
|
-
public reason?: (string|null);
|
|
5647
|
-
|
|
5648
|
-
/**
|
|
5649
|
-
* Creates a new ReportP2PReq instance using the specified properties.
|
|
5650
|
-
* @param [properties] Properties to set
|
|
5651
|
-
* @returns ReportP2PReq instance
|
|
5652
|
-
*/
|
|
5653
|
-
public static create(properties?: com.quick.voice.proto.IReportP2PReq): com.quick.voice.proto.ReportP2PReq;
|
|
5654
|
-
|
|
5655
|
-
/**
|
|
5656
|
-
* Encodes the specified ReportP2PReq message. Does not implicitly {@link com.quick.voice.proto.ReportP2PReq.verify|verify} messages.
|
|
5657
|
-
* @param message ReportP2PReq message or plain object to encode
|
|
5658
|
-
* @param [writer] Writer to encode to
|
|
5659
|
-
* @returns Writer
|
|
5660
|
-
*/
|
|
5661
|
-
public static encode(message: com.quick.voice.proto.IReportP2PReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5662
|
-
|
|
5663
|
-
/**
|
|
5664
|
-
* Encodes the specified ReportP2PReq message, length delimited. Does not implicitly {@link com.quick.voice.proto.ReportP2PReq.verify|verify} messages.
|
|
5665
|
-
* @param message ReportP2PReq message or plain object to encode
|
|
5666
|
-
* @param [writer] Writer to encode to
|
|
5667
|
-
* @returns Writer
|
|
5668
|
-
*/
|
|
5669
|
-
public static encodeDelimited(message: com.quick.voice.proto.IReportP2PReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5670
|
-
|
|
5671
|
-
/**
|
|
5672
|
-
* Decodes a ReportP2PReq message from the specified reader or buffer.
|
|
5673
|
-
* @param reader Reader or buffer to decode from
|
|
5674
|
-
* @param [length] Message length if known beforehand
|
|
5675
|
-
* @returns ReportP2PReq
|
|
5676
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5677
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5678
|
-
*/
|
|
5679
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.ReportP2PReq;
|
|
5680
|
-
|
|
5681
|
-
/**
|
|
5682
|
-
* Decodes a ReportP2PReq message from the specified reader or buffer, length delimited.
|
|
5683
|
-
* @param reader Reader or buffer to decode from
|
|
5684
|
-
* @returns ReportP2PReq
|
|
5685
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5686
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5687
|
-
*/
|
|
5688
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.ReportP2PReq;
|
|
5689
|
-
|
|
5690
|
-
/**
|
|
5691
|
-
* Verifies a ReportP2PReq message.
|
|
5692
|
-
* @param message Plain object to verify
|
|
5693
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
5694
|
-
*/
|
|
5695
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
5696
|
-
|
|
5697
|
-
/**
|
|
5698
|
-
* Creates a ReportP2PReq message from a plain object. Also converts values to their respective internal types.
|
|
5699
|
-
* @param object Plain object
|
|
5700
|
-
* @returns ReportP2PReq
|
|
5701
|
-
*/
|
|
5702
|
-
public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.ReportP2PReq;
|
|
5703
|
-
|
|
5704
|
-
/**
|
|
5705
|
-
* Creates a plain object from a ReportP2PReq message. Also converts values to other types if specified.
|
|
5706
|
-
* @param message ReportP2PReq
|
|
5707
|
-
* @param [options] Conversion options
|
|
5708
|
-
* @returns Plain object
|
|
5709
|
-
*/
|
|
5710
|
-
public static toObject(message: com.quick.voice.proto.ReportP2PReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5711
|
-
|
|
5712
|
-
/**
|
|
5713
|
-
* Converts this ReportP2PReq to JSON.
|
|
5714
|
-
* @returns JSON object
|
|
5715
|
-
*/
|
|
5716
|
-
public toJSON(): { [k: string]: any };
|
|
5717
|
-
|
|
5718
|
-
/**
|
|
5719
|
-
* Gets the default type url for ReportP2PReq
|
|
5720
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5721
|
-
* @returns The default type url
|
|
5722
|
-
*/
|
|
5723
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5724
|
-
}
|
|
5725
|
-
|
|
5726
|
-
/** Properties of a ReportTrafficUsage. */
|
|
5727
|
-
interface IReportTrafficUsage {
|
|
5728
|
-
|
|
5729
|
-
/** ReportTrafficUsage p2pPush */
|
|
5730
|
-
p2pPush?: (number|Long|null);
|
|
5731
|
-
|
|
5732
|
-
/** ReportTrafficUsage p2pPull */
|
|
5733
|
-
p2pPull?: (number|Long|null);
|
|
5734
|
-
|
|
5735
|
-
/** ReportTrafficUsage sfuPush */
|
|
5736
|
-
sfuPush?: (number|Long|null);
|
|
5737
|
-
|
|
5738
|
-
/** ReportTrafficUsage sfuPull */
|
|
5739
|
-
sfuPull?: (number|Long|null);
|
|
5740
|
-
}
|
|
5741
|
-
|
|
5742
|
-
/** Represents a ReportTrafficUsage. */
|
|
5743
|
-
class ReportTrafficUsage implements IReportTrafficUsage {
|
|
5744
|
-
|
|
5745
|
-
/**
|
|
5746
|
-
* Constructs a new ReportTrafficUsage.
|
|
5747
|
-
* @param [properties] Properties to set
|
|
5748
|
-
*/
|
|
5749
|
-
constructor(properties?: com.quick.voice.proto.IReportTrafficUsage);
|
|
5750
|
-
|
|
5751
|
-
/** ReportTrafficUsage p2pPush. */
|
|
5752
|
-
public p2pPush?: (number|Long|null);
|
|
5753
|
-
|
|
5754
|
-
/** ReportTrafficUsage p2pPull. */
|
|
5755
|
-
public p2pPull?: (number|Long|null);
|
|
5756
|
-
|
|
5757
|
-
/** ReportTrafficUsage sfuPush. */
|
|
5758
|
-
public sfuPush?: (number|Long|null);
|
|
5759
|
-
|
|
5760
|
-
/** ReportTrafficUsage sfuPull. */
|
|
5761
|
-
public sfuPull?: (number|Long|null);
|
|
5762
|
-
|
|
5763
|
-
/**
|
|
5764
|
-
* Creates a new ReportTrafficUsage instance using the specified properties.
|
|
5765
|
-
* @param [properties] Properties to set
|
|
5766
|
-
* @returns ReportTrafficUsage instance
|
|
5767
|
-
*/
|
|
5768
|
-
public static create(properties?: com.quick.voice.proto.IReportTrafficUsage): com.quick.voice.proto.ReportTrafficUsage;
|
|
5769
|
-
|
|
5770
|
-
/**
|
|
5771
|
-
* Encodes the specified ReportTrafficUsage message. Does not implicitly {@link com.quick.voice.proto.ReportTrafficUsage.verify|verify} messages.
|
|
5772
|
-
* @param message ReportTrafficUsage message or plain object to encode
|
|
5773
|
-
* @param [writer] Writer to encode to
|
|
5774
|
-
* @returns Writer
|
|
5775
|
-
*/
|
|
5776
|
-
public static encode(message: com.quick.voice.proto.IReportTrafficUsage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5777
|
-
|
|
5778
|
-
/**
|
|
5779
|
-
* Encodes the specified ReportTrafficUsage message, length delimited. Does not implicitly {@link com.quick.voice.proto.ReportTrafficUsage.verify|verify} messages.
|
|
5780
|
-
* @param message ReportTrafficUsage message or plain object to encode
|
|
5781
|
-
* @param [writer] Writer to encode to
|
|
5782
|
-
* @returns Writer
|
|
5783
|
-
*/
|
|
5784
|
-
public static encodeDelimited(message: com.quick.voice.proto.IReportTrafficUsage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5785
|
-
|
|
5786
|
-
/**
|
|
5787
|
-
* Decodes a ReportTrafficUsage message from the specified reader or buffer.
|
|
5788
|
-
* @param reader Reader or buffer to decode from
|
|
5789
|
-
* @param [length] Message length if known beforehand
|
|
5790
|
-
* @returns ReportTrafficUsage
|
|
5791
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5792
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5793
|
-
*/
|
|
5794
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.ReportTrafficUsage;
|
|
5795
|
-
|
|
5796
|
-
/**
|
|
5797
|
-
* Decodes a ReportTrafficUsage message from the specified reader or buffer, length delimited.
|
|
5798
|
-
* @param reader Reader or buffer to decode from
|
|
5799
|
-
* @returns ReportTrafficUsage
|
|
5800
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5801
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5802
|
-
*/
|
|
5803
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.ReportTrafficUsage;
|
|
5804
|
-
|
|
5805
|
-
/**
|
|
5806
|
-
* Verifies a ReportTrafficUsage message.
|
|
5807
|
-
* @param message Plain object to verify
|
|
5808
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
5809
|
-
*/
|
|
5810
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
5811
|
-
|
|
5812
|
-
/**
|
|
5813
|
-
* Creates a ReportTrafficUsage message from a plain object. Also converts values to their respective internal types.
|
|
5814
|
-
* @param object Plain object
|
|
5815
|
-
* @returns ReportTrafficUsage
|
|
5816
|
-
*/
|
|
5817
|
-
public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.ReportTrafficUsage;
|
|
5818
|
-
|
|
5819
|
-
/**
|
|
5820
|
-
* Creates a plain object from a ReportTrafficUsage message. Also converts values to other types if specified.
|
|
5821
|
-
* @param message ReportTrafficUsage
|
|
5822
|
-
* @param [options] Conversion options
|
|
5823
|
-
* @returns Plain object
|
|
5824
|
-
*/
|
|
5825
|
-
public static toObject(message: com.quick.voice.proto.ReportTrafficUsage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5826
|
-
|
|
5827
|
-
/**
|
|
5828
|
-
* Converts this ReportTrafficUsage to JSON.
|
|
5829
|
-
* @returns JSON object
|
|
5830
|
-
*/
|
|
5831
|
-
public toJSON(): { [k: string]: any };
|
|
5832
|
-
|
|
5833
|
-
/**
|
|
5834
|
-
* Gets the default type url for ReportTrafficUsage
|
|
5835
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5836
|
-
* @returns The default type url
|
|
5837
|
-
*/
|
|
5838
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5839
|
-
}
|
|
5840
|
-
|
|
5841
|
-
/** Properties of a P2PAttemptConnectReq. */
|
|
5842
|
-
interface IP2PAttemptConnectReq {
|
|
5843
|
-
|
|
5844
|
-
/** P2PAttemptConnectReq userId */
|
|
5845
|
-
userId?: (string|null);
|
|
5846
|
-
|
|
5847
|
-
/** P2PAttemptConnectReq roomId */
|
|
5848
|
-
roomId?: (string|null);
|
|
5849
|
-
}
|
|
5850
|
-
|
|
5851
|
-
/** Represents a P2PAttemptConnectReq. */
|
|
5852
|
-
class P2PAttemptConnectReq implements IP2PAttemptConnectReq {
|
|
5853
|
-
|
|
5854
|
-
/**
|
|
5855
|
-
* Constructs a new P2PAttemptConnectReq.
|
|
5856
|
-
* @param [properties] Properties to set
|
|
5857
|
-
*/
|
|
5858
|
-
constructor(properties?: com.quick.voice.proto.IP2PAttemptConnectReq);
|
|
5859
|
-
|
|
5860
|
-
/** P2PAttemptConnectReq userId. */
|
|
5861
|
-
public userId: string;
|
|
5862
|
-
|
|
5863
|
-
/** P2PAttemptConnectReq roomId. */
|
|
5864
|
-
public roomId: string;
|
|
5865
|
-
|
|
5866
|
-
/**
|
|
5867
|
-
* Creates a new P2PAttemptConnectReq instance using the specified properties.
|
|
5868
|
-
* @param [properties] Properties to set
|
|
5869
|
-
* @returns P2PAttemptConnectReq instance
|
|
5870
|
-
*/
|
|
5871
|
-
public static create(properties?: com.quick.voice.proto.IP2PAttemptConnectReq): com.quick.voice.proto.P2PAttemptConnectReq;
|
|
5872
|
-
|
|
5873
|
-
/**
|
|
5874
|
-
* Encodes the specified P2PAttemptConnectReq message. Does not implicitly {@link com.quick.voice.proto.P2PAttemptConnectReq.verify|verify} messages.
|
|
5875
|
-
* @param message P2PAttemptConnectReq message or plain object to encode
|
|
5876
|
-
* @param [writer] Writer to encode to
|
|
5877
|
-
* @returns Writer
|
|
5878
|
-
*/
|
|
5879
|
-
public static encode(message: com.quick.voice.proto.IP2PAttemptConnectReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5880
|
-
|
|
5881
|
-
/**
|
|
5882
|
-
* Encodes the specified P2PAttemptConnectReq message, length delimited. Does not implicitly {@link com.quick.voice.proto.P2PAttemptConnectReq.verify|verify} messages.
|
|
5883
|
-
* @param message P2PAttemptConnectReq message or plain object to encode
|
|
5884
|
-
* @param [writer] Writer to encode to
|
|
5885
|
-
* @returns Writer
|
|
5886
|
-
*/
|
|
5887
|
-
public static encodeDelimited(message: com.quick.voice.proto.IP2PAttemptConnectReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5888
|
-
|
|
5889
|
-
/**
|
|
5890
|
-
* Decodes a P2PAttemptConnectReq message from the specified reader or buffer.
|
|
5891
|
-
* @param reader Reader or buffer to decode from
|
|
5892
|
-
* @param [length] Message length if known beforehand
|
|
5893
|
-
* @returns P2PAttemptConnectReq
|
|
5894
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5895
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5896
|
-
*/
|
|
5897
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.P2PAttemptConnectReq;
|
|
5898
|
-
|
|
5899
|
-
/**
|
|
5900
|
-
* Decodes a P2PAttemptConnectReq message from the specified reader or buffer, length delimited.
|
|
5901
|
-
* @param reader Reader or buffer to decode from
|
|
5902
|
-
* @returns P2PAttemptConnectReq
|
|
5903
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5904
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5905
|
-
*/
|
|
5906
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.P2PAttemptConnectReq;
|
|
5907
|
-
|
|
5908
|
-
/**
|
|
5909
|
-
* Verifies a P2PAttemptConnectReq message.
|
|
5910
|
-
* @param message Plain object to verify
|
|
5911
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
5912
|
-
*/
|
|
5913
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
5914
|
-
|
|
5915
|
-
/**
|
|
5916
|
-
* Creates a P2PAttemptConnectReq message from a plain object. Also converts values to their respective internal types.
|
|
5917
|
-
* @param object Plain object
|
|
5918
|
-
* @returns P2PAttemptConnectReq
|
|
5919
|
-
*/
|
|
5920
|
-
public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.P2PAttemptConnectReq;
|
|
5921
|
-
|
|
5922
|
-
/**
|
|
5923
|
-
* Creates a plain object from a P2PAttemptConnectReq message. Also converts values to other types if specified.
|
|
5924
|
-
* @param message P2PAttemptConnectReq
|
|
5925
|
-
* @param [options] Conversion options
|
|
5926
|
-
* @returns Plain object
|
|
5927
|
-
*/
|
|
5928
|
-
public static toObject(message: com.quick.voice.proto.P2PAttemptConnectReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5929
|
-
|
|
5930
|
-
/**
|
|
5931
|
-
* Converts this P2PAttemptConnectReq to JSON.
|
|
5932
|
-
* @returns JSON object
|
|
5933
|
-
*/
|
|
5934
|
-
public toJSON(): { [k: string]: any };
|
|
5935
|
-
|
|
5936
|
-
/**
|
|
5937
|
-
* Gets the default type url for P2PAttemptConnectReq
|
|
5938
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5939
|
-
* @returns The default type url
|
|
5940
|
-
*/
|
|
5941
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5942
|
-
}
|
|
5943
5465
|
}
|
|
5944
5466
|
}
|
|
5945
5467
|
}
|