quickvo-sdk-js 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/enums/eventName.d.ts +3 -1
- package/dist/enums/notifyName.d.ts +2 -2
- package/dist/enums/roomState.d.ts +3 -2
- package/dist/index.js +4898 -4130
- package/dist/index.umd.cjs +2 -2
- package/dist/protos/compiled.d.ts +685 -115
- package/dist/room/CallsWebSocket.d.ts +5 -4
- package/dist/room/RoomBase.d.ts +8 -5
- package/dist/room/RoomCalls.d.ts +26 -9
- package/dist/room/RoomMedias.d.ts +4 -7
- package/dist/room/RoomPeer.d.ts +25 -9
- package/dist/room/mediaStreams/VideoMediaContext.d.ts +1 -0
- package/dist/tools.d.ts +2 -0
- package/package.json +3 -3
|
@@ -313,6 +313,9 @@ export namespace com {
|
|
|
313
313
|
|
|
314
314
|
/** User isPublished */
|
|
315
315
|
isPublished?: (boolean|null);
|
|
316
|
+
|
|
317
|
+
/** User behavior */
|
|
318
|
+
behavior?: (number|null);
|
|
316
319
|
}
|
|
317
320
|
|
|
318
321
|
/** Represents a User. */
|
|
@@ -345,6 +348,9 @@ export namespace com {
|
|
|
345
348
|
/** User isPublished. */
|
|
346
349
|
public isPublished?: (boolean|null);
|
|
347
350
|
|
|
351
|
+
/** User behavior. */
|
|
352
|
+
public behavior?: (number|null);
|
|
353
|
+
|
|
348
354
|
/**
|
|
349
355
|
* Creates a new User instance using the specified properties.
|
|
350
356
|
* @param [properties] Properties to set
|
|
@@ -1203,6 +1209,9 @@ export namespace com {
|
|
|
1203
1209
|
|
|
1204
1210
|
/** PublishReq callAction */
|
|
1205
1211
|
callAction?: (number|null);
|
|
1212
|
+
|
|
1213
|
+
/** PublishReq recreate */
|
|
1214
|
+
recreate?: (boolean|null);
|
|
1206
1215
|
}
|
|
1207
1216
|
|
|
1208
1217
|
/** Represents a PublishReq. */
|
|
@@ -1223,6 +1232,9 @@ export namespace com {
|
|
|
1223
1232
|
/** PublishReq callAction. */
|
|
1224
1233
|
public callAction: number;
|
|
1225
1234
|
|
|
1235
|
+
/** PublishReq recreate. */
|
|
1236
|
+
public recreate?: (boolean|null);
|
|
1237
|
+
|
|
1226
1238
|
/**
|
|
1227
1239
|
* Creates a new PublishReq instance using the specified properties.
|
|
1228
1240
|
* @param [properties] Properties to set
|
|
@@ -2860,6 +2872,9 @@ export namespace com {
|
|
|
2860
2872
|
|
|
2861
2873
|
/** CloseTrackReq tracks */
|
|
2862
2874
|
tracks?: (com.quick.voice.proto.ITrack[]|null);
|
|
2875
|
+
|
|
2876
|
+
/** CloseTrackReq roomId */
|
|
2877
|
+
roomId?: (string|null);
|
|
2863
2878
|
}
|
|
2864
2879
|
|
|
2865
2880
|
/** Represents a CloseTrackReq. */
|
|
@@ -2877,6 +2892,9 @@ export namespace com {
|
|
|
2877
2892
|
/** CloseTrackReq tracks. */
|
|
2878
2893
|
public tracks: com.quick.voice.proto.ITrack[];
|
|
2879
2894
|
|
|
2895
|
+
/** CloseTrackReq roomId. */
|
|
2896
|
+
public roomId: string;
|
|
2897
|
+
|
|
2880
2898
|
/**
|
|
2881
2899
|
* Creates a new CloseTrackReq instance using the specified properties.
|
|
2882
2900
|
* @param [properties] Properties to set
|
|
@@ -3361,121 +3379,6 @@ export namespace com {
|
|
|
3361
3379
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3362
3380
|
}
|
|
3363
3381
|
|
|
3364
|
-
/** Properties of a CDNPlayAddressNotify. */
|
|
3365
|
-
interface ICDNPlayAddressNotify {
|
|
3366
|
-
|
|
3367
|
-
/** CDNPlayAddressNotify roomId */
|
|
3368
|
-
roomId?: (string|null);
|
|
3369
|
-
|
|
3370
|
-
/** CDNPlayAddressNotify m3u8 */
|
|
3371
|
-
m3u8?: (string|null);
|
|
3372
|
-
|
|
3373
|
-
/** CDNPlayAddressNotify rtmp */
|
|
3374
|
-
rtmp?: (string|null);
|
|
3375
|
-
|
|
3376
|
-
/** CDNPlayAddressNotify flv */
|
|
3377
|
-
flv?: (string|null);
|
|
3378
|
-
}
|
|
3379
|
-
|
|
3380
|
-
/** Represents a CDNPlayAddressNotify. */
|
|
3381
|
-
class CDNPlayAddressNotify implements ICDNPlayAddressNotify {
|
|
3382
|
-
|
|
3383
|
-
/**
|
|
3384
|
-
* Constructs a new CDNPlayAddressNotify.
|
|
3385
|
-
* @param [properties] Properties to set
|
|
3386
|
-
*/
|
|
3387
|
-
constructor(properties?: com.quick.voice.proto.ICDNPlayAddressNotify);
|
|
3388
|
-
|
|
3389
|
-
/** CDNPlayAddressNotify roomId. */
|
|
3390
|
-
public roomId: string;
|
|
3391
|
-
|
|
3392
|
-
/** CDNPlayAddressNotify m3u8. */
|
|
3393
|
-
public m3u8: string;
|
|
3394
|
-
|
|
3395
|
-
/** CDNPlayAddressNotify rtmp. */
|
|
3396
|
-
public rtmp: string;
|
|
3397
|
-
|
|
3398
|
-
/** CDNPlayAddressNotify flv. */
|
|
3399
|
-
public flv: string;
|
|
3400
|
-
|
|
3401
|
-
/**
|
|
3402
|
-
* Creates a new CDNPlayAddressNotify instance using the specified properties.
|
|
3403
|
-
* @param [properties] Properties to set
|
|
3404
|
-
* @returns CDNPlayAddressNotify instance
|
|
3405
|
-
*/
|
|
3406
|
-
public static create(properties?: com.quick.voice.proto.ICDNPlayAddressNotify): com.quick.voice.proto.CDNPlayAddressNotify;
|
|
3407
|
-
|
|
3408
|
-
/**
|
|
3409
|
-
* Encodes the specified CDNPlayAddressNotify message. Does not implicitly {@link com.quick.voice.proto.CDNPlayAddressNotify.verify|verify} messages.
|
|
3410
|
-
* @param message CDNPlayAddressNotify message or plain object to encode
|
|
3411
|
-
* @param [writer] Writer to encode to
|
|
3412
|
-
* @returns Writer
|
|
3413
|
-
*/
|
|
3414
|
-
public static encode(message: com.quick.voice.proto.ICDNPlayAddressNotify, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3415
|
-
|
|
3416
|
-
/**
|
|
3417
|
-
* Encodes the specified CDNPlayAddressNotify message, length delimited. Does not implicitly {@link com.quick.voice.proto.CDNPlayAddressNotify.verify|verify} messages.
|
|
3418
|
-
* @param message CDNPlayAddressNotify message or plain object to encode
|
|
3419
|
-
* @param [writer] Writer to encode to
|
|
3420
|
-
* @returns Writer
|
|
3421
|
-
*/
|
|
3422
|
-
public static encodeDelimited(message: com.quick.voice.proto.ICDNPlayAddressNotify, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3423
|
-
|
|
3424
|
-
/**
|
|
3425
|
-
* Decodes a CDNPlayAddressNotify message from the specified reader or buffer.
|
|
3426
|
-
* @param reader Reader or buffer to decode from
|
|
3427
|
-
* @param [length] Message length if known beforehand
|
|
3428
|
-
* @returns CDNPlayAddressNotify
|
|
3429
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3430
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3431
|
-
*/
|
|
3432
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.CDNPlayAddressNotify;
|
|
3433
|
-
|
|
3434
|
-
/**
|
|
3435
|
-
* Decodes a CDNPlayAddressNotify message from the specified reader or buffer, length delimited.
|
|
3436
|
-
* @param reader Reader or buffer to decode from
|
|
3437
|
-
* @returns CDNPlayAddressNotify
|
|
3438
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3439
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3440
|
-
*/
|
|
3441
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.CDNPlayAddressNotify;
|
|
3442
|
-
|
|
3443
|
-
/**
|
|
3444
|
-
* Verifies a CDNPlayAddressNotify message.
|
|
3445
|
-
* @param message Plain object to verify
|
|
3446
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
3447
|
-
*/
|
|
3448
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
3449
|
-
|
|
3450
|
-
/**
|
|
3451
|
-
* Creates a CDNPlayAddressNotify message from a plain object. Also converts values to their respective internal types.
|
|
3452
|
-
* @param object Plain object
|
|
3453
|
-
* @returns CDNPlayAddressNotify
|
|
3454
|
-
*/
|
|
3455
|
-
public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.CDNPlayAddressNotify;
|
|
3456
|
-
|
|
3457
|
-
/**
|
|
3458
|
-
* Creates a plain object from a CDNPlayAddressNotify message. Also converts values to other types if specified.
|
|
3459
|
-
* @param message CDNPlayAddressNotify
|
|
3460
|
-
* @param [options] Conversion options
|
|
3461
|
-
* @returns Plain object
|
|
3462
|
-
*/
|
|
3463
|
-
public static toObject(message: com.quick.voice.proto.CDNPlayAddressNotify, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3464
|
-
|
|
3465
|
-
/**
|
|
3466
|
-
* Converts this CDNPlayAddressNotify to JSON.
|
|
3467
|
-
* @returns JSON object
|
|
3468
|
-
*/
|
|
3469
|
-
public toJSON(): { [k: string]: any };
|
|
3470
|
-
|
|
3471
|
-
/**
|
|
3472
|
-
* Gets the default type url for CDNPlayAddressNotify
|
|
3473
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3474
|
-
* @returns The default type url
|
|
3475
|
-
*/
|
|
3476
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3477
|
-
}
|
|
3478
|
-
|
|
3479
3382
|
/** TrackType enum. */
|
|
3480
3383
|
enum TrackType {
|
|
3481
3384
|
Microphone = 0,
|
|
@@ -3724,6 +3627,673 @@ export namespace com {
|
|
|
3724
3627
|
EndPk = 2023,
|
|
3725
3628
|
EndLive = 2024
|
|
3726
3629
|
}
|
|
3630
|
+
|
|
3631
|
+
/** Properties of a UserBehavior. */
|
|
3632
|
+
interface IUserBehavior {
|
|
3633
|
+
|
|
3634
|
+
/** UserBehavior type */
|
|
3635
|
+
type?: (com.quick.voice.proto.TrackType|null);
|
|
3636
|
+
|
|
3637
|
+
/** UserBehavior behavior */
|
|
3638
|
+
behavior?: (boolean|null);
|
|
3639
|
+
}
|
|
3640
|
+
|
|
3641
|
+
/** Represents a UserBehavior. */
|
|
3642
|
+
class UserBehavior implements IUserBehavior {
|
|
3643
|
+
|
|
3644
|
+
/**
|
|
3645
|
+
* Constructs a new UserBehavior.
|
|
3646
|
+
* @param [properties] Properties to set
|
|
3647
|
+
*/
|
|
3648
|
+
constructor(properties?: com.quick.voice.proto.IUserBehavior);
|
|
3649
|
+
|
|
3650
|
+
/** UserBehavior type. */
|
|
3651
|
+
public type: com.quick.voice.proto.TrackType;
|
|
3652
|
+
|
|
3653
|
+
/** UserBehavior behavior. */
|
|
3654
|
+
public behavior: boolean;
|
|
3655
|
+
|
|
3656
|
+
/**
|
|
3657
|
+
* Creates a new UserBehavior instance using the specified properties.
|
|
3658
|
+
* @param [properties] Properties to set
|
|
3659
|
+
* @returns UserBehavior instance
|
|
3660
|
+
*/
|
|
3661
|
+
public static create(properties?: com.quick.voice.proto.IUserBehavior): com.quick.voice.proto.UserBehavior;
|
|
3662
|
+
|
|
3663
|
+
/**
|
|
3664
|
+
* Encodes the specified UserBehavior message. Does not implicitly {@link com.quick.voice.proto.UserBehavior.verify|verify} messages.
|
|
3665
|
+
* @param message UserBehavior message or plain object to encode
|
|
3666
|
+
* @param [writer] Writer to encode to
|
|
3667
|
+
* @returns Writer
|
|
3668
|
+
*/
|
|
3669
|
+
public static encode(message: com.quick.voice.proto.IUserBehavior, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3670
|
+
|
|
3671
|
+
/**
|
|
3672
|
+
* Encodes the specified UserBehavior message, length delimited. Does not implicitly {@link com.quick.voice.proto.UserBehavior.verify|verify} messages.
|
|
3673
|
+
* @param message UserBehavior message or plain object to encode
|
|
3674
|
+
* @param [writer] Writer to encode to
|
|
3675
|
+
* @returns Writer
|
|
3676
|
+
*/
|
|
3677
|
+
public static encodeDelimited(message: com.quick.voice.proto.IUserBehavior, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3678
|
+
|
|
3679
|
+
/**
|
|
3680
|
+
* Decodes a UserBehavior message from the specified reader or buffer.
|
|
3681
|
+
* @param reader Reader or buffer to decode from
|
|
3682
|
+
* @param [length] Message length if known beforehand
|
|
3683
|
+
* @returns UserBehavior
|
|
3684
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3685
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3686
|
+
*/
|
|
3687
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.UserBehavior;
|
|
3688
|
+
|
|
3689
|
+
/**
|
|
3690
|
+
* Decodes a UserBehavior message from the specified reader or buffer, length delimited.
|
|
3691
|
+
* @param reader Reader or buffer to decode from
|
|
3692
|
+
* @returns UserBehavior
|
|
3693
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3694
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3695
|
+
*/
|
|
3696
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.UserBehavior;
|
|
3697
|
+
|
|
3698
|
+
/**
|
|
3699
|
+
* Verifies a UserBehavior message.
|
|
3700
|
+
* @param message Plain object to verify
|
|
3701
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3702
|
+
*/
|
|
3703
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3704
|
+
|
|
3705
|
+
/**
|
|
3706
|
+
* Creates a UserBehavior message from a plain object. Also converts values to their respective internal types.
|
|
3707
|
+
* @param object Plain object
|
|
3708
|
+
* @returns UserBehavior
|
|
3709
|
+
*/
|
|
3710
|
+
public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.UserBehavior;
|
|
3711
|
+
|
|
3712
|
+
/**
|
|
3713
|
+
* Creates a plain object from a UserBehavior message. Also converts values to other types if specified.
|
|
3714
|
+
* @param message UserBehavior
|
|
3715
|
+
* @param [options] Conversion options
|
|
3716
|
+
* @returns Plain object
|
|
3717
|
+
*/
|
|
3718
|
+
public static toObject(message: com.quick.voice.proto.UserBehavior, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3719
|
+
|
|
3720
|
+
/**
|
|
3721
|
+
* Converts this UserBehavior to JSON.
|
|
3722
|
+
* @returns JSON object
|
|
3723
|
+
*/
|
|
3724
|
+
public toJSON(): { [k: string]: any };
|
|
3725
|
+
|
|
3726
|
+
/**
|
|
3727
|
+
* Gets the default type url for UserBehavior
|
|
3728
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3729
|
+
* @returns The default type url
|
|
3730
|
+
*/
|
|
3731
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3732
|
+
}
|
|
3733
|
+
|
|
3734
|
+
/** Properties of a PreventUser. */
|
|
3735
|
+
interface IPreventUser {
|
|
3736
|
+
|
|
3737
|
+
/** PreventUser id */
|
|
3738
|
+
id?: (string|null);
|
|
3739
|
+
|
|
3740
|
+
/** PreventUser behaviors */
|
|
3741
|
+
behaviors?: (com.quick.voice.proto.IUserBehavior[]|null);
|
|
3742
|
+
}
|
|
3743
|
+
|
|
3744
|
+
/** Represents a PreventUser. */
|
|
3745
|
+
class PreventUser implements IPreventUser {
|
|
3746
|
+
|
|
3747
|
+
/**
|
|
3748
|
+
* Constructs a new PreventUser.
|
|
3749
|
+
* @param [properties] Properties to set
|
|
3750
|
+
*/
|
|
3751
|
+
constructor(properties?: com.quick.voice.proto.IPreventUser);
|
|
3752
|
+
|
|
3753
|
+
/** PreventUser id. */
|
|
3754
|
+
public id: string;
|
|
3755
|
+
|
|
3756
|
+
/** PreventUser behaviors. */
|
|
3757
|
+
public behaviors: com.quick.voice.proto.IUserBehavior[];
|
|
3758
|
+
|
|
3759
|
+
/**
|
|
3760
|
+
* Creates a new PreventUser instance using the specified properties.
|
|
3761
|
+
* @param [properties] Properties to set
|
|
3762
|
+
* @returns PreventUser instance
|
|
3763
|
+
*/
|
|
3764
|
+
public static create(properties?: com.quick.voice.proto.IPreventUser): com.quick.voice.proto.PreventUser;
|
|
3765
|
+
|
|
3766
|
+
/**
|
|
3767
|
+
* Encodes the specified PreventUser message. Does not implicitly {@link com.quick.voice.proto.PreventUser.verify|verify} messages.
|
|
3768
|
+
* @param message PreventUser message or plain object to encode
|
|
3769
|
+
* @param [writer] Writer to encode to
|
|
3770
|
+
* @returns Writer
|
|
3771
|
+
*/
|
|
3772
|
+
public static encode(message: com.quick.voice.proto.IPreventUser, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3773
|
+
|
|
3774
|
+
/**
|
|
3775
|
+
* Encodes the specified PreventUser message, length delimited. Does not implicitly {@link com.quick.voice.proto.PreventUser.verify|verify} messages.
|
|
3776
|
+
* @param message PreventUser message or plain object to encode
|
|
3777
|
+
* @param [writer] Writer to encode to
|
|
3778
|
+
* @returns Writer
|
|
3779
|
+
*/
|
|
3780
|
+
public static encodeDelimited(message: com.quick.voice.proto.IPreventUser, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3781
|
+
|
|
3782
|
+
/**
|
|
3783
|
+
* Decodes a PreventUser message from the specified reader or buffer.
|
|
3784
|
+
* @param reader Reader or buffer to decode from
|
|
3785
|
+
* @param [length] Message length if known beforehand
|
|
3786
|
+
* @returns PreventUser
|
|
3787
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3788
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3789
|
+
*/
|
|
3790
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.PreventUser;
|
|
3791
|
+
|
|
3792
|
+
/**
|
|
3793
|
+
* Decodes a PreventUser message from the specified reader or buffer, length delimited.
|
|
3794
|
+
* @param reader Reader or buffer to decode from
|
|
3795
|
+
* @returns PreventUser
|
|
3796
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3797
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3798
|
+
*/
|
|
3799
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.PreventUser;
|
|
3800
|
+
|
|
3801
|
+
/**
|
|
3802
|
+
* Verifies a PreventUser message.
|
|
3803
|
+
* @param message Plain object to verify
|
|
3804
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3805
|
+
*/
|
|
3806
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3807
|
+
|
|
3808
|
+
/**
|
|
3809
|
+
* Creates a PreventUser message from a plain object. Also converts values to their respective internal types.
|
|
3810
|
+
* @param object Plain object
|
|
3811
|
+
* @returns PreventUser
|
|
3812
|
+
*/
|
|
3813
|
+
public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.PreventUser;
|
|
3814
|
+
|
|
3815
|
+
/**
|
|
3816
|
+
* Creates a plain object from a PreventUser message. Also converts values to other types if specified.
|
|
3817
|
+
* @param message PreventUser
|
|
3818
|
+
* @param [options] Conversion options
|
|
3819
|
+
* @returns Plain object
|
|
3820
|
+
*/
|
|
3821
|
+
public static toObject(message: com.quick.voice.proto.PreventUser, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3822
|
+
|
|
3823
|
+
/**
|
|
3824
|
+
* Converts this PreventUser to JSON.
|
|
3825
|
+
* @returns JSON object
|
|
3826
|
+
*/
|
|
3827
|
+
public toJSON(): { [k: string]: any };
|
|
3828
|
+
|
|
3829
|
+
/**
|
|
3830
|
+
* Gets the default type url for PreventUser
|
|
3831
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3832
|
+
* @returns The default type url
|
|
3833
|
+
*/
|
|
3834
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3835
|
+
}
|
|
3836
|
+
|
|
3837
|
+
/** Properties of a PreventUsersBehaviorReq. */
|
|
3838
|
+
interface IPreventUsersBehaviorReq {
|
|
3839
|
+
|
|
3840
|
+
/** PreventUsersBehaviorReq roomId */
|
|
3841
|
+
roomId?: (string|null);
|
|
3842
|
+
|
|
3843
|
+
/** PreventUsersBehaviorReq users */
|
|
3844
|
+
users?: (com.quick.voice.proto.IPreventUser[]|null);
|
|
3845
|
+
}
|
|
3846
|
+
|
|
3847
|
+
/** Represents a PreventUsersBehaviorReq. */
|
|
3848
|
+
class PreventUsersBehaviorReq implements IPreventUsersBehaviorReq {
|
|
3849
|
+
|
|
3850
|
+
/**
|
|
3851
|
+
* Constructs a new PreventUsersBehaviorReq.
|
|
3852
|
+
* @param [properties] Properties to set
|
|
3853
|
+
*/
|
|
3854
|
+
constructor(properties?: com.quick.voice.proto.IPreventUsersBehaviorReq);
|
|
3855
|
+
|
|
3856
|
+
/** PreventUsersBehaviorReq roomId. */
|
|
3857
|
+
public roomId: string;
|
|
3858
|
+
|
|
3859
|
+
/** PreventUsersBehaviorReq users. */
|
|
3860
|
+
public users: com.quick.voice.proto.IPreventUser[];
|
|
3861
|
+
|
|
3862
|
+
/**
|
|
3863
|
+
* Creates a new PreventUsersBehaviorReq instance using the specified properties.
|
|
3864
|
+
* @param [properties] Properties to set
|
|
3865
|
+
* @returns PreventUsersBehaviorReq instance
|
|
3866
|
+
*/
|
|
3867
|
+
public static create(properties?: com.quick.voice.proto.IPreventUsersBehaviorReq): com.quick.voice.proto.PreventUsersBehaviorReq;
|
|
3868
|
+
|
|
3869
|
+
/**
|
|
3870
|
+
* Encodes the specified PreventUsersBehaviorReq message. Does not implicitly {@link com.quick.voice.proto.PreventUsersBehaviorReq.verify|verify} messages.
|
|
3871
|
+
* @param message PreventUsersBehaviorReq message or plain object to encode
|
|
3872
|
+
* @param [writer] Writer to encode to
|
|
3873
|
+
* @returns Writer
|
|
3874
|
+
*/
|
|
3875
|
+
public static encode(message: com.quick.voice.proto.IPreventUsersBehaviorReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3876
|
+
|
|
3877
|
+
/**
|
|
3878
|
+
* Encodes the specified PreventUsersBehaviorReq message, length delimited. Does not implicitly {@link com.quick.voice.proto.PreventUsersBehaviorReq.verify|verify} messages.
|
|
3879
|
+
* @param message PreventUsersBehaviorReq message or plain object to encode
|
|
3880
|
+
* @param [writer] Writer to encode to
|
|
3881
|
+
* @returns Writer
|
|
3882
|
+
*/
|
|
3883
|
+
public static encodeDelimited(message: com.quick.voice.proto.IPreventUsersBehaviorReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3884
|
+
|
|
3885
|
+
/**
|
|
3886
|
+
* Decodes a PreventUsersBehaviorReq message from the specified reader or buffer.
|
|
3887
|
+
* @param reader Reader or buffer to decode from
|
|
3888
|
+
* @param [length] Message length if known beforehand
|
|
3889
|
+
* @returns PreventUsersBehaviorReq
|
|
3890
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3891
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3892
|
+
*/
|
|
3893
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.PreventUsersBehaviorReq;
|
|
3894
|
+
|
|
3895
|
+
/**
|
|
3896
|
+
* Decodes a PreventUsersBehaviorReq message from the specified reader or buffer, length delimited.
|
|
3897
|
+
* @param reader Reader or buffer to decode from
|
|
3898
|
+
* @returns PreventUsersBehaviorReq
|
|
3899
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3900
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3901
|
+
*/
|
|
3902
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.PreventUsersBehaviorReq;
|
|
3903
|
+
|
|
3904
|
+
/**
|
|
3905
|
+
* Verifies a PreventUsersBehaviorReq message.
|
|
3906
|
+
* @param message Plain object to verify
|
|
3907
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3908
|
+
*/
|
|
3909
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3910
|
+
|
|
3911
|
+
/**
|
|
3912
|
+
* Creates a PreventUsersBehaviorReq message from a plain object. Also converts values to their respective internal types.
|
|
3913
|
+
* @param object Plain object
|
|
3914
|
+
* @returns PreventUsersBehaviorReq
|
|
3915
|
+
*/
|
|
3916
|
+
public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.PreventUsersBehaviorReq;
|
|
3917
|
+
|
|
3918
|
+
/**
|
|
3919
|
+
* Creates a plain object from a PreventUsersBehaviorReq message. Also converts values to other types if specified.
|
|
3920
|
+
* @param message PreventUsersBehaviorReq
|
|
3921
|
+
* @param [options] Conversion options
|
|
3922
|
+
* @returns Plain object
|
|
3923
|
+
*/
|
|
3924
|
+
public static toObject(message: com.quick.voice.proto.PreventUsersBehaviorReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3925
|
+
|
|
3926
|
+
/**
|
|
3927
|
+
* Converts this PreventUsersBehaviorReq to JSON.
|
|
3928
|
+
* @returns JSON object
|
|
3929
|
+
*/
|
|
3930
|
+
public toJSON(): { [k: string]: any };
|
|
3931
|
+
|
|
3932
|
+
/**
|
|
3933
|
+
* Gets the default type url for PreventUsersBehaviorReq
|
|
3934
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3935
|
+
* @returns The default type url
|
|
3936
|
+
*/
|
|
3937
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3938
|
+
}
|
|
3939
|
+
|
|
3940
|
+
/** Properties of a PreventUsersBehaviorNotify. */
|
|
3941
|
+
interface IPreventUsersBehaviorNotify {
|
|
3942
|
+
|
|
3943
|
+
/** PreventUsersBehaviorNotify roomId */
|
|
3944
|
+
roomId?: (string|null);
|
|
3945
|
+
|
|
3946
|
+
/** PreventUsersBehaviorNotify users */
|
|
3947
|
+
users?: (com.quick.voice.proto.IUser[]|null);
|
|
3948
|
+
}
|
|
3949
|
+
|
|
3950
|
+
/** Represents a PreventUsersBehaviorNotify. */
|
|
3951
|
+
class PreventUsersBehaviorNotify implements IPreventUsersBehaviorNotify {
|
|
3952
|
+
|
|
3953
|
+
/**
|
|
3954
|
+
* Constructs a new PreventUsersBehaviorNotify.
|
|
3955
|
+
* @param [properties] Properties to set
|
|
3956
|
+
*/
|
|
3957
|
+
constructor(properties?: com.quick.voice.proto.IPreventUsersBehaviorNotify);
|
|
3958
|
+
|
|
3959
|
+
/** PreventUsersBehaviorNotify roomId. */
|
|
3960
|
+
public roomId: string;
|
|
3961
|
+
|
|
3962
|
+
/** PreventUsersBehaviorNotify users. */
|
|
3963
|
+
public users: com.quick.voice.proto.IUser[];
|
|
3964
|
+
|
|
3965
|
+
/**
|
|
3966
|
+
* Creates a new PreventUsersBehaviorNotify instance using the specified properties.
|
|
3967
|
+
* @param [properties] Properties to set
|
|
3968
|
+
* @returns PreventUsersBehaviorNotify instance
|
|
3969
|
+
*/
|
|
3970
|
+
public static create(properties?: com.quick.voice.proto.IPreventUsersBehaviorNotify): com.quick.voice.proto.PreventUsersBehaviorNotify;
|
|
3971
|
+
|
|
3972
|
+
/**
|
|
3973
|
+
* Encodes the specified PreventUsersBehaviorNotify message. Does not implicitly {@link com.quick.voice.proto.PreventUsersBehaviorNotify.verify|verify} messages.
|
|
3974
|
+
* @param message PreventUsersBehaviorNotify message or plain object to encode
|
|
3975
|
+
* @param [writer] Writer to encode to
|
|
3976
|
+
* @returns Writer
|
|
3977
|
+
*/
|
|
3978
|
+
public static encode(message: com.quick.voice.proto.IPreventUsersBehaviorNotify, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3979
|
+
|
|
3980
|
+
/**
|
|
3981
|
+
* Encodes the specified PreventUsersBehaviorNotify message, length delimited. Does not implicitly {@link com.quick.voice.proto.PreventUsersBehaviorNotify.verify|verify} messages.
|
|
3982
|
+
* @param message PreventUsersBehaviorNotify message or plain object to encode
|
|
3983
|
+
* @param [writer] Writer to encode to
|
|
3984
|
+
* @returns Writer
|
|
3985
|
+
*/
|
|
3986
|
+
public static encodeDelimited(message: com.quick.voice.proto.IPreventUsersBehaviorNotify, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3987
|
+
|
|
3988
|
+
/**
|
|
3989
|
+
* Decodes a PreventUsersBehaviorNotify message from the specified reader or buffer.
|
|
3990
|
+
* @param reader Reader or buffer to decode from
|
|
3991
|
+
* @param [length] Message length if known beforehand
|
|
3992
|
+
* @returns PreventUsersBehaviorNotify
|
|
3993
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3994
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3995
|
+
*/
|
|
3996
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.PreventUsersBehaviorNotify;
|
|
3997
|
+
|
|
3998
|
+
/**
|
|
3999
|
+
* Decodes a PreventUsersBehaviorNotify message from the specified reader or buffer, length delimited.
|
|
4000
|
+
* @param reader Reader or buffer to decode from
|
|
4001
|
+
* @returns PreventUsersBehaviorNotify
|
|
4002
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4003
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4004
|
+
*/
|
|
4005
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.PreventUsersBehaviorNotify;
|
|
4006
|
+
|
|
4007
|
+
/**
|
|
4008
|
+
* Verifies a PreventUsersBehaviorNotify message.
|
|
4009
|
+
* @param message Plain object to verify
|
|
4010
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4011
|
+
*/
|
|
4012
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4013
|
+
|
|
4014
|
+
/**
|
|
4015
|
+
* Creates a PreventUsersBehaviorNotify message from a plain object. Also converts values to their respective internal types.
|
|
4016
|
+
* @param object Plain object
|
|
4017
|
+
* @returns PreventUsersBehaviorNotify
|
|
4018
|
+
*/
|
|
4019
|
+
public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.PreventUsersBehaviorNotify;
|
|
4020
|
+
|
|
4021
|
+
/**
|
|
4022
|
+
* Creates a plain object from a PreventUsersBehaviorNotify message. Also converts values to other types if specified.
|
|
4023
|
+
* @param message PreventUsersBehaviorNotify
|
|
4024
|
+
* @param [options] Conversion options
|
|
4025
|
+
* @returns Plain object
|
|
4026
|
+
*/
|
|
4027
|
+
public static toObject(message: com.quick.voice.proto.PreventUsersBehaviorNotify, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4028
|
+
|
|
4029
|
+
/**
|
|
4030
|
+
* Converts this PreventUsersBehaviorNotify to JSON.
|
|
4031
|
+
* @returns JSON object
|
|
4032
|
+
*/
|
|
4033
|
+
public toJSON(): { [k: string]: any };
|
|
4034
|
+
|
|
4035
|
+
/**
|
|
4036
|
+
* Gets the default type url for PreventUsersBehaviorNotify
|
|
4037
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4038
|
+
* @returns The default type url
|
|
4039
|
+
*/
|
|
4040
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4041
|
+
}
|
|
4042
|
+
|
|
4043
|
+
/** AccelerationAreas enum. */
|
|
4044
|
+
enum AccelerationAreas {
|
|
4045
|
+
chinaMainland = 0,
|
|
4046
|
+
global = 1,
|
|
4047
|
+
overseas = 2
|
|
4048
|
+
}
|
|
4049
|
+
|
|
4050
|
+
/** CountMethods enum. */
|
|
4051
|
+
enum CountMethods {
|
|
4052
|
+
flow = 0,
|
|
4053
|
+
minutes = 1
|
|
4054
|
+
}
|
|
4055
|
+
|
|
4056
|
+
/** Properties of a BaseCDNAddress. */
|
|
4057
|
+
interface IBaseCDNAddress {
|
|
4058
|
+
|
|
4059
|
+
/** BaseCDNAddress area */
|
|
4060
|
+
area?: (com.quick.voice.proto.AccelerationAreas|null);
|
|
4061
|
+
|
|
4062
|
+
/** BaseCDNAddress countType */
|
|
4063
|
+
countType?: (com.quick.voice.proto.CountMethods|null);
|
|
4064
|
+
|
|
4065
|
+
/** BaseCDNAddress urlMap */
|
|
4066
|
+
urlMap?: ({ [k: string]: string }|null);
|
|
4067
|
+
}
|
|
4068
|
+
|
|
4069
|
+
/** Represents a BaseCDNAddress. */
|
|
4070
|
+
class BaseCDNAddress implements IBaseCDNAddress {
|
|
4071
|
+
|
|
4072
|
+
/**
|
|
4073
|
+
* Constructs a new BaseCDNAddress.
|
|
4074
|
+
* @param [properties] Properties to set
|
|
4075
|
+
*/
|
|
4076
|
+
constructor(properties?: com.quick.voice.proto.IBaseCDNAddress);
|
|
4077
|
+
|
|
4078
|
+
/** BaseCDNAddress area. */
|
|
4079
|
+
public area: com.quick.voice.proto.AccelerationAreas;
|
|
4080
|
+
|
|
4081
|
+
/** BaseCDNAddress countType. */
|
|
4082
|
+
public countType: com.quick.voice.proto.CountMethods;
|
|
4083
|
+
|
|
4084
|
+
/** BaseCDNAddress urlMap. */
|
|
4085
|
+
public urlMap: { [k: string]: string };
|
|
4086
|
+
|
|
4087
|
+
/**
|
|
4088
|
+
* Creates a new BaseCDNAddress instance using the specified properties.
|
|
4089
|
+
* @param [properties] Properties to set
|
|
4090
|
+
* @returns BaseCDNAddress instance
|
|
4091
|
+
*/
|
|
4092
|
+
public static create(properties?: com.quick.voice.proto.IBaseCDNAddress): com.quick.voice.proto.BaseCDNAddress;
|
|
4093
|
+
|
|
4094
|
+
/**
|
|
4095
|
+
* Encodes the specified BaseCDNAddress message. Does not implicitly {@link com.quick.voice.proto.BaseCDNAddress.verify|verify} messages.
|
|
4096
|
+
* @param message BaseCDNAddress message or plain object to encode
|
|
4097
|
+
* @param [writer] Writer to encode to
|
|
4098
|
+
* @returns Writer
|
|
4099
|
+
*/
|
|
4100
|
+
public static encode(message: com.quick.voice.proto.IBaseCDNAddress, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4101
|
+
|
|
4102
|
+
/**
|
|
4103
|
+
* Encodes the specified BaseCDNAddress message, length delimited. Does not implicitly {@link com.quick.voice.proto.BaseCDNAddress.verify|verify} messages.
|
|
4104
|
+
* @param message BaseCDNAddress message or plain object to encode
|
|
4105
|
+
* @param [writer] Writer to encode to
|
|
4106
|
+
* @returns Writer
|
|
4107
|
+
*/
|
|
4108
|
+
public static encodeDelimited(message: com.quick.voice.proto.IBaseCDNAddress, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4109
|
+
|
|
4110
|
+
/**
|
|
4111
|
+
* Decodes a BaseCDNAddress message from the specified reader or buffer.
|
|
4112
|
+
* @param reader Reader or buffer to decode from
|
|
4113
|
+
* @param [length] Message length if known beforehand
|
|
4114
|
+
* @returns BaseCDNAddress
|
|
4115
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4116
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4117
|
+
*/
|
|
4118
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.BaseCDNAddress;
|
|
4119
|
+
|
|
4120
|
+
/**
|
|
4121
|
+
* Decodes a BaseCDNAddress message from the specified reader or buffer, length delimited.
|
|
4122
|
+
* @param reader Reader or buffer to decode from
|
|
4123
|
+
* @returns BaseCDNAddress
|
|
4124
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4125
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4126
|
+
*/
|
|
4127
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.BaseCDNAddress;
|
|
4128
|
+
|
|
4129
|
+
/**
|
|
4130
|
+
* Verifies a BaseCDNAddress message.
|
|
4131
|
+
* @param message Plain object to verify
|
|
4132
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4133
|
+
*/
|
|
4134
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4135
|
+
|
|
4136
|
+
/**
|
|
4137
|
+
* Creates a BaseCDNAddress message from a plain object. Also converts values to their respective internal types.
|
|
4138
|
+
* @param object Plain object
|
|
4139
|
+
* @returns BaseCDNAddress
|
|
4140
|
+
*/
|
|
4141
|
+
public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.BaseCDNAddress;
|
|
4142
|
+
|
|
4143
|
+
/**
|
|
4144
|
+
* Creates a plain object from a BaseCDNAddress message. Also converts values to other types if specified.
|
|
4145
|
+
* @param message BaseCDNAddress
|
|
4146
|
+
* @param [options] Conversion options
|
|
4147
|
+
* @returns Plain object
|
|
4148
|
+
*/
|
|
4149
|
+
public static toObject(message: com.quick.voice.proto.BaseCDNAddress, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4150
|
+
|
|
4151
|
+
/**
|
|
4152
|
+
* Converts this BaseCDNAddress to JSON.
|
|
4153
|
+
* @returns JSON object
|
|
4154
|
+
*/
|
|
4155
|
+
public toJSON(): { [k: string]: any };
|
|
4156
|
+
|
|
4157
|
+
/**
|
|
4158
|
+
* Gets the default type url for BaseCDNAddress
|
|
4159
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4160
|
+
* @returns The default type url
|
|
4161
|
+
*/
|
|
4162
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4163
|
+
}
|
|
4164
|
+
|
|
4165
|
+
/** Properties of a CDNPlayAddressNotify. */
|
|
4166
|
+
interface ICDNPlayAddressNotify {
|
|
4167
|
+
|
|
4168
|
+
/** CDNPlayAddressNotify roomId */
|
|
4169
|
+
roomId?: (string|null);
|
|
4170
|
+
|
|
4171
|
+
/** CDNPlayAddressNotify m3u8 */
|
|
4172
|
+
m3u8?: (string|null);
|
|
4173
|
+
|
|
4174
|
+
/** CDNPlayAddressNotify rtmp */
|
|
4175
|
+
rtmp?: (string|null);
|
|
4176
|
+
|
|
4177
|
+
/** CDNPlayAddressNotify flv */
|
|
4178
|
+
flv?: (string|null);
|
|
4179
|
+
|
|
4180
|
+
/** CDNPlayAddressNotify rtmps */
|
|
4181
|
+
rtmps?: (string|null);
|
|
4182
|
+
|
|
4183
|
+
/** CDNPlayAddressNotify mainLine */
|
|
4184
|
+
mainLine?: (com.quick.voice.proto.IBaseCDNAddress|null);
|
|
4185
|
+
|
|
4186
|
+
/** CDNPlayAddressNotify standLines */
|
|
4187
|
+
standLines?: (com.quick.voice.proto.IBaseCDNAddress[]|null);
|
|
4188
|
+
}
|
|
4189
|
+
|
|
4190
|
+
/** Represents a CDNPlayAddressNotify. */
|
|
4191
|
+
class CDNPlayAddressNotify implements ICDNPlayAddressNotify {
|
|
4192
|
+
|
|
4193
|
+
/**
|
|
4194
|
+
* Constructs a new CDNPlayAddressNotify.
|
|
4195
|
+
* @param [properties] Properties to set
|
|
4196
|
+
*/
|
|
4197
|
+
constructor(properties?: com.quick.voice.proto.ICDNPlayAddressNotify);
|
|
4198
|
+
|
|
4199
|
+
/** CDNPlayAddressNotify roomId. */
|
|
4200
|
+
public roomId: string;
|
|
4201
|
+
|
|
4202
|
+
/** CDNPlayAddressNotify m3u8. */
|
|
4203
|
+
public m3u8?: (string|null);
|
|
4204
|
+
|
|
4205
|
+
/** CDNPlayAddressNotify rtmp. */
|
|
4206
|
+
public rtmp?: (string|null);
|
|
4207
|
+
|
|
4208
|
+
/** CDNPlayAddressNotify flv. */
|
|
4209
|
+
public flv?: (string|null);
|
|
4210
|
+
|
|
4211
|
+
/** CDNPlayAddressNotify rtmps. */
|
|
4212
|
+
public rtmps?: (string|null);
|
|
4213
|
+
|
|
4214
|
+
/** CDNPlayAddressNotify mainLine. */
|
|
4215
|
+
public mainLine?: (com.quick.voice.proto.IBaseCDNAddress|null);
|
|
4216
|
+
|
|
4217
|
+
/** CDNPlayAddressNotify standLines. */
|
|
4218
|
+
public standLines: com.quick.voice.proto.IBaseCDNAddress[];
|
|
4219
|
+
|
|
4220
|
+
/**
|
|
4221
|
+
* Creates a new CDNPlayAddressNotify instance using the specified properties.
|
|
4222
|
+
* @param [properties] Properties to set
|
|
4223
|
+
* @returns CDNPlayAddressNotify instance
|
|
4224
|
+
*/
|
|
4225
|
+
public static create(properties?: com.quick.voice.proto.ICDNPlayAddressNotify): com.quick.voice.proto.CDNPlayAddressNotify;
|
|
4226
|
+
|
|
4227
|
+
/**
|
|
4228
|
+
* Encodes the specified CDNPlayAddressNotify message. Does not implicitly {@link com.quick.voice.proto.CDNPlayAddressNotify.verify|verify} messages.
|
|
4229
|
+
* @param message CDNPlayAddressNotify message or plain object to encode
|
|
4230
|
+
* @param [writer] Writer to encode to
|
|
4231
|
+
* @returns Writer
|
|
4232
|
+
*/
|
|
4233
|
+
public static encode(message: com.quick.voice.proto.ICDNPlayAddressNotify, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4234
|
+
|
|
4235
|
+
/**
|
|
4236
|
+
* Encodes the specified CDNPlayAddressNotify message, length delimited. Does not implicitly {@link com.quick.voice.proto.CDNPlayAddressNotify.verify|verify} messages.
|
|
4237
|
+
* @param message CDNPlayAddressNotify message or plain object to encode
|
|
4238
|
+
* @param [writer] Writer to encode to
|
|
4239
|
+
* @returns Writer
|
|
4240
|
+
*/
|
|
4241
|
+
public static encodeDelimited(message: com.quick.voice.proto.ICDNPlayAddressNotify, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4242
|
+
|
|
4243
|
+
/**
|
|
4244
|
+
* Decodes a CDNPlayAddressNotify message from the specified reader or buffer.
|
|
4245
|
+
* @param reader Reader or buffer to decode from
|
|
4246
|
+
* @param [length] Message length if known beforehand
|
|
4247
|
+
* @returns CDNPlayAddressNotify
|
|
4248
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4249
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4250
|
+
*/
|
|
4251
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): com.quick.voice.proto.CDNPlayAddressNotify;
|
|
4252
|
+
|
|
4253
|
+
/**
|
|
4254
|
+
* Decodes a CDNPlayAddressNotify message from the specified reader or buffer, length delimited.
|
|
4255
|
+
* @param reader Reader or buffer to decode from
|
|
4256
|
+
* @returns CDNPlayAddressNotify
|
|
4257
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4258
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4259
|
+
*/
|
|
4260
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): com.quick.voice.proto.CDNPlayAddressNotify;
|
|
4261
|
+
|
|
4262
|
+
/**
|
|
4263
|
+
* Verifies a CDNPlayAddressNotify message.
|
|
4264
|
+
* @param message Plain object to verify
|
|
4265
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4266
|
+
*/
|
|
4267
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4268
|
+
|
|
4269
|
+
/**
|
|
4270
|
+
* Creates a CDNPlayAddressNotify message from a plain object. Also converts values to their respective internal types.
|
|
4271
|
+
* @param object Plain object
|
|
4272
|
+
* @returns CDNPlayAddressNotify
|
|
4273
|
+
*/
|
|
4274
|
+
public static fromObject(object: { [k: string]: any }): com.quick.voice.proto.CDNPlayAddressNotify;
|
|
4275
|
+
|
|
4276
|
+
/**
|
|
4277
|
+
* Creates a plain object from a CDNPlayAddressNotify message. Also converts values to other types if specified.
|
|
4278
|
+
* @param message CDNPlayAddressNotify
|
|
4279
|
+
* @param [options] Conversion options
|
|
4280
|
+
* @returns Plain object
|
|
4281
|
+
*/
|
|
4282
|
+
public static toObject(message: com.quick.voice.proto.CDNPlayAddressNotify, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4283
|
+
|
|
4284
|
+
/**
|
|
4285
|
+
* Converts this CDNPlayAddressNotify to JSON.
|
|
4286
|
+
* @returns JSON object
|
|
4287
|
+
*/
|
|
4288
|
+
public toJSON(): { [k: string]: any };
|
|
4289
|
+
|
|
4290
|
+
/**
|
|
4291
|
+
* Gets the default type url for CDNPlayAddressNotify
|
|
4292
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4293
|
+
* @returns The default type url
|
|
4294
|
+
*/
|
|
4295
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4296
|
+
}
|
|
3727
4297
|
}
|
|
3728
4298
|
}
|
|
3729
4299
|
}
|