@livekit/rtc-node 0.5.1 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/dist/audio_frame.d.ts.map +1 -1
- package/dist/audio_frame.js +5 -0
- package/dist/audio_frame.js.map +1 -1
- package/dist/audio_source.d.ts +1 -1
- package/dist/audio_source.d.ts.map +1 -1
- package/dist/audio_source.js +2 -1
- package/dist/audio_source.js.map +1 -1
- package/dist/audio_stream.d.ts.map +1 -1
- package/dist/ffi_client.d.ts.map +1 -1
- package/dist/napi/native.d.ts +1 -1
- package/dist/participant.d.ts +5 -2
- package/dist/participant.d.ts.map +1 -1
- package/dist/participant.js +40 -16
- package/dist/participant.js.map +1 -1
- package/dist/proto/audio_frame_pb.d.ts +4 -0
- package/dist/proto/audio_frame_pb.d.ts.map +1 -1
- package/dist/proto/audio_frame_pb.js +1 -0
- package/dist/proto/audio_frame_pb.js.map +1 -1
- package/dist/proto/ffi_pb.d.ts +105 -51
- package/dist/proto/ffi_pb.d.ts.map +1 -1
- package/dist/proto/ffi_pb.js +48 -39
- package/dist/proto/ffi_pb.js.map +1 -1
- package/dist/proto/participant_pb.d.ts +6 -0
- package/dist/proto/participant_pb.d.ts.map +1 -1
- package/dist/proto/participant_pb.js +5 -0
- package/dist/proto/participant_pb.js.map +1 -1
- package/dist/proto/room_pb.d.ts +501 -110
- package/dist/proto/room_pb.d.ts.map +1 -1
- package/dist/proto/room_pb.js +672 -128
- package/dist/proto/room_pb.js.map +1 -1
- package/dist/room.d.ts +5 -2
- package/dist/room.d.ts.map +1 -1
- package/dist/room.js +40 -24
- package/dist/room.js.map +1 -1
- package/dist/video_stream.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/audio_frame.ts +5 -0
- package/src/audio_source.ts +2 -1
- package/src/napi/native.d.ts +1 -1
- package/src/participant.ts +65 -28
- package/src/proto/audio_frame_pb.ts +7 -1
- package/src/proto/e2ee_pb.ts +1 -1
- package/src/proto/ffi_pb.ts +153 -90
- package/src/proto/handle_pb.ts +1 -1
- package/src/proto/participant_pb.ts +7 -1
- package/src/proto/room_pb.ts +900 -168
- package/src/proto/stats_pb.ts +1 -1
- package/src/proto/track_pb.ts +1 -1
- package/src/proto/video_frame_pb.ts +1 -1
- package/src/room.ts +55 -26
package/dist/proto/room_pb.d.ts
CHANGED
|
@@ -394,19 +394,22 @@ export declare class PublishDataRequest extends Message<PublishDataRequest> {
|
|
|
394
394
|
*/
|
|
395
395
|
dataLen: bigint;
|
|
396
396
|
/**
|
|
397
|
-
* @generated from field:
|
|
397
|
+
* @generated from field: bool reliable = 4;
|
|
398
398
|
*/
|
|
399
|
-
|
|
399
|
+
reliable: boolean;
|
|
400
400
|
/**
|
|
401
|
-
*
|
|
402
|
-
*
|
|
403
|
-
* @generated from field: repeated string destination_sids = 5;
|
|
401
|
+
* @generated from field: repeated string destination_sids = 5 [deprecated = true];
|
|
402
|
+
* @deprecated
|
|
404
403
|
*/
|
|
405
404
|
destinationSids: string[];
|
|
406
405
|
/**
|
|
407
406
|
* @generated from field: optional string topic = 6;
|
|
408
407
|
*/
|
|
409
408
|
topic?: string;
|
|
409
|
+
/**
|
|
410
|
+
* @generated from field: repeated string destination_identities = 7;
|
|
411
|
+
*/
|
|
412
|
+
destinationIdentities: string[];
|
|
410
413
|
constructor(data?: PartialMessage<PublishDataRequest>);
|
|
411
414
|
static readonly runtime: typeof proto3;
|
|
412
415
|
static readonly typeName = "livekit.proto.PublishDataRequest";
|
|
@@ -454,12 +457,150 @@ export declare class PublishDataCallback extends Message<PublishDataCallback> {
|
|
|
454
457
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishDataCallback;
|
|
455
458
|
static equals(a: PublishDataCallback | PlainMessage<PublishDataCallback> | undefined, b: PublishDataCallback | PlainMessage<PublishDataCallback> | undefined): boolean;
|
|
456
459
|
}
|
|
460
|
+
/**
|
|
461
|
+
* Publish transcription messages to room
|
|
462
|
+
*
|
|
463
|
+
* @generated from message livekit.proto.PublishTranscriptionRequest
|
|
464
|
+
*/
|
|
465
|
+
export declare class PublishTranscriptionRequest extends Message<PublishTranscriptionRequest> {
|
|
466
|
+
/**
|
|
467
|
+
* @generated from field: uint64 local_participant_handle = 1;
|
|
468
|
+
*/
|
|
469
|
+
localParticipantHandle: bigint;
|
|
470
|
+
/**
|
|
471
|
+
* @generated from field: string participant_identity = 2;
|
|
472
|
+
*/
|
|
473
|
+
participantIdentity: string;
|
|
474
|
+
/**
|
|
475
|
+
* @generated from field: string track_id = 3;
|
|
476
|
+
*/
|
|
477
|
+
trackId: string;
|
|
478
|
+
/**
|
|
479
|
+
* @generated from field: repeated livekit.proto.TranscriptionSegment segments = 4;
|
|
480
|
+
*/
|
|
481
|
+
segments: TranscriptionSegment[];
|
|
482
|
+
constructor(data?: PartialMessage<PublishTranscriptionRequest>);
|
|
483
|
+
static readonly runtime: typeof proto3;
|
|
484
|
+
static readonly typeName = "livekit.proto.PublishTranscriptionRequest";
|
|
485
|
+
static readonly fields: FieldList;
|
|
486
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishTranscriptionRequest;
|
|
487
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishTranscriptionRequest;
|
|
488
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishTranscriptionRequest;
|
|
489
|
+
static equals(a: PublishTranscriptionRequest | PlainMessage<PublishTranscriptionRequest> | undefined, b: PublishTranscriptionRequest | PlainMessage<PublishTranscriptionRequest> | undefined): boolean;
|
|
490
|
+
}
|
|
491
|
+
/**
|
|
492
|
+
* @generated from message livekit.proto.PublishTranscriptionResponse
|
|
493
|
+
*/
|
|
494
|
+
export declare class PublishTranscriptionResponse extends Message<PublishTranscriptionResponse> {
|
|
495
|
+
/**
|
|
496
|
+
* @generated from field: uint64 async_id = 1;
|
|
497
|
+
*/
|
|
498
|
+
asyncId: bigint;
|
|
499
|
+
constructor(data?: PartialMessage<PublishTranscriptionResponse>);
|
|
500
|
+
static readonly runtime: typeof proto3;
|
|
501
|
+
static readonly typeName = "livekit.proto.PublishTranscriptionResponse";
|
|
502
|
+
static readonly fields: FieldList;
|
|
503
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishTranscriptionResponse;
|
|
504
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishTranscriptionResponse;
|
|
505
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishTranscriptionResponse;
|
|
506
|
+
static equals(a: PublishTranscriptionResponse | PlainMessage<PublishTranscriptionResponse> | undefined, b: PublishTranscriptionResponse | PlainMessage<PublishTranscriptionResponse> | undefined): boolean;
|
|
507
|
+
}
|
|
508
|
+
/**
|
|
509
|
+
* @generated from message livekit.proto.PublishTranscriptionCallback
|
|
510
|
+
*/
|
|
511
|
+
export declare class PublishTranscriptionCallback extends Message<PublishTranscriptionCallback> {
|
|
512
|
+
/**
|
|
513
|
+
* @generated from field: uint64 async_id = 1;
|
|
514
|
+
*/
|
|
515
|
+
asyncId: bigint;
|
|
516
|
+
/**
|
|
517
|
+
* @generated from field: optional string error = 2;
|
|
518
|
+
*/
|
|
519
|
+
error?: string;
|
|
520
|
+
constructor(data?: PartialMessage<PublishTranscriptionCallback>);
|
|
521
|
+
static readonly runtime: typeof proto3;
|
|
522
|
+
static readonly typeName = "livekit.proto.PublishTranscriptionCallback";
|
|
523
|
+
static readonly fields: FieldList;
|
|
524
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishTranscriptionCallback;
|
|
525
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishTranscriptionCallback;
|
|
526
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishTranscriptionCallback;
|
|
527
|
+
static equals(a: PublishTranscriptionCallback | PlainMessage<PublishTranscriptionCallback> | undefined, b: PublishTranscriptionCallback | PlainMessage<PublishTranscriptionCallback> | undefined): boolean;
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* Publish Sip DTMF messages to other participants
|
|
531
|
+
*
|
|
532
|
+
* @generated from message livekit.proto.PublishSipDtmfRequest
|
|
533
|
+
*/
|
|
534
|
+
export declare class PublishSipDtmfRequest extends Message<PublishSipDtmfRequest> {
|
|
535
|
+
/**
|
|
536
|
+
* @generated from field: uint64 local_participant_handle = 1;
|
|
537
|
+
*/
|
|
538
|
+
localParticipantHandle: bigint;
|
|
539
|
+
/**
|
|
540
|
+
* @generated from field: uint32 code = 2;
|
|
541
|
+
*/
|
|
542
|
+
code: number;
|
|
543
|
+
/**
|
|
544
|
+
* @generated from field: string digit = 3;
|
|
545
|
+
*/
|
|
546
|
+
digit: string;
|
|
547
|
+
/**
|
|
548
|
+
* @generated from field: repeated string destination_identities = 4;
|
|
549
|
+
*/
|
|
550
|
+
destinationIdentities: string[];
|
|
551
|
+
constructor(data?: PartialMessage<PublishSipDtmfRequest>);
|
|
552
|
+
static readonly runtime: typeof proto3;
|
|
553
|
+
static readonly typeName = "livekit.proto.PublishSipDtmfRequest";
|
|
554
|
+
static readonly fields: FieldList;
|
|
555
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishSipDtmfRequest;
|
|
556
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishSipDtmfRequest;
|
|
557
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishSipDtmfRequest;
|
|
558
|
+
static equals(a: PublishSipDtmfRequest | PlainMessage<PublishSipDtmfRequest> | undefined, b: PublishSipDtmfRequest | PlainMessage<PublishSipDtmfRequest> | undefined): boolean;
|
|
559
|
+
}
|
|
560
|
+
/**
|
|
561
|
+
* @generated from message livekit.proto.PublishSipDtmfResponse
|
|
562
|
+
*/
|
|
563
|
+
export declare class PublishSipDtmfResponse extends Message<PublishSipDtmfResponse> {
|
|
564
|
+
/**
|
|
565
|
+
* @generated from field: uint64 async_id = 1;
|
|
566
|
+
*/
|
|
567
|
+
asyncId: bigint;
|
|
568
|
+
constructor(data?: PartialMessage<PublishSipDtmfResponse>);
|
|
569
|
+
static readonly runtime: typeof proto3;
|
|
570
|
+
static readonly typeName = "livekit.proto.PublishSipDtmfResponse";
|
|
571
|
+
static readonly fields: FieldList;
|
|
572
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishSipDtmfResponse;
|
|
573
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishSipDtmfResponse;
|
|
574
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishSipDtmfResponse;
|
|
575
|
+
static equals(a: PublishSipDtmfResponse | PlainMessage<PublishSipDtmfResponse> | undefined, b: PublishSipDtmfResponse | PlainMessage<PublishSipDtmfResponse> | undefined): boolean;
|
|
576
|
+
}
|
|
577
|
+
/**
|
|
578
|
+
* @generated from message livekit.proto.PublishSipDtmfCallback
|
|
579
|
+
*/
|
|
580
|
+
export declare class PublishSipDtmfCallback extends Message<PublishSipDtmfCallback> {
|
|
581
|
+
/**
|
|
582
|
+
* @generated from field: uint64 async_id = 1;
|
|
583
|
+
*/
|
|
584
|
+
asyncId: bigint;
|
|
585
|
+
/**
|
|
586
|
+
* @generated from field: optional string error = 2;
|
|
587
|
+
*/
|
|
588
|
+
error?: string;
|
|
589
|
+
constructor(data?: PartialMessage<PublishSipDtmfCallback>);
|
|
590
|
+
static readonly runtime: typeof proto3;
|
|
591
|
+
static readonly typeName = "livekit.proto.PublishSipDtmfCallback";
|
|
592
|
+
static readonly fields: FieldList;
|
|
593
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishSipDtmfCallback;
|
|
594
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishSipDtmfCallback;
|
|
595
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishSipDtmfCallback;
|
|
596
|
+
static equals(a: PublishSipDtmfCallback | PlainMessage<PublishSipDtmfCallback> | undefined, b: PublishSipDtmfCallback | PlainMessage<PublishSipDtmfCallback> | undefined): boolean;
|
|
597
|
+
}
|
|
457
598
|
/**
|
|
458
599
|
* Change the local participant's metadata
|
|
459
600
|
*
|
|
460
|
-
* @generated from message livekit.proto.
|
|
601
|
+
* @generated from message livekit.proto.SetLocalMetadataRequest
|
|
461
602
|
*/
|
|
462
|
-
export declare class
|
|
603
|
+
export declare class SetLocalMetadataRequest extends Message<SetLocalMetadataRequest> {
|
|
463
604
|
/**
|
|
464
605
|
* @generated from field: uint64 local_participant_handle = 1;
|
|
465
606
|
*/
|
|
@@ -468,55 +609,122 @@ export declare class UpdateLocalMetadataRequest extends Message<UpdateLocalMetad
|
|
|
468
609
|
* @generated from field: string metadata = 2;
|
|
469
610
|
*/
|
|
470
611
|
metadata: string;
|
|
471
|
-
constructor(data?: PartialMessage<
|
|
612
|
+
constructor(data?: PartialMessage<SetLocalMetadataRequest>);
|
|
613
|
+
static readonly runtime: typeof proto3;
|
|
614
|
+
static readonly typeName = "livekit.proto.SetLocalMetadataRequest";
|
|
615
|
+
static readonly fields: FieldList;
|
|
616
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetLocalMetadataRequest;
|
|
617
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetLocalMetadataRequest;
|
|
618
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalMetadataRequest;
|
|
619
|
+
static equals(a: SetLocalMetadataRequest | PlainMessage<SetLocalMetadataRequest> | undefined, b: SetLocalMetadataRequest | PlainMessage<SetLocalMetadataRequest> | undefined): boolean;
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* @generated from message livekit.proto.SetLocalMetadataResponse
|
|
623
|
+
*/
|
|
624
|
+
export declare class SetLocalMetadataResponse extends Message<SetLocalMetadataResponse> {
|
|
625
|
+
/**
|
|
626
|
+
* @generated from field: uint64 async_id = 1;
|
|
627
|
+
*/
|
|
628
|
+
asyncId: bigint;
|
|
629
|
+
constructor(data?: PartialMessage<SetLocalMetadataResponse>);
|
|
472
630
|
static readonly runtime: typeof proto3;
|
|
473
|
-
static readonly typeName = "livekit.proto.
|
|
631
|
+
static readonly typeName = "livekit.proto.SetLocalMetadataResponse";
|
|
474
632
|
static readonly fields: FieldList;
|
|
475
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
476
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
477
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
478
|
-
static equals(a:
|
|
633
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetLocalMetadataResponse;
|
|
634
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetLocalMetadataResponse;
|
|
635
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalMetadataResponse;
|
|
636
|
+
static equals(a: SetLocalMetadataResponse | PlainMessage<SetLocalMetadataResponse> | undefined, b: SetLocalMetadataResponse | PlainMessage<SetLocalMetadataResponse> | undefined): boolean;
|
|
479
637
|
}
|
|
480
638
|
/**
|
|
481
|
-
* @generated from message livekit.proto.
|
|
639
|
+
* @generated from message livekit.proto.SetLocalMetadataCallback
|
|
482
640
|
*/
|
|
483
|
-
export declare class
|
|
641
|
+
export declare class SetLocalMetadataCallback extends Message<SetLocalMetadataCallback> {
|
|
484
642
|
/**
|
|
485
643
|
* @generated from field: uint64 async_id = 1;
|
|
486
644
|
*/
|
|
487
645
|
asyncId: bigint;
|
|
488
|
-
|
|
646
|
+
/**
|
|
647
|
+
* @generated from field: optional string error = 2;
|
|
648
|
+
*/
|
|
649
|
+
error?: string;
|
|
650
|
+
constructor(data?: PartialMessage<SetLocalMetadataCallback>);
|
|
489
651
|
static readonly runtime: typeof proto3;
|
|
490
|
-
static readonly typeName = "livekit.proto.
|
|
652
|
+
static readonly typeName = "livekit.proto.SetLocalMetadataCallback";
|
|
491
653
|
static readonly fields: FieldList;
|
|
492
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
493
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
494
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
495
|
-
static equals(a:
|
|
654
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetLocalMetadataCallback;
|
|
655
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetLocalMetadataCallback;
|
|
656
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalMetadataCallback;
|
|
657
|
+
static equals(a: SetLocalMetadataCallback | PlainMessage<SetLocalMetadataCallback> | undefined, b: SetLocalMetadataCallback | PlainMessage<SetLocalMetadataCallback> | undefined): boolean;
|
|
496
658
|
}
|
|
497
659
|
/**
|
|
498
|
-
*
|
|
660
|
+
* Change the local participant's attributes
|
|
661
|
+
*
|
|
662
|
+
* @generated from message livekit.proto.SetLocalAttributesRequest
|
|
499
663
|
*/
|
|
500
|
-
export declare class
|
|
664
|
+
export declare class SetLocalAttributesRequest extends Message<SetLocalAttributesRequest> {
|
|
665
|
+
/**
|
|
666
|
+
* @generated from field: uint64 local_participant_handle = 1;
|
|
667
|
+
*/
|
|
668
|
+
localParticipantHandle: bigint;
|
|
669
|
+
/**
|
|
670
|
+
* @generated from field: map<string, string> attributes = 2;
|
|
671
|
+
*/
|
|
672
|
+
attributes: {
|
|
673
|
+
[key: string]: string;
|
|
674
|
+
};
|
|
675
|
+
constructor(data?: PartialMessage<SetLocalAttributesRequest>);
|
|
676
|
+
static readonly runtime: typeof proto3;
|
|
677
|
+
static readonly typeName = "livekit.proto.SetLocalAttributesRequest";
|
|
678
|
+
static readonly fields: FieldList;
|
|
679
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetLocalAttributesRequest;
|
|
680
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetLocalAttributesRequest;
|
|
681
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalAttributesRequest;
|
|
682
|
+
static equals(a: SetLocalAttributesRequest | PlainMessage<SetLocalAttributesRequest> | undefined, b: SetLocalAttributesRequest | PlainMessage<SetLocalAttributesRequest> | undefined): boolean;
|
|
683
|
+
}
|
|
684
|
+
/**
|
|
685
|
+
* @generated from message livekit.proto.SetLocalAttributesResponse
|
|
686
|
+
*/
|
|
687
|
+
export declare class SetLocalAttributesResponse extends Message<SetLocalAttributesResponse> {
|
|
501
688
|
/**
|
|
502
689
|
* @generated from field: uint64 async_id = 1;
|
|
503
690
|
*/
|
|
504
691
|
asyncId: bigint;
|
|
505
|
-
constructor(data?: PartialMessage<
|
|
692
|
+
constructor(data?: PartialMessage<SetLocalAttributesResponse>);
|
|
506
693
|
static readonly runtime: typeof proto3;
|
|
507
|
-
static readonly typeName = "livekit.proto.
|
|
694
|
+
static readonly typeName = "livekit.proto.SetLocalAttributesResponse";
|
|
508
695
|
static readonly fields: FieldList;
|
|
509
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
510
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
511
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
512
|
-
static equals(a:
|
|
696
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetLocalAttributesResponse;
|
|
697
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetLocalAttributesResponse;
|
|
698
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalAttributesResponse;
|
|
699
|
+
static equals(a: SetLocalAttributesResponse | PlainMessage<SetLocalAttributesResponse> | undefined, b: SetLocalAttributesResponse | PlainMessage<SetLocalAttributesResponse> | undefined): boolean;
|
|
700
|
+
}
|
|
701
|
+
/**
|
|
702
|
+
* @generated from message livekit.proto.SetLocalAttributesCallback
|
|
703
|
+
*/
|
|
704
|
+
export declare class SetLocalAttributesCallback extends Message<SetLocalAttributesCallback> {
|
|
705
|
+
/**
|
|
706
|
+
* @generated from field: uint64 async_id = 1;
|
|
707
|
+
*/
|
|
708
|
+
asyncId: bigint;
|
|
709
|
+
/**
|
|
710
|
+
* @generated from field: optional string error = 2;
|
|
711
|
+
*/
|
|
712
|
+
error?: string;
|
|
713
|
+
constructor(data?: PartialMessage<SetLocalAttributesCallback>);
|
|
714
|
+
static readonly runtime: typeof proto3;
|
|
715
|
+
static readonly typeName = "livekit.proto.SetLocalAttributesCallback";
|
|
716
|
+
static readonly fields: FieldList;
|
|
717
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetLocalAttributesCallback;
|
|
718
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetLocalAttributesCallback;
|
|
719
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalAttributesCallback;
|
|
720
|
+
static equals(a: SetLocalAttributesCallback | PlainMessage<SetLocalAttributesCallback> | undefined, b: SetLocalAttributesCallback | PlainMessage<SetLocalAttributesCallback> | undefined): boolean;
|
|
513
721
|
}
|
|
514
722
|
/**
|
|
515
723
|
* Change the local participant's name
|
|
516
724
|
*
|
|
517
|
-
* @generated from message livekit.proto.
|
|
725
|
+
* @generated from message livekit.proto.SetLocalNameRequest
|
|
518
726
|
*/
|
|
519
|
-
export declare class
|
|
727
|
+
export declare class SetLocalNameRequest extends Message<SetLocalNameRequest> {
|
|
520
728
|
/**
|
|
521
729
|
* @generated from field: uint64 local_participant_handle = 1;
|
|
522
730
|
*/
|
|
@@ -525,48 +733,52 @@ export declare class UpdateLocalNameRequest extends Message<UpdateLocalNameReque
|
|
|
525
733
|
* @generated from field: string name = 2;
|
|
526
734
|
*/
|
|
527
735
|
name: string;
|
|
528
|
-
constructor(data?: PartialMessage<
|
|
736
|
+
constructor(data?: PartialMessage<SetLocalNameRequest>);
|
|
529
737
|
static readonly runtime: typeof proto3;
|
|
530
|
-
static readonly typeName = "livekit.proto.
|
|
738
|
+
static readonly typeName = "livekit.proto.SetLocalNameRequest";
|
|
531
739
|
static readonly fields: FieldList;
|
|
532
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
533
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
534
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
535
|
-
static equals(a:
|
|
740
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetLocalNameRequest;
|
|
741
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetLocalNameRequest;
|
|
742
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalNameRequest;
|
|
743
|
+
static equals(a: SetLocalNameRequest | PlainMessage<SetLocalNameRequest> | undefined, b: SetLocalNameRequest | PlainMessage<SetLocalNameRequest> | undefined): boolean;
|
|
536
744
|
}
|
|
537
745
|
/**
|
|
538
|
-
* @generated from message livekit.proto.
|
|
746
|
+
* @generated from message livekit.proto.SetLocalNameResponse
|
|
539
747
|
*/
|
|
540
|
-
export declare class
|
|
748
|
+
export declare class SetLocalNameResponse extends Message<SetLocalNameResponse> {
|
|
541
749
|
/**
|
|
542
750
|
* @generated from field: uint64 async_id = 1;
|
|
543
751
|
*/
|
|
544
752
|
asyncId: bigint;
|
|
545
|
-
constructor(data?: PartialMessage<
|
|
753
|
+
constructor(data?: PartialMessage<SetLocalNameResponse>);
|
|
546
754
|
static readonly runtime: typeof proto3;
|
|
547
|
-
static readonly typeName = "livekit.proto.
|
|
755
|
+
static readonly typeName = "livekit.proto.SetLocalNameResponse";
|
|
548
756
|
static readonly fields: FieldList;
|
|
549
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
550
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
551
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
552
|
-
static equals(a:
|
|
757
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetLocalNameResponse;
|
|
758
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetLocalNameResponse;
|
|
759
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalNameResponse;
|
|
760
|
+
static equals(a: SetLocalNameResponse | PlainMessage<SetLocalNameResponse> | undefined, b: SetLocalNameResponse | PlainMessage<SetLocalNameResponse> | undefined): boolean;
|
|
553
761
|
}
|
|
554
762
|
/**
|
|
555
|
-
* @generated from message livekit.proto.
|
|
763
|
+
* @generated from message livekit.proto.SetLocalNameCallback
|
|
556
764
|
*/
|
|
557
|
-
export declare class
|
|
765
|
+
export declare class SetLocalNameCallback extends Message<SetLocalNameCallback> {
|
|
558
766
|
/**
|
|
559
767
|
* @generated from field: uint64 async_id = 1;
|
|
560
768
|
*/
|
|
561
769
|
asyncId: bigint;
|
|
562
|
-
|
|
770
|
+
/**
|
|
771
|
+
* @generated from field: optional string error = 2;
|
|
772
|
+
*/
|
|
773
|
+
error?: string;
|
|
774
|
+
constructor(data?: PartialMessage<SetLocalNameCallback>);
|
|
563
775
|
static readonly runtime: typeof proto3;
|
|
564
|
-
static readonly typeName = "livekit.proto.
|
|
776
|
+
static readonly typeName = "livekit.proto.SetLocalNameCallback";
|
|
565
777
|
static readonly fields: FieldList;
|
|
566
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
567
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
568
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
569
|
-
static equals(a:
|
|
778
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetLocalNameCallback;
|
|
779
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetLocalNameCallback;
|
|
780
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetLocalNameCallback;
|
|
781
|
+
static equals(a: SetLocalNameCallback | PlainMessage<SetLocalNameCallback> | undefined, b: SetLocalNameCallback | PlainMessage<SetLocalNameCallback> | undefined): boolean;
|
|
570
782
|
}
|
|
571
783
|
/**
|
|
572
784
|
* Change the "desire" to subs2ribe to a track
|
|
@@ -839,6 +1051,43 @@ export declare class RoomOptions extends Message<RoomOptions> {
|
|
|
839
1051
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomOptions;
|
|
840
1052
|
static equals(a: RoomOptions | PlainMessage<RoomOptions> | undefined, b: RoomOptions | PlainMessage<RoomOptions> | undefined): boolean;
|
|
841
1053
|
}
|
|
1054
|
+
/**
|
|
1055
|
+
* @generated from message livekit.proto.TranscriptionSegment
|
|
1056
|
+
*/
|
|
1057
|
+
export declare class TranscriptionSegment extends Message<TranscriptionSegment> {
|
|
1058
|
+
/**
|
|
1059
|
+
* @generated from field: string id = 1;
|
|
1060
|
+
*/
|
|
1061
|
+
id: string;
|
|
1062
|
+
/**
|
|
1063
|
+
* @generated from field: string text = 2;
|
|
1064
|
+
*/
|
|
1065
|
+
text: string;
|
|
1066
|
+
/**
|
|
1067
|
+
* @generated from field: uint64 start_time = 3;
|
|
1068
|
+
*/
|
|
1069
|
+
startTime: bigint;
|
|
1070
|
+
/**
|
|
1071
|
+
* @generated from field: uint64 end_time = 4;
|
|
1072
|
+
*/
|
|
1073
|
+
endTime: bigint;
|
|
1074
|
+
/**
|
|
1075
|
+
* @generated from field: bool final = 5;
|
|
1076
|
+
*/
|
|
1077
|
+
final: boolean;
|
|
1078
|
+
/**
|
|
1079
|
+
* @generated from field: string language = 6;
|
|
1080
|
+
*/
|
|
1081
|
+
language: string;
|
|
1082
|
+
constructor(data?: PartialMessage<TranscriptionSegment>);
|
|
1083
|
+
static readonly runtime: typeof proto3;
|
|
1084
|
+
static readonly typeName = "livekit.proto.TranscriptionSegment";
|
|
1085
|
+
static readonly fields: FieldList;
|
|
1086
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TranscriptionSegment;
|
|
1087
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TranscriptionSegment;
|
|
1088
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TranscriptionSegment;
|
|
1089
|
+
static equals(a: TranscriptionSegment | PlainMessage<TranscriptionSegment> | undefined, b: TranscriptionSegment | PlainMessage<TranscriptionSegment> | undefined): boolean;
|
|
1090
|
+
}
|
|
842
1091
|
/**
|
|
843
1092
|
* @generated from message livekit.proto.BufferInfo
|
|
844
1093
|
*/
|
|
@@ -972,57 +1221,63 @@ export declare class RoomEvent extends Message<RoomEvent> {
|
|
|
972
1221
|
case: "roomMetadataChanged";
|
|
973
1222
|
} | {
|
|
974
1223
|
/**
|
|
975
|
-
* @generated from field: livekit.proto.
|
|
1224
|
+
* @generated from field: livekit.proto.RoomSidChanged room_sid_changed = 15;
|
|
1225
|
+
*/
|
|
1226
|
+
value: RoomSidChanged;
|
|
1227
|
+
case: "roomSidChanged";
|
|
1228
|
+
} | {
|
|
1229
|
+
/**
|
|
1230
|
+
* @generated from field: livekit.proto.ParticipantMetadataChanged participant_metadata_changed = 16;
|
|
976
1231
|
*/
|
|
977
1232
|
value: ParticipantMetadataChanged;
|
|
978
1233
|
case: "participantMetadataChanged";
|
|
979
1234
|
} | {
|
|
980
1235
|
/**
|
|
981
|
-
* @generated from field: livekit.proto.ParticipantNameChanged participant_name_changed =
|
|
1236
|
+
* @generated from field: livekit.proto.ParticipantNameChanged participant_name_changed = 17;
|
|
982
1237
|
*/
|
|
983
1238
|
value: ParticipantNameChanged;
|
|
984
1239
|
case: "participantNameChanged";
|
|
985
1240
|
} | {
|
|
986
1241
|
/**
|
|
987
|
-
* @generated from field: livekit.proto.
|
|
1242
|
+
* @generated from field: livekit.proto.ParticipantAttributesChanged participant_attributes_changed = 18;
|
|
988
1243
|
*/
|
|
989
|
-
value:
|
|
990
|
-
case: "
|
|
1244
|
+
value: ParticipantAttributesChanged;
|
|
1245
|
+
case: "participantAttributesChanged";
|
|
991
1246
|
} | {
|
|
992
1247
|
/**
|
|
993
|
-
* @generated from field: livekit.proto.
|
|
1248
|
+
* @generated from field: livekit.proto.ConnectionQualityChanged connection_quality_changed = 19;
|
|
994
1249
|
*/
|
|
995
|
-
value:
|
|
996
|
-
case: "
|
|
1250
|
+
value: ConnectionQualityChanged;
|
|
1251
|
+
case: "connectionQualityChanged";
|
|
997
1252
|
} | {
|
|
998
1253
|
/**
|
|
999
|
-
* @generated from field: livekit.proto.ConnectionStateChanged connection_state_changed =
|
|
1254
|
+
* @generated from field: livekit.proto.ConnectionStateChanged connection_state_changed = 20;
|
|
1000
1255
|
*/
|
|
1001
1256
|
value: ConnectionStateChanged;
|
|
1002
1257
|
case: "connectionStateChanged";
|
|
1003
1258
|
} | {
|
|
1004
1259
|
/**
|
|
1005
|
-
* Connected connected =
|
|
1260
|
+
* Connected connected = 21;
|
|
1006
1261
|
*
|
|
1007
|
-
* @generated from field: livekit.proto.Disconnected disconnected =
|
|
1262
|
+
* @generated from field: livekit.proto.Disconnected disconnected = 22;
|
|
1008
1263
|
*/
|
|
1009
1264
|
value: Disconnected;
|
|
1010
1265
|
case: "disconnected";
|
|
1011
1266
|
} | {
|
|
1012
1267
|
/**
|
|
1013
|
-
* @generated from field: livekit.proto.Reconnecting reconnecting =
|
|
1268
|
+
* @generated from field: livekit.proto.Reconnecting reconnecting = 23;
|
|
1014
1269
|
*/
|
|
1015
1270
|
value: Reconnecting;
|
|
1016
1271
|
case: "reconnecting";
|
|
1017
1272
|
} | {
|
|
1018
1273
|
/**
|
|
1019
|
-
* @generated from field: livekit.proto.Reconnected reconnected =
|
|
1274
|
+
* @generated from field: livekit.proto.Reconnected reconnected = 24;
|
|
1020
1275
|
*/
|
|
1021
1276
|
value: Reconnected;
|
|
1022
1277
|
case: "reconnected";
|
|
1023
1278
|
} | {
|
|
1024
1279
|
/**
|
|
1025
|
-
* @generated from field: livekit.proto.E2eeStateChanged e2ee_state_changed =
|
|
1280
|
+
* @generated from field: livekit.proto.E2eeStateChanged e2ee_state_changed = 25;
|
|
1026
1281
|
*/
|
|
1027
1282
|
value: E2eeStateChanged;
|
|
1028
1283
|
case: "e2eeStateChanged";
|
|
@@ -1030,10 +1285,22 @@ export declare class RoomEvent extends Message<RoomEvent> {
|
|
|
1030
1285
|
/**
|
|
1031
1286
|
* The stream of room events has ended
|
|
1032
1287
|
*
|
|
1033
|
-
* @generated from field: livekit.proto.RoomEOS eos =
|
|
1288
|
+
* @generated from field: livekit.proto.RoomEOS eos = 26;
|
|
1034
1289
|
*/
|
|
1035
1290
|
value: RoomEOS;
|
|
1036
1291
|
case: "eos";
|
|
1292
|
+
} | {
|
|
1293
|
+
/**
|
|
1294
|
+
* @generated from field: livekit.proto.DataPacketReceived data_packet_received = 27;
|
|
1295
|
+
*/
|
|
1296
|
+
value: DataPacketReceived;
|
|
1297
|
+
case: "dataPacketReceived";
|
|
1298
|
+
} | {
|
|
1299
|
+
/**
|
|
1300
|
+
* @generated from field: livekit.proto.TranscriptionReceived transcription_received = 28;
|
|
1301
|
+
*/
|
|
1302
|
+
value: TranscriptionReceived;
|
|
1303
|
+
case: "transcriptionReceived";
|
|
1037
1304
|
} | {
|
|
1038
1305
|
case: undefined;
|
|
1039
1306
|
value?: undefined;
|
|
@@ -1052,9 +1319,9 @@ export declare class RoomEvent extends Message<RoomEvent> {
|
|
|
1052
1319
|
*/
|
|
1053
1320
|
export declare class RoomInfo extends Message<RoomInfo> {
|
|
1054
1321
|
/**
|
|
1055
|
-
* @generated from field: string sid = 1;
|
|
1322
|
+
* @generated from field: optional string sid = 1;
|
|
1056
1323
|
*/
|
|
1057
|
-
sid
|
|
1324
|
+
sid?: string;
|
|
1058
1325
|
/**
|
|
1059
1326
|
* @generated from field: string name = 2;
|
|
1060
1327
|
*/
|
|
@@ -1115,9 +1382,9 @@ export declare class ParticipantConnected extends Message<ParticipantConnected>
|
|
|
1115
1382
|
*/
|
|
1116
1383
|
export declare class ParticipantDisconnected extends Message<ParticipantDisconnected> {
|
|
1117
1384
|
/**
|
|
1118
|
-
* @generated from field: string
|
|
1385
|
+
* @generated from field: string participant_identity = 1;
|
|
1119
1386
|
*/
|
|
1120
|
-
|
|
1387
|
+
participantIdentity: string;
|
|
1121
1388
|
constructor(data?: PartialMessage<ParticipantDisconnected>);
|
|
1122
1389
|
static readonly runtime: typeof proto3;
|
|
1123
1390
|
static readonly typeName = "livekit.proto.ParticipantDisconnected";
|
|
@@ -1169,9 +1436,9 @@ export declare class LocalTrackUnpublished extends Message<LocalTrackUnpublished
|
|
|
1169
1436
|
*/
|
|
1170
1437
|
export declare class TrackPublished extends Message<TrackPublished> {
|
|
1171
1438
|
/**
|
|
1172
|
-
* @generated from field: string
|
|
1439
|
+
* @generated from field: string participant_identity = 1;
|
|
1173
1440
|
*/
|
|
1174
|
-
|
|
1441
|
+
participantIdentity: string;
|
|
1175
1442
|
/**
|
|
1176
1443
|
* @generated from field: livekit.proto.OwnedTrackPublication publication = 2;
|
|
1177
1444
|
*/
|
|
@@ -1190,9 +1457,9 @@ export declare class TrackPublished extends Message<TrackPublished> {
|
|
|
1190
1457
|
*/
|
|
1191
1458
|
export declare class TrackUnpublished extends Message<TrackUnpublished> {
|
|
1192
1459
|
/**
|
|
1193
|
-
* @generated from field: string
|
|
1460
|
+
* @generated from field: string participant_identity = 1;
|
|
1194
1461
|
*/
|
|
1195
|
-
|
|
1462
|
+
participantIdentity: string;
|
|
1196
1463
|
/**
|
|
1197
1464
|
* @generated from field: string publication_sid = 2;
|
|
1198
1465
|
*/
|
|
@@ -1214,9 +1481,9 @@ export declare class TrackUnpublished extends Message<TrackUnpublished> {
|
|
|
1214
1481
|
*/
|
|
1215
1482
|
export declare class TrackSubscribed extends Message<TrackSubscribed> {
|
|
1216
1483
|
/**
|
|
1217
|
-
* @generated from field: string
|
|
1484
|
+
* @generated from field: string participant_identity = 1;
|
|
1218
1485
|
*/
|
|
1219
|
-
|
|
1486
|
+
participantIdentity: string;
|
|
1220
1487
|
/**
|
|
1221
1488
|
* @generated from field: livekit.proto.OwnedTrack track = 2;
|
|
1222
1489
|
*/
|
|
@@ -1237,9 +1504,9 @@ export declare class TrackUnsubscribed extends Message<TrackUnsubscribed> {
|
|
|
1237
1504
|
/**
|
|
1238
1505
|
* The FFI language can dispose/remove the VideoSink here
|
|
1239
1506
|
*
|
|
1240
|
-
* @generated from field: string
|
|
1507
|
+
* @generated from field: string participant_identity = 1;
|
|
1241
1508
|
*/
|
|
1242
|
-
|
|
1509
|
+
participantIdentity: string;
|
|
1243
1510
|
/**
|
|
1244
1511
|
* @generated from field: string track_sid = 2;
|
|
1245
1512
|
*/
|
|
@@ -1258,9 +1525,9 @@ export declare class TrackUnsubscribed extends Message<TrackUnsubscribed> {
|
|
|
1258
1525
|
*/
|
|
1259
1526
|
export declare class TrackSubscriptionFailed extends Message<TrackSubscriptionFailed> {
|
|
1260
1527
|
/**
|
|
1261
|
-
* @generated from field: string
|
|
1528
|
+
* @generated from field: string participant_identity = 1;
|
|
1262
1529
|
*/
|
|
1263
|
-
|
|
1530
|
+
participantIdentity: string;
|
|
1264
1531
|
/**
|
|
1265
1532
|
* @generated from field: string track_sid = 2;
|
|
1266
1533
|
*/
|
|
@@ -1283,9 +1550,9 @@ export declare class TrackSubscriptionFailed extends Message<TrackSubscriptionFa
|
|
|
1283
1550
|
*/
|
|
1284
1551
|
export declare class TrackMuted extends Message<TrackMuted> {
|
|
1285
1552
|
/**
|
|
1286
|
-
* @generated from field: string
|
|
1553
|
+
* @generated from field: string participant_identity = 1;
|
|
1287
1554
|
*/
|
|
1288
|
-
|
|
1555
|
+
participantIdentity: string;
|
|
1289
1556
|
/**
|
|
1290
1557
|
* @generated from field: string track_sid = 2;
|
|
1291
1558
|
*/
|
|
@@ -1304,9 +1571,9 @@ export declare class TrackMuted extends Message<TrackMuted> {
|
|
|
1304
1571
|
*/
|
|
1305
1572
|
export declare class TrackUnmuted extends Message<TrackUnmuted> {
|
|
1306
1573
|
/**
|
|
1307
|
-
* @generated from field: string
|
|
1574
|
+
* @generated from field: string participant_identity = 1;
|
|
1308
1575
|
*/
|
|
1309
|
-
|
|
1576
|
+
participantIdentity: string;
|
|
1310
1577
|
/**
|
|
1311
1578
|
* @generated from field: string track_sid = 2;
|
|
1312
1579
|
*/
|
|
@@ -1327,9 +1594,9 @@ export declare class E2eeStateChanged extends Message<E2eeStateChanged> {
|
|
|
1327
1594
|
/**
|
|
1328
1595
|
* Using sid instead of identity for ffi communication
|
|
1329
1596
|
*
|
|
1330
|
-
* @generated from field: string
|
|
1597
|
+
* @generated from field: string participant_identity = 1;
|
|
1331
1598
|
*/
|
|
1332
|
-
|
|
1599
|
+
participantIdentity: string;
|
|
1333
1600
|
/**
|
|
1334
1601
|
* @generated from field: livekit.proto.EncryptionState state = 2;
|
|
1335
1602
|
*/
|
|
@@ -1348,9 +1615,9 @@ export declare class E2eeStateChanged extends Message<E2eeStateChanged> {
|
|
|
1348
1615
|
*/
|
|
1349
1616
|
export declare class ActiveSpeakersChanged extends Message<ActiveSpeakersChanged> {
|
|
1350
1617
|
/**
|
|
1351
|
-
* @generated from field: repeated string
|
|
1618
|
+
* @generated from field: repeated string participant_identities = 1;
|
|
1352
1619
|
*/
|
|
1353
|
-
|
|
1620
|
+
participantIdentities: string[];
|
|
1354
1621
|
constructor(data?: PartialMessage<ActiveSpeakersChanged>);
|
|
1355
1622
|
static readonly runtime: typeof proto3;
|
|
1356
1623
|
static readonly typeName = "livekit.proto.ActiveSpeakersChanged";
|
|
@@ -1377,14 +1644,31 @@ export declare class RoomMetadataChanged extends Message<RoomMetadataChanged> {
|
|
|
1377
1644
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomMetadataChanged;
|
|
1378
1645
|
static equals(a: RoomMetadataChanged | PlainMessage<RoomMetadataChanged> | undefined, b: RoomMetadataChanged | PlainMessage<RoomMetadataChanged> | undefined): boolean;
|
|
1379
1646
|
}
|
|
1647
|
+
/**
|
|
1648
|
+
* @generated from message livekit.proto.RoomSidChanged
|
|
1649
|
+
*/
|
|
1650
|
+
export declare class RoomSidChanged extends Message<RoomSidChanged> {
|
|
1651
|
+
/**
|
|
1652
|
+
* @generated from field: string sid = 1;
|
|
1653
|
+
*/
|
|
1654
|
+
sid: string;
|
|
1655
|
+
constructor(data?: PartialMessage<RoomSidChanged>);
|
|
1656
|
+
static readonly runtime: typeof proto3;
|
|
1657
|
+
static readonly typeName = "livekit.proto.RoomSidChanged";
|
|
1658
|
+
static readonly fields: FieldList;
|
|
1659
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomSidChanged;
|
|
1660
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomSidChanged;
|
|
1661
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomSidChanged;
|
|
1662
|
+
static equals(a: RoomSidChanged | PlainMessage<RoomSidChanged> | undefined, b: RoomSidChanged | PlainMessage<RoomSidChanged> | undefined): boolean;
|
|
1663
|
+
}
|
|
1380
1664
|
/**
|
|
1381
1665
|
* @generated from message livekit.proto.ParticipantMetadataChanged
|
|
1382
1666
|
*/
|
|
1383
1667
|
export declare class ParticipantMetadataChanged extends Message<ParticipantMetadataChanged> {
|
|
1384
1668
|
/**
|
|
1385
|
-
* @generated from field: string
|
|
1669
|
+
* @generated from field: string participant_identity = 1;
|
|
1386
1670
|
*/
|
|
1387
|
-
|
|
1671
|
+
participantIdentity: string;
|
|
1388
1672
|
/**
|
|
1389
1673
|
* @generated from field: string metadata = 2;
|
|
1390
1674
|
*/
|
|
@@ -1398,14 +1682,43 @@ export declare class ParticipantMetadataChanged extends Message<ParticipantMetad
|
|
|
1398
1682
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantMetadataChanged;
|
|
1399
1683
|
static equals(a: ParticipantMetadataChanged | PlainMessage<ParticipantMetadataChanged> | undefined, b: ParticipantMetadataChanged | PlainMessage<ParticipantMetadataChanged> | undefined): boolean;
|
|
1400
1684
|
}
|
|
1685
|
+
/**
|
|
1686
|
+
* @generated from message livekit.proto.ParticipantAttributesChanged
|
|
1687
|
+
*/
|
|
1688
|
+
export declare class ParticipantAttributesChanged extends Message<ParticipantAttributesChanged> {
|
|
1689
|
+
/**
|
|
1690
|
+
* @generated from field: string participant_identity = 1;
|
|
1691
|
+
*/
|
|
1692
|
+
participantIdentity: string;
|
|
1693
|
+
/**
|
|
1694
|
+
* @generated from field: map<string, string> attributes = 2;
|
|
1695
|
+
*/
|
|
1696
|
+
attributes: {
|
|
1697
|
+
[key: string]: string;
|
|
1698
|
+
};
|
|
1699
|
+
/**
|
|
1700
|
+
* @generated from field: map<string, string> changed_attributes = 3;
|
|
1701
|
+
*/
|
|
1702
|
+
changedAttributes: {
|
|
1703
|
+
[key: string]: string;
|
|
1704
|
+
};
|
|
1705
|
+
constructor(data?: PartialMessage<ParticipantAttributesChanged>);
|
|
1706
|
+
static readonly runtime: typeof proto3;
|
|
1707
|
+
static readonly typeName = "livekit.proto.ParticipantAttributesChanged";
|
|
1708
|
+
static readonly fields: FieldList;
|
|
1709
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantAttributesChanged;
|
|
1710
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantAttributesChanged;
|
|
1711
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantAttributesChanged;
|
|
1712
|
+
static equals(a: ParticipantAttributesChanged | PlainMessage<ParticipantAttributesChanged> | undefined, b: ParticipantAttributesChanged | PlainMessage<ParticipantAttributesChanged> | undefined): boolean;
|
|
1713
|
+
}
|
|
1401
1714
|
/**
|
|
1402
1715
|
* @generated from message livekit.proto.ParticipantNameChanged
|
|
1403
1716
|
*/
|
|
1404
1717
|
export declare class ParticipantNameChanged extends Message<ParticipantNameChanged> {
|
|
1405
1718
|
/**
|
|
1406
|
-
* @generated from field: string
|
|
1719
|
+
* @generated from field: string participant_identity = 1;
|
|
1407
1720
|
*/
|
|
1408
|
-
|
|
1721
|
+
participantIdentity: string;
|
|
1409
1722
|
/**
|
|
1410
1723
|
* @generated from field: string name = 2;
|
|
1411
1724
|
*/
|
|
@@ -1424,9 +1737,9 @@ export declare class ParticipantNameChanged extends Message<ParticipantNameChang
|
|
|
1424
1737
|
*/
|
|
1425
1738
|
export declare class ConnectionQualityChanged extends Message<ConnectionQualityChanged> {
|
|
1426
1739
|
/**
|
|
1427
|
-
* @generated from field: string
|
|
1740
|
+
* @generated from field: string participant_identity = 1;
|
|
1428
1741
|
*/
|
|
1429
|
-
|
|
1742
|
+
participantIdentity: string;
|
|
1430
1743
|
/**
|
|
1431
1744
|
* @generated from field: livekit.proto.ConnectionQuality quality = 2;
|
|
1432
1745
|
*/
|
|
@@ -1441,35 +1754,113 @@ export declare class ConnectionQualityChanged extends Message<ConnectionQualityC
|
|
|
1441
1754
|
static equals(a: ConnectionQualityChanged | PlainMessage<ConnectionQualityChanged> | undefined, b: ConnectionQualityChanged | PlainMessage<ConnectionQualityChanged> | undefined): boolean;
|
|
1442
1755
|
}
|
|
1443
1756
|
/**
|
|
1444
|
-
* @generated from message livekit.proto.
|
|
1757
|
+
* @generated from message livekit.proto.UserPacket
|
|
1445
1758
|
*/
|
|
1446
|
-
export declare class
|
|
1759
|
+
export declare class UserPacket extends Message<UserPacket> {
|
|
1447
1760
|
/**
|
|
1448
1761
|
* @generated from field: livekit.proto.OwnedBuffer data = 1;
|
|
1449
1762
|
*/
|
|
1450
1763
|
data?: OwnedBuffer;
|
|
1764
|
+
/**
|
|
1765
|
+
* @generated from field: optional string topic = 2;
|
|
1766
|
+
*/
|
|
1767
|
+
topic?: string;
|
|
1768
|
+
constructor(data?: PartialMessage<UserPacket>);
|
|
1769
|
+
static readonly runtime: typeof proto3;
|
|
1770
|
+
static readonly typeName = "livekit.proto.UserPacket";
|
|
1771
|
+
static readonly fields: FieldList;
|
|
1772
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UserPacket;
|
|
1773
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UserPacket;
|
|
1774
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserPacket;
|
|
1775
|
+
static equals(a: UserPacket | PlainMessage<UserPacket> | undefined, b: UserPacket | PlainMessage<UserPacket> | undefined): boolean;
|
|
1776
|
+
}
|
|
1777
|
+
/**
|
|
1778
|
+
* @generated from message livekit.proto.SipDTMF
|
|
1779
|
+
*/
|
|
1780
|
+
export declare class SipDTMF extends Message<SipDTMF> {
|
|
1781
|
+
/**
|
|
1782
|
+
* @generated from field: uint32 code = 1;
|
|
1783
|
+
*/
|
|
1784
|
+
code: number;
|
|
1785
|
+
/**
|
|
1786
|
+
* @generated from field: optional string digit = 2;
|
|
1787
|
+
*/
|
|
1788
|
+
digit?: string;
|
|
1789
|
+
constructor(data?: PartialMessage<SipDTMF>);
|
|
1790
|
+
static readonly runtime: typeof proto3;
|
|
1791
|
+
static readonly typeName = "livekit.proto.SipDTMF";
|
|
1792
|
+
static readonly fields: FieldList;
|
|
1793
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SipDTMF;
|
|
1794
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SipDTMF;
|
|
1795
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SipDTMF;
|
|
1796
|
+
static equals(a: SipDTMF | PlainMessage<SipDTMF> | undefined, b: SipDTMF | PlainMessage<SipDTMF> | undefined): boolean;
|
|
1797
|
+
}
|
|
1798
|
+
/**
|
|
1799
|
+
* @generated from message livekit.proto.DataPacketReceived
|
|
1800
|
+
*/
|
|
1801
|
+
export declare class DataPacketReceived extends Message<DataPacketReceived> {
|
|
1802
|
+
/**
|
|
1803
|
+
* @generated from field: livekit.proto.DataPacketKind kind = 1;
|
|
1804
|
+
*/
|
|
1805
|
+
kind: DataPacketKind;
|
|
1451
1806
|
/**
|
|
1452
1807
|
* Can be empty if the data is sent a server SDK
|
|
1453
1808
|
*
|
|
1454
|
-
* @generated from field:
|
|
1809
|
+
* @generated from field: string participant_identity = 2;
|
|
1455
1810
|
*/
|
|
1456
|
-
|
|
1811
|
+
participantIdentity: string;
|
|
1457
1812
|
/**
|
|
1458
|
-
* @generated from
|
|
1813
|
+
* @generated from oneof livekit.proto.DataPacketReceived.value
|
|
1459
1814
|
*/
|
|
1460
|
-
|
|
1815
|
+
value: {
|
|
1816
|
+
/**
|
|
1817
|
+
* @generated from field: livekit.proto.UserPacket user = 4;
|
|
1818
|
+
*/
|
|
1819
|
+
value: UserPacket;
|
|
1820
|
+
case: "user";
|
|
1821
|
+
} | {
|
|
1822
|
+
/**
|
|
1823
|
+
* @generated from field: livekit.proto.SipDTMF sip_dtmf = 5;
|
|
1824
|
+
*/
|
|
1825
|
+
value: SipDTMF;
|
|
1826
|
+
case: "sipDtmf";
|
|
1827
|
+
} | {
|
|
1828
|
+
case: undefined;
|
|
1829
|
+
value?: undefined;
|
|
1830
|
+
};
|
|
1831
|
+
constructor(data?: PartialMessage<DataPacketReceived>);
|
|
1832
|
+
static readonly runtime: typeof proto3;
|
|
1833
|
+
static readonly typeName = "livekit.proto.DataPacketReceived";
|
|
1834
|
+
static readonly fields: FieldList;
|
|
1835
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataPacketReceived;
|
|
1836
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataPacketReceived;
|
|
1837
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataPacketReceived;
|
|
1838
|
+
static equals(a: DataPacketReceived | PlainMessage<DataPacketReceived> | undefined, b: DataPacketReceived | PlainMessage<DataPacketReceived> | undefined): boolean;
|
|
1839
|
+
}
|
|
1840
|
+
/**
|
|
1841
|
+
* @generated from message livekit.proto.TranscriptionReceived
|
|
1842
|
+
*/
|
|
1843
|
+
export declare class TranscriptionReceived extends Message<TranscriptionReceived> {
|
|
1461
1844
|
/**
|
|
1462
|
-
* @generated from field: optional string
|
|
1845
|
+
* @generated from field: optional string participant_identity = 1;
|
|
1463
1846
|
*/
|
|
1464
|
-
|
|
1465
|
-
|
|
1847
|
+
participantIdentity?: string;
|
|
1848
|
+
/**
|
|
1849
|
+
* @generated from field: optional string track_sid = 2;
|
|
1850
|
+
*/
|
|
1851
|
+
trackSid?: string;
|
|
1852
|
+
/**
|
|
1853
|
+
* @generated from field: repeated livekit.proto.TranscriptionSegment segments = 3;
|
|
1854
|
+
*/
|
|
1855
|
+
segments: TranscriptionSegment[];
|
|
1856
|
+
constructor(data?: PartialMessage<TranscriptionReceived>);
|
|
1466
1857
|
static readonly runtime: typeof proto3;
|
|
1467
|
-
static readonly typeName = "livekit.proto.
|
|
1858
|
+
static readonly typeName = "livekit.proto.TranscriptionReceived";
|
|
1468
1859
|
static readonly fields: FieldList;
|
|
1469
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
1470
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
1471
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
1472
|
-
static equals(a:
|
|
1860
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TranscriptionReceived;
|
|
1861
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TranscriptionReceived;
|
|
1862
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TranscriptionReceived;
|
|
1863
|
+
static equals(a: TranscriptionReceived | PlainMessage<TranscriptionReceived> | undefined, b: TranscriptionReceived | PlainMessage<TranscriptionReceived> | undefined): boolean;
|
|
1473
1864
|
}
|
|
1474
1865
|
/**
|
|
1475
1866
|
* @generated from message livekit.proto.ConnectionStateChanged
|