import { Message, Timestamp, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage, Struct, Duration, Any } from '@bufbuild/protobuf'; export { protoInt64 } from '@bufbuild/protobuf'; // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js" // @generated from file agent/livekit_agent_session.proto (package livekit.agent, syntax proto3) /* eslint-disable */ // @ts-nocheck /** * @generated from enum livekit.agent.ChatRole */ declare enum ChatRole { /** * @generated from enum value: DEVELOPER = 0; */ DEVELOPER = 0, /** * @generated from enum value: SYSTEM = 1; */ SYSTEM = 1, /** * @generated from enum value: USER = 2; */ USER = 2, /** * @generated from enum value: ASSISTANT = 3; */ ASSISTANT = 3, } /** * @generated from enum livekit.agent.AgentState */ declare enum AgentState { /** * @generated from enum value: AS_INITIALIZING = 0; */ AS_INITIALIZING = 0, /** * @generated from enum value: AS_IDLE = 1; */ AS_IDLE = 1, /** * @generated from enum value: AS_LISTENING = 2; */ AS_LISTENING = 2, /** * @generated from enum value: AS_THINKING = 3; */ AS_THINKING = 3, /** * @generated from enum value: AS_SPEAKING = 4; */ AS_SPEAKING = 4, } /** * @generated from enum livekit.agent.UserState */ declare enum UserState { /** * @generated from enum value: US_SPEAKING = 0; */ US_SPEAKING = 0, /** * @generated from enum value: US_LISTENING = 1; */ US_LISTENING = 1, /** * @generated from enum value: US_AWAY = 2; */ US_AWAY = 2, } /** * @generated from message livekit.agent.MetricsReport */ declare class MetricsReport extends Message { /** * @generated from field: google.protobuf.Timestamp started_speaking_at = 1; */ startedSpeakingAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp stopped_speaking_at = 2; */ stoppedSpeakingAt?: Timestamp; /** * @generated from field: optional double transcription_delay = 3; */ transcriptionDelay?: number; /** * @generated from field: optional double end_of_turn_delay = 4; */ endOfTurnDelay?: number; /** * @generated from field: optional double on_user_turn_completed_delay = 5; */ onUserTurnCompletedDelay?: number; /** * @generated from field: optional double llm_node_ttft = 6; */ llmNodeTtft?: number; /** * @generated from field: optional double tts_node_ttfb = 7; */ ttsNodeTtfb?: number; /** * @generated from field: optional double e2e_latency = 8; */ e2eLatency?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.MetricsReport"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MetricsReport; static fromJson(jsonValue: JsonValue, options?: Partial): MetricsReport; static fromJsonString(jsonString: string, options?: Partial): MetricsReport; static equals(a: MetricsReport | PlainMessage | undefined, b: MetricsReport | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.ChatMessage */ declare class ChatMessage$1 extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: livekit.agent.ChatRole role = 2; */ role: ChatRole; /** * @generated from field: repeated livekit.agent.ChatMessage.ChatContent content = 3; */ content: ChatMessage_ChatContent[]; /** * @generated from field: bool interrupted = 4; */ interrupted: boolean; /** * @generated from field: optional double transcript_confidence = 5; */ transcriptConfidence?: number; /** * @generated from field: map extra = 6; */ extra: { [key: string]: string }; /** * @generated from field: livekit.agent.MetricsReport metrics = 7; */ metrics?: MetricsReport; /** * @generated from field: google.protobuf.Timestamp created_at = 8; */ createdAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.ChatMessage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ChatMessage$1; static fromJson(jsonValue: JsonValue, options?: Partial): ChatMessage$1; static fromJsonString(jsonString: string, options?: Partial): ChatMessage$1; static equals(a: ChatMessage$1 | PlainMessage | undefined, b: ChatMessage$1 | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.ChatMessage.ChatContent */ declare class ChatMessage_ChatContent extends Message { /** * @generated from oneof livekit.agent.ChatMessage.ChatContent.payload */ payload: { /** * @generated from field: string text = 1; */ value: string; case: "text"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.ChatMessage.ChatContent"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ChatMessage_ChatContent; static fromJson(jsonValue: JsonValue, options?: Partial): ChatMessage_ChatContent; static fromJsonString(jsonString: string, options?: Partial): ChatMessage_ChatContent; static equals(a: ChatMessage_ChatContent | PlainMessage | undefined, b: ChatMessage_ChatContent | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.FunctionCall */ declare class FunctionCall extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string call_id = 2; */ callId: string; /** * @generated from field: string arguments = 3; */ arguments: string; /** * @generated from field: string name = 4; */ name: string; /** * @generated from field: google.protobuf.Timestamp created_at = 5; */ createdAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.FunctionCall"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FunctionCall; static fromJson(jsonValue: JsonValue, options?: Partial): FunctionCall; static fromJsonString(jsonString: string, options?: Partial): FunctionCall; static equals(a: FunctionCall | PlainMessage | undefined, b: FunctionCall | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.FunctionCallOutput */ declare class FunctionCallOutput extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string name = 2; */ name: string; /** * @generated from field: string call_id = 3; */ callId: string; /** * @generated from field: string output = 4; */ output: string; /** * @generated from field: bool is_error = 5; */ isError: boolean; /** * @generated from field: google.protobuf.Timestamp created_at = 6; */ createdAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.FunctionCallOutput"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FunctionCallOutput; static fromJson(jsonValue: JsonValue, options?: Partial): FunctionCallOutput; static fromJsonString(jsonString: string, options?: Partial): FunctionCallOutput; static equals(a: FunctionCallOutput | PlainMessage | undefined, b: FunctionCallOutput | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentHandoff */ declare class AgentHandoff extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: optional string old_agent_id = 2; */ oldAgentId?: string; /** * @generated from field: string new_agent_id = 3; */ newAgentId: string; /** * @generated from field: google.protobuf.Timestamp created_at = 4; */ createdAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentHandoff"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentHandoff; static fromJson(jsonValue: JsonValue, options?: Partial): AgentHandoff; static fromJsonString(jsonString: string, options?: Partial): AgentHandoff; static equals(a: AgentHandoff | PlainMessage | undefined, b: AgentHandoff | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentConfigUpdate */ declare class AgentConfigUpdate extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: optional string instructions = 2; */ instructions?: string; /** * @generated from field: repeated string tools_added = 3; */ toolsAdded: string[]; /** * @generated from field: repeated string tools_removed = 4; */ toolsRemoved: string[]; /** * @generated from field: google.protobuf.Timestamp created_at = 5; */ createdAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentConfigUpdate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentConfigUpdate; static fromJson(jsonValue: JsonValue, options?: Partial): AgentConfigUpdate; static fromJsonString(jsonString: string, options?: Partial): AgentConfigUpdate; static equals(a: AgentConfigUpdate | PlainMessage | undefined, b: AgentConfigUpdate | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.ChatContext */ declare class ChatContext extends Message { /** * @generated from field: repeated livekit.agent.ChatContext.ChatItem items = 1; */ items: ChatContext_ChatItem[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.ChatContext"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ChatContext; static fromJson(jsonValue: JsonValue, options?: Partial): ChatContext; static fromJsonString(jsonString: string, options?: Partial): ChatContext; static equals(a: ChatContext | PlainMessage | undefined, b: ChatContext | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.ChatContext.ChatItem */ declare class ChatContext_ChatItem extends Message { /** * @generated from oneof livekit.agent.ChatContext.ChatItem.item */ item: { /** * @generated from field: livekit.agent.ChatMessage message = 1; */ value: ChatMessage$1; case: "message"; } | { /** * @generated from field: livekit.agent.FunctionCall function_call = 2; */ value: FunctionCall; case: "functionCall"; } | { /** * @generated from field: livekit.agent.FunctionCallOutput function_call_output = 3; */ value: FunctionCallOutput; case: "functionCallOutput"; } | { /** * @generated from field: livekit.agent.AgentHandoff agent_handoff = 4; */ value: AgentHandoff; case: "agentHandoff"; } | { /** * @generated from field: livekit.agent.AgentConfigUpdate agent_config_update = 5; */ value: AgentConfigUpdate; case: "agentConfigUpdate"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.ChatContext.ChatItem"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ChatContext_ChatItem; static fromJson(jsonValue: JsonValue, options?: Partial): ChatContext_ChatItem; static fromJsonString(jsonString: string, options?: Partial): ChatContext_ChatItem; static equals(a: ChatContext_ChatItem | PlainMessage | undefined, b: ChatContext_ChatItem | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.LLMModelUsage */ declare class LLMModelUsage extends Message { /** * @generated from field: string provider = 1; */ provider: string; /** * @generated from field: string model = 2; */ model: string; /** * @generated from field: int32 input_tokens = 3; */ inputTokens: number; /** * @generated from field: int32 input_cached_tokens = 4; */ inputCachedTokens: number; /** * @generated from field: int32 input_audio_tokens = 5; */ inputAudioTokens: number; /** * @generated from field: int32 input_cached_audio_tokens = 6; */ inputCachedAudioTokens: number; /** * @generated from field: int32 input_text_tokens = 7; */ inputTextTokens: number; /** * @generated from field: int32 input_cached_text_tokens = 8; */ inputCachedTextTokens: number; /** * @generated from field: int32 input_image_tokens = 9; */ inputImageTokens: number; /** * @generated from field: int32 input_cached_image_tokens = 10; */ inputCachedImageTokens: number; /** * @generated from field: int32 output_tokens = 11; */ outputTokens: number; /** * @generated from field: int32 output_audio_tokens = 12; */ outputAudioTokens: number; /** * @generated from field: int32 output_text_tokens = 13; */ outputTextTokens: number; /** * @generated from field: double session_duration = 14; */ sessionDuration: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.LLMModelUsage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): LLMModelUsage; static fromJson(jsonValue: JsonValue, options?: Partial): LLMModelUsage; static fromJsonString(jsonString: string, options?: Partial): LLMModelUsage; static equals(a: LLMModelUsage | PlainMessage | undefined, b: LLMModelUsage | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.TTSModelUsage */ declare class TTSModelUsage extends Message { /** * @generated from field: string provider = 1; */ provider: string; /** * @generated from field: string model = 2; */ model: string; /** * @generated from field: int32 input_tokens = 3; */ inputTokens: number; /** * @generated from field: int32 output_tokens = 4; */ outputTokens: number; /** * @generated from field: int32 characters_count = 5; */ charactersCount: number; /** * @generated from field: double audio_duration = 6; */ audioDuration: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.TTSModelUsage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TTSModelUsage; static fromJson(jsonValue: JsonValue, options?: Partial): TTSModelUsage; static fromJsonString(jsonString: string, options?: Partial): TTSModelUsage; static equals(a: TTSModelUsage | PlainMessage | undefined, b: TTSModelUsage | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.STTModelUsage */ declare class STTModelUsage extends Message { /** * @generated from field: string provider = 1; */ provider: string; /** * @generated from field: string model = 2; */ model: string; /** * @generated from field: int32 input_tokens = 3; */ inputTokens: number; /** * @generated from field: int32 output_tokens = 4; */ outputTokens: number; /** * @generated from field: double audio_duration = 5; */ audioDuration: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.STTModelUsage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): STTModelUsage; static fromJson(jsonValue: JsonValue, options?: Partial): STTModelUsage; static fromJsonString(jsonString: string, options?: Partial): STTModelUsage; static equals(a: STTModelUsage | PlainMessage | undefined, b: STTModelUsage | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.InterruptionModelUsage */ declare class InterruptionModelUsage extends Message { /** * @generated from field: string provider = 1; */ provider: string; /** * @generated from field: string model = 2; */ model: string; /** * @generated from field: int32 total_requests = 3; */ totalRequests: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.InterruptionModelUsage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): InterruptionModelUsage; static fromJson(jsonValue: JsonValue, options?: Partial): InterruptionModelUsage; static fromJsonString(jsonString: string, options?: Partial): InterruptionModelUsage; static equals(a: InterruptionModelUsage | PlainMessage | undefined, b: InterruptionModelUsage | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.ModelUsage */ declare class ModelUsage extends Message { /** * @generated from oneof livekit.agent.ModelUsage.usage */ usage: { /** * @generated from field: livekit.agent.LLMModelUsage llm = 1; */ value: LLMModelUsage; case: "llm"; } | { /** * @generated from field: livekit.agent.TTSModelUsage tts = 2; */ value: TTSModelUsage; case: "tts"; } | { /** * @generated from field: livekit.agent.STTModelUsage stt = 3; */ value: STTModelUsage; case: "stt"; } | { /** * @generated from field: livekit.agent.InterruptionModelUsage interruption = 4; */ value: InterruptionModelUsage; case: "interruption"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.ModelUsage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ModelUsage; static fromJson(jsonValue: JsonValue, options?: Partial): ModelUsage; static fromJsonString(jsonString: string, options?: Partial): ModelUsage; static equals(a: ModelUsage | PlainMessage | undefined, b: ModelUsage | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionUsage */ declare class AgentSessionUsage extends Message { /** * @generated from field: repeated livekit.agent.ModelUsage model_usage = 1; */ modelUsage: ModelUsage[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionUsage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionUsage; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionUsage; static fromJsonString(jsonString: string, options?: Partial): AgentSessionUsage; static equals(a: AgentSessionUsage | PlainMessage | undefined, b: AgentSessionUsage | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionEvent */ declare class AgentSessionEvent extends Message { /** * @generated from field: google.protobuf.Timestamp created_at = 1; */ createdAt?: Timestamp; /** * @generated from oneof livekit.agent.AgentSessionEvent.event */ event: { /** * @generated from field: livekit.agent.AgentSessionEvent.AgentStateChanged agent_state_changed = 10; */ value: AgentSessionEvent_AgentStateChanged; case: "agentStateChanged"; } | { /** * @generated from field: livekit.agent.AgentSessionEvent.UserStateChanged user_state_changed = 11; */ value: AgentSessionEvent_UserStateChanged; case: "userStateChanged"; } | { /** * @generated from field: livekit.agent.AgentSessionEvent.ConversationItemAdded conversation_item_added = 12; */ value: AgentSessionEvent_ConversationItemAdded; case: "conversationItemAdded"; } | { /** * @generated from field: livekit.agent.AgentSessionEvent.UserInputTranscribed user_input_transcribed = 13; */ value: AgentSessionEvent_UserInputTranscribed; case: "userInputTranscribed"; } | { /** * @generated from field: livekit.agent.AgentSessionEvent.FunctionToolsExecuted function_tools_executed = 14; */ value: AgentSessionEvent_FunctionToolsExecuted; case: "functionToolsExecuted"; } | { /** * @generated from field: livekit.agent.AgentSessionEvent.Error error = 15; */ value: AgentSessionEvent_Error; case: "error"; } | { /** * @generated from field: livekit.agent.AgentSessionEvent.OverlappingSpeech overlapping_speech = 16; */ value: AgentSessionEvent_OverlappingSpeech; case: "overlappingSpeech"; } | { /** * @generated from field: livekit.agent.AgentSessionEvent.SessionUsageUpdated session_usage_updated = 17; */ value: AgentSessionEvent_SessionUsageUpdated; case: "sessionUsageUpdated"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionEvent"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionEvent; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionEvent; static fromJsonString(jsonString: string, options?: Partial): AgentSessionEvent; static equals(a: AgentSessionEvent | PlainMessage | undefined, b: AgentSessionEvent | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionEvent.AgentStateChanged */ declare class AgentSessionEvent_AgentStateChanged extends Message { /** * @generated from field: livekit.agent.AgentState old_state = 1; */ oldState: AgentState; /** * @generated from field: livekit.agent.AgentState new_state = 2; */ newState: AgentState; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionEvent.AgentStateChanged"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionEvent_AgentStateChanged; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionEvent_AgentStateChanged; static fromJsonString(jsonString: string, options?: Partial): AgentSessionEvent_AgentStateChanged; static equals(a: AgentSessionEvent_AgentStateChanged | PlainMessage | undefined, b: AgentSessionEvent_AgentStateChanged | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionEvent.UserStateChanged */ declare class AgentSessionEvent_UserStateChanged extends Message { /** * @generated from field: livekit.agent.UserState old_state = 1; */ oldState: UserState; /** * @generated from field: livekit.agent.UserState new_state = 2; */ newState: UserState; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionEvent.UserStateChanged"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionEvent_UserStateChanged; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionEvent_UserStateChanged; static fromJsonString(jsonString: string, options?: Partial): AgentSessionEvent_UserStateChanged; static equals(a: AgentSessionEvent_UserStateChanged | PlainMessage | undefined, b: AgentSessionEvent_UserStateChanged | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionEvent.ConversationItemAdded */ declare class AgentSessionEvent_ConversationItemAdded extends Message { /** * @generated from field: livekit.agent.ChatContext.ChatItem item = 1; */ item?: ChatContext_ChatItem; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionEvent.ConversationItemAdded"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionEvent_ConversationItemAdded; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionEvent_ConversationItemAdded; static fromJsonString(jsonString: string, options?: Partial): AgentSessionEvent_ConversationItemAdded; static equals(a: AgentSessionEvent_ConversationItemAdded | PlainMessage | undefined, b: AgentSessionEvent_ConversationItemAdded | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionEvent.UserInputTranscribed */ declare class AgentSessionEvent_UserInputTranscribed extends Message { /** * @generated from field: string transcript = 1; */ transcript: string; /** * @generated from field: bool is_final = 2; */ isFinal: boolean; /** * @generated from field: optional string language = 3; */ language?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionEvent.UserInputTranscribed"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionEvent_UserInputTranscribed; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionEvent_UserInputTranscribed; static fromJsonString(jsonString: string, options?: Partial): AgentSessionEvent_UserInputTranscribed; static equals(a: AgentSessionEvent_UserInputTranscribed | PlainMessage | undefined, b: AgentSessionEvent_UserInputTranscribed | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionEvent.FunctionToolsExecuted */ declare class AgentSessionEvent_FunctionToolsExecuted extends Message { /** * @generated from field: repeated livekit.agent.FunctionCall function_calls = 1; */ functionCalls: FunctionCall[]; /** * @generated from field: repeated livekit.agent.FunctionCallOutput function_call_outputs = 2; */ functionCallOutputs: FunctionCallOutput[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionEvent.FunctionToolsExecuted"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionEvent_FunctionToolsExecuted; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionEvent_FunctionToolsExecuted; static fromJsonString(jsonString: string, options?: Partial): AgentSessionEvent_FunctionToolsExecuted; static equals(a: AgentSessionEvent_FunctionToolsExecuted | PlainMessage | undefined, b: AgentSessionEvent_FunctionToolsExecuted | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionEvent.Error */ declare class AgentSessionEvent_Error extends Message { /** * @generated from field: string message = 1; */ message: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionEvent.Error"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionEvent_Error; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionEvent_Error; static fromJsonString(jsonString: string, options?: Partial): AgentSessionEvent_Error; static equals(a: AgentSessionEvent_Error | PlainMessage | undefined, b: AgentSessionEvent_Error | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionEvent.OverlappingSpeech */ declare class AgentSessionEvent_OverlappingSpeech extends Message { /** * @generated from field: bool is_interruption = 1; */ isInterruption: boolean; /** * @generated from field: optional google.protobuf.Timestamp overlap_started_at = 2; */ overlapStartedAt?: Timestamp; /** * @generated from field: double detection_delay = 3; */ detectionDelay: number; /** * @generated from field: google.protobuf.Timestamp detected_at = 4; */ detectedAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionEvent.OverlappingSpeech"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionEvent_OverlappingSpeech; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionEvent_OverlappingSpeech; static fromJsonString(jsonString: string, options?: Partial): AgentSessionEvent_OverlappingSpeech; static equals(a: AgentSessionEvent_OverlappingSpeech | PlainMessage | undefined, b: AgentSessionEvent_OverlappingSpeech | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionEvent.SessionUsageUpdated */ declare class AgentSessionEvent_SessionUsageUpdated extends Message { /** * @generated from field: livekit.agent.AgentSessionUsage usage = 1; */ usage?: AgentSessionUsage; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionEvent.SessionUsageUpdated"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionEvent_SessionUsageUpdated; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionEvent_SessionUsageUpdated; static fromJsonString(jsonString: string, options?: Partial): AgentSessionEvent_SessionUsageUpdated; static equals(a: AgentSessionEvent_SessionUsageUpdated | PlainMessage | undefined, b: AgentSessionEvent_SessionUsageUpdated | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionRequest */ declare class SessionRequest extends Message { /** * @generated from field: string request_id = 1; */ requestId: string; /** * @generated from oneof livekit.agent.SessionRequest.request */ request: { /** * @generated from field: livekit.agent.SessionRequest.Ping ping = 2; */ value: SessionRequest_Ping; case: "ping"; } | { /** * @generated from field: livekit.agent.SessionRequest.GetChatHistory get_chat_history = 4; */ value: SessionRequest_GetChatHistory; case: "getChatHistory"; } | { /** * @generated from field: livekit.agent.SessionRequest.RunInput run_input = 5; */ value: SessionRequest_RunInput; case: "runInput"; } | { /** * @generated from field: livekit.agent.SessionRequest.GetAgentInfo get_agent_info = 6; */ value: SessionRequest_GetAgentInfo; case: "getAgentInfo"; } | { /** * @generated from field: livekit.agent.SessionRequest.GetSessionState get_session_state = 7; */ value: SessionRequest_GetSessionState; case: "getSessionState"; } | { /** * @generated from field: livekit.agent.SessionRequest.GetRTCStats get_rtc_stats = 8; */ value: SessionRequest_GetRTCStats; case: "getRtcStats"; } | { /** * @generated from field: livekit.agent.SessionRequest.GetSessionUsage get_session_usage = 9; */ value: SessionRequest_GetSessionUsage; case: "getSessionUsage"; } | { /** * @generated from field: livekit.agent.SessionRequest.GetFrameworkInfo get_framework_info = 10; */ value: SessionRequest_GetFrameworkInfo; case: "getFrameworkInfo"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SessionRequest; static fromJsonString(jsonString: string, options?: Partial): SessionRequest; static equals(a: SessionRequest | PlainMessage | undefined, b: SessionRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionRequest.Ping */ declare class SessionRequest_Ping extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionRequest.Ping"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionRequest_Ping; static fromJson(jsonValue: JsonValue, options?: Partial): SessionRequest_Ping; static fromJsonString(jsonString: string, options?: Partial): SessionRequest_Ping; static equals(a: SessionRequest_Ping | PlainMessage | undefined, b: SessionRequest_Ping | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionRequest.GetChatHistory */ declare class SessionRequest_GetChatHistory extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionRequest.GetChatHistory"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionRequest_GetChatHistory; static fromJson(jsonValue: JsonValue, options?: Partial): SessionRequest_GetChatHistory; static fromJsonString(jsonString: string, options?: Partial): SessionRequest_GetChatHistory; static equals(a: SessionRequest_GetChatHistory | PlainMessage | undefined, b: SessionRequest_GetChatHistory | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionRequest.RunInput */ declare class SessionRequest_RunInput extends Message { /** * @generated from field: string text = 1; */ text: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionRequest.RunInput"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionRequest_RunInput; static fromJson(jsonValue: JsonValue, options?: Partial): SessionRequest_RunInput; static fromJsonString(jsonString: string, options?: Partial): SessionRequest_RunInput; static equals(a: SessionRequest_RunInput | PlainMessage | undefined, b: SessionRequest_RunInput | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionRequest.GetAgentInfo */ declare class SessionRequest_GetAgentInfo extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionRequest.GetAgentInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionRequest_GetAgentInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SessionRequest_GetAgentInfo; static fromJsonString(jsonString: string, options?: Partial): SessionRequest_GetAgentInfo; static equals(a: SessionRequest_GetAgentInfo | PlainMessage | undefined, b: SessionRequest_GetAgentInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionRequest.GetSessionState */ declare class SessionRequest_GetSessionState extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionRequest.GetSessionState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionRequest_GetSessionState; static fromJson(jsonValue: JsonValue, options?: Partial): SessionRequest_GetSessionState; static fromJsonString(jsonString: string, options?: Partial): SessionRequest_GetSessionState; static equals(a: SessionRequest_GetSessionState | PlainMessage | undefined, b: SessionRequest_GetSessionState | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionRequest.GetRTCStats */ declare class SessionRequest_GetRTCStats extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionRequest.GetRTCStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionRequest_GetRTCStats; static fromJson(jsonValue: JsonValue, options?: Partial): SessionRequest_GetRTCStats; static fromJsonString(jsonString: string, options?: Partial): SessionRequest_GetRTCStats; static equals(a: SessionRequest_GetRTCStats | PlainMessage | undefined, b: SessionRequest_GetRTCStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionRequest.GetSessionUsage */ declare class SessionRequest_GetSessionUsage extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionRequest.GetSessionUsage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionRequest_GetSessionUsage; static fromJson(jsonValue: JsonValue, options?: Partial): SessionRequest_GetSessionUsage; static fromJsonString(jsonString: string, options?: Partial): SessionRequest_GetSessionUsage; static equals(a: SessionRequest_GetSessionUsage | PlainMessage | undefined, b: SessionRequest_GetSessionUsage | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionRequest.GetFrameworkInfo */ declare class SessionRequest_GetFrameworkInfo extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionRequest.GetFrameworkInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionRequest_GetFrameworkInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SessionRequest_GetFrameworkInfo; static fromJsonString(jsonString: string, options?: Partial): SessionRequest_GetFrameworkInfo; static equals(a: SessionRequest_GetFrameworkInfo | PlainMessage | undefined, b: SessionRequest_GetFrameworkInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionResponse */ declare class SessionResponse extends Message { /** * @generated from field: string request_id = 1; */ requestId: string; /** * @generated from field: optional string error = 2; */ error?: string; /** * @generated from oneof livekit.agent.SessionResponse.response */ response: { /** * @generated from field: livekit.agent.SessionResponse.Pong pong = 3; */ value: SessionResponse_Pong; case: "pong"; } | { /** * @generated from field: livekit.agent.SessionResponse.GetChatHistoryResponse get_chat_history = 5; */ value: SessionResponse_GetChatHistoryResponse; case: "getChatHistory"; } | { /** * @generated from field: livekit.agent.SessionResponse.RunInputResponse run_input = 6; */ value: SessionResponse_RunInputResponse; case: "runInput"; } | { /** * @generated from field: livekit.agent.SessionResponse.GetAgentInfoResponse get_agent_info = 7; */ value: SessionResponse_GetAgentInfoResponse; case: "getAgentInfo"; } | { /** * @generated from field: livekit.agent.SessionResponse.GetSessionStateResponse get_session_state = 8; */ value: SessionResponse_GetSessionStateResponse; case: "getSessionState"; } | { /** * @generated from field: livekit.agent.SessionResponse.GetRTCStatsResponse get_rtc_stats = 9; */ value: SessionResponse_GetRTCStatsResponse; case: "getRtcStats"; } | { /** * @generated from field: livekit.agent.SessionResponse.GetSessionUsageResponse get_session_usage = 10; */ value: SessionResponse_GetSessionUsageResponse; case: "getSessionUsage"; } | { /** * @generated from field: livekit.agent.SessionResponse.GetFrameworkInfoResponse get_framework_info = 11; */ value: SessionResponse_GetFrameworkInfoResponse; case: "getFrameworkInfo"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SessionResponse; static fromJsonString(jsonString: string, options?: Partial): SessionResponse; static equals(a: SessionResponse | PlainMessage | undefined, b: SessionResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionResponse.Pong */ declare class SessionResponse_Pong extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionResponse.Pong"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionResponse_Pong; static fromJson(jsonValue: JsonValue, options?: Partial): SessionResponse_Pong; static fromJsonString(jsonString: string, options?: Partial): SessionResponse_Pong; static equals(a: SessionResponse_Pong | PlainMessage | undefined, b: SessionResponse_Pong | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionResponse.GetChatHistoryResponse */ declare class SessionResponse_GetChatHistoryResponse extends Message { /** * @generated from field: repeated livekit.agent.ChatContext.ChatItem items = 1; */ items: ChatContext_ChatItem[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionResponse.GetChatHistoryResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionResponse_GetChatHistoryResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SessionResponse_GetChatHistoryResponse; static fromJsonString(jsonString: string, options?: Partial): SessionResponse_GetChatHistoryResponse; static equals(a: SessionResponse_GetChatHistoryResponse | PlainMessage | undefined, b: SessionResponse_GetChatHistoryResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionResponse.GetAgentInfoResponse */ declare class SessionResponse_GetAgentInfoResponse extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: optional string instructions = 2; */ instructions?: string; /** * @generated from field: repeated string tools = 3; */ tools: string[]; /** * @generated from field: repeated livekit.agent.ChatContext.ChatItem chat_ctx = 4; */ chatCtx: ChatContext_ChatItem[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionResponse.GetAgentInfoResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionResponse_GetAgentInfoResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SessionResponse_GetAgentInfoResponse; static fromJsonString(jsonString: string, options?: Partial): SessionResponse_GetAgentInfoResponse; static equals(a: SessionResponse_GetAgentInfoResponse | PlainMessage | undefined, b: SessionResponse_GetAgentInfoResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionResponse.RunInputResponse */ declare class SessionResponse_RunInputResponse extends Message { /** * @generated from field: repeated livekit.agent.ChatContext.ChatItem items = 1; */ items: ChatContext_ChatItem[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionResponse.RunInputResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionResponse_RunInputResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SessionResponse_RunInputResponse; static fromJsonString(jsonString: string, options?: Partial): SessionResponse_RunInputResponse; static equals(a: SessionResponse_RunInputResponse | PlainMessage | undefined, b: SessionResponse_RunInputResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionResponse.GetSessionStateResponse */ declare class SessionResponse_GetSessionStateResponse extends Message { /** * @generated from field: livekit.agent.AgentState agent_state = 1; */ agentState: AgentState; /** * @generated from field: livekit.agent.UserState user_state = 2; */ userState: UserState; /** * @generated from field: string agent_id = 3; */ agentId: string; /** * @generated from field: map options = 4; */ options: { [key: string]: string }; /** * @generated from field: google.protobuf.Timestamp created_at = 5; */ createdAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionResponse.GetSessionStateResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionResponse_GetSessionStateResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SessionResponse_GetSessionStateResponse; static fromJsonString(jsonString: string, options?: Partial): SessionResponse_GetSessionStateResponse; static equals(a: SessionResponse_GetSessionStateResponse | PlainMessage | undefined, b: SessionResponse_GetSessionStateResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionResponse.GetRTCStatsResponse */ declare class SessionResponse_GetRTCStatsResponse extends Message { /** * @generated from field: repeated google.protobuf.Struct publisher_stats = 1; */ publisherStats: Struct[]; /** * @generated from field: repeated google.protobuf.Struct subscriber_stats = 2; */ subscriberStats: Struct[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionResponse.GetRTCStatsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionResponse_GetRTCStatsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SessionResponse_GetRTCStatsResponse; static fromJsonString(jsonString: string, options?: Partial): SessionResponse_GetRTCStatsResponse; static equals(a: SessionResponse_GetRTCStatsResponse | PlainMessage | undefined, b: SessionResponse_GetRTCStatsResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionResponse.GetSessionUsageResponse */ declare class SessionResponse_GetSessionUsageResponse extends Message { /** * @generated from field: livekit.agent.AgentSessionUsage usage = 1; */ usage?: AgentSessionUsage; /** * @generated from field: google.protobuf.Timestamp created_at = 2; */ createdAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionResponse.GetSessionUsageResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionResponse_GetSessionUsageResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SessionResponse_GetSessionUsageResponse; static fromJsonString(jsonString: string, options?: Partial): SessionResponse_GetSessionUsageResponse; static equals(a: SessionResponse_GetSessionUsageResponse | PlainMessage | undefined, b: SessionResponse_GetSessionUsageResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.SessionResponse.GetFrameworkInfoResponse */ declare class SessionResponse_GetFrameworkInfoResponse extends Message { /** * @generated from field: string sdk = 1; */ sdk: string; /** * @generated from field: string sdk_version = 2; */ sdkVersion: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.SessionResponse.GetFrameworkInfoResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionResponse_GetFrameworkInfoResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SessionResponse_GetFrameworkInfoResponse; static fromJsonString(jsonString: string, options?: Partial): SessionResponse_GetFrameworkInfoResponse; static equals(a: SessionResponse_GetFrameworkInfoResponse | PlainMessage | undefined, b: SessionResponse_GetFrameworkInfoResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionMessage */ declare class AgentSessionMessage extends Message { /** * @generated from oneof livekit.agent.AgentSessionMessage.message */ message: { /** * @generated from field: livekit.agent.AgentSessionMessage.ConsoleIO.AudioFrame audio_input = 1; */ value: AgentSessionMessage_ConsoleIO_AudioFrame; case: "audioInput"; } | { /** * @generated from field: livekit.agent.AgentSessionMessage.ConsoleIO.AudioFrame audio_output = 2; */ value: AgentSessionMessage_ConsoleIO_AudioFrame; case: "audioOutput"; } | { /** * @generated from field: livekit.agent.AgentSessionEvent event = 3; */ value: AgentSessionEvent; case: "event"; } | { /** * @generated from field: livekit.agent.SessionRequest request = 4; */ value: SessionRequest; case: "request"; } | { /** * @generated from field: livekit.agent.SessionResponse response = 5; */ value: SessionResponse; case: "response"; } | { /** * @generated from field: livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFlush audio_playback_flush = 6; */ value: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush; case: "audioPlaybackFlush"; } | { /** * @generated from field: livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackClear audio_playback_clear = 7; */ value: AgentSessionMessage_ConsoleIO_AudioPlaybackClear; case: "audioPlaybackClear"; } | { /** * @generated from field: livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFinished audio_playback_finished = 8; */ value: AgentSessionMessage_ConsoleIO_AudioPlaybackFinished; case: "audioPlaybackFinished"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionMessage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionMessage; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionMessage; static fromJsonString(jsonString: string, options?: Partial): AgentSessionMessage; static equals(a: AgentSessionMessage | PlainMessage | undefined, b: AgentSessionMessage | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO */ declare class AgentSessionMessage_ConsoleIO extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionMessage_ConsoleIO; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionMessage_ConsoleIO; static fromJsonString(jsonString: string, options?: Partial): AgentSessionMessage_ConsoleIO; static equals(a: AgentSessionMessage_ConsoleIO | PlainMessage | undefined, b: AgentSessionMessage_ConsoleIO | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioFrame */ declare class AgentSessionMessage_ConsoleIO_AudioFrame extends Message { /** * @generated from field: bytes data = 1; */ data: Uint8Array; /** * @generated from field: uint32 sample_rate = 2; */ sampleRate: number; /** * @generated from field: uint32 num_channels = 3; */ numChannels: number; /** * @generated from field: uint32 samples_per_channel = 4; */ samplesPerChannel: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioFrame"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionMessage_ConsoleIO_AudioFrame; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionMessage_ConsoleIO_AudioFrame; static fromJsonString(jsonString: string, options?: Partial): AgentSessionMessage_ConsoleIO_AudioFrame; static equals(a: AgentSessionMessage_ConsoleIO_AudioFrame | PlainMessage | undefined, b: AgentSessionMessage_ConsoleIO_AudioFrame | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFlush */ declare class AgentSessionMessage_ConsoleIO_AudioPlaybackFlush extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFlush"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush; static fromJsonString(jsonString: string, options?: Partial): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush; static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush | PlainMessage | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackClear */ declare class AgentSessionMessage_ConsoleIO_AudioPlaybackClear extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackClear"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionMessage_ConsoleIO_AudioPlaybackClear; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionMessage_ConsoleIO_AudioPlaybackClear; static fromJsonString(jsonString: string, options?: Partial): AgentSessionMessage_ConsoleIO_AudioPlaybackClear; static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackClear | PlainMessage | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackClear | PlainMessage | undefined): boolean; } /** * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFinished */ declare class AgentSessionMessage_ConsoleIO_AudioPlaybackFinished extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFinished"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished; static fromJson(jsonValue: JsonValue, options?: Partial): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished; static fromJsonString(jsonString: string, options?: Partial): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished; static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackFinished | PlainMessage | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackFinished | PlainMessage | undefined): boolean; } type livekit_agent_session_pb_d_AgentConfigUpdate = AgentConfigUpdate; declare const livekit_agent_session_pb_d_AgentConfigUpdate: typeof AgentConfigUpdate; type livekit_agent_session_pb_d_AgentHandoff = AgentHandoff; declare const livekit_agent_session_pb_d_AgentHandoff: typeof AgentHandoff; type livekit_agent_session_pb_d_AgentSessionEvent = AgentSessionEvent; declare const livekit_agent_session_pb_d_AgentSessionEvent: typeof AgentSessionEvent; type livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged = AgentSessionEvent_AgentStateChanged; declare const livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged: typeof AgentSessionEvent_AgentStateChanged; type livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded = AgentSessionEvent_ConversationItemAdded; declare const livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded: typeof AgentSessionEvent_ConversationItemAdded; type livekit_agent_session_pb_d_AgentSessionEvent_Error = AgentSessionEvent_Error; declare const livekit_agent_session_pb_d_AgentSessionEvent_Error: typeof AgentSessionEvent_Error; type livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted = AgentSessionEvent_FunctionToolsExecuted; declare const livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted: typeof AgentSessionEvent_FunctionToolsExecuted; type livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech = AgentSessionEvent_OverlappingSpeech; declare const livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech: typeof AgentSessionEvent_OverlappingSpeech; type livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated = AgentSessionEvent_SessionUsageUpdated; declare const livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated: typeof AgentSessionEvent_SessionUsageUpdated; type livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed = AgentSessionEvent_UserInputTranscribed; declare const livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed: typeof AgentSessionEvent_UserInputTranscribed; type livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged = AgentSessionEvent_UserStateChanged; declare const livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged: typeof AgentSessionEvent_UserStateChanged; type livekit_agent_session_pb_d_AgentSessionMessage = AgentSessionMessage; declare const livekit_agent_session_pb_d_AgentSessionMessage: typeof AgentSessionMessage; type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO = AgentSessionMessage_ConsoleIO; declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO: typeof AgentSessionMessage_ConsoleIO; type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame = AgentSessionMessage_ConsoleIO_AudioFrame; declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame: typeof AgentSessionMessage_ConsoleIO_AudioFrame; type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear = AgentSessionMessage_ConsoleIO_AudioPlaybackClear; declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear: typeof AgentSessionMessage_ConsoleIO_AudioPlaybackClear; type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished = AgentSessionMessage_ConsoleIO_AudioPlaybackFinished; declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished: typeof AgentSessionMessage_ConsoleIO_AudioPlaybackFinished; type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush = AgentSessionMessage_ConsoleIO_AudioPlaybackFlush; declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush: typeof AgentSessionMessage_ConsoleIO_AudioPlaybackFlush; type livekit_agent_session_pb_d_AgentSessionUsage = AgentSessionUsage; declare const livekit_agent_session_pb_d_AgentSessionUsage: typeof AgentSessionUsage; type livekit_agent_session_pb_d_AgentState = AgentState; declare const livekit_agent_session_pb_d_AgentState: typeof AgentState; type livekit_agent_session_pb_d_ChatContext = ChatContext; declare const livekit_agent_session_pb_d_ChatContext: typeof ChatContext; type livekit_agent_session_pb_d_ChatContext_ChatItem = ChatContext_ChatItem; declare const livekit_agent_session_pb_d_ChatContext_ChatItem: typeof ChatContext_ChatItem; type livekit_agent_session_pb_d_ChatMessage_ChatContent = ChatMessage_ChatContent; declare const livekit_agent_session_pb_d_ChatMessage_ChatContent: typeof ChatMessage_ChatContent; type livekit_agent_session_pb_d_ChatRole = ChatRole; declare const livekit_agent_session_pb_d_ChatRole: typeof ChatRole; type livekit_agent_session_pb_d_FunctionCall = FunctionCall; declare const livekit_agent_session_pb_d_FunctionCall: typeof FunctionCall; type livekit_agent_session_pb_d_FunctionCallOutput = FunctionCallOutput; declare const livekit_agent_session_pb_d_FunctionCallOutput: typeof FunctionCallOutput; type livekit_agent_session_pb_d_InterruptionModelUsage = InterruptionModelUsage; declare const livekit_agent_session_pb_d_InterruptionModelUsage: typeof InterruptionModelUsage; type livekit_agent_session_pb_d_LLMModelUsage = LLMModelUsage; declare const livekit_agent_session_pb_d_LLMModelUsage: typeof LLMModelUsage; type livekit_agent_session_pb_d_MetricsReport = MetricsReport; declare const livekit_agent_session_pb_d_MetricsReport: typeof MetricsReport; type livekit_agent_session_pb_d_ModelUsage = ModelUsage; declare const livekit_agent_session_pb_d_ModelUsage: typeof ModelUsage; type livekit_agent_session_pb_d_STTModelUsage = STTModelUsage; declare const livekit_agent_session_pb_d_STTModelUsage: typeof STTModelUsage; type livekit_agent_session_pb_d_SessionRequest = SessionRequest; declare const livekit_agent_session_pb_d_SessionRequest: typeof SessionRequest; type livekit_agent_session_pb_d_SessionRequest_GetAgentInfo = SessionRequest_GetAgentInfo; declare const livekit_agent_session_pb_d_SessionRequest_GetAgentInfo: typeof SessionRequest_GetAgentInfo; type livekit_agent_session_pb_d_SessionRequest_GetChatHistory = SessionRequest_GetChatHistory; declare const livekit_agent_session_pb_d_SessionRequest_GetChatHistory: typeof SessionRequest_GetChatHistory; type livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo = SessionRequest_GetFrameworkInfo; declare const livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo: typeof SessionRequest_GetFrameworkInfo; type livekit_agent_session_pb_d_SessionRequest_GetRTCStats = SessionRequest_GetRTCStats; declare const livekit_agent_session_pb_d_SessionRequest_GetRTCStats: typeof SessionRequest_GetRTCStats; type livekit_agent_session_pb_d_SessionRequest_GetSessionState = SessionRequest_GetSessionState; declare const livekit_agent_session_pb_d_SessionRequest_GetSessionState: typeof SessionRequest_GetSessionState; type livekit_agent_session_pb_d_SessionRequest_GetSessionUsage = SessionRequest_GetSessionUsage; declare const livekit_agent_session_pb_d_SessionRequest_GetSessionUsage: typeof SessionRequest_GetSessionUsage; type livekit_agent_session_pb_d_SessionRequest_Ping = SessionRequest_Ping; declare const livekit_agent_session_pb_d_SessionRequest_Ping: typeof SessionRequest_Ping; type livekit_agent_session_pb_d_SessionRequest_RunInput = SessionRequest_RunInput; declare const livekit_agent_session_pb_d_SessionRequest_RunInput: typeof SessionRequest_RunInput; type livekit_agent_session_pb_d_SessionResponse = SessionResponse; declare const livekit_agent_session_pb_d_SessionResponse: typeof SessionResponse; type livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse = SessionResponse_GetAgentInfoResponse; declare const livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse: typeof SessionResponse_GetAgentInfoResponse; type livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse = SessionResponse_GetChatHistoryResponse; declare const livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse: typeof SessionResponse_GetChatHistoryResponse; type livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse = SessionResponse_GetFrameworkInfoResponse; declare const livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse: typeof SessionResponse_GetFrameworkInfoResponse; type livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse = SessionResponse_GetRTCStatsResponse; declare const livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse: typeof SessionResponse_GetRTCStatsResponse; type livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse = SessionResponse_GetSessionStateResponse; declare const livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse: typeof SessionResponse_GetSessionStateResponse; type livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse = SessionResponse_GetSessionUsageResponse; declare const livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse: typeof SessionResponse_GetSessionUsageResponse; type livekit_agent_session_pb_d_SessionResponse_Pong = SessionResponse_Pong; declare const livekit_agent_session_pb_d_SessionResponse_Pong: typeof SessionResponse_Pong; type livekit_agent_session_pb_d_SessionResponse_RunInputResponse = SessionResponse_RunInputResponse; declare const livekit_agent_session_pb_d_SessionResponse_RunInputResponse: typeof SessionResponse_RunInputResponse; type livekit_agent_session_pb_d_TTSModelUsage = TTSModelUsage; declare const livekit_agent_session_pb_d_TTSModelUsage: typeof TTSModelUsage; type livekit_agent_session_pb_d_UserState = UserState; declare const livekit_agent_session_pb_d_UserState: typeof UserState; declare namespace livekit_agent_session_pb_d { export { livekit_agent_session_pb_d_AgentConfigUpdate as AgentConfigUpdate, livekit_agent_session_pb_d_AgentHandoff as AgentHandoff, livekit_agent_session_pb_d_AgentSessionEvent as AgentSessionEvent, livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged as AgentSessionEvent_AgentStateChanged, livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded as AgentSessionEvent_ConversationItemAdded, livekit_agent_session_pb_d_AgentSessionEvent_Error as AgentSessionEvent_Error, livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted as AgentSessionEvent_FunctionToolsExecuted, livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech as AgentSessionEvent_OverlappingSpeech, livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated as AgentSessionEvent_SessionUsageUpdated, livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed as AgentSessionEvent_UserInputTranscribed, livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged as AgentSessionEvent_UserStateChanged, livekit_agent_session_pb_d_AgentSessionMessage as AgentSessionMessage, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO as AgentSessionMessage_ConsoleIO, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame as AgentSessionMessage_ConsoleIO_AudioFrame, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear as AgentSessionMessage_ConsoleIO_AudioPlaybackClear, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished as AgentSessionMessage_ConsoleIO_AudioPlaybackFinished, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush as AgentSessionMessage_ConsoleIO_AudioPlaybackFlush, livekit_agent_session_pb_d_AgentSessionUsage as AgentSessionUsage, livekit_agent_session_pb_d_AgentState as AgentState, livekit_agent_session_pb_d_ChatContext as ChatContext, livekit_agent_session_pb_d_ChatContext_ChatItem as ChatContext_ChatItem, ChatMessage$1 as ChatMessage, livekit_agent_session_pb_d_ChatMessage_ChatContent as ChatMessage_ChatContent, livekit_agent_session_pb_d_ChatRole as ChatRole, livekit_agent_session_pb_d_FunctionCall as FunctionCall, livekit_agent_session_pb_d_FunctionCallOutput as FunctionCallOutput, livekit_agent_session_pb_d_InterruptionModelUsage as InterruptionModelUsage, livekit_agent_session_pb_d_LLMModelUsage as LLMModelUsage, livekit_agent_session_pb_d_MetricsReport as MetricsReport, livekit_agent_session_pb_d_ModelUsage as ModelUsage, livekit_agent_session_pb_d_STTModelUsage as STTModelUsage, livekit_agent_session_pb_d_SessionRequest as SessionRequest, livekit_agent_session_pb_d_SessionRequest_GetAgentInfo as SessionRequest_GetAgentInfo, livekit_agent_session_pb_d_SessionRequest_GetChatHistory as SessionRequest_GetChatHistory, livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo as SessionRequest_GetFrameworkInfo, livekit_agent_session_pb_d_SessionRequest_GetRTCStats as SessionRequest_GetRTCStats, livekit_agent_session_pb_d_SessionRequest_GetSessionState as SessionRequest_GetSessionState, livekit_agent_session_pb_d_SessionRequest_GetSessionUsage as SessionRequest_GetSessionUsage, livekit_agent_session_pb_d_SessionRequest_Ping as SessionRequest_Ping, livekit_agent_session_pb_d_SessionRequest_RunInput as SessionRequest_RunInput, livekit_agent_session_pb_d_SessionResponse as SessionResponse, livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse as SessionResponse_GetAgentInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse as SessionResponse_GetChatHistoryResponse, livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse as SessionResponse_GetFrameworkInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse as SessionResponse_GetRTCStatsResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse as SessionResponse_GetSessionStateResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse as SessionResponse_GetSessionUsageResponse, livekit_agent_session_pb_d_SessionResponse_Pong as SessionResponse_Pong, livekit_agent_session_pb_d_SessionResponse_RunInputResponse as SessionResponse_RunInputResponse, livekit_agent_session_pb_d_TTSModelUsage as TTSModelUsage, livekit_agent_session_pb_d_UserState as UserState }; } // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js" // @generated from file livekit_metrics.proto (package livekit, syntax proto3) /* eslint-disable */ // @ts-nocheck /** * index from [0: MAX_LABEL_PREDEFINED_MAX_VALUE) are for predefined labels (`MetricLabel`) * * @generated from enum livekit.MetricLabel */ declare enum MetricLabel { /** * time to first token from LLM * * @generated from enum value: AGENTS_LLM_TTFT = 0; */ AGENTS_LLM_TTFT = 0, /** * time to final transcription * * @generated from enum value: AGENTS_STT_TTFT = 1; */ AGENTS_STT_TTFT = 1, /** * time to first byte * * @generated from enum value: AGENTS_TTS_TTFB = 2; */ AGENTS_TTS_TTFB = 2, /** * Number of video freezes * * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3; */ CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3, /** * total duration of freezes * * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4; */ CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4, /** * number of video pauses * * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5; */ CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5, /** * total duration of pauses * * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6; */ CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6, /** * number of concealed (synthesized) audio samples * * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7; */ CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7, /** * number of silent concealed samples * * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8; */ CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8, /** * number of concealment events * * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9; */ CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9, /** * number of interruptions * * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10; */ CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10, /** * total duration of interruptions * * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11; */ CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11, /** * total time spent in jitter buffer * * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12; */ CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12, /** * total time spent in jitter buffer * * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13; */ CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13, /** * total duration spent in bandwidth quality limitation * * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14; */ CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14, /** * total duration spent in cpu quality limitation * * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15; */ CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15, /** * total duration spent in other quality limitation * * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16; */ CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16, /** * Publisher RTT (participant -> server) * * @generated from enum value: PUBLISHER_RTT = 17; */ PUBLISHER_RTT = 17, /** * RTT between publisher node and subscriber node (could involve intermedia node(s)) * * @generated from enum value: SERVER_MESH_RTT = 18; */ SERVER_MESH_RTT = 18, /** * Subscribe RTT (server -> participant) * * @generated from enum value: SUBSCRIBER_RTT = 19; */ SUBSCRIBER_RTT = 19, /** * @generated from enum value: METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096; */ METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096, } /** * @generated from message livekit.MetricsBatch */ declare class MetricsBatch extends Message { /** * time at which this batch is sent based on a monotonic clock (millisecond resolution) * * @generated from field: int64 timestamp_ms = 1; */ timestampMs: bigint; /** * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2; */ normalizedTimestamp?: Timestamp; /** * To avoid repeating string values, we store them in a separate list and reference them by index * This is useful for storing participant identities, track names, etc. * There is also a predefined list of labels that can be used to reference common metrics. * They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). * Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, * such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE. * * @generated from field: repeated string str_data = 3; */ strData: string[]; /** * @generated from field: repeated livekit.TimeSeriesMetric time_series = 4; */ timeSeries: TimeSeriesMetric[]; /** * @generated from field: repeated livekit.EventMetric events = 5; */ events: EventMetric[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.MetricsBatch"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MetricsBatch; static fromJson(jsonValue: JsonValue, options?: Partial): MetricsBatch; static fromJsonString(jsonString: string, options?: Partial): MetricsBatch; static equals(a: MetricsBatch | PlainMessage | undefined, b: MetricsBatch | PlainMessage | undefined): boolean; } /** * @generated from message livekit.TimeSeriesMetric */ declare class TimeSeriesMetric extends Message { /** * Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index * in the `str_data` field of `MetricsBatch` * * @generated from field: uint32 label = 1; */ label: number; /** * index into `str_data` * * @generated from field: uint32 participant_identity = 2; */ participantIdentity: number; /** * index into `str_data` * * @generated from field: uint32 track_sid = 3; */ trackSid: number; /** * @generated from field: repeated livekit.MetricSample samples = 4; */ samples: MetricSample[]; /** * index into 'str_data' * * @generated from field: uint32 rid = 5; */ rid: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TimeSeriesMetric"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TimeSeriesMetric; static fromJson(jsonValue: JsonValue, options?: Partial): TimeSeriesMetric; static fromJsonString(jsonString: string, options?: Partial): TimeSeriesMetric; static equals(a: TimeSeriesMetric | PlainMessage | undefined, b: TimeSeriesMetric | PlainMessage | undefined): boolean; } /** * @generated from message livekit.MetricSample */ declare class MetricSample extends Message { /** * time of metric based on a monotonic clock (in milliseconds) * * @generated from field: int64 timestamp_ms = 1; */ timestampMs: bigint; /** * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2; */ normalizedTimestamp?: Timestamp; /** * @generated from field: float value = 3; */ value: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.MetricSample"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MetricSample; static fromJson(jsonValue: JsonValue, options?: Partial): MetricSample; static fromJsonString(jsonString: string, options?: Partial): MetricSample; static equals(a: MetricSample | PlainMessage | undefined, b: MetricSample | PlainMessage | undefined): boolean; } /** * @generated from message livekit.EventMetric */ declare class EventMetric extends Message { /** * @generated from field: uint32 label = 1; */ label: number; /** * index into `str_data` * * @generated from field: uint32 participant_identity = 2; */ participantIdentity: number; /** * index into `str_data` * * @generated from field: uint32 track_sid = 3; */ trackSid: number; /** * start time of event based on a monotonic clock (in milliseconds) * * @generated from field: int64 start_timestamp_ms = 4; */ startTimestampMs: bigint; /** * end time of event based on a monotonic clock (in milliseconds), if needed * * @generated from field: optional int64 end_timestamp_ms = 5; */ endTimestampMs?: bigint; /** * @generated from field: google.protobuf.Timestamp normalized_start_timestamp = 6; */ normalizedStartTimestamp?: Timestamp; /** * @generated from field: optional google.protobuf.Timestamp normalized_end_timestamp = 7; */ normalizedEndTimestamp?: Timestamp; /** * @generated from field: string metadata = 8; */ metadata: string; /** * index into 'str_data' * * @generated from field: uint32 rid = 9; */ rid: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.EventMetric"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventMetric; static fromJson(jsonValue: JsonValue, options?: Partial): EventMetric; static fromJsonString(jsonString: string, options?: Partial): EventMetric; static equals(a: EventMetric | PlainMessage | undefined, b: EventMetric | PlainMessage | undefined): boolean; } /** * @generated from message livekit.MetricsRecordingHeader */ declare class MetricsRecordingHeader extends Message { /** * @generated from field: string room_id = 1; */ roomId: string; /** * milliseconds * * @generated from field: uint64 duration = 3; */ duration: bigint; /** * @generated from field: google.protobuf.Timestamp start_time = 4; */ startTime?: Timestamp; /** * @generated from field: map room_tags = 5; */ roomTags: { [key: string]: string }; /** * @generated from field: string room_name = 6; */ roomName: string; /** * @generated from field: google.protobuf.Timestamp room_start_time = 7; */ roomStartTime?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.MetricsRecordingHeader"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MetricsRecordingHeader; static fromJson(jsonValue: JsonValue, options?: Partial): MetricsRecordingHeader; static fromJsonString(jsonString: string, options?: Partial): MetricsRecordingHeader; static equals(a: MetricsRecordingHeader | PlainMessage | undefined, b: MetricsRecordingHeader | PlainMessage | undefined): boolean; } // Copyright 2023 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. /** * @generated from enum livekit.AudioCodec */ declare enum AudioCodec { /** * @generated from enum value: DEFAULT_AC = 0; */ DEFAULT_AC = 0, /** * @generated from enum value: OPUS = 1; */ OPUS = 1, /** * @generated from enum value: AAC = 2; */ AAC = 2, /** * @generated from enum value: AC_MP3 = 3; */ AC_MP3 = 3, } /** * @generated from enum livekit.VideoCodec */ declare enum VideoCodec { /** * @generated from enum value: DEFAULT_VC = 0; */ DEFAULT_VC = 0, /** * @generated from enum value: H264_BASELINE = 1; */ H264_BASELINE = 1, /** * @generated from enum value: H264_MAIN = 2; */ H264_MAIN = 2, /** * @generated from enum value: H264_HIGH = 3; */ H264_HIGH = 3, /** * @generated from enum value: VP8 = 4; */ VP8 = 4, } /** * @generated from enum livekit.ImageCodec */ declare enum ImageCodec { /** * @generated from enum value: IC_DEFAULT = 0; */ IC_DEFAULT = 0, /** * @generated from enum value: IC_JPEG = 1; */ IC_JPEG = 1, } /** * Policy for publisher to handle subscribers that are unable to support the primary codec of a track * * @generated from enum livekit.BackupCodecPolicy */ declare enum BackupCodecPolicy { /** * default behavior, the track prefer to regress to backup codec and all subscribers will receive the backup codec, * the sfu will try to regress codec if possible but not assured. * * @generated from enum value: PREFER_REGRESSION = 0; */ PREFER_REGRESSION = 0, /** * encoding/send the primary and backup codec simultaneously * * @generated from enum value: SIMULCAST = 1; */ SIMULCAST = 1, /** * force the track to regress to backup codec, this option can be used in video conference or the publisher has limited bandwidth/encoding power * * @generated from enum value: REGRESSION = 2; */ REGRESSION = 2, } /** * @generated from enum livekit.TrackType */ declare enum TrackType { /** * @generated from enum value: AUDIO = 0; */ AUDIO = 0, /** * @generated from enum value: VIDEO = 1; */ VIDEO = 1, /** * @generated from enum value: DATA = 2; */ DATA = 2, } /** * @generated from enum livekit.TrackSource */ declare enum TrackSource { /** * @generated from enum value: UNKNOWN = 0; */ UNKNOWN = 0, /** * @generated from enum value: CAMERA = 1; */ CAMERA = 1, /** * @generated from enum value: MICROPHONE = 2; */ MICROPHONE = 2, /** * @generated from enum value: SCREEN_SHARE = 3; */ SCREEN_SHARE = 3, /** * @generated from enum value: SCREEN_SHARE_AUDIO = 4; */ SCREEN_SHARE_AUDIO = 4, } /** * @generated from enum livekit.DataTrackExtensionID */ declare enum DataTrackExtensionID { /** * @generated from enum value: DTEI_INVALID = 0; */ DTEI_INVALID = 0, /** * @generated from enum value: DTEI_PARTICIPANT_SID = 1; */ DTEI_PARTICIPANT_SID = 1, } /** * @generated from enum livekit.VideoQuality */ declare enum VideoQuality { /** * @generated from enum value: LOW = 0; */ LOW = 0, /** * @generated from enum value: MEDIUM = 1; */ MEDIUM = 1, /** * @generated from enum value: HIGH = 2; */ HIGH = 2, /** * @generated from enum value: OFF = 3; */ OFF = 3, } /** * @generated from enum livekit.ConnectionQuality */ declare enum ConnectionQuality { /** * @generated from enum value: POOR = 0; */ POOR = 0, /** * @generated from enum value: GOOD = 1; */ GOOD = 1, /** * @generated from enum value: EXCELLENT = 2; */ EXCELLENT = 2, /** * @generated from enum value: LOST = 3; */ LOST = 3, } /** * @generated from enum livekit.ClientConfigSetting */ declare enum ClientConfigSetting { /** * @generated from enum value: UNSET = 0; */ UNSET = 0, /** * @generated from enum value: DISABLED = 1; */ DISABLED = 1, /** * @generated from enum value: ENABLED = 2; */ ENABLED = 2, } /** * @generated from enum livekit.DisconnectReason */ declare enum DisconnectReason { /** * @generated from enum value: UNKNOWN_REASON = 0; */ UNKNOWN_REASON = 0, /** * the client initiated the disconnect * * @generated from enum value: CLIENT_INITIATED = 1; */ CLIENT_INITIATED = 1, /** * another participant with the same identity has joined the room * * @generated from enum value: DUPLICATE_IDENTITY = 2; */ DUPLICATE_IDENTITY = 2, /** * the server instance is shutting down * * @generated from enum value: SERVER_SHUTDOWN = 3; */ SERVER_SHUTDOWN = 3, /** * RoomService.RemoveParticipant was called * * @generated from enum value: PARTICIPANT_REMOVED = 4; */ PARTICIPANT_REMOVED = 4, /** * RoomService.DeleteRoom was called * * @generated from enum value: ROOM_DELETED = 5; */ ROOM_DELETED = 5, /** * the client is attempting to resume a session, but server is not aware of it * * @generated from enum value: STATE_MISMATCH = 6; */ STATE_MISMATCH = 6, /** * client was unable to connect fully * * @generated from enum value: JOIN_FAILURE = 7; */ JOIN_FAILURE = 7, /** * Cloud-only, the server requested Participant to migrate the connection elsewhere * * @generated from enum value: MIGRATION = 8; */ MIGRATION = 8, /** * the signal websocket was closed unexpectedly * * @generated from enum value: SIGNAL_CLOSE = 9; */ SIGNAL_CLOSE = 9, /** * the room was closed, due to all Standard and Ingress participants having left * * @generated from enum value: ROOM_CLOSED = 10; */ ROOM_CLOSED = 10, /** * SIP callee did not respond in time * * @generated from enum value: USER_UNAVAILABLE = 11; */ USER_UNAVAILABLE = 11, /** * SIP callee rejected the call (busy) * * @generated from enum value: USER_REJECTED = 12; */ USER_REJECTED = 12, /** * SIP protocol failure or unexpected response * * @generated from enum value: SIP_TRUNK_FAILURE = 13; */ SIP_TRUNK_FAILURE = 13, /** * server timed out a participant session * * @generated from enum value: CONNECTION_TIMEOUT = 14; */ CONNECTION_TIMEOUT = 14, /** * media stream failure or media timeout * * @generated from enum value: MEDIA_FAILURE = 15; */ MEDIA_FAILURE = 15, /** * agent encountered an error * * @generated from enum value: AGENT_ERROR = 16; */ AGENT_ERROR = 16, } /** * @generated from enum livekit.ReconnectReason */ declare enum ReconnectReason { /** * @generated from enum value: RR_UNKNOWN = 0; */ RR_UNKNOWN = 0, /** * @generated from enum value: RR_SIGNAL_DISCONNECTED = 1; */ RR_SIGNAL_DISCONNECTED = 1, /** * @generated from enum value: RR_PUBLISHER_FAILED = 2; */ RR_PUBLISHER_FAILED = 2, /** * @generated from enum value: RR_SUBSCRIBER_FAILED = 3; */ RR_SUBSCRIBER_FAILED = 3, /** * @generated from enum value: RR_SWITCH_CANDIDATE = 4; */ RR_SWITCH_CANDIDATE = 4, } /** * @generated from enum livekit.SubscriptionError */ declare enum SubscriptionError { /** * @generated from enum value: SE_UNKNOWN = 0; */ SE_UNKNOWN = 0, /** * @generated from enum value: SE_CODEC_UNSUPPORTED = 1; */ SE_CODEC_UNSUPPORTED = 1, /** * @generated from enum value: SE_TRACK_NOTFOUND = 2; */ SE_TRACK_NOTFOUND = 2, } /** * @generated from enum livekit.AudioTrackFeature */ declare enum AudioTrackFeature { /** * @generated from enum value: TF_STEREO = 0; */ TF_STEREO = 0, /** * @generated from enum value: TF_NO_DTX = 1; */ TF_NO_DTX = 1, /** * @generated from enum value: TF_AUTO_GAIN_CONTROL = 2; */ TF_AUTO_GAIN_CONTROL = 2, /** * @generated from enum value: TF_ECHO_CANCELLATION = 3; */ TF_ECHO_CANCELLATION = 3, /** * @generated from enum value: TF_NOISE_SUPPRESSION = 4; */ TF_NOISE_SUPPRESSION = 4, /** * @generated from enum value: TF_ENHANCED_NOISE_CANCELLATION = 5; */ TF_ENHANCED_NOISE_CANCELLATION = 5, /** * client will buffer audio once available and send it to the server via bytes stream once connected * * @generated from enum value: TF_PRECONNECT_BUFFER = 6; */ TF_PRECONNECT_BUFFER = 6, } /** * @generated from enum livekit.PacketTrailerFeature */ declare enum PacketTrailerFeature { /** * @generated from enum value: PTF_USER_TIMESTAMP = 0; */ PTF_USER_TIMESTAMP = 0, /** * @generated from enum value: PTF_FRAME_ID = 1; */ PTF_FRAME_ID = 1, } /** * @generated from message livekit.Pagination */ declare class Pagination extends Message { /** * list entities which IDs are greater * * @generated from field: string after_id = 1; */ afterId: string; /** * @generated from field: int32 limit = 2; */ limit: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.Pagination"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Pagination; static fromJson(jsonValue: JsonValue, options?: Partial): Pagination; static fromJsonString(jsonString: string, options?: Partial): Pagination; static equals(a: Pagination | PlainMessage | undefined, b: Pagination | PlainMessage | undefined): boolean; } /** * @generated from message livekit.TokenPagination */ declare class TokenPagination extends Message { /** * @generated from field: string token = 1; */ token: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TokenPagination"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TokenPagination; static fromJson(jsonValue: JsonValue, options?: Partial): TokenPagination; static fromJsonString(jsonString: string, options?: Partial): TokenPagination; static equals(a: TokenPagination | PlainMessage | undefined, b: TokenPagination | PlainMessage | undefined): boolean; } /** * ListUpdate is used for updated APIs where 'repeated string' field is modified. * * @generated from message livekit.ListUpdate */ declare class ListUpdate extends Message { /** * set the field to a new list * * @generated from field: repeated string set = 1; */ set: string[]; /** * append items to a list, avoiding duplicates * * @generated from field: repeated string add = 2; */ add: string[]; /** * delete items from a list * * @generated from field: repeated string remove = 3; */ remove: string[]; /** * sets the list to an empty list * * @generated from field: bool clear = 4; */ clear: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListUpdate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListUpdate; static fromJson(jsonValue: JsonValue, options?: Partial): ListUpdate; static fromJsonString(jsonString: string, options?: Partial): ListUpdate; static equals(a: ListUpdate | PlainMessage | undefined, b: ListUpdate | PlainMessage | undefined): boolean; } /** * @generated from message livekit.Room */ declare class Room extends Message { /** * @generated from field: string sid = 1; */ sid: string; /** * @generated from field: string name = 2; */ name: string; /** * @generated from field: uint32 empty_timeout = 3; */ emptyTimeout: number; /** * @generated from field: uint32 departure_timeout = 14; */ departureTimeout: number; /** * @generated from field: uint32 max_participants = 4; */ maxParticipants: number; /** * @generated from field: int64 creation_time = 5; */ creationTime: bigint; /** * @generated from field: int64 creation_time_ms = 15; */ creationTimeMs: bigint; /** * @generated from field: string turn_password = 6; */ turnPassword: string; /** * @generated from field: repeated livekit.Codec enabled_codecs = 7; */ enabledCodecs: Codec[]; /** * @generated from field: string metadata = 8; */ metadata: string; /** * @generated from field: uint32 num_participants = 9; */ numParticipants: number; /** * @generated from field: uint32 num_publishers = 11; */ numPublishers: number; /** * @generated from field: bool active_recording = 10; */ activeRecording: boolean; /** * @generated from field: livekit.TimedVersion version = 13; */ version?: TimedVersion; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.Room"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Room; static fromJson(jsonValue: JsonValue, options?: Partial): Room; static fromJsonString(jsonString: string, options?: Partial): Room; static equals(a: Room | PlainMessage | undefined, b: Room | PlainMessage | undefined): boolean; } /** * @generated from message livekit.Codec */ declare class Codec extends Message { /** * @generated from field: string mime = 1; */ mime: string; /** * @generated from field: string fmtp_line = 2; */ fmtpLine: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.Codec"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Codec; static fromJson(jsonValue: JsonValue, options?: Partial): Codec; static fromJsonString(jsonString: string, options?: Partial): Codec; static equals(a: Codec | PlainMessage | undefined, b: Codec | PlainMessage | undefined): boolean; } /** * @generated from message livekit.PlayoutDelay */ declare class PlayoutDelay extends Message { /** * @generated from field: bool enabled = 1; */ enabled: boolean; /** * @generated from field: uint32 min = 2; */ min: number; /** * @generated from field: uint32 max = 3; */ max: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.PlayoutDelay"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PlayoutDelay; static fromJson(jsonValue: JsonValue, options?: Partial): PlayoutDelay; static fromJsonString(jsonString: string, options?: Partial): PlayoutDelay; static equals(a: PlayoutDelay | PlainMessage | undefined, b: PlayoutDelay | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ParticipantPermission */ declare class ParticipantPermission extends Message { /** * allow participant to subscribe to other tracks in the room * * @generated from field: bool can_subscribe = 1; */ canSubscribe: boolean; /** * allow participant to publish new tracks to room * * @generated from field: bool can_publish = 2; */ canPublish: boolean; /** * allow participant to publish data * * @generated from field: bool can_publish_data = 3; */ canPublishData: boolean; /** * sources that are allowed to be published * * @generated from field: repeated livekit.TrackSource can_publish_sources = 9; */ canPublishSources: TrackSource[]; /** * indicates that it's hidden to others * * @generated from field: bool hidden = 7; */ hidden: boolean; /** * indicates it's a recorder instance * deprecated: use ParticipantInfo.kind instead * * @generated from field: bool recorder = 8 [deprecated = true]; * @deprecated */ recorder: boolean; /** * indicates that participant can update own metadata and attributes * * @generated from field: bool can_update_metadata = 10; */ canUpdateMetadata: boolean; /** * indicates that participant is an agent * deprecated: use ParticipantInfo.kind instead * * @generated from field: bool agent = 11 [deprecated = true]; * @deprecated */ agent: boolean; /** * if a participant can subscribe to metrics * * @generated from field: bool can_subscribe_metrics = 12; */ canSubscribeMetrics: boolean; /** * if a participant can manage an agent session via RemoteSession (control and access state) * * @generated from field: bool can_manage_agent_session = 13; */ canManageAgentSession: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ParticipantPermission"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantPermission; static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantPermission; static fromJsonString(jsonString: string, options?: Partial): ParticipantPermission; static equals(a: ParticipantPermission | PlainMessage | undefined, b: ParticipantPermission | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ParticipantInfo */ declare class ParticipantInfo extends Message { /** * @generated from field: string sid = 1; */ sid: string; /** * @generated from field: string identity = 2; */ identity: string; /** * @generated from field: livekit.ParticipantInfo.State state = 3; */ state: ParticipantInfo_State; /** * @generated from field: repeated livekit.TrackInfo tracks = 4; */ tracks: TrackInfo[]; /** * @generated from field: string metadata = 5; */ metadata: string; /** * timestamp when participant joined room, in seconds * * @generated from field: int64 joined_at = 6; */ joinedAt: bigint; /** * timestamp when participant joined room, in milliseconds * * @generated from field: int64 joined_at_ms = 17; */ joinedAtMs: bigint; /** * @generated from field: string name = 9; */ name: string; /** * @generated from field: uint32 version = 10; */ version: number; /** * @generated from field: livekit.ParticipantPermission permission = 11; */ permission?: ParticipantPermission; /** * @generated from field: string region = 12; */ region: string; /** * indicates the participant has an active publisher connection * and can publish to the server * * @generated from field: bool is_publisher = 13; */ isPublisher: boolean; /** * @generated from field: livekit.ParticipantInfo.Kind kind = 14; */ kind: ParticipantInfo_Kind; /** * @generated from field: map attributes = 15; */ attributes: { [key: string]: string }; /** * @generated from field: livekit.DisconnectReason disconnect_reason = 16; */ disconnectReason: DisconnectReason; /** * @generated from field: repeated livekit.ParticipantInfo.KindDetail kind_details = 18; */ kindDetails: ParticipantInfo_KindDetail[]; /** * @generated from field: repeated livekit.DataTrackInfo data_tracks = 19; */ dataTracks: DataTrackInfo[]; /** * protocol version used for client feature compatibility * * @generated from field: int32 client_protocol = 20; */ clientProtocol: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ParticipantInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantInfo; static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantInfo; static fromJsonString(jsonString: string, options?: Partial): ParticipantInfo; static equals(a: ParticipantInfo | PlainMessage | undefined, b: ParticipantInfo | PlainMessage | undefined): boolean; } /** * @generated from enum livekit.ParticipantInfo.State */ declare enum ParticipantInfo_State { /** * websocket' connected, but not offered yet * * @generated from enum value: JOINING = 0; */ JOINING = 0, /** * server received client offer * * @generated from enum value: JOINED = 1; */ JOINED = 1, /** * ICE connectivity established * * @generated from enum value: ACTIVE = 2; */ ACTIVE = 2, /** * WS disconnected * * @generated from enum value: DISCONNECTED = 3; */ DISCONNECTED = 3, } /** * @generated from enum livekit.ParticipantInfo.Kind */ declare enum ParticipantInfo_Kind { /** * standard participants, e.g. web clients * * @generated from enum value: STANDARD = 0; */ STANDARD = 0, /** * only ingests streams * * @generated from enum value: INGRESS = 1; */ INGRESS = 1, /** * only consumes streams * * @generated from enum value: EGRESS = 2; */ EGRESS = 2, /** * SIP participants * * @generated from enum value: SIP = 3; */ SIP = 3, /** * LiveKit agents * * @generated from enum value: AGENT = 4; */ AGENT = 4, /** * Connectors participants * * @generated from enum value: CONNECTOR = 7; */ CONNECTOR = 7, /** * Bridge participants * * NEXT_ID: 9 * * @generated from enum value: BRIDGE = 8; */ BRIDGE = 8, } /** * @generated from enum livekit.ParticipantInfo.KindDetail */ declare enum ParticipantInfo_KindDetail { /** * @generated from enum value: CLOUD_AGENT = 0; */ CLOUD_AGENT = 0, /** * @generated from enum value: FORWARDED = 1; */ FORWARDED = 1, /** * @generated from enum value: CONNECTOR_WHATSAPP = 2; */ CONNECTOR_WHATSAPP = 2, /** * @generated from enum value: CONNECTOR_TWILIO = 3; */ CONNECTOR_TWILIO = 3, /** * NEXT_ID: 5 * * @generated from enum value: BRIDGE_RTSP = 4; */ BRIDGE_RTSP = 4, } /** * @generated from message livekit.Encryption */ declare class Encryption extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.Encryption"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Encryption; static fromJson(jsonValue: JsonValue, options?: Partial): Encryption; static fromJsonString(jsonString: string, options?: Partial): Encryption; static equals(a: Encryption | PlainMessage | undefined, b: Encryption | PlainMessage | undefined): boolean; } /** * @generated from enum livekit.Encryption.Type */ declare enum Encryption_Type { /** * @generated from enum value: NONE = 0; */ NONE = 0, /** * @generated from enum value: GCM = 1; */ GCM = 1, /** * @generated from enum value: CUSTOM = 2; */ CUSTOM = 2, } /** * @generated from message livekit.SimulcastCodecInfo */ declare class SimulcastCodecInfo extends Message { /** * @generated from field: string mime_type = 1; */ mimeType: string; /** * @generated from field: string mid = 2; */ mid: string; /** * @generated from field: string cid = 3; */ cid: string; /** * @generated from field: repeated livekit.VideoLayer layers = 4; */ layers: VideoLayer[]; /** * @generated from field: livekit.VideoLayer.Mode video_layer_mode = 5; */ videoLayerMode: VideoLayer_Mode; /** * cid (client side id for track) could be different between * signalling (AddTrackRequest) and SDP offer. This field * will be populated only if it is different to avoid * duplication and keep the representation concise. * * @generated from field: string sdp_cid = 6; */ sdpCid: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SimulcastCodecInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SimulcastCodecInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SimulcastCodecInfo; static fromJsonString(jsonString: string, options?: Partial): SimulcastCodecInfo; static equals(a: SimulcastCodecInfo | PlainMessage | undefined, b: SimulcastCodecInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.TrackInfo */ declare class TrackInfo extends Message { /** * @generated from field: string sid = 1; */ sid: string; /** * @generated from field: livekit.TrackType type = 2; */ type: TrackType; /** * @generated from field: string name = 3; */ name: string; /** * @generated from field: bool muted = 4; */ muted: boolean; /** * original width of video (unset for audio) * clients may receive a lower resolution version with simulcast * * @generated from field: uint32 width = 5; */ width: number; /** * original height of video (unset for audio) * * @generated from field: uint32 height = 6; */ height: number; /** * true if track is simulcasted * * see `video_layer_mode` in `codecs` * * @generated from field: bool simulcast = 7 [deprecated = true]; * @deprecated */ simulcast: boolean; /** * true if DTX (Discontinuous Transmission) is disabled for audio * * deprecated in favor of `audio_features` * * @generated from field: bool disable_dtx = 8 [deprecated = true]; * @deprecated */ disableDtx: boolean; /** * source of media * * @generated from field: livekit.TrackSource source = 9; */ source: TrackSource; /** * see `codecs` for layers of individual codec * * @generated from field: repeated livekit.VideoLayer layers = 10 [deprecated = true]; * @deprecated */ layers: VideoLayer[]; /** * mime type of codec * * @generated from field: string mime_type = 11; */ mimeType: string; /** * @generated from field: string mid = 12; */ mid: string; /** * @generated from field: repeated livekit.SimulcastCodecInfo codecs = 13; */ codecs: SimulcastCodecInfo[]; /** * deprecated in favor of `audio_features` * * @generated from field: bool stereo = 14 [deprecated = true]; * @deprecated */ stereo: boolean; /** * true if RED (Redundant Encoding) is disabled for audio * * @generated from field: bool disable_red = 15; */ disableRed: boolean; /** * @generated from field: livekit.Encryption.Type encryption = 16; */ encryption: Encryption_Type; /** * @generated from field: string stream = 17; */ stream: string; /** * @generated from field: livekit.TimedVersion version = 18; */ version?: TimedVersion; /** * @generated from field: repeated livekit.AudioTrackFeature audio_features = 19; */ audioFeatures: AudioTrackFeature[]; /** * @generated from field: livekit.BackupCodecPolicy backup_codec_policy = 20; */ backupCodecPolicy: BackupCodecPolicy; /** * @generated from field: repeated livekit.PacketTrailerFeature packet_trailer_features = 21; */ packetTrailerFeatures: PacketTrailerFeature[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TrackInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrackInfo; static fromJson(jsonValue: JsonValue, options?: Partial): TrackInfo; static fromJsonString(jsonString: string, options?: Partial): TrackInfo; static equals(a: TrackInfo | PlainMessage | undefined, b: TrackInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DataTrackInfo */ declare class DataTrackInfo extends Message { /** * Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher. * * @generated from field: uint32 pub_handle = 1; */ pubHandle: number; /** * Server-assigned track identifier. * * @generated from field: string sid = 2; */ sid: string; /** * Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher. * * @generated from field: string name = 3; */ name: string; /** * Method used for end-to-end encryption (E2EE) on packet payloads. * * @generated from field: livekit.Encryption.Type encryption = 4; */ encryption: Encryption_Type; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DataTrackInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataTrackInfo; static fromJson(jsonValue: JsonValue, options?: Partial): DataTrackInfo; static fromJsonString(jsonString: string, options?: Partial): DataTrackInfo; static equals(a: DataTrackInfo | PlainMessage | undefined, b: DataTrackInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DataTrackExtensionParticipantSid */ declare class DataTrackExtensionParticipantSid extends Message { /** * @generated from field: livekit.DataTrackExtensionID id = 1; */ id: DataTrackExtensionID; /** * @generated from field: string participant_sid = 2; */ participantSid: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DataTrackExtensionParticipantSid"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataTrackExtensionParticipantSid; static fromJson(jsonValue: JsonValue, options?: Partial): DataTrackExtensionParticipantSid; static fromJsonString(jsonString: string, options?: Partial): DataTrackExtensionParticipantSid; static equals(a: DataTrackExtensionParticipantSid | PlainMessage | undefined, b: DataTrackExtensionParticipantSid | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DataTrackSubscriptionOptions */ declare class DataTrackSubscriptionOptions extends Message { /** * Rate in frames per second (FPS) the subscriber wants to receive frames at. * If omitted, the subscriber defaults to the publisher's fps * * @generated from field: optional uint32 target_fps = 1; */ targetFps?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DataTrackSubscriptionOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataTrackSubscriptionOptions; static fromJson(jsonValue: JsonValue, options?: Partial): DataTrackSubscriptionOptions; static fromJsonString(jsonString: string, options?: Partial): DataTrackSubscriptionOptions; static equals(a: DataTrackSubscriptionOptions | PlainMessage | undefined, b: DataTrackSubscriptionOptions | PlainMessage | undefined): boolean; } /** * provide information about available spatial layers * * @generated from message livekit.VideoLayer */ declare class VideoLayer extends Message { /** * for tracks with a single layer, this should be HIGH * * @generated from field: livekit.VideoQuality quality = 1; */ quality: VideoQuality; /** * @generated from field: uint32 width = 2; */ width: number; /** * @generated from field: uint32 height = 3; */ height: number; /** * target bitrate in bit per second (bps), server will measure actual * * @generated from field: uint32 bitrate = 4; */ bitrate: number; /** * @generated from field: uint32 ssrc = 5; */ ssrc: number; /** * @generated from field: int32 spatial_layer = 6; */ spatialLayer: number; /** * @generated from field: string rid = 7; */ rid: string; /** * @generated from field: uint32 repair_ssrc = 8; */ repairSsrc: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.VideoLayer"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): VideoLayer; static fromJson(jsonValue: JsonValue, options?: Partial): VideoLayer; static fromJsonString(jsonString: string, options?: Partial): VideoLayer; static equals(a: VideoLayer | PlainMessage | undefined, b: VideoLayer | PlainMessage | undefined): boolean; } /** * @generated from enum livekit.VideoLayer.Mode */ declare enum VideoLayer_Mode { /** * @generated from enum value: MODE_UNUSED = 0; */ MODE_UNUSED = 0, /** * @generated from enum value: ONE_SPATIAL_LAYER_PER_STREAM = 1; */ ONE_SPATIAL_LAYER_PER_STREAM = 1, /** * @generated from enum value: MULTIPLE_SPATIAL_LAYERS_PER_STREAM = 2; */ MULTIPLE_SPATIAL_LAYERS_PER_STREAM = 2, /** * @generated from enum value: ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR = 3; */ ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR = 3, } /** * new DataPacket API * * @generated from message livekit.DataPacket */ declare class DataPacket extends Message { /** * @generated from field: livekit.DataPacket.Kind kind = 1 [deprecated = true]; * @deprecated */ kind: DataPacket_Kind; /** * participant identity of user that sent the message * * @generated from field: string participant_identity = 4; */ participantIdentity: string; /** * identities of participants who will receive the message (sent to all by default) * * @generated from field: repeated string destination_identities = 5; */ destinationIdentities: string[]; /** * @generated from oneof livekit.DataPacket.value */ value: { /** * @generated from field: livekit.UserPacket user = 2; */ value: UserPacket; case: "user"; } | { /** * @generated from field: livekit.ActiveSpeakerUpdate speaker = 3 [deprecated = true]; * @deprecated */ value: ActiveSpeakerUpdate; case: "speaker"; } | { /** * @generated from field: livekit.SipDTMF sip_dtmf = 6; */ value: SipDTMF; case: "sipDtmf"; } | { /** * @generated from field: livekit.Transcription transcription = 7; */ value: Transcription; case: "transcription"; } | { /** * @generated from field: livekit.MetricsBatch metrics = 8; */ value: MetricsBatch; case: "metrics"; } | { /** * @generated from field: livekit.ChatMessage chat_message = 9; */ value: ChatMessage; case: "chatMessage"; } | { /** * @generated from field: livekit.RpcRequest rpc_request = 10; */ value: RpcRequest; case: "rpcRequest"; } | { /** * @generated from field: livekit.RpcAck rpc_ack = 11; */ value: RpcAck; case: "rpcAck"; } | { /** * @generated from field: livekit.RpcResponse rpc_response = 12; */ value: RpcResponse; case: "rpcResponse"; } | { /** * @generated from field: livekit.DataStream.Header stream_header = 13; */ value: DataStream_Header; case: "streamHeader"; } | { /** * @generated from field: livekit.DataStream.Chunk stream_chunk = 14; */ value: DataStream_Chunk; case: "streamChunk"; } | { /** * @generated from field: livekit.DataStream.Trailer stream_trailer = 15; */ value: DataStream_Trailer; case: "streamTrailer"; } | { /** * @generated from field: livekit.EncryptedPacket encrypted_packet = 18; */ value: EncryptedPacket; case: "encryptedPacket"; } | { case: undefined; value?: undefined }; /** * sequence number of reliable packet * * @generated from field: uint32 sequence = 16; */ sequence: number; /** * sid of the user that sent the message * * @generated from field: string participant_sid = 17; */ participantSid: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DataPacket"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataPacket; static fromJson(jsonValue: JsonValue, options?: Partial): DataPacket; static fromJsonString(jsonString: string, options?: Partial): DataPacket; static equals(a: DataPacket | PlainMessage | undefined, b: DataPacket | PlainMessage | undefined): boolean; } /** * @generated from enum livekit.DataPacket.Kind */ declare enum DataPacket_Kind { /** * @generated from enum value: RELIABLE = 0; */ RELIABLE = 0, /** * @generated from enum value: LOSSY = 1; */ LOSSY = 1, } /** * @generated from message livekit.EncryptedPacket */ declare class EncryptedPacket extends Message { /** * @generated from field: livekit.Encryption.Type encryption_type = 1; */ encryptionType: Encryption_Type; /** * @generated from field: bytes iv = 2; */ iv: Uint8Array; /** * @generated from field: uint32 key_index = 3; */ keyIndex: number; /** * This is an encrypted EncryptedPacketPayload message representation * * @generated from field: bytes encrypted_value = 4; */ encryptedValue: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.EncryptedPacket"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EncryptedPacket; static fromJson(jsonValue: JsonValue, options?: Partial): EncryptedPacket; static fromJsonString(jsonString: string, options?: Partial): EncryptedPacket; static equals(a: EncryptedPacket | PlainMessage | undefined, b: EncryptedPacket | PlainMessage | undefined): boolean; } /** * @generated from message livekit.EncryptedPacketPayload */ declare class EncryptedPacketPayload extends Message { /** * @generated from oneof livekit.EncryptedPacketPayload.value */ value: { /** * @generated from field: livekit.UserPacket user = 1; */ value: UserPacket; case: "user"; } | { /** * @generated from field: livekit.ChatMessage chat_message = 3; */ value: ChatMessage; case: "chatMessage"; } | { /** * @generated from field: livekit.RpcRequest rpc_request = 4; */ value: RpcRequest; case: "rpcRequest"; } | { /** * @generated from field: livekit.RpcAck rpc_ack = 5; */ value: RpcAck; case: "rpcAck"; } | { /** * @generated from field: livekit.RpcResponse rpc_response = 6; */ value: RpcResponse; case: "rpcResponse"; } | { /** * @generated from field: livekit.DataStream.Header stream_header = 7; */ value: DataStream_Header; case: "streamHeader"; } | { /** * @generated from field: livekit.DataStream.Chunk stream_chunk = 8; */ value: DataStream_Chunk; case: "streamChunk"; } | { /** * @generated from field: livekit.DataStream.Trailer stream_trailer = 9; */ value: DataStream_Trailer; case: "streamTrailer"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.EncryptedPacketPayload"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EncryptedPacketPayload; static fromJson(jsonValue: JsonValue, options?: Partial): EncryptedPacketPayload; static fromJsonString(jsonString: string, options?: Partial): EncryptedPacketPayload; static equals(a: EncryptedPacketPayload | PlainMessage | undefined, b: EncryptedPacketPayload | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ActiveSpeakerUpdate * @deprecated */ declare class ActiveSpeakerUpdate extends Message { /** * @generated from field: repeated livekit.SpeakerInfo speakers = 1; */ speakers: SpeakerInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ActiveSpeakerUpdate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ActiveSpeakerUpdate; static fromJson(jsonValue: JsonValue, options?: Partial): ActiveSpeakerUpdate; static fromJsonString(jsonString: string, options?: Partial): ActiveSpeakerUpdate; static equals(a: ActiveSpeakerUpdate | PlainMessage | undefined, b: ActiveSpeakerUpdate | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SpeakerInfo */ declare class SpeakerInfo extends Message { /** * @generated from field: string sid = 1; */ sid: string; /** * audio level, 0-1.0, 1 is loudest * * @generated from field: float level = 2; */ level: number; /** * true if speaker is currently active * * @generated from field: bool active = 3; */ active: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SpeakerInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SpeakerInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SpeakerInfo; static fromJsonString(jsonString: string, options?: Partial): SpeakerInfo; static equals(a: SpeakerInfo | PlainMessage | undefined, b: SpeakerInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UserPacket */ declare class UserPacket extends Message { /** * participant ID of user that sent the message * * @generated from field: string participant_sid = 1 [deprecated = true]; * @deprecated */ participantSid: string; /** * @generated from field: string participant_identity = 5 [deprecated = true]; * @deprecated */ participantIdentity: string; /** * user defined payload * * @generated from field: bytes payload = 2; */ payload: Uint8Array; /** * the ID of the participants who will receive the message (sent to all by default) * * @generated from field: repeated string destination_sids = 3 [deprecated = true]; * @deprecated */ destinationSids: string[]; /** * identities of participants who will receive the message (sent to all by default) * * @generated from field: repeated string destination_identities = 6 [deprecated = true]; * @deprecated */ destinationIdentities: string[]; /** * topic under which the message was published * * @generated from field: optional string topic = 4; */ topic?: string; /** * Unique ID to identify the message * * @generated from field: optional string id = 8; */ id?: string; /** * start and end time allow relating the message to specific media time * * @generated from field: optional uint64 start_time = 9; */ startTime?: bigint; /** * @generated from field: optional uint64 end_time = 10; */ endTime?: bigint; /** * added by SDK to enable de-duping of messages, for INTERNAL USE ONLY * * @generated from field: bytes nonce = 11; */ nonce: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UserPacket"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UserPacket; static fromJson(jsonValue: JsonValue, options?: Partial): UserPacket; static fromJsonString(jsonString: string, options?: Partial): UserPacket; static equals(a: UserPacket | PlainMessage | undefined, b: UserPacket | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SipDTMF */ declare class SipDTMF extends Message { /** * @generated from field: uint32 code = 3; */ code: number; /** * @generated from field: string digit = 4; */ digit: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SipDTMF"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SipDTMF; static fromJson(jsonValue: JsonValue, options?: Partial): SipDTMF; static fromJsonString(jsonString: string, options?: Partial): SipDTMF; static equals(a: SipDTMF | PlainMessage | undefined, b: SipDTMF | PlainMessage | undefined): boolean; } /** * @generated from message livekit.Transcription */ declare class Transcription extends Message { /** * Participant that got its speech transcribed * * @generated from field: string transcribed_participant_identity = 2; */ transcribedParticipantIdentity: string; /** * @generated from field: string track_id = 3; */ trackId: string; /** * @generated from field: repeated livekit.TranscriptionSegment segments = 4; */ segments: TranscriptionSegment[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.Transcription"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Transcription; static fromJson(jsonValue: JsonValue, options?: Partial): Transcription; static fromJsonString(jsonString: string, options?: Partial): Transcription; static equals(a: Transcription | PlainMessage | undefined, b: Transcription | PlainMessage | undefined): boolean; } /** * @generated from message livekit.TranscriptionSegment */ declare class TranscriptionSegment extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string text = 2; */ text: string; /** * @generated from field: uint64 start_time = 3; */ startTime: bigint; /** * @generated from field: uint64 end_time = 4; */ endTime: bigint; /** * @generated from field: bool final = 5; */ final: boolean; /** * @generated from field: string language = 6; */ language: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TranscriptionSegment"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TranscriptionSegment; static fromJson(jsonValue: JsonValue, options?: Partial): TranscriptionSegment; static fromJsonString(jsonString: string, options?: Partial): TranscriptionSegment; static equals(a: TranscriptionSegment | PlainMessage | undefined, b: TranscriptionSegment | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ChatMessage */ declare class ChatMessage extends Message { /** * uuid * * @generated from field: string id = 1; */ id: string; /** * @generated from field: int64 timestamp = 2; */ timestamp: bigint; /** * populated only if the intent is to edit/update an existing message * * @generated from field: optional int64 edit_timestamp = 3; */ editTimestamp?: bigint; /** * @generated from field: string message = 4; */ message: string; /** * true to remove message * * @generated from field: bool deleted = 5; */ deleted: boolean; /** * true if the chat message has been generated by an agent from a participant's audio transcription * * @generated from field: bool generated = 6; */ generated: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ChatMessage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ChatMessage; static fromJson(jsonValue: JsonValue, options?: Partial): ChatMessage; static fromJsonString(jsonString: string, options?: Partial): ChatMessage; static equals(a: ChatMessage | PlainMessage | undefined, b: ChatMessage | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RpcRequest */ declare class RpcRequest extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string method = 2; */ method: string; /** * @generated from field: string payload = 3; */ payload: string; /** * @generated from field: uint32 response_timeout_ms = 4; */ responseTimeoutMs: number; /** * @generated from field: uint32 version = 5; */ version: number; /** * Compressed payload data. When set, this field is used instead of `payload`. * * @generated from field: bytes compressed_payload = 6; */ compressedPayload: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RpcRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RpcRequest; static fromJson(jsonValue: JsonValue, options?: Partial): RpcRequest; static fromJsonString(jsonString: string, options?: Partial): RpcRequest; static equals(a: RpcRequest | PlainMessage | undefined, b: RpcRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RpcAck */ declare class RpcAck extends Message { /** * @generated from field: string request_id = 1; */ requestId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RpcAck"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RpcAck; static fromJson(jsonValue: JsonValue, options?: Partial): RpcAck; static fromJsonString(jsonString: string, options?: Partial): RpcAck; static equals(a: RpcAck | PlainMessage | undefined, b: RpcAck | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RpcResponse */ declare class RpcResponse extends Message { /** * @generated from field: string request_id = 1; */ requestId: string; /** * @generated from oneof livekit.RpcResponse.value */ value: { /** * @generated from field: string payload = 2; */ value: string; case: "payload"; } | { /** * @generated from field: livekit.RpcError error = 3; */ value: RpcError; case: "error"; } | { /** * Compressed payload data. When set, this field is used instead of `payload`. * * @generated from field: bytes compressed_payload = 4; */ value: Uint8Array; case: "compressedPayload"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RpcResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RpcResponse; static fromJson(jsonValue: JsonValue, options?: Partial): RpcResponse; static fromJsonString(jsonString: string, options?: Partial): RpcResponse; static equals(a: RpcResponse | PlainMessage | undefined, b: RpcResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RpcError */ declare class RpcError extends Message { /** * @generated from field: uint32 code = 1; */ code: number; /** * @generated from field: string message = 2; */ message: string; /** * @generated from field: string data = 3; */ data: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RpcError"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RpcError; static fromJson(jsonValue: JsonValue, options?: Partial): RpcError; static fromJsonString(jsonString: string, options?: Partial): RpcError; static equals(a: RpcError | PlainMessage | undefined, b: RpcError | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ParticipantTracks */ declare class ParticipantTracks extends Message { /** * participant ID of participant to whom the tracks belong * * @generated from field: string participant_sid = 1; */ participantSid: string; /** * @generated from field: repeated string track_sids = 2; */ trackSids: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ParticipantTracks"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantTracks; static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantTracks; static fromJsonString(jsonString: string, options?: Partial): ParticipantTracks; static equals(a: ParticipantTracks | PlainMessage | undefined, b: ParticipantTracks | PlainMessage | undefined): boolean; } /** * details about the server * * @generated from message livekit.ServerInfo */ declare class ServerInfo extends Message { /** * @generated from field: livekit.ServerInfo.Edition edition = 1; */ edition: ServerInfo_Edition; /** * @generated from field: string version = 2; */ version: string; /** * @generated from field: int32 protocol = 3; */ protocol: number; /** * @generated from field: string region = 4; */ region: string; /** * @generated from field: string node_id = 5; */ nodeId: string; /** * additional debugging information. sent only if server is in development mode * * @generated from field: string debug_info = 6; */ debugInfo: string; /** * @generated from field: int32 agent_protocol = 7; */ agentProtocol: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ServerInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ServerInfo; static fromJson(jsonValue: JsonValue, options?: Partial): ServerInfo; static fromJsonString(jsonString: string, options?: Partial): ServerInfo; static equals(a: ServerInfo | PlainMessage | undefined, b: ServerInfo | PlainMessage | undefined): boolean; } /** * @generated from enum livekit.ServerInfo.Edition */ declare enum ServerInfo_Edition { /** * @generated from enum value: Standard = 0; */ Standard = 0, /** * @generated from enum value: Cloud = 1; */ Cloud = 1, } /** * details about the client * * @generated from message livekit.ClientInfo */ declare class ClientInfo extends Message { /** * @generated from field: livekit.ClientInfo.SDK sdk = 1; */ sdk: ClientInfo_SDK; /** * @generated from field: string version = 2; */ version: string; /** * @generated from field: int32 protocol = 3; */ protocol: number; /** * @generated from field: string os = 4; */ os: string; /** * @generated from field: string os_version = 5; */ osVersion: string; /** * @generated from field: string device_model = 6; */ deviceModel: string; /** * @generated from field: string browser = 7; */ browser: string; /** * @generated from field: string browser_version = 8; */ browserVersion: string; /** * @generated from field: string address = 9; */ address: string; /** * wifi, wired, cellular, vpn, empty if not known * * @generated from field: string network = 10; */ network: string; /** * comma separated list of additional LiveKit SDKs in use of this client, with versions * e.g. "components-js:1.2.3,track-processors-js:1.2.3" * * @generated from field: string other_sdks = 11; */ otherSdks: string; /** * client protocol version * * @generated from field: int32 client_protocol = 12; */ clientProtocol: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ClientInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ClientInfo; static fromJson(jsonValue: JsonValue, options?: Partial): ClientInfo; static fromJsonString(jsonString: string, options?: Partial): ClientInfo; static equals(a: ClientInfo | PlainMessage | undefined, b: ClientInfo | PlainMessage | undefined): boolean; } /** * @generated from enum livekit.ClientInfo.SDK */ declare enum ClientInfo_SDK { /** * @generated from enum value: UNKNOWN = 0; */ UNKNOWN = 0, /** * @generated from enum value: JS = 1; */ JS = 1, /** * @generated from enum value: SWIFT = 2; */ SWIFT = 2, /** * @generated from enum value: ANDROID = 3; */ ANDROID = 3, /** * @generated from enum value: FLUTTER = 4; */ FLUTTER = 4, /** * @generated from enum value: GO = 5; */ GO = 5, /** * @generated from enum value: UNITY = 6; */ UNITY = 6, /** * @generated from enum value: REACT_NATIVE = 7; */ REACT_NATIVE = 7, /** * @generated from enum value: RUST = 8; */ RUST = 8, /** * @generated from enum value: PYTHON = 9; */ PYTHON = 9, /** * @generated from enum value: CPP = 10; */ CPP = 10, /** * @generated from enum value: UNITY_WEB = 11; */ UNITY_WEB = 11, /** * @generated from enum value: NODE = 12; */ NODE = 12, /** * @generated from enum value: UNREAL = 13; */ UNREAL = 13, /** * @generated from enum value: ESP32 = 14; */ ESP32 = 14, } /** * server provided client configuration * * @generated from message livekit.ClientConfiguration */ declare class ClientConfiguration extends Message { /** * @generated from field: livekit.VideoConfiguration video = 1; */ video?: VideoConfiguration; /** * @generated from field: livekit.VideoConfiguration screen = 2; */ screen?: VideoConfiguration; /** * @generated from field: livekit.ClientConfigSetting resume_connection = 3; */ resumeConnection: ClientConfigSetting; /** * @generated from field: livekit.DisabledCodecs disabled_codecs = 4; */ disabledCodecs?: DisabledCodecs; /** * @generated from field: livekit.ClientConfigSetting force_relay = 5; */ forceRelay: ClientConfigSetting; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ClientConfiguration"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ClientConfiguration; static fromJson(jsonValue: JsonValue, options?: Partial): ClientConfiguration; static fromJsonString(jsonString: string, options?: Partial): ClientConfiguration; static equals(a: ClientConfiguration | PlainMessage | undefined, b: ClientConfiguration | PlainMessage | undefined): boolean; } /** * @generated from message livekit.VideoConfiguration */ declare class VideoConfiguration extends Message { /** * @generated from field: livekit.ClientConfigSetting hardware_encoder = 1; */ hardwareEncoder: ClientConfigSetting; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.VideoConfiguration"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): VideoConfiguration; static fromJson(jsonValue: JsonValue, options?: Partial): VideoConfiguration; static fromJsonString(jsonString: string, options?: Partial): VideoConfiguration; static equals(a: VideoConfiguration | PlainMessage | undefined, b: VideoConfiguration | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DisabledCodecs */ declare class DisabledCodecs extends Message { /** * disabled for both publish and subscribe * * @generated from field: repeated livekit.Codec codecs = 1; */ codecs: Codec[]; /** * only disable for publish * * @generated from field: repeated livekit.Codec publish = 2; */ publish: Codec[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DisabledCodecs"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DisabledCodecs; static fromJson(jsonValue: JsonValue, options?: Partial): DisabledCodecs; static fromJsonString(jsonString: string, options?: Partial): DisabledCodecs; static equals(a: DisabledCodecs | PlainMessage | undefined, b: DisabledCodecs | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RTPDrift */ declare class RTPDrift extends Message { /** * @generated from field: google.protobuf.Timestamp start_time = 1; */ startTime?: Timestamp; /** * @generated from field: google.protobuf.Timestamp end_time = 2; */ endTime?: Timestamp; /** * @generated from field: double duration = 3; */ duration: number; /** * @generated from field: uint64 start_timestamp = 4; */ startTimestamp: bigint; /** * @generated from field: uint64 end_timestamp = 5; */ endTimestamp: bigint; /** * @generated from field: uint64 rtp_clock_ticks = 6; */ rtpClockTicks: bigint; /** * @generated from field: int64 drift_samples = 7; */ driftSamples: bigint; /** * @generated from field: double drift_ms = 8; */ driftMs: number; /** * @generated from field: double clock_rate = 9; */ clockRate: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RTPDrift"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RTPDrift; static fromJson(jsonValue: JsonValue, options?: Partial): RTPDrift; static fromJsonString(jsonString: string, options?: Partial): RTPDrift; static equals(a: RTPDrift | PlainMessage | undefined, b: RTPDrift | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RTPStats */ declare class RTPStats extends Message { /** * @generated from field: google.protobuf.Timestamp start_time = 1; */ startTime?: Timestamp; /** * @generated from field: google.protobuf.Timestamp end_time = 2; */ endTime?: Timestamp; /** * @generated from field: double duration = 3; */ duration: number; /** * @generated from field: uint32 packets = 4; */ packets: number; /** * @generated from field: double packet_rate = 5; */ packetRate: number; /** * @generated from field: uint64 bytes = 6; */ bytes: bigint; /** * @generated from field: uint64 header_bytes = 39; */ headerBytes: bigint; /** * @generated from field: double bitrate = 7; */ bitrate: number; /** * @generated from field: uint32 packets_lost = 8; */ packetsLost: number; /** * @generated from field: double packet_loss_rate = 9; */ packetLossRate: number; /** * @generated from field: float packet_loss_percentage = 10; */ packetLossPercentage: number; /** * @generated from field: uint32 packets_duplicate = 11; */ packetsDuplicate: number; /** * @generated from field: double packet_duplicate_rate = 12; */ packetDuplicateRate: number; /** * @generated from field: uint64 bytes_duplicate = 13; */ bytesDuplicate: bigint; /** * @generated from field: uint64 header_bytes_duplicate = 40; */ headerBytesDuplicate: bigint; /** * @generated from field: double bitrate_duplicate = 14; */ bitrateDuplicate: number; /** * @generated from field: uint32 packets_padding = 15; */ packetsPadding: number; /** * @generated from field: double packet_padding_rate = 16; */ packetPaddingRate: number; /** * @generated from field: uint64 bytes_padding = 17; */ bytesPadding: bigint; /** * @generated from field: uint64 header_bytes_padding = 41; */ headerBytesPadding: bigint; /** * @generated from field: double bitrate_padding = 18; */ bitratePadding: number; /** * @generated from field: uint32 packets_out_of_order = 19; */ packetsOutOfOrder: number; /** * @generated from field: uint32 frames = 20; */ frames: number; /** * @generated from field: double frame_rate = 21; */ frameRate: number; /** * @generated from field: double jitter_current = 22; */ jitterCurrent: number; /** * @generated from field: double jitter_max = 23; */ jitterMax: number; /** * @generated from field: map gap_histogram = 24; */ gapHistogram: { [key: number]: number }; /** * @generated from field: uint32 nacks = 25; */ nacks: number; /** * @generated from field: uint32 nack_acks = 37; */ nackAcks: number; /** * @generated from field: uint32 nack_misses = 26; */ nackMisses: number; /** * @generated from field: uint32 nack_repeated = 38; */ nackRepeated: number; /** * @generated from field: uint32 plis = 27; */ plis: number; /** * @generated from field: google.protobuf.Timestamp last_pli = 28; */ lastPli?: Timestamp; /** * @generated from field: uint32 firs = 29; */ firs: number; /** * @generated from field: google.protobuf.Timestamp last_fir = 30; */ lastFir?: Timestamp; /** * @generated from field: uint32 rtt_current = 31; */ rttCurrent: number; /** * @generated from field: uint32 rtt_max = 32; */ rttMax: number; /** * @generated from field: uint32 key_frames = 33; */ keyFrames: number; /** * @generated from field: google.protobuf.Timestamp last_key_frame = 34; */ lastKeyFrame?: Timestamp; /** * @generated from field: uint32 layer_lock_plis = 35; */ layerLockPlis: number; /** * @generated from field: google.protobuf.Timestamp last_layer_lock_pli = 36; */ lastLayerLockPli?: Timestamp; /** * @generated from field: livekit.RTPDrift packet_drift = 44; */ packetDrift?: RTPDrift; /** * @generated from field: livekit.RTPDrift ntp_report_drift = 45; */ ntpReportDrift?: RTPDrift; /** * @generated from field: livekit.RTPDrift rebased_report_drift = 46; */ rebasedReportDrift?: RTPDrift; /** * NEXT_ID: 48 * * @generated from field: livekit.RTPDrift received_report_drift = 47; */ receivedReportDrift?: RTPDrift; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RTPStats"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RTPStats; static fromJson(jsonValue: JsonValue, options?: Partial): RTPStats; static fromJsonString(jsonString: string, options?: Partial): RTPStats; static equals(a: RTPStats | PlainMessage | undefined, b: RTPStats | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RTCPSenderReportState */ declare class RTCPSenderReportState extends Message { /** * @generated from field: uint32 rtp_timestamp = 1; */ rtpTimestamp: number; /** * @generated from field: uint64 rtp_timestamp_ext = 2; */ rtpTimestampExt: bigint; /** * @generated from field: uint64 ntp_timestamp = 3; */ ntpTimestamp: bigint; /** * time at which this happened * * @generated from field: int64 at = 4; */ at: bigint; /** * @generated from field: int64 at_adjusted = 5; */ atAdjusted: bigint; /** * @generated from field: uint32 packets = 6; */ packets: number; /** * @generated from field: uint64 octets = 7; */ octets: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RTCPSenderReportState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RTCPSenderReportState; static fromJson(jsonValue: JsonValue, options?: Partial): RTCPSenderReportState; static fromJsonString(jsonString: string, options?: Partial): RTCPSenderReportState; static equals(a: RTCPSenderReportState | PlainMessage | undefined, b: RTCPSenderReportState | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RTPForwarderState */ declare class RTPForwarderState extends Message { /** * @generated from field: bool started = 1; */ started: boolean; /** * @generated from field: int32 reference_layer_spatial = 2; */ referenceLayerSpatial: number; /** * @generated from field: int64 pre_start_time = 3; */ preStartTime: bigint; /** * @generated from field: uint64 ext_first_timestamp = 4; */ extFirstTimestamp: bigint; /** * @generated from field: uint64 dummy_start_timestamp_offset = 5; */ dummyStartTimestampOffset: bigint; /** * @generated from field: livekit.RTPMungerState rtp_munger = 6; */ rtpMunger?: RTPMungerState; /** * @generated from oneof livekit.RTPForwarderState.codec_munger */ codecMunger: { /** * @generated from field: livekit.VP8MungerState vp8_munger = 7; */ value: VP8MungerState; case: "vp8Munger"; } | { case: undefined; value?: undefined }; /** * @generated from field: repeated livekit.RTCPSenderReportState sender_report_state = 8; */ senderReportState: RTCPSenderReportState[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RTPForwarderState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RTPForwarderState; static fromJson(jsonValue: JsonValue, options?: Partial): RTPForwarderState; static fromJsonString(jsonString: string, options?: Partial): RTPForwarderState; static equals(a: RTPForwarderState | PlainMessage | undefined, b: RTPForwarderState | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RTPMungerState */ declare class RTPMungerState extends Message { /** * @generated from field: uint64 ext_last_sequence_number = 1; */ extLastSequenceNumber: bigint; /** * @generated from field: uint64 ext_second_last_sequence_number = 2; */ extSecondLastSequenceNumber: bigint; /** * @generated from field: uint64 ext_last_timestamp = 3; */ extLastTimestamp: bigint; /** * @generated from field: uint64 ext_second_last_timestamp = 4; */ extSecondLastTimestamp: bigint; /** * @generated from field: bool last_marker = 5; */ lastMarker: boolean; /** * @generated from field: bool second_last_marker = 6; */ secondLastMarker: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RTPMungerState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RTPMungerState; static fromJson(jsonValue: JsonValue, options?: Partial): RTPMungerState; static fromJsonString(jsonString: string, options?: Partial): RTPMungerState; static equals(a: RTPMungerState | PlainMessage | undefined, b: RTPMungerState | PlainMessage | undefined): boolean; } /** * @generated from message livekit.VP8MungerState */ declare class VP8MungerState extends Message { /** * @generated from field: int32 ext_last_picture_id = 1; */ extLastPictureId: number; /** * @generated from field: bool picture_id_used = 2; */ pictureIdUsed: boolean; /** * @generated from field: uint32 last_tl0_pic_idx = 3; */ lastTl0PicIdx: number; /** * @generated from field: bool tl0_pic_idx_used = 4; */ tl0PicIdxUsed: boolean; /** * @generated from field: bool tid_used = 5; */ tidUsed: boolean; /** * @generated from field: uint32 last_key_idx = 6; */ lastKeyIdx: number; /** * @generated from field: bool key_idx_used = 7; */ keyIdxUsed: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.VP8MungerState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): VP8MungerState; static fromJson(jsonValue: JsonValue, options?: Partial): VP8MungerState; static fromJsonString(jsonString: string, options?: Partial): VP8MungerState; static equals(a: VP8MungerState | PlainMessage | undefined, b: VP8MungerState | PlainMessage | undefined): boolean; } /** * @generated from message livekit.TimedVersion */ declare class TimedVersion extends Message { /** * @generated from field: int64 unix_micro = 1; */ unixMicro: bigint; /** * @generated from field: int32 ticks = 2; */ ticks: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TimedVersion"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TimedVersion; static fromJson(jsonValue: JsonValue, options?: Partial): TimedVersion; static fromJsonString(jsonString: string, options?: Partial): TimedVersion; static equals(a: TimedVersion | PlainMessage | undefined, b: TimedVersion | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DataStream */ declare class DataStream extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DataStream"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataStream; static fromJson(jsonValue: JsonValue, options?: Partial): DataStream; static fromJsonString(jsonString: string, options?: Partial): DataStream; static equals(a: DataStream | PlainMessage | undefined, b: DataStream | PlainMessage | undefined): boolean; } /** * enum for operation types (specific to TextHeader) * * @generated from enum livekit.DataStream.OperationType */ declare enum DataStream_OperationType { /** * @generated from enum value: CREATE = 0; */ CREATE = 0, /** * @generated from enum value: UPDATE = 1; */ UPDATE = 1, /** * @generated from enum value: DELETE = 2; */ DELETE = 2, /** * @generated from enum value: REACTION = 3; */ REACTION = 3, } /** * header properties specific to text streams * * @generated from message livekit.DataStream.TextHeader */ declare class DataStream_TextHeader extends Message { /** * @generated from field: livekit.DataStream.OperationType operation_type = 1; */ operationType: DataStream_OperationType; /** * Optional: Version for updates/edits * * @generated from field: int32 version = 2; */ version: number; /** * Optional: Reply to specific message * * @generated from field: string reply_to_stream_id = 3; */ replyToStreamId: string; /** * file attachments for text streams * * @generated from field: repeated string attached_stream_ids = 4; */ attachedStreamIds: string[]; /** * true if the text has been generated by an agent from a participant's audio transcription * * @generated from field: bool generated = 5; */ generated: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DataStream.TextHeader"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_TextHeader; static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_TextHeader; static fromJsonString(jsonString: string, options?: Partial): DataStream_TextHeader; static equals(a: DataStream_TextHeader | PlainMessage | undefined, b: DataStream_TextHeader | PlainMessage | undefined): boolean; } /** * header properties specific to byte or file streams * * @generated from message livekit.DataStream.ByteHeader */ declare class DataStream_ByteHeader extends Message { /** * @generated from field: string name = 1; */ name: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DataStream.ByteHeader"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_ByteHeader; static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_ByteHeader; static fromJsonString(jsonString: string, options?: Partial): DataStream_ByteHeader; static equals(a: DataStream_ByteHeader | PlainMessage | undefined, b: DataStream_ByteHeader | PlainMessage | undefined): boolean; } /** * main DataStream.Header that contains a oneof for specific headers * * @generated from message livekit.DataStream.Header */ declare class DataStream_Header extends Message { /** * unique identifier for this data stream * * @generated from field: string stream_id = 1; */ streamId: string; /** * using int64 for Unix timestamp * * @generated from field: int64 timestamp = 2; */ timestamp: bigint; /** * @generated from field: string topic = 3; */ topic: string; /** * @generated from field: string mime_type = 4; */ mimeType: string; /** * only populated for finite streams, if it's a stream of unknown size this stays empty * * @generated from field: optional uint64 total_length = 5; */ totalLength?: bigint; /** * this is set on the DataPacket * * @generated from field: livekit.Encryption.Type encryption_type = 7 [deprecated = true]; * @deprecated */ encryptionType: Encryption_Type; /** * user defined attributes map that can carry additional info * * @generated from field: map attributes = 8; */ attributes: { [key: string]: string }; /** * oneof to choose between specific header types * * @generated from oneof livekit.DataStream.Header.content_header */ contentHeader: { /** * @generated from field: livekit.DataStream.TextHeader text_header = 9; */ value: DataStream_TextHeader; case: "textHeader"; } | { /** * @generated from field: livekit.DataStream.ByteHeader byte_header = 10; */ value: DataStream_ByteHeader; case: "byteHeader"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DataStream.Header"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Header; static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Header; static fromJsonString(jsonString: string, options?: Partial): DataStream_Header; static equals(a: DataStream_Header | PlainMessage | undefined, b: DataStream_Header | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DataStream.Chunk */ declare class DataStream_Chunk extends Message { /** * unique identifier for this data stream to map it to the correct header * * @generated from field: string stream_id = 1; */ streamId: string; /** * @generated from field: uint64 chunk_index = 2; */ chunkIndex: bigint; /** * content as binary (bytes) * * @generated from field: bytes content = 3; */ content: Uint8Array; /** * a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced * * @generated from field: int32 version = 4; */ version: number; /** * this is set on the DataPacket * * @generated from field: optional bytes iv = 5 [deprecated = true]; * @deprecated */ iv?: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DataStream.Chunk"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Chunk; static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Chunk; static fromJsonString(jsonString: string, options?: Partial): DataStream_Chunk; static equals(a: DataStream_Chunk | PlainMessage | undefined, b: DataStream_Chunk | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DataStream.Trailer */ declare class DataStream_Trailer extends Message { /** * unique identifier for this data stream * * @generated from field: string stream_id = 1; */ streamId: string; /** * reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end) * * @generated from field: string reason = 2; */ reason: string; /** * finalizing updates for the stream, can also include additional insights for errors or endTime for transcription * * @generated from field: map attributes = 3; */ attributes: { [key: string]: string }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DataStream.Trailer"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataStream_Trailer; static fromJson(jsonValue: JsonValue, options?: Partial): DataStream_Trailer; static fromJsonString(jsonString: string, options?: Partial): DataStream_Trailer; static equals(a: DataStream_Trailer | PlainMessage | undefined, b: DataStream_Trailer | PlainMessage | undefined): boolean; } /** * @generated from message livekit.FilterParams */ declare class FilterParams extends Message { /** * @generated from field: repeated string include_events = 1; */ includeEvents: string[]; /** * @generated from field: repeated string exclude_events = 2; */ excludeEvents: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.FilterParams"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FilterParams; static fromJson(jsonValue: JsonValue, options?: Partial): FilterParams; static fromJsonString(jsonString: string, options?: Partial): FilterParams; static equals(a: FilterParams | PlainMessage | undefined, b: FilterParams | PlainMessage | undefined): boolean; } /** * @generated from message livekit.WebhookConfig */ declare class WebhookConfig extends Message { /** * @generated from field: string url = 1; */ url: string; /** * @generated from field: string signing_key = 2; */ signingKey: string; /** * @generated from field: livekit.FilterParams filter_params = 3; */ filterParams?: FilterParams; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.WebhookConfig"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): WebhookConfig; static fromJson(jsonValue: JsonValue, options?: Partial): WebhookConfig; static fromJsonString(jsonString: string, options?: Partial): WebhookConfig; static equals(a: WebhookConfig | PlainMessage | undefined, b: WebhookConfig | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SubscribedAudioCodec */ declare class SubscribedAudioCodec extends Message { /** * @generated from field: string codec = 1; */ codec: string; /** * @generated from field: bool enabled = 2; */ enabled: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SubscribedAudioCodec"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedAudioCodec; static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedAudioCodec; static fromJsonString(jsonString: string, options?: Partial): SubscribedAudioCodec; static equals(a: SubscribedAudioCodec | PlainMessage | undefined, b: SubscribedAudioCodec | PlainMessage | undefined): boolean; } // Copyright 2023 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. /** * @generated from enum livekit.JobType */ declare enum JobType { /** * @generated from enum value: JT_ROOM = 0; */ JT_ROOM = 0, /** * @generated from enum value: JT_PUBLISHER = 1; */ JT_PUBLISHER = 1, /** * @generated from enum value: JT_PARTICIPANT = 2; */ JT_PARTICIPANT = 2, } /** * @generated from enum livekit.WorkerStatus */ declare enum WorkerStatus { /** * @generated from enum value: WS_AVAILABLE = 0; */ WS_AVAILABLE = 0, /** * @generated from enum value: WS_FULL = 1; */ WS_FULL = 1, } /** * @generated from enum livekit.JobStatus */ declare enum JobStatus { /** * @generated from enum value: JS_PENDING = 0; */ JS_PENDING = 0, /** * @generated from enum value: JS_RUNNING = 1; */ JS_RUNNING = 1, /** * @generated from enum value: JS_SUCCESS = 2; */ JS_SUCCESS = 2, /** * @generated from enum value: JS_FAILED = 3; */ JS_FAILED = 3, } /** * @generated from message livekit.Job */ declare class Job extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string dispatch_id = 9; */ dispatchId: string; /** * @generated from field: livekit.JobType type = 2; */ type: JobType; /** * @generated from field: livekit.Room room = 3; */ room?: Room; /** * @generated from field: optional livekit.ParticipantInfo participant = 4; */ participant?: ParticipantInfo; /** * @generated from field: string namespace = 5 [deprecated = true]; * @deprecated */ namespace: string; /** * @generated from field: string metadata = 6; */ metadata: string; /** * @generated from field: string agent_name = 7; */ agentName: string; /** * @generated from field: livekit.JobState state = 8; */ state?: JobState; /** * @generated from field: bool enable_recording = 10; */ enableRecording: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.Job"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Job; static fromJson(jsonValue: JsonValue, options?: Partial): Job; static fromJsonString(jsonString: string, options?: Partial): Job; static equals(a: Job | PlainMessage | undefined, b: Job | PlainMessage | undefined): boolean; } /** * @generated from message livekit.JobState */ declare class JobState extends Message { /** * @generated from field: livekit.JobStatus status = 1; */ status: JobStatus; /** * @generated from field: string error = 2; */ error: string; /** * @generated from field: int64 started_at = 3; */ startedAt: bigint; /** * @generated from field: int64 ended_at = 4; */ endedAt: bigint; /** * @generated from field: int64 updated_at = 5; */ updatedAt: bigint; /** * @generated from field: string participant_identity = 6; */ participantIdentity: string; /** * @generated from field: string worker_id = 7; */ workerId: string; /** * @generated from field: string agent_id = 8; */ agentId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.JobState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): JobState; static fromJson(jsonValue: JsonValue, options?: Partial): JobState; static fromJsonString(jsonString: string, options?: Partial): JobState; static equals(a: JobState | PlainMessage | undefined, b: JobState | PlainMessage | undefined): boolean; } /** * from Worker to Server * * @generated from message livekit.WorkerMessage */ declare class WorkerMessage extends Message { /** * @generated from oneof livekit.WorkerMessage.message */ message: { /** * agent workers need to register themselves with the server first * * @generated from field: livekit.RegisterWorkerRequest register = 1; */ value: RegisterWorkerRequest; case: "register"; } | { /** * worker confirms to server that it's available for a job, or declines it * * @generated from field: livekit.AvailabilityResponse availability = 2; */ value: AvailabilityResponse; case: "availability"; } | { /** * worker can update its status to the server, including taking itself out of the pool * * @generated from field: livekit.UpdateWorkerStatus update_worker = 3; */ value: UpdateWorkerStatus; case: "updateWorker"; } | { /** * job can send status updates to the server, useful for tracking progress * * @generated from field: livekit.UpdateJobStatus update_job = 4; */ value: UpdateJobStatus; case: "updateJob"; } | { /** * @generated from field: livekit.WorkerPing ping = 5; */ value: WorkerPing; case: "ping"; } | { /** * @generated from field: livekit.SimulateJobRequest simulate_job = 6; */ value: SimulateJobRequest; case: "simulateJob"; } | { /** * @generated from field: livekit.MigrateJobRequest migrate_job = 7; */ value: MigrateJobRequest; case: "migrateJob"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.WorkerMessage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): WorkerMessage; static fromJson(jsonValue: JsonValue, options?: Partial): WorkerMessage; static fromJsonString(jsonString: string, options?: Partial): WorkerMessage; static equals(a: WorkerMessage | PlainMessage | undefined, b: WorkerMessage | PlainMessage | undefined): boolean; } /** * from Server to Worker * * @generated from message livekit.ServerMessage */ declare class ServerMessage extends Message { /** * @generated from oneof livekit.ServerMessage.message */ message: { /** * server confirms the registration, from this moment on, the worker is considered active * * @generated from field: livekit.RegisterWorkerResponse register = 1; */ value: RegisterWorkerResponse; case: "register"; } | { /** * server asks worker to confirm availability for a job * * @generated from field: livekit.AvailabilityRequest availability = 2; */ value: AvailabilityRequest; case: "availability"; } | { /** * @generated from field: livekit.JobAssignment assignment = 3; */ value: JobAssignment; case: "assignment"; } | { /** * @generated from field: livekit.JobTermination termination = 5; */ value: JobTermination; case: "termination"; } | { /** * @generated from field: livekit.WorkerPong pong = 4; */ value: WorkerPong; case: "pong"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ServerMessage"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ServerMessage; static fromJson(jsonValue: JsonValue, options?: Partial): ServerMessage; static fromJsonString(jsonString: string, options?: Partial): ServerMessage; static equals(a: ServerMessage | PlainMessage | undefined, b: ServerMessage | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SimulateJobRequest */ declare class SimulateJobRequest extends Message { /** * @generated from field: livekit.JobType type = 1; */ type: JobType; /** * @generated from field: livekit.Room room = 2; */ room?: Room; /** * @generated from field: livekit.ParticipantInfo participant = 3; */ participant?: ParticipantInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SimulateJobRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SimulateJobRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SimulateJobRequest; static fromJsonString(jsonString: string, options?: Partial): SimulateJobRequest; static equals(a: SimulateJobRequest | PlainMessage | undefined, b: SimulateJobRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.WorkerPing */ declare class WorkerPing extends Message { /** * @generated from field: int64 timestamp = 1; */ timestamp: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.WorkerPing"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): WorkerPing; static fromJson(jsonValue: JsonValue, options?: Partial): WorkerPing; static fromJsonString(jsonString: string, options?: Partial): WorkerPing; static equals(a: WorkerPing | PlainMessage | undefined, b: WorkerPing | PlainMessage | undefined): boolean; } /** * @generated from message livekit.WorkerPong */ declare class WorkerPong extends Message { /** * @generated from field: int64 last_timestamp = 1; */ lastTimestamp: bigint; /** * @generated from field: int64 timestamp = 2; */ timestamp: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.WorkerPong"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): WorkerPong; static fromJson(jsonValue: JsonValue, options?: Partial): WorkerPong; static fromJsonString(jsonString: string, options?: Partial): WorkerPong; static equals(a: WorkerPong | PlainMessage | undefined, b: WorkerPong | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RegisterWorkerRequest */ declare class RegisterWorkerRequest extends Message { /** * @generated from field: livekit.JobType type = 1; */ type: JobType; /** * @generated from field: string agent_name = 8; */ agentName: string; /** * string worker_id = 2; * * @generated from field: string version = 3; */ version: string; /** * string name = 4 [deprecated = true]; * * @generated from field: uint32 ping_interval = 5; */ pingInterval: number; /** * @generated from field: optional string namespace = 6; */ namespace?: string; /** * @generated from field: livekit.ParticipantPermission allowed_permissions = 7; */ allowedPermissions?: ParticipantPermission; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RegisterWorkerRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RegisterWorkerRequest; static fromJson(jsonValue: JsonValue, options?: Partial): RegisterWorkerRequest; static fromJsonString(jsonString: string, options?: Partial): RegisterWorkerRequest; static equals(a: RegisterWorkerRequest | PlainMessage | undefined, b: RegisterWorkerRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RegisterWorkerResponse */ declare class RegisterWorkerResponse extends Message { /** * @generated from field: string worker_id = 1; */ workerId: string; /** * @generated from field: livekit.ServerInfo server_info = 3; */ serverInfo?: ServerInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RegisterWorkerResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RegisterWorkerResponse; static fromJson(jsonValue: JsonValue, options?: Partial): RegisterWorkerResponse; static fromJsonString(jsonString: string, options?: Partial): RegisterWorkerResponse; static equals(a: RegisterWorkerResponse | PlainMessage | undefined, b: RegisterWorkerResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.MigrateJobRequest */ declare class MigrateJobRequest extends Message { /** * string job_id = 1 [deprecated = true]; * * @generated from field: repeated string job_ids = 2; */ jobIds: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.MigrateJobRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MigrateJobRequest; static fromJson(jsonValue: JsonValue, options?: Partial): MigrateJobRequest; static fromJsonString(jsonString: string, options?: Partial): MigrateJobRequest; static equals(a: MigrateJobRequest | PlainMessage | undefined, b: MigrateJobRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.AvailabilityRequest */ declare class AvailabilityRequest extends Message { /** * @generated from field: livekit.Job job = 1; */ job?: Job; /** * True when the job was previously assigned to another worker but has been * migrated due to different reasons (e.g. worker failure, job migration) * * @generated from field: bool resuming = 2; */ resuming: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.AvailabilityRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AvailabilityRequest; static fromJson(jsonValue: JsonValue, options?: Partial): AvailabilityRequest; static fromJsonString(jsonString: string, options?: Partial): AvailabilityRequest; static equals(a: AvailabilityRequest | PlainMessage | undefined, b: AvailabilityRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.AvailabilityResponse */ declare class AvailabilityResponse extends Message { /** * @generated from field: string job_id = 1; */ jobId: string; /** * @generated from field: bool available = 2; */ available: boolean; /** * @generated from field: bool supports_resume = 3; */ supportsResume: boolean; /** * @generated from field: bool terminate = 8; */ terminate: boolean; /** * @generated from field: string participant_name = 4; */ participantName: string; /** * @generated from field: string participant_identity = 5; */ participantIdentity: string; /** * @generated from field: string participant_metadata = 6; */ participantMetadata: string; /** * NEXT_ID: 9 * * @generated from field: map participant_attributes = 7; */ participantAttributes: { [key: string]: string }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.AvailabilityResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AvailabilityResponse; static fromJson(jsonValue: JsonValue, options?: Partial): AvailabilityResponse; static fromJsonString(jsonString: string, options?: Partial): AvailabilityResponse; static equals(a: AvailabilityResponse | PlainMessage | undefined, b: AvailabilityResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateJobStatus */ declare class UpdateJobStatus extends Message { /** * @generated from field: string job_id = 1; */ jobId: string; /** * The worker can indicate the job end by either specifying SUCCESS or FAILED * * @generated from field: livekit.JobStatus status = 2; */ status: JobStatus; /** * metadata shown on the dashboard, useful for debugging * * @generated from field: string error = 3; */ error: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateJobStatus"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateJobStatus; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateJobStatus; static fromJsonString(jsonString: string, options?: Partial): UpdateJobStatus; static equals(a: UpdateJobStatus | PlainMessage | undefined, b: UpdateJobStatus | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateWorkerStatus */ declare class UpdateWorkerStatus extends Message { /** * @generated from field: optional livekit.WorkerStatus status = 1; */ status?: WorkerStatus; /** * optional string metadata = 2 [deprecated=true]; * * @generated from field: float load = 3; */ load: number; /** * @generated from field: uint32 job_count = 4; */ jobCount: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateWorkerStatus"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateWorkerStatus; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateWorkerStatus; static fromJsonString(jsonString: string, options?: Partial): UpdateWorkerStatus; static equals(a: UpdateWorkerStatus | PlainMessage | undefined, b: UpdateWorkerStatus | PlainMessage | undefined): boolean; } /** * @generated from message livekit.JobAssignment */ declare class JobAssignment extends Message { /** * @generated from field: livekit.Job job = 1; */ job?: Job; /** * @generated from field: optional string url = 2; */ url?: string; /** * @generated from field: string token = 3; */ token: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.JobAssignment"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): JobAssignment; static fromJson(jsonValue: JsonValue, options?: Partial): JobAssignment; static fromJsonString(jsonString: string, options?: Partial): JobAssignment; static equals(a: JobAssignment | PlainMessage | undefined, b: JobAssignment | PlainMessage | undefined): boolean; } /** * @generated from message livekit.JobTermination */ declare class JobTermination extends Message { /** * @generated from field: string job_id = 1; */ jobId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.JobTermination"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): JobTermination; static fromJson(jsonValue: JsonValue, options?: Partial): JobTermination; static fromJsonString(jsonString: string, options?: Partial): JobTermination; static equals(a: JobTermination | PlainMessage | undefined, b: JobTermination | PlainMessage | undefined): boolean; } // Copyright 2023 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. /** * @generated from enum livekit.JobRestartPolicy */ declare enum JobRestartPolicy { /** * restart when the job fails (default) * * @generated from enum value: JRP_ON_FAILURE = 0; */ JRP_ON_FAILURE = 0, /** * never restart * * @generated from enum value: JRP_NEVER = 1; */ JRP_NEVER = 1, } /** * @generated from message livekit.CreateAgentDispatchRequest */ declare class CreateAgentDispatchRequest extends Message { /** * @generated from field: string agent_name = 1; */ agentName: string; /** * @generated from field: string room = 2; */ room: string; /** * @generated from field: string metadata = 3; */ metadata: string; /** * cloud only * * @generated from field: livekit.JobRestartPolicy restart_policy = 4; */ restartPolicy: JobRestartPolicy; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.CreateAgentDispatchRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateAgentDispatchRequest; static fromJson(jsonValue: JsonValue, options?: Partial): CreateAgentDispatchRequest; static fromJsonString(jsonString: string, options?: Partial): CreateAgentDispatchRequest; static equals(a: CreateAgentDispatchRequest | PlainMessage | undefined, b: CreateAgentDispatchRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RoomAgentDispatch */ declare class RoomAgentDispatch extends Message { /** * @generated from field: string agent_name = 1; */ agentName: string; /** * @generated from field: string metadata = 2; */ metadata: string; /** * cloud only * * @generated from field: livekit.JobRestartPolicy restart_policy = 3; */ restartPolicy: JobRestartPolicy; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RoomAgentDispatch"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RoomAgentDispatch; static fromJson(jsonValue: JsonValue, options?: Partial): RoomAgentDispatch; static fromJsonString(jsonString: string, options?: Partial): RoomAgentDispatch; static equals(a: RoomAgentDispatch | PlainMessage | undefined, b: RoomAgentDispatch | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DeleteAgentDispatchRequest */ declare class DeleteAgentDispatchRequest extends Message { /** * @generated from field: string dispatch_id = 1; */ dispatchId: string; /** * @generated from field: string room = 2; */ room: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DeleteAgentDispatchRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteAgentDispatchRequest; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteAgentDispatchRequest; static fromJsonString(jsonString: string, options?: Partial): DeleteAgentDispatchRequest; static equals(a: DeleteAgentDispatchRequest | PlainMessage | undefined, b: DeleteAgentDispatchRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListAgentDispatchRequest */ declare class ListAgentDispatchRequest extends Message { /** * if set, only the dispatch whose id is given will be returned * * @generated from field: string dispatch_id = 1; */ dispatchId: string; /** * name of the room to list agents for. Must be set. * * @generated from field: string room = 2; */ room: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListAgentDispatchRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentDispatchRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentDispatchRequest; static fromJsonString(jsonString: string, options?: Partial): ListAgentDispatchRequest; static equals(a: ListAgentDispatchRequest | PlainMessage | undefined, b: ListAgentDispatchRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListAgentDispatchResponse */ declare class ListAgentDispatchResponse extends Message { /** * @generated from field: repeated livekit.AgentDispatch agent_dispatches = 1; */ agentDispatches: AgentDispatch[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListAgentDispatchResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListAgentDispatchResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListAgentDispatchResponse; static fromJsonString(jsonString: string, options?: Partial): ListAgentDispatchResponse; static equals(a: ListAgentDispatchResponse | PlainMessage | undefined, b: ListAgentDispatchResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.AgentDispatch */ declare class AgentDispatch extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string agent_name = 2; */ agentName: string; /** * @generated from field: string room = 3; */ room: string; /** * @generated from field: string metadata = 4; */ metadata: string; /** * @generated from field: livekit.AgentDispatchState state = 5; */ state?: AgentDispatchState; /** * cloud only * * @generated from field: livekit.JobRestartPolicy restart_policy = 6; */ restartPolicy: JobRestartPolicy; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.AgentDispatch"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentDispatch; static fromJson(jsonValue: JsonValue, options?: Partial): AgentDispatch; static fromJsonString(jsonString: string, options?: Partial): AgentDispatch; static equals(a: AgentDispatch | PlainMessage | undefined, b: AgentDispatch | PlainMessage | undefined): boolean; } /** * @generated from message livekit.AgentDispatchState */ declare class AgentDispatchState extends Message { /** * For dispatches of tyoe JT_ROOM, there will be at most 1 job. * For dispatches of type JT_PUBLISHER, there will be 1 per publisher. * * @generated from field: repeated livekit.Job jobs = 1; */ jobs: Job[]; /** * @generated from field: int64 created_at = 2; */ createdAt: bigint; /** * @generated from field: int64 deleted_at = 3; */ deletedAt: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.AgentDispatchState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AgentDispatchState; static fromJson(jsonValue: JsonValue, options?: Partial): AgentDispatchState; static fromJsonString(jsonString: string, options?: Partial): AgentDispatchState; static equals(a: AgentDispatchState | PlainMessage | undefined, b: AgentDispatchState | PlainMessage | undefined): boolean; } // Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js" // @generated from file livekit_connector.proto (package livekit, syntax proto3) /* eslint-disable */ // @ts-nocheck /** * @generated from enum livekit.ConnectorType */ declare enum ConnectorType { /** * @generated from enum value: Unspecified = 0; */ Unspecified = 0, /** * @generated from enum value: WhatsApp = 1; */ WhatsApp = 1, /** * @generated from enum value: Twilio = 2; */ Twilio = 2, } // Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. /** * @generated from message livekit.ConnectTwilioCallRequest */ declare class ConnectTwilioCallRequest extends Message { /** * The Direction of the call * * @generated from field: livekit.ConnectTwilioCallRequest.TwilioCallDirection twilio_call_direction = 1; */ twilioCallDirection: ConnectTwilioCallRequest_TwilioCallDirection; /** * What LiveKit room should this call be connected to * * @generated from field: string room_name = 2; */ roomName: string; /** * Optional agents to dispatch the call to * * @generated from field: repeated livekit.RoomAgentDispatch agents = 3; */ agents: RoomAgentDispatch[]; /** * Optional identity of the participant in LiveKit room * This is used for logging purposes, so it is advised to not put PII in this field. * * @generated from field: string participant_identity = 4; */ participantIdentity: string; /** * Optional name of the participant in LiveKit room * * @generated from field: string participant_name = 5; */ participantName: string; /** * Optional user-defined metadata. Will be attached to a created Participant in the room. * * @generated from field: string participant_metadata = 6; */ participantMetadata: string; /** * Optional user-defined attributes. Will be attached to a created Participant in the room. * * @generated from field: map participant_attributes = 7; */ participantAttributes: { [key: string]: string }; /** * Country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls. * * @generated from field: string destination_country = 8; */ destinationCountry: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ConnectTwilioCallRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ConnectTwilioCallRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ConnectTwilioCallRequest; static fromJsonString(jsonString: string, options?: Partial): ConnectTwilioCallRequest; static equals(a: ConnectTwilioCallRequest | PlainMessage | undefined, b: ConnectTwilioCallRequest | PlainMessage | undefined): boolean; } /** * @generated from enum livekit.ConnectTwilioCallRequest.TwilioCallDirection */ declare enum ConnectTwilioCallRequest_TwilioCallDirection { /** * Call is inbound to LiveKit from Twilio * * @generated from enum value: TWILIO_CALL_DIRECTION_INBOUND = 0; */ INBOUND = 0, /** * Call is outbound from LiveKit to Twilio * * @generated from enum value: TWILIO_CALL_DIRECTION_OUTBOUND = 1; */ OUTBOUND = 1, } /** * @generated from message livekit.ConnectTwilioCallResponse */ declare class ConnectTwilioCallResponse extends Message { /** * The websocket URL which twilio media stream will connect to * * @generated from field: string connect_url = 1; */ connectUrl: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ConnectTwilioCallResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ConnectTwilioCallResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ConnectTwilioCallResponse; static fromJsonString(jsonString: string, options?: Partial): ConnectTwilioCallResponse; static equals(a: ConnectTwilioCallResponse | PlainMessage | undefined, b: ConnectTwilioCallResponse | PlainMessage | undefined): boolean; } // Copyright 2023 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. /** * @generated from enum livekit.SignalTarget */ declare enum SignalTarget { /** * @generated from enum value: PUBLISHER = 0; */ PUBLISHER = 0, /** * @generated from enum value: SUBSCRIBER = 1; */ SUBSCRIBER = 1, } /** * @generated from enum livekit.StreamState */ declare enum StreamState { /** * @generated from enum value: ACTIVE = 0; */ ACTIVE = 0, /** * @generated from enum value: PAUSED = 1; */ PAUSED = 1, } /** * @generated from enum livekit.CandidateProtocol */ declare enum CandidateProtocol { /** * @generated from enum value: UDP = 0; */ UDP = 0, /** * @generated from enum value: TCP = 1; */ TCP = 1, /** * @generated from enum value: TLS = 2; */ TLS = 2, } /** * @generated from message livekit.SignalRequest */ declare class SignalRequest extends Message { /** * @generated from oneof livekit.SignalRequest.message */ message: { /** * participant offer for publisher * * @generated from field: livekit.SessionDescription offer = 1; */ value: SessionDescription; case: "offer"; } | { /** * participant answering subscriber offer * * @generated from field: livekit.SessionDescription answer = 2; */ value: SessionDescription; case: "answer"; } | { /** * @generated from field: livekit.TrickleRequest trickle = 3; */ value: TrickleRequest; case: "trickle"; } | { /** * @generated from field: livekit.AddTrackRequest add_track = 4; */ value: AddTrackRequest; case: "addTrack"; } | { /** * mute the participant's published tracks * * @generated from field: livekit.MuteTrackRequest mute = 5; */ value: MuteTrackRequest; case: "mute"; } | { /** * Subscribe or unsubscribe from tracks * * @generated from field: livekit.UpdateSubscription subscription = 6; */ value: UpdateSubscription; case: "subscription"; } | { /** * Update settings of subscribed tracks * * @generated from field: livekit.UpdateTrackSettings track_setting = 7; */ value: UpdateTrackSettings; case: "trackSetting"; } | { /** * Immediately terminate session * * @generated from field: livekit.LeaveRequest leave = 8; */ value: LeaveRequest; case: "leave"; } | { /** * Update published video layers * * @generated from field: livekit.UpdateVideoLayers update_layers = 10 [deprecated = true]; * @deprecated */ value: UpdateVideoLayers; case: "updateLayers"; } | { /** * Update subscriber permissions * * @generated from field: livekit.SubscriptionPermission subscription_permission = 11; */ value: SubscriptionPermission; case: "subscriptionPermission"; } | { /** * sync client's subscribe state to server during reconnect * * @generated from field: livekit.SyncState sync_state = 12; */ value: SyncState; case: "syncState"; } | { /** * Simulate conditions, for client validations * * @generated from field: livekit.SimulateScenario simulate = 13; */ value: SimulateScenario; case: "simulate"; } | { /** * client triggered ping to server * * deprecated by ping_req (message Ping) * * @generated from field: int64 ping = 14; */ value: bigint; case: "ping"; } | { /** * update a participant's own metadata, name, or attributes * requires canUpdateOwnParticipantMetadata permission * * @generated from field: livekit.UpdateParticipantMetadata update_metadata = 15; */ value: UpdateParticipantMetadata; case: "updateMetadata"; } | { /** * @generated from field: livekit.Ping ping_req = 16; */ value: Ping; case: "pingReq"; } | { /** * Update local audio track settings * * @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 17; */ value: UpdateLocalAudioTrack; case: "updateAudioTrack"; } | { /** * Update local video track settings * * @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 18; */ value: UpdateLocalVideoTrack; case: "updateVideoTrack"; } | { /** * Publish a data track * * @generated from field: livekit.PublishDataTrackRequest publish_data_track_request = 19; */ value: PublishDataTrackRequest; case: "publishDataTrackRequest"; } | { /** * Unpublish a data track * * @generated from field: livekit.UnpublishDataTrackRequest unpublish_data_track_request = 20; */ value: UnpublishDataTrackRequest; case: "unpublishDataTrackRequest"; } | { /** * Update subscription state for one or more data tracks * * @generated from field: livekit.UpdateDataSubscription update_data_subscription = 21; */ value: UpdateDataSubscription; case: "updateDataSubscription"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SignalRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SignalRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SignalRequest; static fromJsonString(jsonString: string, options?: Partial): SignalRequest; static equals(a: SignalRequest | PlainMessage | undefined, b: SignalRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SignalResponse */ declare class SignalResponse extends Message { /** * @generated from oneof livekit.SignalResponse.message */ message: { /** * sent when join is accepted * * @generated from field: livekit.JoinResponse join = 1; */ value: JoinResponse; case: "join"; } | { /** * sent when server answers publisher * * @generated from field: livekit.SessionDescription answer = 2; */ value: SessionDescription; case: "answer"; } | { /** * sent when server is sending subscriber an offer * * @generated from field: livekit.SessionDescription offer = 3; */ value: SessionDescription; case: "offer"; } | { /** * sent when an ICE candidate is available * * @generated from field: livekit.TrickleRequest trickle = 4; */ value: TrickleRequest; case: "trickle"; } | { /** * sent when participants in the room has changed * * @generated from field: livekit.ParticipantUpdate update = 5; */ value: ParticipantUpdate; case: "update"; } | { /** * sent to the participant when their track has been published * * @generated from field: livekit.TrackPublishedResponse track_published = 6; */ value: TrackPublishedResponse; case: "trackPublished"; } | { /** * Immediately terminate session * * @generated from field: livekit.LeaveRequest leave = 8; */ value: LeaveRequest; case: "leave"; } | { /** * server initiated mute * * @generated from field: livekit.MuteTrackRequest mute = 9; */ value: MuteTrackRequest; case: "mute"; } | { /** * indicates changes to speaker status, including when they've gone to not speaking * * @generated from field: livekit.SpeakersChanged speakers_changed = 10; */ value: SpeakersChanged; case: "speakersChanged"; } | { /** * sent when metadata of the room has changed * * @generated from field: livekit.RoomUpdate room_update = 11; */ value: RoomUpdate; case: "roomUpdate"; } | { /** * when connection quality changed * * @generated from field: livekit.ConnectionQualityUpdate connection_quality = 12; */ value: ConnectionQualityUpdate; case: "connectionQuality"; } | { /** * when streamed tracks state changed, used to notify when any of the streams were paused due to * congestion * * @generated from field: livekit.StreamStateUpdate stream_state_update = 13; */ value: StreamStateUpdate; case: "streamStateUpdate"; } | { /** * when max subscribe quality changed, used by dynamic broadcasting to disable unused layers * * @generated from field: livekit.SubscribedQualityUpdate subscribed_quality_update = 14; */ value: SubscribedQualityUpdate; case: "subscribedQualityUpdate"; } | { /** * when subscription permission changed * * @generated from field: livekit.SubscriptionPermissionUpdate subscription_permission_update = 15; */ value: SubscriptionPermissionUpdate; case: "subscriptionPermissionUpdate"; } | { /** * update the token the client was using, to prevent an active client from using an expired token * * @generated from field: string refresh_token = 16; */ value: string; case: "refreshToken"; } | { /** * server initiated track unpublish * * @generated from field: livekit.TrackUnpublishedResponse track_unpublished = 17; */ value: TrackUnpublishedResponse; case: "trackUnpublished"; } | { /** * respond to ping * * deprecated by pong_resp (message Pong) * * @generated from field: int64 pong = 18; */ value: bigint; case: "pong"; } | { /** * sent when client reconnects * * @generated from field: livekit.ReconnectResponse reconnect = 19; */ value: ReconnectResponse; case: "reconnect"; } | { /** * respond to Ping * * @generated from field: livekit.Pong pong_resp = 20; */ value: Pong; case: "pongResp"; } | { /** * Subscription response, client should not expect any media from this subscription if it fails * * @generated from field: livekit.SubscriptionResponse subscription_response = 21; */ value: SubscriptionResponse; case: "subscriptionResponse"; } | { /** * Response relating to user inititated requests that carry a `request_id` * * @generated from field: livekit.RequestResponse request_response = 22; */ value: RequestResponse; case: "requestResponse"; } | { /** * notify to the publisher when a published track has been subscribed for the first time * * @generated from field: livekit.TrackSubscribed track_subscribed = 23; */ value: TrackSubscribed; case: "trackSubscribed"; } | { /** * notify to the participant when they have been moved to a new room * * @generated from field: livekit.RoomMovedResponse room_moved = 24; */ value: RoomMovedResponse; case: "roomMoved"; } | { /** * notify number of required media sections to satisfy subscribed tracks * * @generated from field: livekit.MediaSectionsRequirement media_sections_requirement = 25; */ value: MediaSectionsRequirement; case: "mediaSectionsRequirement"; } | { /** * when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions * * @generated from field: livekit.SubscribedAudioCodecUpdate subscribed_audio_codec_update = 26; */ value: SubscribedAudioCodecUpdate; case: "subscribedAudioCodecUpdate"; } | { /** * Sent in response to `PublishDataTrackRequest`. * * @generated from field: livekit.PublishDataTrackResponse publish_data_track_response = 27; */ value: PublishDataTrackResponse; case: "publishDataTrackResponse"; } | { /** * Sent in response to `UnpublishDataTrackRequest` or SFU-initiated unpublish. * * @generated from field: livekit.UnpublishDataTrackResponse unpublish_data_track_response = 28; */ value: UnpublishDataTrackResponse; case: "unpublishDataTrackResponse"; } | { /** * Sent to data track subscribers to provide mapping from track SIDs to handles. * * @generated from field: livekit.DataTrackSubscriberHandles data_track_subscriber_handles = 29; */ value: DataTrackSubscriberHandles; case: "dataTrackSubscriberHandles"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SignalResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SignalResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SignalResponse; static fromJsonString(jsonString: string, options?: Partial): SignalResponse; static equals(a: SignalResponse | PlainMessage | undefined, b: SignalResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SimulcastCodec */ declare class SimulcastCodec extends Message { /** * @generated from field: string codec = 1; */ codec: string; /** * @generated from field: string cid = 2; */ cid: string; /** * @generated from field: repeated livekit.VideoLayer layers = 4; */ layers: VideoLayer[]; /** * @generated from field: livekit.VideoLayer.Mode video_layer_mode = 5; */ videoLayerMode: VideoLayer_Mode; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SimulcastCodec"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SimulcastCodec; static fromJson(jsonValue: JsonValue, options?: Partial): SimulcastCodec; static fromJsonString(jsonString: string, options?: Partial): SimulcastCodec; static equals(a: SimulcastCodec | PlainMessage | undefined, b: SimulcastCodec | PlainMessage | undefined): boolean; } /** * @generated from message livekit.AddTrackRequest */ declare class AddTrackRequest extends Message { /** * client ID of track, to match it when RTC track is received * * @generated from field: string cid = 1; */ cid: string; /** * @generated from field: string name = 2; */ name: string; /** * @generated from field: livekit.TrackType type = 3; */ type: TrackType; /** * @generated from field: uint32 width = 4; */ width: number; /** * @generated from field: uint32 height = 5; */ height: number; /** * true to add track and initialize to muted * * @generated from field: bool muted = 6; */ muted: boolean; /** * true if DTX (Discontinuous Transmission) is disabled for audio * * deprecated in favor of audio_features * * @generated from field: bool disable_dtx = 7 [deprecated = true]; * @deprecated */ disableDtx: boolean; /** * @generated from field: livekit.TrackSource source = 8; */ source: TrackSource; /** * @generated from field: repeated livekit.VideoLayer layers = 9; */ layers: VideoLayer[]; /** * @generated from field: repeated livekit.SimulcastCodec simulcast_codecs = 10; */ simulcastCodecs: SimulcastCodec[]; /** * server ID of track, publish new codec to exist track * * @generated from field: string sid = 11; */ sid: string; /** * deprecated in favor of audio_features * * @generated from field: bool stereo = 12 [deprecated = true]; * @deprecated */ stereo: boolean; /** * true if RED (Redundant Encoding) is disabled for audio * * @generated from field: bool disable_red = 13; */ disableRed: boolean; /** * @generated from field: livekit.Encryption.Type encryption = 14; */ encryption: Encryption_Type; /** * which stream the track belongs to, used to group tracks together. * if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together * * @generated from field: string stream = 15; */ stream: string; /** * @generated from field: livekit.BackupCodecPolicy backup_codec_policy = 16; */ backupCodecPolicy: BackupCodecPolicy; /** * @generated from field: repeated livekit.AudioTrackFeature audio_features = 17; */ audioFeatures: AudioTrackFeature[]; /** * @generated from field: repeated livekit.PacketTrailerFeature packet_trailer_features = 18; */ packetTrailerFeatures: PacketTrailerFeature[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.AddTrackRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AddTrackRequest; static fromJson(jsonValue: JsonValue, options?: Partial): AddTrackRequest; static fromJsonString(jsonString: string, options?: Partial): AddTrackRequest; static equals(a: AddTrackRequest | PlainMessage | undefined, b: AddTrackRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.PublishDataTrackRequest */ declare class PublishDataTrackRequest extends Message { /** * Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher. * This must be non-zero and unique for each data track published by the publisher. * * @generated from field: uint32 pub_handle = 1; */ pubHandle: number; /** * Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher. * This must be non-empty and no longer than 256 characters. * * @generated from field: string name = 2; */ name: string; /** * Method used for end-to-end encryption (E2EE) on frame payloads. * * @generated from field: livekit.Encryption.Type encryption = 3; */ encryption: Encryption_Type; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.PublishDataTrackRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PublishDataTrackRequest; static fromJson(jsonValue: JsonValue, options?: Partial): PublishDataTrackRequest; static fromJsonString(jsonString: string, options?: Partial): PublishDataTrackRequest; static equals(a: PublishDataTrackRequest | PlainMessage | undefined, b: PublishDataTrackRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.PublishDataTrackResponse */ declare class PublishDataTrackResponse extends Message { /** * Information about the published track. * * @generated from field: livekit.DataTrackInfo info = 1; */ info?: DataTrackInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.PublishDataTrackResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PublishDataTrackResponse; static fromJson(jsonValue: JsonValue, options?: Partial): PublishDataTrackResponse; static fromJsonString(jsonString: string, options?: Partial): PublishDataTrackResponse; static equals(a: PublishDataTrackResponse | PlainMessage | undefined, b: PublishDataTrackResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UnpublishDataTrackRequest */ declare class UnpublishDataTrackRequest extends Message { /** * Publisher handle of the track to unpublish. * * @generated from field: uint32 pub_handle = 1; */ pubHandle: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UnpublishDataTrackRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UnpublishDataTrackRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UnpublishDataTrackRequest; static fromJsonString(jsonString: string, options?: Partial): UnpublishDataTrackRequest; static equals(a: UnpublishDataTrackRequest | PlainMessage | undefined, b: UnpublishDataTrackRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UnpublishDataTrackResponse */ declare class UnpublishDataTrackResponse extends Message { /** * Information about the unpublished track. * * @generated from field: livekit.DataTrackInfo info = 1; */ info?: DataTrackInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UnpublishDataTrackResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UnpublishDataTrackResponse; static fromJson(jsonValue: JsonValue, options?: Partial): UnpublishDataTrackResponse; static fromJsonString(jsonString: string, options?: Partial): UnpublishDataTrackResponse; static equals(a: UnpublishDataTrackResponse | PlainMessage | undefined, b: UnpublishDataTrackResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DataTrackSubscriberHandles */ declare class DataTrackSubscriberHandles extends Message { /** * Maps handles from incoming packets to the track SIDs that the packets belong to. * * @generated from field: map sub_handles = 1; */ subHandles: { [key: number]: DataTrackSubscriberHandles_PublishedDataTrack }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DataTrackSubscriberHandles"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataTrackSubscriberHandles; static fromJson(jsonValue: JsonValue, options?: Partial): DataTrackSubscriberHandles; static fromJsonString(jsonString: string, options?: Partial): DataTrackSubscriberHandles; static equals(a: DataTrackSubscriberHandles | PlainMessage | undefined, b: DataTrackSubscriberHandles | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DataTrackSubscriberHandles.PublishedDataTrack */ declare class DataTrackSubscriberHandles_PublishedDataTrack extends Message { /** * @generated from field: string publisher_identity = 1; */ publisherIdentity: string; /** * @generated from field: string publisher_sid = 2; */ publisherSid: string; /** * @generated from field: string track_sid = 3; */ trackSid: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DataTrackSubscriberHandles.PublishedDataTrack"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataTrackSubscriberHandles_PublishedDataTrack; static fromJson(jsonValue: JsonValue, options?: Partial): DataTrackSubscriberHandles_PublishedDataTrack; static fromJsonString(jsonString: string, options?: Partial): DataTrackSubscriberHandles_PublishedDataTrack; static equals(a: DataTrackSubscriberHandles_PublishedDataTrack | PlainMessage | undefined, b: DataTrackSubscriberHandles_PublishedDataTrack | PlainMessage | undefined): boolean; } /** * @generated from message livekit.TrickleRequest */ declare class TrickleRequest extends Message { /** * @generated from field: string candidateInit = 1; */ candidateInit: string; /** * @generated from field: livekit.SignalTarget target = 2; */ target: SignalTarget; /** * @generated from field: bool final = 3; */ final: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TrickleRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrickleRequest; static fromJson(jsonValue: JsonValue, options?: Partial): TrickleRequest; static fromJsonString(jsonString: string, options?: Partial): TrickleRequest; static equals(a: TrickleRequest | PlainMessage | undefined, b: TrickleRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.MuteTrackRequest */ declare class MuteTrackRequest extends Message { /** * @generated from field: string sid = 1; */ sid: string; /** * @generated from field: bool muted = 2; */ muted: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.MuteTrackRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MuteTrackRequest; static fromJson(jsonValue: JsonValue, options?: Partial): MuteTrackRequest; static fromJsonString(jsonString: string, options?: Partial): MuteTrackRequest; static equals(a: MuteTrackRequest | PlainMessage | undefined, b: MuteTrackRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.JoinResponse */ declare class JoinResponse extends Message { /** * @generated from field: livekit.Room room = 1; */ room?: Room; /** * @generated from field: livekit.ParticipantInfo participant = 2; */ participant?: ParticipantInfo; /** * @generated from field: repeated livekit.ParticipantInfo other_participants = 3; */ otherParticipants: ParticipantInfo[]; /** * deprecated. use server_info.version instead. * * @generated from field: string server_version = 4; */ serverVersion: string; /** * @generated from field: repeated livekit.ICEServer ice_servers = 5; */ iceServers: ICEServer[]; /** * use subscriber as the primary PeerConnection * * @generated from field: bool subscriber_primary = 6; */ subscriberPrimary: boolean; /** * when the current server isn't available, return alternate url to retry connection * when this is set, the other fields will be largely empty * * @generated from field: string alternative_url = 7; */ alternativeUrl: string; /** * @generated from field: livekit.ClientConfiguration client_configuration = 8; */ clientConfiguration?: ClientConfiguration; /** * deprecated. use server_info.region instead. * * @generated from field: string server_region = 9; */ serverRegion: string; /** * @generated from field: int32 ping_timeout = 10; */ pingTimeout: number; /** * @generated from field: int32 ping_interval = 11; */ pingInterval: number; /** * @generated from field: livekit.ServerInfo server_info = 12; */ serverInfo?: ServerInfo; /** * Server-Injected-Frame byte trailer, used to identify unencrypted frames when e2ee is enabled * * @generated from field: bytes sif_trailer = 13; */ sifTrailer: Uint8Array; /** * @generated from field: repeated livekit.Codec enabled_publish_codecs = 14; */ enabledPublishCodecs: Codec[]; /** * when set, client should attempt to establish publish peer connection when joining room to speed up publishing * * @generated from field: bool fast_publish = 15; */ fastPublish: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.JoinResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): JoinResponse; static fromJson(jsonValue: JsonValue, options?: Partial): JoinResponse; static fromJsonString(jsonString: string, options?: Partial): JoinResponse; static equals(a: JoinResponse | PlainMessage | undefined, b: JoinResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ReconnectResponse */ declare class ReconnectResponse extends Message { /** * @generated from field: repeated livekit.ICEServer ice_servers = 1; */ iceServers: ICEServer[]; /** * @generated from field: livekit.ClientConfiguration client_configuration = 2; */ clientConfiguration?: ClientConfiguration; /** * @generated from field: livekit.ServerInfo server_info = 3; */ serverInfo?: ServerInfo; /** * last sequence number of reliable message received before resuming * * @generated from field: uint32 last_message_seq = 4; */ lastMessageSeq: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ReconnectResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ReconnectResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ReconnectResponse; static fromJsonString(jsonString: string, options?: Partial): ReconnectResponse; static equals(a: ReconnectResponse | PlainMessage | undefined, b: ReconnectResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.TrackPublishedResponse */ declare class TrackPublishedResponse extends Message { /** * @generated from field: string cid = 1; */ cid: string; /** * @generated from field: livekit.TrackInfo track = 2; */ track?: TrackInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TrackPublishedResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrackPublishedResponse; static fromJson(jsonValue: JsonValue, options?: Partial): TrackPublishedResponse; static fromJsonString(jsonString: string, options?: Partial): TrackPublishedResponse; static equals(a: TrackPublishedResponse | PlainMessage | undefined, b: TrackPublishedResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.TrackUnpublishedResponse */ declare class TrackUnpublishedResponse extends Message { /** * @generated from field: string track_sid = 1; */ trackSid: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TrackUnpublishedResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrackUnpublishedResponse; static fromJson(jsonValue: JsonValue, options?: Partial): TrackUnpublishedResponse; static fromJsonString(jsonString: string, options?: Partial): TrackUnpublishedResponse; static equals(a: TrackUnpublishedResponse | PlainMessage | undefined, b: TrackUnpublishedResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SessionDescription */ declare class SessionDescription extends Message { /** * "answer" | "offer" | "pranswer" | "rollback" * * @generated from field: string type = 1; */ type: string; /** * @generated from field: string sdp = 2; */ sdp: string; /** * @generated from field: uint32 id = 3; */ id: number; /** * @generated from field: map mid_to_track_id = 4; */ midToTrackId: { [key: string]: string }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SessionDescription"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SessionDescription; static fromJson(jsonValue: JsonValue, options?: Partial): SessionDescription; static fromJsonString(jsonString: string, options?: Partial): SessionDescription; static equals(a: SessionDescription | PlainMessage | undefined, b: SessionDescription | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ParticipantUpdate */ declare class ParticipantUpdate extends Message { /** * @generated from field: repeated livekit.ParticipantInfo participants = 1; */ participants: ParticipantInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ParticipantUpdate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantUpdate; static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantUpdate; static fromJsonString(jsonString: string, options?: Partial): ParticipantUpdate; static equals(a: ParticipantUpdate | PlainMessage | undefined, b: ParticipantUpdate | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateSubscription */ declare class UpdateSubscription extends Message { /** * @generated from field: repeated string track_sids = 1; */ trackSids: string[]; /** * @generated from field: bool subscribe = 2; */ subscribe: boolean; /** * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 3; */ participantTracks: ParticipantTracks[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateSubscription"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscription; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscription; static fromJsonString(jsonString: string, options?: Partial): UpdateSubscription; static equals(a: UpdateSubscription | PlainMessage | undefined, b: UpdateSubscription | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateDataSubscription */ declare class UpdateDataSubscription extends Message { /** * @generated from field: repeated livekit.UpdateDataSubscription.Update updates = 1; */ updates: UpdateDataSubscription_Update[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateDataSubscription"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateDataSubscription; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateDataSubscription; static fromJsonString(jsonString: string, options?: Partial): UpdateDataSubscription; static equals(a: UpdateDataSubscription | PlainMessage | undefined, b: UpdateDataSubscription | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateDataSubscription.Update */ declare class UpdateDataSubscription_Update extends Message { /** * @generated from field: string track_sid = 1; */ trackSid: string; /** * @generated from field: bool subscribe = 2; */ subscribe: boolean; /** * Options to apply when initially subscribing or updating an existing subscription. * When unsubscribing, this field is ignored. * * @generated from field: livekit.DataTrackSubscriptionOptions options = 3; */ options?: DataTrackSubscriptionOptions; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateDataSubscription.Update"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateDataSubscription_Update; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateDataSubscription_Update; static fromJsonString(jsonString: string, options?: Partial): UpdateDataSubscription_Update; static equals(a: UpdateDataSubscription_Update | PlainMessage | undefined, b: UpdateDataSubscription_Update | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateTrackSettings */ declare class UpdateTrackSettings extends Message { /** * @generated from field: repeated string track_sids = 1; */ trackSids: string[]; /** * when true, the track is placed in a paused state, with no new data returned * * @generated from field: bool disabled = 3; */ disabled: boolean; /** * deprecated in favor of width & height * * @generated from field: livekit.VideoQuality quality = 4; */ quality: VideoQuality; /** * for video, width to receive * * @generated from field: uint32 width = 5; */ width: number; /** * for video, height to receive * * @generated from field: uint32 height = 6; */ height: number; /** * @generated from field: uint32 fps = 7; */ fps: number; /** * subscription priority. 1 being the highest (0 is unset) * when unset, server sill assign priority based on the order of subscription * server will use priority in the following ways: * 1. when subscribed tracks exceed per-participant subscription limit, server will * pause the lowest priority tracks * 2. when the network is congested, server will assign available bandwidth to * higher priority tracks first. lowest priority tracks can be paused * * @generated from field: uint32 priority = 8; */ priority: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateTrackSettings"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateTrackSettings; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateTrackSettings; static fromJsonString(jsonString: string, options?: Partial): UpdateTrackSettings; static equals(a: UpdateTrackSettings | PlainMessage | undefined, b: UpdateTrackSettings | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateLocalAudioTrack */ declare class UpdateLocalAudioTrack extends Message { /** * @generated from field: string track_sid = 1; */ trackSid: string; /** * @generated from field: repeated livekit.AudioTrackFeature features = 2; */ features: AudioTrackFeature[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateLocalAudioTrack"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLocalAudioTrack; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLocalAudioTrack; static fromJsonString(jsonString: string, options?: Partial): UpdateLocalAudioTrack; static equals(a: UpdateLocalAudioTrack | PlainMessage | undefined, b: UpdateLocalAudioTrack | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateLocalVideoTrack */ declare class UpdateLocalVideoTrack extends Message { /** * @generated from field: string track_sid = 1; */ trackSid: string; /** * @generated from field: uint32 width = 2; */ width: number; /** * @generated from field: uint32 height = 3; */ height: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateLocalVideoTrack"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLocalVideoTrack; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLocalVideoTrack; static fromJsonString(jsonString: string, options?: Partial): UpdateLocalVideoTrack; static equals(a: UpdateLocalVideoTrack | PlainMessage | undefined, b: UpdateLocalVideoTrack | PlainMessage | undefined): boolean; } /** * @generated from message livekit.LeaveRequest */ declare class LeaveRequest extends Message { /** * sent when server initiates the disconnect due to server-restart * indicates clients should attempt full-reconnect sequence * NOTE: `can_reconnect` obsoleted by `action` starting in protocol version 13 * * @generated from field: bool can_reconnect = 1; */ canReconnect: boolean; /** * @generated from field: livekit.DisconnectReason reason = 2; */ reason: DisconnectReason; /** * @generated from field: livekit.LeaveRequest.Action action = 3; */ action: LeaveRequest_Action; /** * @generated from field: livekit.RegionSettings regions = 4; */ regions?: RegionSettings; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.LeaveRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): LeaveRequest; static fromJson(jsonValue: JsonValue, options?: Partial): LeaveRequest; static fromJsonString(jsonString: string, options?: Partial): LeaveRequest; static equals(a: LeaveRequest | PlainMessage | undefined, b: LeaveRequest | PlainMessage | undefined): boolean; } /** * indicates action clients should take on receiving this message * * @generated from enum livekit.LeaveRequest.Action */ declare enum LeaveRequest_Action { /** * should disconnect * * @generated from enum value: DISCONNECT = 0; */ DISCONNECT = 0, /** * should attempt a resume with `reconnect=1` in join URL * * @generated from enum value: RESUME = 1; */ RESUME = 1, /** * should attempt a reconnect, i. e. no `reconnect=1` * * @generated from enum value: RECONNECT = 2; */ RECONNECT = 2, } /** * message to indicate published video track dimensions are changing * * @generated from message livekit.UpdateVideoLayers * @deprecated */ declare class UpdateVideoLayers extends Message { /** * @generated from field: string track_sid = 1; */ trackSid: string; /** * @generated from field: repeated livekit.VideoLayer layers = 2; */ layers: VideoLayer[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateVideoLayers"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateVideoLayers; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateVideoLayers; static fromJsonString(jsonString: string, options?: Partial): UpdateVideoLayers; static equals(a: UpdateVideoLayers | PlainMessage | undefined, b: UpdateVideoLayers | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateParticipantMetadata */ declare class UpdateParticipantMetadata extends Message { /** * @generated from field: string metadata = 1; */ metadata: string; /** * @generated from field: string name = 2; */ name: string; /** * attributes to update. it only updates attributes that have been set * to delete attributes, set the value to an empty string * * @generated from field: map attributes = 3; */ attributes: { [key: string]: string }; /** * @generated from field: uint32 request_id = 4; */ requestId: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateParticipantMetadata"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateParticipantMetadata; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateParticipantMetadata; static fromJsonString(jsonString: string, options?: Partial): UpdateParticipantMetadata; static equals(a: UpdateParticipantMetadata | PlainMessage | undefined, b: UpdateParticipantMetadata | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ICEServer */ declare class ICEServer extends Message { /** * @generated from field: repeated string urls = 1; */ urls: string[]; /** * @generated from field: string username = 2; */ username: string; /** * @generated from field: string credential = 3; */ credential: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ICEServer"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ICEServer; static fromJson(jsonValue: JsonValue, options?: Partial): ICEServer; static fromJsonString(jsonString: string, options?: Partial): ICEServer; static equals(a: ICEServer | PlainMessage | undefined, b: ICEServer | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SpeakersChanged */ declare class SpeakersChanged extends Message { /** * @generated from field: repeated livekit.SpeakerInfo speakers = 1; */ speakers: SpeakerInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SpeakersChanged"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SpeakersChanged; static fromJson(jsonValue: JsonValue, options?: Partial): SpeakersChanged; static fromJsonString(jsonString: string, options?: Partial): SpeakersChanged; static equals(a: SpeakersChanged | PlainMessage | undefined, b: SpeakersChanged | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RoomUpdate */ declare class RoomUpdate extends Message { /** * @generated from field: livekit.Room room = 1; */ room?: Room; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RoomUpdate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RoomUpdate; static fromJson(jsonValue: JsonValue, options?: Partial): RoomUpdate; static fromJsonString(jsonString: string, options?: Partial): RoomUpdate; static equals(a: RoomUpdate | PlainMessage | undefined, b: RoomUpdate | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ConnectionQualityInfo */ declare class ConnectionQualityInfo extends Message { /** * @generated from field: string participant_sid = 1; */ participantSid: string; /** * @generated from field: livekit.ConnectionQuality quality = 2; */ quality: ConnectionQuality; /** * @generated from field: float score = 3; */ score: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ConnectionQualityInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionQualityInfo; static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionQualityInfo; static fromJsonString(jsonString: string, options?: Partial): ConnectionQualityInfo; static equals(a: ConnectionQualityInfo | PlainMessage | undefined, b: ConnectionQualityInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ConnectionQualityUpdate */ declare class ConnectionQualityUpdate extends Message { /** * @generated from field: repeated livekit.ConnectionQualityInfo updates = 1; */ updates: ConnectionQualityInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ConnectionQualityUpdate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionQualityUpdate; static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionQualityUpdate; static fromJsonString(jsonString: string, options?: Partial): ConnectionQualityUpdate; static equals(a: ConnectionQualityUpdate | PlainMessage | undefined, b: ConnectionQualityUpdate | PlainMessage | undefined): boolean; } /** * @generated from message livekit.StreamStateInfo */ declare class StreamStateInfo extends Message { /** * @generated from field: string participant_sid = 1; */ participantSid: string; /** * @generated from field: string track_sid = 2; */ trackSid: string; /** * @generated from field: livekit.StreamState state = 3; */ state: StreamState; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.StreamStateInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StreamStateInfo; static fromJson(jsonValue: JsonValue, options?: Partial): StreamStateInfo; static fromJsonString(jsonString: string, options?: Partial): StreamStateInfo; static equals(a: StreamStateInfo | PlainMessage | undefined, b: StreamStateInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.StreamStateUpdate */ declare class StreamStateUpdate extends Message { /** * @generated from field: repeated livekit.StreamStateInfo stream_states = 1; */ streamStates: StreamStateInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.StreamStateUpdate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StreamStateUpdate; static fromJson(jsonValue: JsonValue, options?: Partial): StreamStateUpdate; static fromJsonString(jsonString: string, options?: Partial): StreamStateUpdate; static equals(a: StreamStateUpdate | PlainMessage | undefined, b: StreamStateUpdate | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SubscribedQuality */ declare class SubscribedQuality extends Message { /** * @generated from field: livekit.VideoQuality quality = 1; */ quality: VideoQuality; /** * @generated from field: bool enabled = 2; */ enabled: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SubscribedQuality"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedQuality; static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedQuality; static fromJsonString(jsonString: string, options?: Partial): SubscribedQuality; static equals(a: SubscribedQuality | PlainMessage | undefined, b: SubscribedQuality | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SubscribedCodec */ declare class SubscribedCodec extends Message { /** * @generated from field: string codec = 1; */ codec: string; /** * @generated from field: repeated livekit.SubscribedQuality qualities = 2; */ qualities: SubscribedQuality[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SubscribedCodec"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedCodec; static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedCodec; static fromJsonString(jsonString: string, options?: Partial): SubscribedCodec; static equals(a: SubscribedCodec | PlainMessage | undefined, b: SubscribedCodec | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SubscribedQualityUpdate */ declare class SubscribedQualityUpdate extends Message { /** * @generated from field: string track_sid = 1; */ trackSid: string; /** * @generated from field: repeated livekit.SubscribedQuality subscribed_qualities = 2 [deprecated = true]; * @deprecated */ subscribedQualities: SubscribedQuality[]; /** * @generated from field: repeated livekit.SubscribedCodec subscribed_codecs = 3; */ subscribedCodecs: SubscribedCodec[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SubscribedQualityUpdate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedQualityUpdate; static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedQualityUpdate; static fromJsonString(jsonString: string, options?: Partial): SubscribedQualityUpdate; static equals(a: SubscribedQualityUpdate | PlainMessage | undefined, b: SubscribedQualityUpdate | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SubscribedAudioCodecUpdate */ declare class SubscribedAudioCodecUpdate extends Message { /** * @generated from field: string track_sid = 1; */ trackSid: string; /** * @generated from field: repeated livekit.SubscribedAudioCodec subscribed_audio_codecs = 2; */ subscribedAudioCodecs: SubscribedAudioCodec[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SubscribedAudioCodecUpdate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SubscribedAudioCodecUpdate; static fromJson(jsonValue: JsonValue, options?: Partial): SubscribedAudioCodecUpdate; static fromJsonString(jsonString: string, options?: Partial): SubscribedAudioCodecUpdate; static equals(a: SubscribedAudioCodecUpdate | PlainMessage | undefined, b: SubscribedAudioCodecUpdate | PlainMessage | undefined): boolean; } /** * @generated from message livekit.TrackPermission */ declare class TrackPermission extends Message { /** * permission could be granted either by participant sid or identity * * @generated from field: string participant_sid = 1; */ participantSid: string; /** * @generated from field: bool all_tracks = 2; */ allTracks: boolean; /** * @generated from field: repeated string track_sids = 3; */ trackSids: string[]; /** * @generated from field: string participant_identity = 4; */ participantIdentity: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TrackPermission"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrackPermission; static fromJson(jsonValue: JsonValue, options?: Partial): TrackPermission; static fromJsonString(jsonString: string, options?: Partial): TrackPermission; static equals(a: TrackPermission | PlainMessage | undefined, b: TrackPermission | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SubscriptionPermission */ declare class SubscriptionPermission extends Message { /** * @generated from field: bool all_participants = 1; */ allParticipants: boolean; /** * @generated from field: repeated livekit.TrackPermission track_permissions = 2; */ trackPermissions: TrackPermission[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SubscriptionPermission"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionPermission; static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionPermission; static fromJsonString(jsonString: string, options?: Partial): SubscriptionPermission; static equals(a: SubscriptionPermission | PlainMessage | undefined, b: SubscriptionPermission | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SubscriptionPermissionUpdate */ declare class SubscriptionPermissionUpdate extends Message { /** * @generated from field: string participant_sid = 1; */ participantSid: string; /** * @generated from field: string track_sid = 2; */ trackSid: string; /** * @generated from field: bool allowed = 3; */ allowed: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SubscriptionPermissionUpdate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionPermissionUpdate; static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionPermissionUpdate; static fromJsonString(jsonString: string, options?: Partial): SubscriptionPermissionUpdate; static equals(a: SubscriptionPermissionUpdate | PlainMessage | undefined, b: SubscriptionPermissionUpdate | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RoomMovedResponse */ declare class RoomMovedResponse extends Message { /** * information about the new room * * @generated from field: livekit.Room room = 1; */ room?: Room; /** * new reconnect token that can be used to reconnect to the new room * * @generated from field: string token = 2; */ token: string; /** * @generated from field: livekit.ParticipantInfo participant = 3; */ participant?: ParticipantInfo; /** * @generated from field: repeated livekit.ParticipantInfo other_participants = 4; */ otherParticipants: ParticipantInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RoomMovedResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RoomMovedResponse; static fromJson(jsonValue: JsonValue, options?: Partial): RoomMovedResponse; static fromJsonString(jsonString: string, options?: Partial): RoomMovedResponse; static equals(a: RoomMovedResponse | PlainMessage | undefined, b: RoomMovedResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SyncState */ declare class SyncState extends Message { /** * last subscribe/publish answer before reconnecting * subscribe answer if using dual peer connection * publish answer if using single peer connection * * @generated from field: livekit.SessionDescription answer = 1; */ answer?: SessionDescription; /** * @generated from field: livekit.UpdateSubscription subscription = 2; */ subscription?: UpdateSubscription; /** * @generated from field: repeated livekit.TrackPublishedResponse publish_tracks = 3; */ publishTracks: TrackPublishedResponse[]; /** * @generated from field: repeated livekit.DataChannelInfo data_channels = 4; */ dataChannels: DataChannelInfo[]; /** * last received server side offer/sent client side offer before reconnecting * received server side offer if using dual peer connection * sent client side offer if using single peer connection * * @generated from field: livekit.SessionDescription offer = 5; */ offer?: SessionDescription; /** * @generated from field: repeated string track_sids_disabled = 6; */ trackSidsDisabled: string[]; /** * @generated from field: repeated livekit.DataChannelReceiveState datachannel_receive_states = 7; */ datachannelReceiveStates: DataChannelReceiveState[]; /** * @generated from field: repeated livekit.PublishDataTrackResponse publish_data_tracks = 8; */ publishDataTracks: PublishDataTrackResponse[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SyncState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SyncState; static fromJson(jsonValue: JsonValue, options?: Partial): SyncState; static fromJsonString(jsonString: string, options?: Partial): SyncState; static equals(a: SyncState | PlainMessage | undefined, b: SyncState | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DataChannelReceiveState */ declare class DataChannelReceiveState extends Message { /** * @generated from field: string publisher_sid = 1; */ publisherSid: string; /** * @generated from field: uint32 last_seq = 2; */ lastSeq: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DataChannelReceiveState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataChannelReceiveState; static fromJson(jsonValue: JsonValue, options?: Partial): DataChannelReceiveState; static fromJsonString(jsonString: string, options?: Partial): DataChannelReceiveState; static equals(a: DataChannelReceiveState | PlainMessage | undefined, b: DataChannelReceiveState | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DataChannelInfo */ declare class DataChannelInfo extends Message { /** * @generated from field: string label = 1; */ label: string; /** * @generated from field: uint32 id = 2; */ id: number; /** * @generated from field: livekit.SignalTarget target = 3; */ target: SignalTarget; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DataChannelInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataChannelInfo; static fromJson(jsonValue: JsonValue, options?: Partial): DataChannelInfo; static fromJsonString(jsonString: string, options?: Partial): DataChannelInfo; static equals(a: DataChannelInfo | PlainMessage | undefined, b: DataChannelInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SimulateScenario */ declare class SimulateScenario extends Message { /** * @generated from oneof livekit.SimulateScenario.scenario */ scenario: { /** * simulate N seconds of speaker activity * * @generated from field: int32 speaker_update = 1; */ value: number; case: "speakerUpdate"; } | { /** * simulate local node failure * * @generated from field: bool node_failure = 2; */ value: boolean; case: "nodeFailure"; } | { /** * simulate migration * * @generated from field: bool migration = 3; */ value: boolean; case: "migration"; } | { /** * server to send leave * * @generated from field: bool server_leave = 4; */ value: boolean; case: "serverLeave"; } | { /** * switch candidate protocol to tcp * * @generated from field: livekit.CandidateProtocol switch_candidate_protocol = 5; */ value: CandidateProtocol; case: "switchCandidateProtocol"; } | { /** * maximum bandwidth for subscribers, in bps * when zero, clears artificial bandwidth limit * * @generated from field: int64 subscriber_bandwidth = 6; */ value: bigint; case: "subscriberBandwidth"; } | { /** * disconnect signal on resume * * @generated from field: bool disconnect_signal_on_resume = 7; */ value: boolean; case: "disconnectSignalOnResume"; } | { /** * disconnect signal on resume before sending any messages from server * * @generated from field: bool disconnect_signal_on_resume_no_messages = 8; */ value: boolean; case: "disconnectSignalOnResumeNoMessages"; } | { /** * full reconnect leave request * * @generated from field: bool leave_request_full_reconnect = 9; */ value: boolean; case: "leaveRequestFullReconnect"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SimulateScenario"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SimulateScenario; static fromJson(jsonValue: JsonValue, options?: Partial): SimulateScenario; static fromJsonString(jsonString: string, options?: Partial): SimulateScenario; static equals(a: SimulateScenario | PlainMessage | undefined, b: SimulateScenario | PlainMessage | undefined): boolean; } /** * @generated from message livekit.Ping */ declare class Ping extends Message { /** * @generated from field: int64 timestamp = 1; */ timestamp: bigint; /** * rtt in milliseconds calculated by client * * @generated from field: int64 rtt = 2; */ rtt: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.Ping"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Ping; static fromJson(jsonValue: JsonValue, options?: Partial): Ping; static fromJsonString(jsonString: string, options?: Partial): Ping; static equals(a: Ping | PlainMessage | undefined, b: Ping | PlainMessage | undefined): boolean; } /** * @generated from message livekit.Pong */ declare class Pong extends Message { /** * timestamp field of last received ping request * * @generated from field: int64 last_ping_timestamp = 1; */ lastPingTimestamp: bigint; /** * @generated from field: int64 timestamp = 2; */ timestamp: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.Pong"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Pong; static fromJson(jsonValue: JsonValue, options?: Partial): Pong; static fromJsonString(jsonString: string, options?: Partial): Pong; static equals(a: Pong | PlainMessage | undefined, b: Pong | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RegionSettings */ declare class RegionSettings extends Message { /** * @generated from field: repeated livekit.RegionInfo regions = 1; */ regions: RegionInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RegionSettings"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RegionSettings; static fromJson(jsonValue: JsonValue, options?: Partial): RegionSettings; static fromJsonString(jsonString: string, options?: Partial): RegionSettings; static equals(a: RegionSettings | PlainMessage | undefined, b: RegionSettings | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RegionInfo */ declare class RegionInfo extends Message { /** * @generated from field: string region = 1; */ region: string; /** * @generated from field: string url = 2; */ url: string; /** * @generated from field: int64 distance = 3; */ distance: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RegionInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RegionInfo; static fromJson(jsonValue: JsonValue, options?: Partial): RegionInfo; static fromJsonString(jsonString: string, options?: Partial): RegionInfo; static equals(a: RegionInfo | PlainMessage | undefined, b: RegionInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SubscriptionResponse */ declare class SubscriptionResponse extends Message { /** * @generated from field: string track_sid = 1; */ trackSid: string; /** * @generated from field: livekit.SubscriptionError err = 2; */ err: SubscriptionError; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SubscriptionResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SubscriptionResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SubscriptionResponse; static fromJsonString(jsonString: string, options?: Partial): SubscriptionResponse; static equals(a: SubscriptionResponse | PlainMessage | undefined, b: SubscriptionResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RequestResponse */ declare class RequestResponse extends Message { /** * @generated from field: uint32 request_id = 1; */ requestId: number; /** * @generated from field: livekit.RequestResponse.Reason reason = 2; */ reason: RequestResponse_Reason; /** * @generated from field: string message = 3; */ message: string; /** * @generated from oneof livekit.RequestResponse.request */ request: { /** * @generated from field: livekit.TrickleRequest trickle = 4; */ value: TrickleRequest; case: "trickle"; } | { /** * @generated from field: livekit.AddTrackRequest add_track = 5; */ value: AddTrackRequest; case: "addTrack"; } | { /** * @generated from field: livekit.MuteTrackRequest mute = 6; */ value: MuteTrackRequest; case: "mute"; } | { /** * @generated from field: livekit.UpdateParticipantMetadata update_metadata = 7; */ value: UpdateParticipantMetadata; case: "updateMetadata"; } | { /** * @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 8; */ value: UpdateLocalAudioTrack; case: "updateAudioTrack"; } | { /** * @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 9; */ value: UpdateLocalVideoTrack; case: "updateVideoTrack"; } | { /** * @generated from field: livekit.PublishDataTrackRequest publish_data_track = 10; */ value: PublishDataTrackRequest; case: "publishDataTrack"; } | { /** * @generated from field: livekit.UnpublishDataTrackRequest unpublish_data_track = 11; */ value: UnpublishDataTrackRequest; case: "unpublishDataTrack"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RequestResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RequestResponse; static fromJson(jsonValue: JsonValue, options?: Partial): RequestResponse; static fromJsonString(jsonString: string, options?: Partial): RequestResponse; static equals(a: RequestResponse | PlainMessage | undefined, b: RequestResponse | PlainMessage | undefined): boolean; } /** * @generated from enum livekit.RequestResponse.Reason */ declare enum RequestResponse_Reason { /** * @generated from enum value: OK = 0; */ OK = 0, /** * @generated from enum value: NOT_FOUND = 1; */ NOT_FOUND = 1, /** * @generated from enum value: NOT_ALLOWED = 2; */ NOT_ALLOWED = 2, /** * @generated from enum value: LIMIT_EXCEEDED = 3; */ LIMIT_EXCEEDED = 3, /** * @generated from enum value: QUEUED = 4; */ QUEUED = 4, /** * @generated from enum value: UNSUPPORTED_TYPE = 5; */ UNSUPPORTED_TYPE = 5, /** * @generated from enum value: UNCLASSIFIED_ERROR = 6; */ UNCLASSIFIED_ERROR = 6, /** * @generated from enum value: INVALID_HANDLE = 7; */ INVALID_HANDLE = 7, /** * @generated from enum value: INVALID_NAME = 8; */ INVALID_NAME = 8, /** * @generated from enum value: DUPLICATE_HANDLE = 9; */ DUPLICATE_HANDLE = 9, /** * @generated from enum value: DUPLICATE_NAME = 10; */ DUPLICATE_NAME = 10, } /** * @generated from message livekit.TrackSubscribed */ declare class TrackSubscribed extends Message { /** * @generated from field: string track_sid = 1; */ trackSid: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TrackSubscribed"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrackSubscribed; static fromJson(jsonValue: JsonValue, options?: Partial): TrackSubscribed; static fromJsonString(jsonString: string, options?: Partial): TrackSubscribed; static equals(a: TrackSubscribed | PlainMessage | undefined, b: TrackSubscribed | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ConnectionSettings */ declare class ConnectionSettings extends Message { /** * @generated from field: bool auto_subscribe = 1; */ autoSubscribe: boolean; /** * @generated from field: bool adaptive_stream = 2; */ adaptiveStream: boolean; /** * @generated from field: optional bool subscriber_allow_pause = 3; */ subscriberAllowPause?: boolean; /** * @generated from field: bool disable_ice_lite = 4; */ disableIceLite: boolean; /** * @generated from field: optional bool auto_subscribe_data_track = 5; */ autoSubscribeDataTrack?: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ConnectionSettings"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ConnectionSettings; static fromJson(jsonValue: JsonValue, options?: Partial): ConnectionSettings; static fromJsonString(jsonString: string, options?: Partial): ConnectionSettings; static equals(a: ConnectionSettings | PlainMessage | undefined, b: ConnectionSettings | PlainMessage | undefined): boolean; } /** * @generated from message livekit.JoinRequest */ declare class JoinRequest extends Message { /** * @generated from field: livekit.ClientInfo client_info = 1; */ clientInfo?: ClientInfo; /** * @generated from field: livekit.ConnectionSettings connection_settings = 2; */ connectionSettings?: ConnectionSettings; /** * if not empty, will overwrite `metadata` in token * * @generated from field: string metadata = 3; */ metadata: string; /** * will set keys provided via this * will overwrite if the same key is in the token * will not delete keys from token if there is a key collision and this sets that key to empty value * * @generated from field: map participant_attributes = 4; */ participantAttributes: { [key: string]: string }; /** * @generated from field: repeated livekit.AddTrackRequest add_track_requests = 5; */ addTrackRequests: AddTrackRequest[]; /** * @generated from field: livekit.SessionDescription publisher_offer = 6; */ publisherOffer?: SessionDescription; /** * @generated from field: bool reconnect = 7; */ reconnect: boolean; /** * @generated from field: livekit.ReconnectReason reconnect_reason = 8; */ reconnectReason: ReconnectReason; /** * @generated from field: string participant_sid = 9; */ participantSid: string; /** * @generated from field: livekit.SyncState sync_state = 10; */ syncState?: SyncState; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.JoinRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): JoinRequest; static fromJson(jsonValue: JsonValue, options?: Partial): JoinRequest; static fromJsonString(jsonString: string, options?: Partial): JoinRequest; static equals(a: JoinRequest | PlainMessage | undefined, b: JoinRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.WrappedJoinRequest */ declare class WrappedJoinRequest extends Message { /** * @generated from field: livekit.WrappedJoinRequest.Compression compression = 1; */ compression: WrappedJoinRequest_Compression; /** * marshalled JoinRequest + potentially compressed * * @generated from field: bytes join_request = 2; */ joinRequest: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.WrappedJoinRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): WrappedJoinRequest; static fromJson(jsonValue: JsonValue, options?: Partial): WrappedJoinRequest; static fromJsonString(jsonString: string, options?: Partial): WrappedJoinRequest; static equals(a: WrappedJoinRequest | PlainMessage | undefined, b: WrappedJoinRequest | PlainMessage | undefined): boolean; } /** * @generated from enum livekit.WrappedJoinRequest.Compression */ declare enum WrappedJoinRequest_Compression { /** * @generated from enum value: NONE = 0; */ NONE = 0, /** * @generated from enum value: GZIP = 1; */ GZIP = 1, } /** * @generated from message livekit.MediaSectionsRequirement */ declare class MediaSectionsRequirement extends Message { /** * @generated from field: uint32 num_audios = 1; */ numAudios: number; /** * @generated from field: uint32 num_videos = 2; */ numVideos: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.MediaSectionsRequirement"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MediaSectionsRequirement; static fromJson(jsonValue: JsonValue, options?: Partial): MediaSectionsRequirement; static fromJsonString(jsonString: string, options?: Partial): MediaSectionsRequirement; static equals(a: MediaSectionsRequirement | PlainMessage | undefined, b: MediaSectionsRequirement | PlainMessage | undefined): boolean; } // Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. /** * @generated from enum livekit.WhatsAppCallDirection */ declare enum WhatsAppCallDirection { /** * @generated from enum value: WHATSAPP_CALL_DIRECTION_INBOUND = 0; */ WHATSAPP_CALL_DIRECTION_INBOUND = 0, /** * @generated from enum value: WHATSAPP_CALL_DIRECTION_OUTBOUND = 2; */ WHATSAPP_CALL_DIRECTION_OUTBOUND = 2, } /** * @generated from message livekit.DialWhatsAppCallRequest */ declare class DialWhatsAppCallRequest extends Message { /** * Required - The phone number id of the business that is initiating the call * * @generated from field: string whatsapp_phone_number_id = 1; */ whatsappPhoneNumberId: string; /** * Required - The number of the user that is supossed to receive the call * * @generated from field: string whatsapp_to_phone_number = 2; */ whatsappToPhoneNumber: string; /** * Required - The API key of the business that is initiating the call * * @generated from field: string whatsapp_api_key = 3; */ whatsappApiKey: string; /** * Required - WhatsApp Cloud API version, eg: 23.0, 24.0, etc. * * @generated from field: string whatsapp_cloud_api_version = 12; */ whatsappCloudApiVersion: string; /** * Optional - An arbitrary string you can pass in that is useful for tracking and logging purposes. * * @generated from field: string whatsapp_biz_opaque_callback_data = 4; */ whatsappBizOpaqueCallbackData: string; /** * Optional - What LiveKit room should this participant be connected too * * @generated from field: string room_name = 5; */ roomName: string; /** * Optional - Agents to dispatch the call to * * @generated from field: repeated livekit.RoomAgentDispatch agents = 6; */ agents: RoomAgentDispatch[]; /** * Optional - Identity of the participant in LiveKit room * This is used for logging purposes, so it is advised to not put PII in this field. * * @generated from field: string participant_identity = 7; */ participantIdentity: string; /** * Optional - Name of the participant in LiveKit room * * @generated from field: string participant_name = 8; */ participantName: string; /** * Optional - User-defined metadata. Will be attached to a created Participant in the room. * * @generated from field: string participant_metadata = 9; */ participantMetadata: string; /** * Optional - User-defined attributes. Will be attached to a created Participant in the room. * * @generated from field: map participant_attributes = 10; */ participantAttributes: { [key: string]: string }; /** * Optional - Country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls. * * @generated from field: string destination_country = 11; */ destinationCountry: string; /** * Max time for the callee to answer the call. * * @generated from field: google.protobuf.Duration ringing_timeout = 13; */ ringingTimeout?: Duration; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DialWhatsAppCallRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DialWhatsAppCallRequest; static fromJson(jsonValue: JsonValue, options?: Partial): DialWhatsAppCallRequest; static fromJsonString(jsonString: string, options?: Partial): DialWhatsAppCallRequest; static equals(a: DialWhatsAppCallRequest | PlainMessage | undefined, b: DialWhatsAppCallRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DialWhatsAppCallResponse */ declare class DialWhatsAppCallResponse extends Message { /** * Call ID sent by Meta * * @generated from field: string whatsapp_call_id = 1; */ whatsappCallId: string; /** * The name of the LiveKit room that the call is connected to * * @generated from field: string room_name = 2; */ roomName: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DialWhatsAppCallResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DialWhatsAppCallResponse; static fromJson(jsonValue: JsonValue, options?: Partial): DialWhatsAppCallResponse; static fromJsonString(jsonString: string, options?: Partial): DialWhatsAppCallResponse; static equals(a: DialWhatsAppCallResponse | PlainMessage | undefined, b: DialWhatsAppCallResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DisconnectWhatsAppCallRequest */ declare class DisconnectWhatsAppCallRequest extends Message { /** * Required - Call ID sent by Meta * * @generated from field: string whatsapp_call_id = 1; */ whatsappCallId: string; /** * The API key of the whatsapp business. * Required if the DisconnectReason is BUSINESS_INITIATED. * Optional for USER_INITIATED as no API call to WhatsApp is needed. * * @generated from field: string whatsapp_api_key = 2; */ whatsappApiKey: string; /** * The reason for disconnecting the call * * @generated from field: livekit.DisconnectWhatsAppCallRequest.DisconnectReason disconnect_reason = 3; */ disconnectReason: DisconnectWhatsAppCallRequest_DisconnectReason; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DisconnectWhatsAppCallRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DisconnectWhatsAppCallRequest; static fromJson(jsonValue: JsonValue, options?: Partial): DisconnectWhatsAppCallRequest; static fromJsonString(jsonString: string, options?: Partial): DisconnectWhatsAppCallRequest; static equals(a: DisconnectWhatsAppCallRequest | PlainMessage | undefined, b: DisconnectWhatsAppCallRequest | PlainMessage | undefined): boolean; } /** * @generated from enum livekit.DisconnectWhatsAppCallRequest.DisconnectReason */ declare enum DisconnectWhatsAppCallRequest_DisconnectReason { /** * The call is being disconnected by the business * * @generated from enum value: BUSINESS_INITIATED = 0; */ BUSINESS_INITIATED = 0, /** * The call is disconnected by the user. * This can be tracked as part of call terminate webhook * https://developers.facebook.com/documentation/business-messaging/whatsapp/calling/user-initiated-calls#call-terminate-webhook * Note that this webhook will also be sent when the call is disconnected by the business. * Calling the API twice in such cases will result in an error. * * @generated from enum value: USER_INITIATED = 1; */ USER_INITIATED = 1, } /** * @generated from message livekit.DisconnectWhatsAppCallResponse */ declare class DisconnectWhatsAppCallResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DisconnectWhatsAppCallResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DisconnectWhatsAppCallResponse; static fromJson(jsonValue: JsonValue, options?: Partial): DisconnectWhatsAppCallResponse; static fromJsonString(jsonString: string, options?: Partial): DisconnectWhatsAppCallResponse; static equals(a: DisconnectWhatsAppCallResponse | PlainMessage | undefined, b: DisconnectWhatsAppCallResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ConnectWhatsAppCallRequest */ declare class ConnectWhatsAppCallRequest extends Message { /** * Required - Call ID sent by Meta * * @generated from field: string whatsapp_call_id = 1; */ whatsappCallId: string; /** * Required - The call connect webhook comes with SDP from Meta * It is the answer SDP for a business initiated call * * @generated from field: livekit.SessionDescription sdp = 2; */ sdp?: SessionDescription; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ConnectWhatsAppCallRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ConnectWhatsAppCallRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ConnectWhatsAppCallRequest; static fromJsonString(jsonString: string, options?: Partial): ConnectWhatsAppCallRequest; static equals(a: ConnectWhatsAppCallRequest | PlainMessage | undefined, b: ConnectWhatsAppCallRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ConnectWhatsAppCallResponse */ declare class ConnectWhatsAppCallResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ConnectWhatsAppCallResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ConnectWhatsAppCallResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ConnectWhatsAppCallResponse; static fromJsonString(jsonString: string, options?: Partial): ConnectWhatsAppCallResponse; static equals(a: ConnectWhatsAppCallResponse | PlainMessage | undefined, b: ConnectWhatsAppCallResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.AcceptWhatsAppCallRequest */ declare class AcceptWhatsAppCallRequest extends Message { /** * Required - The phone number id of the business that is conencting the call * * @generated from field: string whatsapp_phone_number_id = 1; */ whatsappPhoneNumberId: string; /** * Required - The API key of the business that is connecting the call * * @generated from field: string whatsapp_api_key = 2; */ whatsappApiKey: string; /** * Required - WhatsApp Cloud API version, eg: 23.0, 24.0, etc. * * @generated from field: string whatsapp_cloud_api_version = 13; */ whatsappCloudApiVersion: string; /** * Required - Call ID sent by Meta * * @generated from field: string whatsapp_call_id = 3; */ whatsappCallId: string; /** * Optional - An arbitrary string you can pass in that is useful for tracking and logging purposes. * * @generated from field: string whatsapp_biz_opaque_callback_data = 4; */ whatsappBizOpaqueCallbackData: string; /** * Required - The call accept webhook comes with SDP from Meta * It is the for a user initiated call * * @generated from field: livekit.SessionDescription sdp = 5; */ sdp?: SessionDescription; /** * Optional - What LiveKit room should this participant be connected too * * @generated from field: string room_name = 6; */ roomName: string; /** * Optional - Agents to dispatch the call to * * @generated from field: repeated livekit.RoomAgentDispatch agents = 7; */ agents: RoomAgentDispatch[]; /** * Optional - Identity of the participant in LiveKit room * This is used for logging purposes, so it is advised to not put PII in this field. * * @generated from field: string participant_identity = 8; */ participantIdentity: string; /** * Optional - Name of the participant in LiveKit room * * @generated from field: string participant_name = 9; */ participantName: string; /** * Optional - User-defined metadata. Will be attached to a created Participant in the room. * * @generated from field: string participant_metadata = 10; */ participantMetadata: string; /** * Optional - User-defined attributes. Will be attached to a created Participant in the room. * * @generated from field: map participant_attributes = 11; */ participantAttributes: { [key: string]: string }; /** * Optional - Country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls. * * @generated from field: string destination_country = 12; */ destinationCountry: string; /** * Max time for the callee to answer the call. * * @generated from field: google.protobuf.Duration ringing_timeout = 14; */ ringingTimeout?: Duration; /** * Wait for the answer for the call before returning. * * @generated from field: bool wait_until_answered = 15; */ waitUntilAnswered: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.AcceptWhatsAppCallRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AcceptWhatsAppCallRequest; static fromJson(jsonValue: JsonValue, options?: Partial): AcceptWhatsAppCallRequest; static fromJsonString(jsonString: string, options?: Partial): AcceptWhatsAppCallRequest; static equals(a: AcceptWhatsAppCallRequest | PlainMessage | undefined, b: AcceptWhatsAppCallRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.AcceptWhatsAppCallResponse */ declare class AcceptWhatsAppCallResponse extends Message { /** * The name of the LiveKit room that the call is connected to * * @generated from field: string room_name = 1; */ roomName: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.AcceptWhatsAppCallResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AcceptWhatsAppCallResponse; static fromJson(jsonValue: JsonValue, options?: Partial): AcceptWhatsAppCallResponse; static fromJsonString(jsonString: string, options?: Partial): AcceptWhatsAppCallResponse; static equals(a: AcceptWhatsAppCallResponse | PlainMessage | undefined, b: AcceptWhatsAppCallResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.WhatsAppCall */ declare class WhatsAppCall extends Message { /** * list of call ids that are currently active * * @generated from field: string whatsapp_call_id = 1; */ whatsappCallId: string; /** * Direction of the call * * @generated from field: livekit.WhatsAppCallDirection direction = 2; */ direction: WhatsAppCallDirection; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.WhatsAppCall"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): WhatsAppCall; static fromJson(jsonValue: JsonValue, options?: Partial): WhatsAppCall; static fromJsonString(jsonString: string, options?: Partial): WhatsAppCall; static equals(a: WhatsAppCall | PlainMessage | undefined, b: WhatsAppCall | PlainMessage | undefined): boolean; } // Copyright 2023 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. /** * @generated from enum livekit.AudioChannel */ declare enum AudioChannel { /** * @generated from enum value: AUDIO_CHANNEL_BOTH = 0; */ BOTH = 0, /** * @generated from enum value: AUDIO_CHANNEL_LEFT = 1; */ LEFT = 1, /** * @generated from enum value: AUDIO_CHANNEL_RIGHT = 2; */ RIGHT = 2, } /** * @generated from enum livekit.EncodingOptionsPreset */ declare enum EncodingOptionsPreset { /** * 1280x720, 30fps, 3000kpbs, H.264_MAIN / OPUS * * @generated from enum value: H264_720P_30 = 0; */ H264_720P_30 = 0, /** * 1280x720, 60fps, 4500kbps, H.264_MAIN / OPUS * * @generated from enum value: H264_720P_60 = 1; */ H264_720P_60 = 1, /** * 1920x1080, 30fps, 4500kbps, H.264_MAIN / OPUS * * @generated from enum value: H264_1080P_30 = 2; */ H264_1080P_30 = 2, /** * 1920x1080, 60fps, 6000kbps, H.264_MAIN / OPUS * * @generated from enum value: H264_1080P_60 = 3; */ H264_1080P_60 = 3, /** * 720x1280, 30fps, 3000kpbs, H.264_MAIN / OPUS * * @generated from enum value: PORTRAIT_H264_720P_30 = 4; */ PORTRAIT_H264_720P_30 = 4, /** * 720x1280, 60fps, 4500kbps, H.264_MAIN / OPUS * * @generated from enum value: PORTRAIT_H264_720P_60 = 5; */ PORTRAIT_H264_720P_60 = 5, /** * 1080x1920, 30fps, 4500kbps, H.264_MAIN / OPUS * * @generated from enum value: PORTRAIT_H264_1080P_30 = 6; */ PORTRAIT_H264_1080P_30 = 6, /** * 1080x1920, 60fps, 6000kbps, H.264_MAIN / OPUS * * @generated from enum value: PORTRAIT_H264_1080P_60 = 7; */ PORTRAIT_H264_1080P_60 = 7, } /** * @generated from enum livekit.EncodedFileType */ declare enum EncodedFileType { /** * file type chosen based on codecs * * @generated from enum value: DEFAULT_FILETYPE = 0; */ DEFAULT_FILETYPE = 0, /** * @generated from enum value: MP4 = 1; */ MP4 = 1, /** * @generated from enum value: OGG = 2; */ OGG = 2, /** * @generated from enum value: MP3 = 3; */ MP3 = 3, } /** * @generated from enum livekit.StreamProtocol */ declare enum StreamProtocol { /** * protocol chosen based on urls * * @generated from enum value: DEFAULT_PROTOCOL = 0; */ DEFAULT_PROTOCOL = 0, /** * @generated from enum value: RTMP = 1; */ RTMP = 1, /** * @generated from enum value: SRT = 2; */ SRT = 2, /** * @generated from enum value: WEBSOCKET = 3; */ WEBSOCKET = 3, } /** * @generated from enum livekit.SegmentedFileProtocol */ declare enum SegmentedFileProtocol { /** * @generated from enum value: DEFAULT_SEGMENTED_FILE_PROTOCOL = 0; */ DEFAULT_SEGMENTED_FILE_PROTOCOL = 0, /** * @generated from enum value: HLS_PROTOCOL = 1; */ HLS_PROTOCOL = 1, } /** * @generated from enum livekit.SegmentedFileSuffix */ declare enum SegmentedFileSuffix { /** * @generated from enum value: INDEX = 0; */ INDEX = 0, /** * @generated from enum value: TIMESTAMP = 1; */ TIMESTAMP = 1, } /** * @generated from enum livekit.ImageFileSuffix */ declare enum ImageFileSuffix { /** * @generated from enum value: IMAGE_SUFFIX_INDEX = 0; */ IMAGE_SUFFIX_INDEX = 0, /** * @generated from enum value: IMAGE_SUFFIX_TIMESTAMP = 1; */ IMAGE_SUFFIX_TIMESTAMP = 1, /** * Do not append any suffix and overwrite the existing image with the latest * * @generated from enum value: IMAGE_SUFFIX_NONE_OVERWRITE = 2; */ IMAGE_SUFFIX_NONE_OVERWRITE = 2, } /** * @generated from enum livekit.EgressSourceType */ declare enum EgressSourceType { /** * @generated from enum value: EGRESS_SOURCE_TYPE_WEB = 0; */ WEB = 0, /** * @generated from enum value: EGRESS_SOURCE_TYPE_SDK = 1; */ SDK = 1, } /** * @generated from enum livekit.EgressStatus */ declare enum EgressStatus { /** * @generated from enum value: EGRESS_STARTING = 0; */ EGRESS_STARTING = 0, /** * @generated from enum value: EGRESS_ACTIVE = 1; */ EGRESS_ACTIVE = 1, /** * @generated from enum value: EGRESS_ENDING = 2; */ EGRESS_ENDING = 2, /** * @generated from enum value: EGRESS_COMPLETE = 3; */ EGRESS_COMPLETE = 3, /** * @generated from enum value: EGRESS_FAILED = 4; */ EGRESS_FAILED = 4, /** * @generated from enum value: EGRESS_ABORTED = 5; */ EGRESS_ABORTED = 5, /** * @generated from enum value: EGRESS_LIMIT_REACHED = 6; */ EGRESS_LIMIT_REACHED = 6, } /** * @generated from enum livekit.AudioMixing */ declare enum AudioMixing { /** * @generated from enum value: DEFAULT_MIXING = 0; */ DEFAULT_MIXING = 0, /** * @generated from enum value: DUAL_CHANNEL_AGENT = 1; */ DUAL_CHANNEL_AGENT = 1, /** * @generated from enum value: DUAL_CHANNEL_ALTERNATE = 2; */ DUAL_CHANNEL_ALTERNATE = 2, } /** * @generated from message livekit.StartEgressRequest */ declare class StartEgressRequest extends Message { /** * @generated from field: string room_name = 1; */ roomName: string; /** * @generated from oneof livekit.StartEgressRequest.source */ source: { /** * @generated from field: livekit.TemplateSource template = 2; */ value: TemplateSource; case: "template"; } | { /** * @generated from field: livekit.WebSource web = 3; */ value: WebSource; case: "web"; } | { /** * @generated from field: livekit.MediaSource media = 4; */ value: MediaSource; case: "media"; } | { case: undefined; value?: undefined }; /** * Optional — default H264_720P_30 * * @generated from oneof livekit.StartEgressRequest.encoding */ encoding: { /** * @generated from field: livekit.EncodingOptionsPreset preset = 5; */ value: EncodingOptionsPreset; case: "preset"; } | { /** * @generated from field: livekit.EncodingOptions advanced = 6; */ value: EncodingOptions; case: "advanced"; } | { case: undefined; value?: undefined }; /** * At least one required * * @generated from field: repeated livekit.Output outputs = 7; */ outputs: Output[]; /** * Request-level storage default * * @generated from field: livekit.StorageConfig storage = 8; */ storage?: StorageConfig; /** * Optional additional webhook config * * @generated from field: repeated livekit.WebhookConfig webhooks = 9; */ webhooks: WebhookConfig[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.StartEgressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StartEgressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): StartEgressRequest; static fromJsonString(jsonString: string, options?: Partial): StartEgressRequest; static equals(a: StartEgressRequest | PlainMessage | undefined, b: StartEgressRequest | PlainMessage | undefined): boolean; } /** * Room composite recording via layout template. * Service generates token, constructs recorder URL, awaits start signal. * * @generated from message livekit.TemplateSource */ declare class TemplateSource extends Message { /** * @generated from field: string layout = 1; */ layout: string; /** * @generated from field: bool audio_only = 2; */ audioOnly: boolean; /** * @generated from field: bool video_only = 3; */ videoOnly: boolean; /** * @generated from field: string custom_base_url = 4; */ customBaseUrl: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TemplateSource"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TemplateSource; static fromJson(jsonValue: JsonValue, options?: Partial): TemplateSource; static fromJsonString(jsonString: string, options?: Partial): TemplateSource; static equals(a: TemplateSource | PlainMessage | undefined, b: TemplateSource | PlainMessage | undefined): boolean; } /** * Record a custom URL via headless browser. * * @generated from message livekit.WebSource */ declare class WebSource extends Message { /** * @generated from field: string url = 1; */ url: string; /** * @generated from field: bool audio_only = 2; */ audioOnly: boolean; /** * @generated from field: bool video_only = 3; */ videoOnly: boolean; /** * @generated from field: bool await_start_signal = 4; */ awaitStartSignal: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.WebSource"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): WebSource; static fromJson(jsonValue: JsonValue, options?: Partial): WebSource; static fromJsonString(jsonString: string, options?: Partial): WebSource; static equals(a: WebSource | PlainMessage | undefined, b: WebSource | PlainMessage | undefined): boolean; } /** * Capture tracks directly from a room via SDK. * Unifies deprecated Participant, TrackComposite, and Track egress. * * @generated from message livekit.MediaSource */ declare class MediaSource extends Message { /** * @generated from oneof livekit.MediaSource.video */ video: { /** * @generated from field: string video_track_id = 1; */ value: string; case: "videoTrackId"; } | { /** * @generated from field: livekit.ParticipantVideo participant_video = 2; */ value: ParticipantVideo; case: "participantVideo"; } | { case: undefined; value?: undefined }; /** * @generated from field: livekit.AudioConfig audio = 3; */ audio?: AudioConfig; /** * @generated from field: livekit.DataConfig data = 4; */ data?: DataConfig; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.MediaSource"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MediaSource; static fromJson(jsonValue: JsonValue, options?: Partial): MediaSource; static fromJsonString(jsonString: string, options?: Partial): MediaSource; static equals(a: MediaSource | PlainMessage | undefined, b: MediaSource | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ParticipantVideo */ declare class ParticipantVideo extends Message { /** * @generated from field: string identity = 1; */ identity: string; /** * @generated from field: bool prefer_screen_share = 2; */ preferScreenShare: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ParticipantVideo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantVideo; static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantVideo; static fromJsonString(jsonString: string, options?: Partial): ParticipantVideo; static equals(a: ParticipantVideo | PlainMessage | undefined, b: ParticipantVideo | PlainMessage | undefined): boolean; } /** * Unified audio selection and channel routing. * Each route specifies both which audio to capture and which channel to output to. * * @generated from message livekit.AudioConfig */ declare class AudioConfig extends Message { /** * If empty, all audio captured in both channels. * If non-empty, only matching audio is captured and routed. Unmatched is excluded. * * @generated from field: repeated livekit.AudioRoute routes = 1; */ routes: AudioRoute[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.AudioConfig"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AudioConfig; static fromJson(jsonValue: JsonValue, options?: Partial): AudioConfig; static fromJsonString(jsonString: string, options?: Partial): AudioConfig; static equals(a: AudioConfig | PlainMessage | undefined, b: AudioConfig | PlainMessage | undefined): boolean; } /** * @generated from message livekit.AudioRoute */ declare class AudioRoute extends Message { /** * @generated from oneof livekit.AudioRoute.match */ match: { /** * @generated from field: string track_id = 1; */ value: string; case: "trackId"; } | { /** * @generated from field: string participant_identity = 2; */ value: string; case: "participantIdentity"; } | { /** * @generated from field: livekit.ParticipantInfo.Kind participant_kind = 3; */ value: ParticipantInfo_Kind; case: "participantKind"; } | { case: undefined; value?: undefined }; /** * @generated from field: livekit.AudioChannel channel = 4; */ channel: AudioChannel; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.AudioRoute"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AudioRoute; static fromJson(jsonValue: JsonValue, options?: Partial): AudioRoute; static fromJsonString(jsonString: string, options?: Partial): AudioRoute; static equals(a: AudioRoute | PlainMessage | undefined, b: AudioRoute | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DataConfig */ declare class DataConfig extends Message { /** * If empty, all data tracks captured. * If non-empty, only matching data tracks are captured. * * @generated from field: repeated livekit.DataSelector selectors = 1; */ selectors: DataSelector[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DataConfig"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataConfig; static fromJson(jsonValue: JsonValue, options?: Partial): DataConfig; static fromJsonString(jsonString: string, options?: Partial): DataConfig; static equals(a: DataConfig | PlainMessage | undefined, b: DataConfig | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DataSelector */ declare class DataSelector extends Message { /** * @generated from oneof livekit.DataSelector.match */ match: { /** * @generated from field: string track_id = 1; */ value: string; case: "trackId"; } | { /** * @generated from field: string participant_identity = 2; */ value: string; case: "participantIdentity"; } | { /** * @generated from field: string topic = 3; */ value: string; case: "topic"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DataSelector"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataSelector; static fromJson(jsonValue: JsonValue, options?: Partial): DataSelector; static fromJsonString(jsonString: string, options?: Partial): DataSelector; static equals(a: DataSelector | PlainMessage | undefined, b: DataSelector | PlainMessage | undefined): boolean; } /** * @generated from message livekit.EncodingOptions */ declare class EncodingOptions extends Message { /** * (default 1920) * * @generated from field: int32 width = 1; */ width: number; /** * (default 1080) * * @generated from field: int32 height = 2; */ height: number; /** * (default 24) * * @generated from field: int32 depth = 3; */ depth: number; /** * (default 30) * * @generated from field: int32 framerate = 4; */ framerate: number; /** * (default OPUS) * * @generated from field: livekit.AudioCodec audio_codec = 5; */ audioCodec: AudioCodec; /** * (default 128) * * @generated from field: int32 audio_bitrate = 6; */ audioBitrate: number; /** * (default 44100) * * @generated from field: int32 audio_frequency = 7; */ audioFrequency: number; /** * (default H264_MAIN) * * @generated from field: livekit.VideoCodec video_codec = 8; */ videoCodec: VideoCodec; /** * (default 4500) * * @generated from field: int32 video_bitrate = 9; */ videoBitrate: number; /** * in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) * * @generated from field: double key_frame_interval = 10; */ keyFrameInterval: number; /** * --- Deprecated --- * * quality setting on audio encoder * * @generated from field: int32 audio_quality = 11 [deprecated = true]; * @deprecated */ audioQuality: number; /** * quality setting on video encoder * * @generated from field: int32 video_quality = 12 [deprecated = true]; * @deprecated */ videoQuality: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.EncodingOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EncodingOptions; static fromJson(jsonValue: JsonValue, options?: Partial): EncodingOptions; static fromJsonString(jsonString: string, options?: Partial): EncodingOptions; static equals(a: EncodingOptions | PlainMessage | undefined, b: EncodingOptions | PlainMessage | undefined): boolean; } /** * @generated from message livekit.Output */ declare class Output extends Message { /** * @generated from oneof livekit.Output.config */ config: { /** * @generated from field: livekit.FileOutput file = 1; */ value: FileOutput; case: "file"; } | { /** * @generated from field: livekit.StreamOutput stream = 2; */ value: StreamOutput; case: "stream"; } | { /** * @generated from field: livekit.SegmentedFileOutput segments = 3; */ value: SegmentedFileOutput; case: "segments"; } | { /** * 5 reserved for mcap; * * @generated from field: livekit.ImageOutput images = 4; */ value: ImageOutput; case: "images"; } | { case: undefined; value?: undefined }; /** * Per-output storage override (falls back to request, then server) * * @generated from field: livekit.StorageConfig storage = 6; */ storage?: StorageConfig; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.Output"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Output; static fromJson(jsonValue: JsonValue, options?: Partial): Output; static fromJsonString(jsonString: string, options?: Partial): Output; static equals(a: Output | PlainMessage | undefined, b: Output | PlainMessage | undefined): boolean; } /** * Unified file output — replaces v1 EncodedFileOutput and DirectFileOutput. * Whether transcoded depends on encoding options on the request. * * @generated from message livekit.FileOutput */ declare class FileOutput extends Message { /** * @generated from field: livekit.EncodedFileType file_type = 1; */ fileType: EncodedFileType; /** * @generated from field: string filepath = 2; */ filepath: string; /** * @generated from field: bool disable_manifest = 3; */ disableManifest: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.FileOutput"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FileOutput; static fromJson(jsonValue: JsonValue, options?: Partial): FileOutput; static fromJsonString(jsonString: string, options?: Partial): FileOutput; static equals(a: FileOutput | PlainMessage | undefined, b: FileOutput | PlainMessage | undefined): boolean; } /** * @generated from message livekit.StreamOutput */ declare class StreamOutput extends Message { /** * required * * @generated from field: livekit.StreamProtocol protocol = 1; */ protocol: StreamProtocol; /** * required * * @generated from field: repeated string urls = 2; */ urls: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.StreamOutput"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StreamOutput; static fromJson(jsonValue: JsonValue, options?: Partial): StreamOutput; static fromJsonString(jsonString: string, options?: Partial): StreamOutput; static equals(a: StreamOutput | PlainMessage | undefined, b: StreamOutput | PlainMessage | undefined): boolean; } /** * Used to generate HLS segments or other kind of segmented output * * @generated from message livekit.SegmentedFileOutput */ declare class SegmentedFileOutput extends Message { /** * (optional) * * @generated from field: livekit.SegmentedFileProtocol protocol = 1; */ protocol: SegmentedFileProtocol; /** * (optional) * * @generated from field: string filename_prefix = 2; */ filenamePrefix: string; /** * (optional) * * @generated from field: string playlist_name = 3; */ playlistName: string; /** * (optional, disabled if not provided). Path of a live playlist * * @generated from field: string live_playlist_name = 11; */ livePlaylistName: string; /** * in seconds (optional) * * @generated from field: uint32 segment_duration = 4; */ segmentDuration: number; /** * (optional, default INDEX) * * @generated from field: livekit.SegmentedFileSuffix filename_suffix = 10; */ filenameSuffix: SegmentedFileSuffix; /** * disable upload of manifest file (default false) * * @generated from field: bool disable_manifest = 8; */ disableManifest: boolean; /** * @generated from oneof livekit.SegmentedFileOutput.output */ output: { /** * @generated from field: livekit.S3Upload s3 = 5; */ value: S3Upload; case: "s3"; } | { /** * @generated from field: livekit.GCPUpload gcp = 6; */ value: GCPUpload; case: "gcp"; } | { /** * @generated from field: livekit.AzureBlobUpload azure = 7; */ value: AzureBlobUpload; case: "azure"; } | { /** * @generated from field: livekit.AliOSSUpload aliOSS = 9; */ value: AliOSSUpload; case: "aliOSS"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SegmentedFileOutput"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SegmentedFileOutput; static fromJson(jsonValue: JsonValue, options?: Partial): SegmentedFileOutput; static fromJsonString(jsonString: string, options?: Partial): SegmentedFileOutput; static equals(a: SegmentedFileOutput | PlainMessage | undefined, b: SegmentedFileOutput | PlainMessage | undefined): boolean; } /** * Capture images at a specified interval * * @generated from message livekit.ImageOutput */ declare class ImageOutput extends Message { /** * in seconds (required) * * @generated from field: uint32 capture_interval = 1; */ captureInterval: number; /** * (optional, defaults to track width) * * @generated from field: int32 width = 2; */ width: number; /** * (optional, defaults to track height) * * @generated from field: int32 height = 3; */ height: number; /** * (optional) * * @generated from field: string filename_prefix = 4; */ filenamePrefix: string; /** * (optional, default INDEX) * * @generated from field: livekit.ImageFileSuffix filename_suffix = 5; */ filenameSuffix: ImageFileSuffix; /** * (optional) * * @generated from field: livekit.ImageCodec image_codec = 6; */ imageCodec: ImageCodec; /** * disable upload of manifest file (default false) * * @generated from field: bool disable_manifest = 7; */ disableManifest: boolean; /** * @generated from oneof livekit.ImageOutput.output */ output: { /** * @generated from field: livekit.S3Upload s3 = 8; */ value: S3Upload; case: "s3"; } | { /** * @generated from field: livekit.GCPUpload gcp = 9; */ value: GCPUpload; case: "gcp"; } | { /** * @generated from field: livekit.AzureBlobUpload azure = 10; */ value: AzureBlobUpload; case: "azure"; } | { /** * @generated from field: livekit.AliOSSUpload aliOSS = 11; */ value: AliOSSUpload; case: "aliOSS"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ImageOutput"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ImageOutput; static fromJson(jsonValue: JsonValue, options?: Partial): ImageOutput; static fromJsonString(jsonString: string, options?: Partial): ImageOutput; static equals(a: ImageOutput | PlainMessage | undefined, b: ImageOutput | PlainMessage | undefined): boolean; } /** * @generated from message livekit.StorageConfig */ declare class StorageConfig extends Message { /** * @generated from oneof livekit.StorageConfig.provider */ provider: { /** * @generated from field: livekit.S3Upload s3 = 1; */ value: S3Upload; case: "s3"; } | { /** * @generated from field: livekit.GCPUpload gcp = 2; */ value: GCPUpload; case: "gcp"; } | { /** * @generated from field: livekit.AzureBlobUpload azure = 3; */ value: AzureBlobUpload; case: "azure"; } | { /** * @generated from field: livekit.AliOSSUpload aliOSS = 4; */ value: AliOSSUpload; case: "aliOSS"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.StorageConfig"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StorageConfig; static fromJson(jsonValue: JsonValue, options?: Partial): StorageConfig; static fromJsonString(jsonString: string, options?: Partial): StorageConfig; static equals(a: StorageConfig | PlainMessage | undefined, b: StorageConfig | PlainMessage | undefined): boolean; } /** * @generated from message livekit.S3Upload */ declare class S3Upload extends Message { /** * @generated from field: string access_key = 1; */ accessKey: string; /** * @generated from field: string secret = 2; */ secret: string; /** * @generated from field: string session_token = 11; */ sessionToken: string; /** * ARN of the role to assume for file upload. Egress will make an AssumeRole API call using the provided access_key and secret to assume that role. On LiveKit cloud, this is only available on accounts that have the feature enabled * * @generated from field: string assume_role_arn = 12; */ assumeRoleArn: string; /** * ExternalID to use when assuming role for upload * * @generated from field: string assume_role_external_id = 13; */ assumeRoleExternalId: string; /** * @generated from field: string region = 3; */ region: string; /** * @generated from field: string endpoint = 4; */ endpoint: string; /** * @generated from field: string bucket = 5; */ bucket: string; /** * @generated from field: bool force_path_style = 6; */ forcePathStyle: boolean; /** * @generated from field: map metadata = 7; */ metadata: { [key: string]: string }; /** * @generated from field: string tagging = 8; */ tagging: string; /** * Content-Disposition header * * @generated from field: string content_disposition = 9; */ contentDisposition: string; /** * @generated from field: livekit.ProxyConfig proxy = 10; */ proxy?: ProxyConfig; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.S3Upload"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): S3Upload; static fromJson(jsonValue: JsonValue, options?: Partial): S3Upload; static fromJsonString(jsonString: string, options?: Partial): S3Upload; static equals(a: S3Upload | PlainMessage | undefined, b: S3Upload | PlainMessage | undefined): boolean; } /** * @generated from message livekit.GCPUpload */ declare class GCPUpload extends Message { /** * service account credentials serialized in JSON "credentials.json" * * @generated from field: string credentials = 1; */ credentials: string; /** * @generated from field: string bucket = 2; */ bucket: string; /** * @generated from field: livekit.ProxyConfig proxy = 3; */ proxy?: ProxyConfig; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.GCPUpload"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GCPUpload; static fromJson(jsonValue: JsonValue, options?: Partial): GCPUpload; static fromJsonString(jsonString: string, options?: Partial): GCPUpload; static equals(a: GCPUpload | PlainMessage | undefined, b: GCPUpload | PlainMessage | undefined): boolean; } /** * @generated from message livekit.AzureBlobUpload */ declare class AzureBlobUpload extends Message { /** * @generated from field: string account_name = 1; */ accountName: string; /** * @generated from field: string account_key = 2; */ accountKey: string; /** * @generated from field: string container_name = 3; */ containerName: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.AzureBlobUpload"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AzureBlobUpload; static fromJson(jsonValue: JsonValue, options?: Partial): AzureBlobUpload; static fromJsonString(jsonString: string, options?: Partial): AzureBlobUpload; static equals(a: AzureBlobUpload | PlainMessage | undefined, b: AzureBlobUpload | PlainMessage | undefined): boolean; } /** * @generated from message livekit.AliOSSUpload */ declare class AliOSSUpload extends Message { /** * @generated from field: string access_key = 1; */ accessKey: string; /** * @generated from field: string secret = 2; */ secret: string; /** * @generated from field: string region = 3; */ region: string; /** * @generated from field: string endpoint = 4; */ endpoint: string; /** * @generated from field: string bucket = 5; */ bucket: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.AliOSSUpload"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AliOSSUpload; static fromJson(jsonValue: JsonValue, options?: Partial): AliOSSUpload; static fromJsonString(jsonString: string, options?: Partial): AliOSSUpload; static equals(a: AliOSSUpload | PlainMessage | undefined, b: AliOSSUpload | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ProxyConfig */ declare class ProxyConfig extends Message { /** * @generated from field: string url = 1; */ url: string; /** * @generated from field: string username = 2; */ username: string; /** * @generated from field: string password = 3; */ password: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ProxyConfig"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ProxyConfig; static fromJson(jsonValue: JsonValue, options?: Partial): ProxyConfig; static fromJsonString(jsonString: string, options?: Partial): ProxyConfig; static equals(a: ProxyConfig | PlainMessage | undefined, b: ProxyConfig | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListEgressRequest */ declare class ListEgressRequest extends Message { /** * (optional, filter by room name) * * @generated from field: string room_name = 1; */ roomName: string; /** * (optional, filter by egress ID) * * @generated from field: string egress_id = 2; */ egressId: string; /** * (optional, list active egress only) * * @generated from field: bool active = 3; */ active: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListEgressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressRequest; static fromJsonString(jsonString: string, options?: Partial): ListEgressRequest; static equals(a: ListEgressRequest | PlainMessage | undefined, b: ListEgressRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListEgressResponse */ declare class ListEgressResponse extends Message { /** * @generated from field: repeated livekit.EgressInfo items = 1; */ items: EgressInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListEgressResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressResponse; static fromJsonString(jsonString: string, options?: Partial): ListEgressResponse; static equals(a: ListEgressResponse | PlainMessage | undefined, b: ListEgressResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateEgressRequest */ declare class UpdateEgressRequest extends Message { /** * @generated from field: string egress_id = 1; */ egressId: string; /** * @generated from field: string url = 2; */ url: string; /** * @generated from field: string layout = 3; */ layout: string; /** * @generated from field: repeated string add_stream_urls = 4; */ addStreamUrls: string[]; /** * @generated from field: repeated string remove_stream_urls = 5; */ removeStreamUrls: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateEgressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateEgressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateEgressRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateEgressRequest; static equals(a: UpdateEgressRequest | PlainMessage | undefined, b: UpdateEgressRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.StopEgressRequest */ declare class StopEgressRequest extends Message { /** * @generated from field: string egress_id = 1; */ egressId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.StopEgressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StopEgressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): StopEgressRequest; static fromJsonString(jsonString: string, options?: Partial): StopEgressRequest; static equals(a: StopEgressRequest | PlainMessage | undefined, b: StopEgressRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.EgressInfo */ declare class EgressInfo extends Message { /** * @generated from field: string egress_id = 1; */ egressId: string; /** * @generated from field: string room_id = 2; */ roomId: string; /** * @generated from field: string room_name = 13; */ roomName: string; /** * @generated from field: livekit.EgressSourceType source_type = 26; */ sourceType: EgressSourceType; /** * @generated from field: livekit.EgressStatus status = 3; */ status: EgressStatus; /** * @generated from field: int64 started_at = 10; */ startedAt: bigint; /** * @generated from field: int64 ended_at = 11; */ endedAt: bigint; /** * @generated from field: int64 updated_at = 18; */ updatedAt: bigint; /** * @generated from oneof livekit.EgressInfo.request */ request: { /** * StartEgressRequest egress = 29; * * @generated from field: livekit.ExportReplayRequest replay = 30; */ value: ExportReplayRequest; case: "replay"; } | { /** * @generated from field: livekit.RoomCompositeEgressRequest room_composite = 4; */ value: RoomCompositeEgressRequest; case: "roomComposite"; } | { /** * @generated from field: livekit.WebEgressRequest web = 14; */ value: WebEgressRequest; case: "web"; } | { /** * @generated from field: livekit.ParticipantEgressRequest participant = 19; */ value: ParticipantEgressRequest; case: "participant"; } | { /** * @generated from field: livekit.TrackCompositeEgressRequest track_composite = 5; */ value: TrackCompositeEgressRequest; case: "trackComposite"; } | { /** * @generated from field: livekit.TrackEgressRequest track = 6; */ value: TrackEgressRequest; case: "track"; } | { case: undefined; value?: undefined }; /** * @generated from field: repeated livekit.StreamInfo stream_results = 15; */ streamResults: StreamInfo[]; /** * @generated from field: repeated livekit.FileInfo file_results = 16; */ fileResults: FileInfo[]; /** * @generated from field: repeated livekit.SegmentsInfo segment_results = 17; */ segmentResults: SegmentsInfo[]; /** * @generated from field: repeated livekit.ImagesInfo image_results = 20; */ imageResults: ImagesInfo[]; /** * @generated from field: string error = 9; */ error: string; /** * @generated from field: int32 error_code = 22; */ errorCode: number; /** * @generated from field: string details = 21; */ details: string; /** * @generated from field: string manifest_location = 23; */ manifestLocation: string; /** * @generated from field: bool backup_storage_used = 25; */ backupStorageUsed: boolean; /** * @generated from field: int32 retry_count = 27; */ retryCount: number; /** * --- Deprecated --- * * @generated from oneof livekit.EgressInfo.result */ result: { /** * @generated from field: livekit.StreamInfoList stream = 7 [deprecated = true]; * @deprecated */ value: StreamInfoList; case: "stream"; } | { /** * @generated from field: livekit.FileInfo file = 8 [deprecated = true]; * @deprecated */ value: FileInfo; case: "file"; } | { /** * @generated from field: livekit.SegmentsInfo segments = 12 [deprecated = true]; * @deprecated */ value: SegmentsInfo; case: "segments"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.EgressInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EgressInfo; static fromJson(jsonValue: JsonValue, options?: Partial): EgressInfo; static fromJsonString(jsonString: string, options?: Partial): EgressInfo; static equals(a: EgressInfo | PlainMessage | undefined, b: EgressInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.StreamInfo */ declare class StreamInfo extends Message { /** * @generated from field: string url = 1; */ url: string; /** * @generated from field: int64 started_at = 2; */ startedAt: bigint; /** * @generated from field: int64 ended_at = 3; */ endedAt: bigint; /** * @generated from field: int64 duration = 4; */ duration: bigint; /** * @generated from field: livekit.StreamInfo.Status status = 5; */ status: StreamInfo_Status; /** * @generated from field: string error = 6; */ error: string; /** * @generated from field: int64 last_retry_at = 7; */ lastRetryAt: bigint; /** * @generated from field: uint32 retries = 8; */ retries: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.StreamInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfo; static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfo; static fromJsonString(jsonString: string, options?: Partial): StreamInfo; static equals(a: StreamInfo | PlainMessage | undefined, b: StreamInfo | PlainMessage | undefined): boolean; } /** * @generated from enum livekit.StreamInfo.Status */ declare enum StreamInfo_Status { /** * @generated from enum value: ACTIVE = 0; */ ACTIVE = 0, /** * @generated from enum value: FINISHED = 1; */ FINISHED = 1, /** * @generated from enum value: FAILED = 2; */ FAILED = 2, } /** * @generated from message livekit.FileInfo */ declare class FileInfo extends Message { /** * @generated from field: string filename = 1; */ filename: string; /** * @generated from field: int64 started_at = 2; */ startedAt: bigint; /** * @generated from field: int64 ended_at = 3; */ endedAt: bigint; /** * @generated from field: int64 duration = 6; */ duration: bigint; /** * @generated from field: int64 size = 4; */ size: bigint; /** * @generated from field: string location = 5; */ location: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.FileInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FileInfo; static fromJson(jsonValue: JsonValue, options?: Partial): FileInfo; static fromJsonString(jsonString: string, options?: Partial): FileInfo; static equals(a: FileInfo | PlainMessage | undefined, b: FileInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SegmentsInfo */ declare class SegmentsInfo extends Message { /** * @generated from field: string playlist_name = 1; */ playlistName: string; /** * @generated from field: string live_playlist_name = 8; */ livePlaylistName: string; /** * @generated from field: int64 duration = 2; */ duration: bigint; /** * @generated from field: int64 size = 3; */ size: bigint; /** * @generated from field: string playlist_location = 4; */ playlistLocation: string; /** * @generated from field: string live_playlist_location = 9; */ livePlaylistLocation: string; /** * @generated from field: int64 segment_count = 5; */ segmentCount: bigint; /** * @generated from field: int64 started_at = 6; */ startedAt: bigint; /** * @generated from field: int64 ended_at = 7; */ endedAt: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SegmentsInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SegmentsInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SegmentsInfo; static fromJsonString(jsonString: string, options?: Partial): SegmentsInfo; static equals(a: SegmentsInfo | PlainMessage | undefined, b: SegmentsInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ImagesInfo */ declare class ImagesInfo extends Message { /** * @generated from field: string filename_prefix = 4; */ filenamePrefix: string; /** * @generated from field: int64 image_count = 1; */ imageCount: bigint; /** * @generated from field: int64 started_at = 2; */ startedAt: bigint; /** * @generated from field: int64 ended_at = 3; */ endedAt: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ImagesInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ImagesInfo; static fromJson(jsonValue: JsonValue, options?: Partial): ImagesInfo; static fromJsonString(jsonString: string, options?: Partial): ImagesInfo; static equals(a: ImagesInfo | PlainMessage | undefined, b: ImagesInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.AutoParticipantEgress */ declare class AutoParticipantEgress extends Message { /** * @generated from oneof livekit.AutoParticipantEgress.options */ options: { /** * (default H264_720P_30) * * @generated from field: livekit.EncodingOptionsPreset preset = 1; */ value: EncodingOptionsPreset; case: "preset"; } | { /** * (optional) * * @generated from field: livekit.EncodingOptions advanced = 2; */ value: EncodingOptions; case: "advanced"; } | { case: undefined; value?: undefined }; /** * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 3; */ fileOutputs: EncodedFileOutput[]; /** * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 4; */ segmentOutputs: SegmentedFileOutput[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.AutoParticipantEgress"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AutoParticipantEgress; static fromJson(jsonValue: JsonValue, options?: Partial): AutoParticipantEgress; static fromJsonString(jsonString: string, options?: Partial): AutoParticipantEgress; static equals(a: AutoParticipantEgress | PlainMessage | undefined, b: AutoParticipantEgress | PlainMessage | undefined): boolean; } /** * @generated from message livekit.AutoTrackEgress */ declare class AutoTrackEgress extends Message { /** * see docs for templating (default {track_id}-{time}) * * @generated from field: string filepath = 1; */ filepath: string; /** * disables upload of json manifest file (default false) * * @generated from field: bool disable_manifest = 5; */ disableManifest: boolean; /** * @generated from oneof livekit.AutoTrackEgress.output */ output: { /** * @generated from field: livekit.S3Upload s3 = 2; */ value: S3Upload; case: "s3"; } | { /** * @generated from field: livekit.GCPUpload gcp = 3; */ value: GCPUpload; case: "gcp"; } | { /** * @generated from field: livekit.AzureBlobUpload azure = 4; */ value: AzureBlobUpload; case: "azure"; } | { /** * @generated from field: livekit.AliOSSUpload aliOSS = 6; */ value: AliOSSUpload; case: "aliOSS"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.AutoTrackEgress"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AutoTrackEgress; static fromJson(jsonValue: JsonValue, options?: Partial): AutoTrackEgress; static fromJsonString(jsonString: string, options?: Partial): AutoTrackEgress; static equals(a: AutoTrackEgress | PlainMessage | undefined, b: AutoTrackEgress | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ExportReplayRequest */ declare class ExportReplayRequest extends Message { /** * @generated from field: string replay_id = 1; */ replayId: string; /** * @generated from field: int64 start_offset_ms = 2; */ startOffsetMs: bigint; /** * @generated from field: int64 end_offset_ms = 3; */ endOffsetMs: bigint; /** * @generated from oneof livekit.ExportReplayRequest.source */ source: { /** * @generated from field: livekit.TemplateSource template = 4; */ value: TemplateSource; case: "template"; } | { /** * @generated from field: livekit.WebSource web = 5; */ value: WebSource; case: "web"; } | { /** * @generated from field: livekit.MediaSource media = 6; */ value: MediaSource; case: "media"; } | { case: undefined; value?: undefined }; /** * @generated from oneof livekit.ExportReplayRequest.encoding */ encoding: { /** * @generated from field: livekit.EncodingOptionsPreset preset = 7; */ value: EncodingOptionsPreset; case: "preset"; } | { /** * @generated from field: livekit.EncodingOptions advanced = 8; */ value: EncodingOptions; case: "advanced"; } | { case: undefined; value?: undefined }; /** * @generated from field: repeated livekit.Output outputs = 9; */ outputs: Output[]; /** * @generated from field: livekit.StorageConfig storage = 10; */ storage?: StorageConfig; /** * @generated from field: repeated livekit.WebhookConfig webhooks = 11; */ webhooks: WebhookConfig[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ExportReplayRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ExportReplayRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ExportReplayRequest; static fromJsonString(jsonString: string, options?: Partial): ExportReplayRequest; static equals(a: ExportReplayRequest | PlainMessage | undefined, b: ExportReplayRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RoomCompositeEgressRequest */ declare class RoomCompositeEgressRequest extends Message { /** * @generated from field: string room_name = 1; */ roomName: string; /** * @generated from field: string layout = 2; */ layout: string; /** * @generated from field: bool audio_only = 3; */ audioOnly: boolean; /** * @generated from field: livekit.AudioMixing audio_mixing = 15; */ audioMixing: AudioMixing; /** * @generated from field: bool video_only = 4; */ videoOnly: boolean; /** * @generated from field: string custom_base_url = 5; */ customBaseUrl: string; /** * @generated from oneof livekit.RoomCompositeEgressRequest.output */ output: { /** * @generated from field: livekit.EncodedFileOutput file = 6 [deprecated = true]; * @deprecated */ value: EncodedFileOutput; case: "file"; } | { /** * @generated from field: livekit.StreamOutput stream = 7 [deprecated = true]; * @deprecated */ value: StreamOutput; case: "stream"; } | { /** * @generated from field: livekit.SegmentedFileOutput segments = 10 [deprecated = true]; * @deprecated */ value: SegmentedFileOutput; case: "segments"; } | { case: undefined; value?: undefined }; /** * @generated from oneof livekit.RoomCompositeEgressRequest.options */ options: { /** * @generated from field: livekit.EncodingOptionsPreset preset = 8; */ value: EncodingOptionsPreset; case: "preset"; } | { /** * @generated from field: livekit.EncodingOptions advanced = 9; */ value: EncodingOptions; case: "advanced"; } | { case: undefined; value?: undefined }; /** * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; */ fileOutputs: EncodedFileOutput[]; /** * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; */ streamOutputs: StreamOutput[]; /** * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; */ segmentOutputs: SegmentedFileOutput[]; /** * @generated from field: repeated livekit.ImageOutput image_outputs = 14; */ imageOutputs: ImageOutput[]; /** * @generated from field: repeated livekit.WebhookConfig webhooks = 16; */ webhooks: WebhookConfig[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RoomCompositeEgressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RoomCompositeEgressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): RoomCompositeEgressRequest; static fromJsonString(jsonString: string, options?: Partial): RoomCompositeEgressRequest; static equals(a: RoomCompositeEgressRequest | PlainMessage | undefined, b: RoomCompositeEgressRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.WebEgressRequest */ declare class WebEgressRequest extends Message { /** * @generated from field: string url = 1; */ url: string; /** * @generated from field: bool audio_only = 2; */ audioOnly: boolean; /** * @generated from field: bool video_only = 3; */ videoOnly: boolean; /** * @generated from field: bool await_start_signal = 12; */ awaitStartSignal: boolean; /** * @generated from oneof livekit.WebEgressRequest.output */ output: { /** * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true]; * @deprecated */ value: EncodedFileOutput; case: "file"; } | { /** * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true]; * @deprecated */ value: StreamOutput; case: "stream"; } | { /** * @generated from field: livekit.SegmentedFileOutput segments = 6 [deprecated = true]; * @deprecated */ value: SegmentedFileOutput; case: "segments"; } | { case: undefined; value?: undefined }; /** * @generated from oneof livekit.WebEgressRequest.options */ options: { /** * @generated from field: livekit.EncodingOptionsPreset preset = 7; */ value: EncodingOptionsPreset; case: "preset"; } | { /** * @generated from field: livekit.EncodingOptions advanced = 8; */ value: EncodingOptions; case: "advanced"; } | { case: undefined; value?: undefined }; /** * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 9; */ fileOutputs: EncodedFileOutput[]; /** * @generated from field: repeated livekit.StreamOutput stream_outputs = 10; */ streamOutputs: StreamOutput[]; /** * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 11; */ segmentOutputs: SegmentedFileOutput[]; /** * @generated from field: repeated livekit.ImageOutput image_outputs = 13; */ imageOutputs: ImageOutput[]; /** * @generated from field: repeated livekit.WebhookConfig webhooks = 14; */ webhooks: WebhookConfig[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.WebEgressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): WebEgressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): WebEgressRequest; static fromJsonString(jsonString: string, options?: Partial): WebEgressRequest; static equals(a: WebEgressRequest | PlainMessage | undefined, b: WebEgressRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ParticipantEgressRequest */ declare class ParticipantEgressRequest extends Message { /** * @generated from field: string room_name = 1; */ roomName: string; /** * @generated from field: string identity = 2; */ identity: string; /** * @generated from field: bool screen_share = 3; */ screenShare: boolean; /** * @generated from oneof livekit.ParticipantEgressRequest.options */ options: { /** * @generated from field: livekit.EncodingOptionsPreset preset = 4; */ value: EncodingOptionsPreset; case: "preset"; } | { /** * @generated from field: livekit.EncodingOptions advanced = 5; */ value: EncodingOptions; case: "advanced"; } | { case: undefined; value?: undefined }; /** * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 6; */ fileOutputs: EncodedFileOutput[]; /** * @generated from field: repeated livekit.StreamOutput stream_outputs = 7; */ streamOutputs: StreamOutput[]; /** * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 8; */ segmentOutputs: SegmentedFileOutput[]; /** * @generated from field: repeated livekit.ImageOutput image_outputs = 9; */ imageOutputs: ImageOutput[]; /** * @generated from field: repeated livekit.WebhookConfig webhooks = 10; */ webhooks: WebhookConfig[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ParticipantEgressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantEgressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantEgressRequest; static fromJsonString(jsonString: string, options?: Partial): ParticipantEgressRequest; static equals(a: ParticipantEgressRequest | PlainMessage | undefined, b: ParticipantEgressRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.TrackCompositeEgressRequest */ declare class TrackCompositeEgressRequest extends Message { /** * @generated from field: string room_name = 1; */ roomName: string; /** * @generated from field: string audio_track_id = 2; */ audioTrackId: string; /** * @generated from field: string video_track_id = 3; */ videoTrackId: string; /** * @generated from oneof livekit.TrackCompositeEgressRequest.output */ output: { /** * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true]; * @deprecated */ value: EncodedFileOutput; case: "file"; } | { /** * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true]; * @deprecated */ value: StreamOutput; case: "stream"; } | { /** * @generated from field: livekit.SegmentedFileOutput segments = 8 [deprecated = true]; * @deprecated */ value: SegmentedFileOutput; case: "segments"; } | { case: undefined; value?: undefined }; /** * @generated from oneof livekit.TrackCompositeEgressRequest.options */ options: { /** * @generated from field: livekit.EncodingOptionsPreset preset = 6; */ value: EncodingOptionsPreset; case: "preset"; } | { /** * @generated from field: livekit.EncodingOptions advanced = 7; */ value: EncodingOptions; case: "advanced"; } | { case: undefined; value?: undefined }; /** * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; */ fileOutputs: EncodedFileOutput[]; /** * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; */ streamOutputs: StreamOutput[]; /** * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; */ segmentOutputs: SegmentedFileOutput[]; /** * @generated from field: repeated livekit.ImageOutput image_outputs = 14; */ imageOutputs: ImageOutput[]; /** * @generated from field: repeated livekit.WebhookConfig webhooks = 15; */ webhooks: WebhookConfig[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TrackCompositeEgressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrackCompositeEgressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): TrackCompositeEgressRequest; static fromJsonString(jsonString: string, options?: Partial): TrackCompositeEgressRequest; static equals(a: TrackCompositeEgressRequest | PlainMessage | undefined, b: TrackCompositeEgressRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.TrackEgressRequest */ declare class TrackEgressRequest extends Message { /** * @generated from field: string room_name = 1; */ roomName: string; /** * @generated from field: string track_id = 2; */ trackId: string; /** * @generated from oneof livekit.TrackEgressRequest.output */ output: { /** * @generated from field: livekit.DirectFileOutput file = 3; */ value: DirectFileOutput; case: "file"; } | { /** * @generated from field: string websocket_url = 4; */ value: string; case: "websocketUrl"; } | { case: undefined; value?: undefined }; /** * @generated from field: repeated livekit.WebhookConfig webhooks = 5; */ webhooks: WebhookConfig[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TrackEgressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrackEgressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): TrackEgressRequest; static fromJsonString(jsonString: string, options?: Partial): TrackEgressRequest; static equals(a: TrackEgressRequest | PlainMessage | undefined, b: TrackEgressRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DirectFileOutput */ declare class DirectFileOutput extends Message { /** * @generated from field: string filepath = 1; */ filepath: string; /** * @generated from field: bool disable_manifest = 5; */ disableManifest: boolean; /** * @generated from oneof livekit.DirectFileOutput.output */ output: { /** * @generated from field: livekit.S3Upload s3 = 2; */ value: S3Upload; case: "s3"; } | { /** * @generated from field: livekit.GCPUpload gcp = 3; */ value: GCPUpload; case: "gcp"; } | { /** * @generated from field: livekit.AzureBlobUpload azure = 4; */ value: AzureBlobUpload; case: "azure"; } | { /** * @generated from field: livekit.AliOSSUpload aliOSS = 6; */ value: AliOSSUpload; case: "aliOSS"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DirectFileOutput"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DirectFileOutput; static fromJson(jsonValue: JsonValue, options?: Partial): DirectFileOutput; static fromJsonString(jsonString: string, options?: Partial): DirectFileOutput; static equals(a: DirectFileOutput | PlainMessage | undefined, b: DirectFileOutput | PlainMessage | undefined): boolean; } /** * @generated from message livekit.EncodedFileOutput */ declare class EncodedFileOutput extends Message { /** * @generated from field: livekit.EncodedFileType file_type = 1; */ fileType: EncodedFileType; /** * @generated from field: string filepath = 2; */ filepath: string; /** * @generated from field: bool disable_manifest = 6; */ disableManifest: boolean; /** * @generated from oneof livekit.EncodedFileOutput.output */ output: { /** * @generated from field: livekit.S3Upload s3 = 3; */ value: S3Upload; case: "s3"; } | { /** * @generated from field: livekit.GCPUpload gcp = 4; */ value: GCPUpload; case: "gcp"; } | { /** * @generated from field: livekit.AzureBlobUpload azure = 5; */ value: AzureBlobUpload; case: "azure"; } | { /** * @generated from field: livekit.AliOSSUpload aliOSS = 7; */ value: AliOSSUpload; case: "aliOSS"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.EncodedFileOutput"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EncodedFileOutput; static fromJson(jsonValue: JsonValue, options?: Partial): EncodedFileOutput; static fromJsonString(jsonString: string, options?: Partial): EncodedFileOutput; static equals(a: EncodedFileOutput | PlainMessage | undefined, b: EncodedFileOutput | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateLayoutRequest */ declare class UpdateLayoutRequest extends Message { /** * @generated from field: string egress_id = 1; */ egressId: string; /** * @generated from field: string layout = 2; */ layout: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateLayoutRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLayoutRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLayoutRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateLayoutRequest; static equals(a: UpdateLayoutRequest | PlainMessage | undefined, b: UpdateLayoutRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateStreamRequest */ declare class UpdateStreamRequest extends Message { /** * @generated from field: string egress_id = 1; */ egressId: string; /** * @generated from field: repeated string add_output_urls = 2; */ addOutputUrls: string[]; /** * @generated from field: repeated string remove_output_urls = 3; */ removeOutputUrls: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateStreamRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateStreamRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateStreamRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateStreamRequest; static equals(a: UpdateStreamRequest | PlainMessage | undefined, b: UpdateStreamRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.StreamInfoList */ declare class StreamInfoList extends Message { /** * @generated from field: repeated livekit.StreamInfo info = 1; */ info: StreamInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.StreamInfoList"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfoList; static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfoList; static fromJsonString(jsonString: string, options?: Partial): StreamInfoList; static equals(a: StreamInfoList | PlainMessage | undefined, b: StreamInfoList | PlainMessage | undefined): boolean; } // Copyright 2023 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. /** * @generated from enum livekit.IngressInput */ declare enum IngressInput { /** * @generated from enum value: RTMP_INPUT = 0; */ RTMP_INPUT = 0, /** * @generated from enum value: WHIP_INPUT = 1; */ WHIP_INPUT = 1, /** * Pull from the provided URL. Only HTTP url are supported, serving either a single media file or a HLS stream * * @generated from enum value: URL_INPUT = 2; */ URL_INPUT = 2, } /** * @generated from enum livekit.IngressAudioEncodingPreset */ declare enum IngressAudioEncodingPreset { /** * OPUS, 2 channels, 96kbps * * @generated from enum value: OPUS_STEREO_96KBPS = 0; */ OPUS_STEREO_96KBPS = 0, /** * OPUS, 1 channel, 64kbps * * @generated from enum value: OPUS_MONO_64KBS = 1; */ OPUS_MONO_64KBS = 1, } /** * @generated from enum livekit.IngressVideoEncodingPreset */ declare enum IngressVideoEncodingPreset { /** * 1280x720, 30fps, 1900kbps main layer, 3 layers total * * @generated from enum value: H264_720P_30FPS_3_LAYERS = 0; */ H264_720P_30FPS_3_LAYERS = 0, /** * 1980x1080, 30fps, 3500kbps main layer, 3 layers total * * @generated from enum value: H264_1080P_30FPS_3_LAYERS = 1; */ H264_1080P_30FPS_3_LAYERS = 1, /** * 960x540, 25fps, 1000kbps main layer, 2 layers total * * @generated from enum value: H264_540P_25FPS_2_LAYERS = 2; */ H264_540P_25FPS_2_LAYERS = 2, /** * 1280x720, 30fps, 1900kbps, no simulcast * * @generated from enum value: H264_720P_30FPS_1_LAYER = 3; */ H264_720P_30FPS_1_LAYER = 3, /** * 1980x1080, 30fps, 3500kbps, no simulcast * * @generated from enum value: H264_1080P_30FPS_1_LAYER = 4; */ H264_1080P_30FPS_1_LAYER = 4, /** * 1280x720, 30fps, 2500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content * * @generated from enum value: H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5; */ H264_720P_30FPS_3_LAYERS_HIGH_MOTION = 5, /** * 1980x1080, 30fps, 4500kbps main layer, 3 layers total, higher bitrate for high motion, harder to encode content * * @generated from enum value: H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6; */ H264_1080P_30FPS_3_LAYERS_HIGH_MOTION = 6, /** * 960x540, 25fps, 1300kbps main layer, 2 layers total, higher bitrate for high motion, harder to encode content * * @generated from enum value: H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7; */ H264_540P_25FPS_2_LAYERS_HIGH_MOTION = 7, /** * 1280x720, 30fps, 2500kbps, no simulcast, higher bitrate for high motion, harder to encode content * * @generated from enum value: H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8; */ H264_720P_30FPS_1_LAYER_HIGH_MOTION = 8, /** * 1980x1080, 30fps, 4500kbps, no simulcast, higher bitrate for high motion, harder to encode content * * @generated from enum value: H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9; */ H264_1080P_30FPS_1_LAYER_HIGH_MOTION = 9, } /** * @generated from message livekit.CreateIngressRequest */ declare class CreateIngressRequest extends Message { /** * @generated from field: livekit.IngressInput input_type = 1; */ inputType: IngressInput; /** * Where to pull media from, only for URL input type * * @generated from field: string url = 9; */ url: string; /** * User provided identifier for the ingress * * @generated from field: string name = 2; */ name: string; /** * room to publish to * * @generated from field: string room_name = 3; */ roomName: string; /** * publish as participant * * @generated from field: string participant_identity = 4; */ participantIdentity: string; /** * name of publishing participant (used for display only) * * @generated from field: string participant_name = 5; */ participantName: string; /** * metadata associated with the publishing participant * * @generated from field: string participant_metadata = 10; */ participantMetadata: string; /** * [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead. * * @generated from field: bool bypass_transcoding = 8 [deprecated = true]; * @deprecated */ bypassTranscoding: boolean; /** * Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding. * * @generated from field: optional bool enable_transcoding = 11; */ enableTranscoding?: boolean; /** * @generated from field: livekit.IngressAudioOptions audio = 6; */ audio?: IngressAudioOptions; /** * @generated from field: livekit.IngressVideoOptions video = 7; */ video?: IngressVideoOptions; /** * The default value is true and when set to false, the new connection attempts will be rejected * * @generated from field: optional bool enabled = 12; */ enabled?: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.CreateIngressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateIngressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): CreateIngressRequest; static fromJsonString(jsonString: string, options?: Partial): CreateIngressRequest; static equals(a: CreateIngressRequest | PlainMessage | undefined, b: CreateIngressRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.IngressAudioOptions */ declare class IngressAudioOptions extends Message { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: livekit.TrackSource source = 2; */ source: TrackSource; /** * @generated from oneof livekit.IngressAudioOptions.encoding_options */ encodingOptions: { /** * @generated from field: livekit.IngressAudioEncodingPreset preset = 3; */ value: IngressAudioEncodingPreset; case: "preset"; } | { /** * @generated from field: livekit.IngressAudioEncodingOptions options = 4; */ value: IngressAudioEncodingOptions; case: "options"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.IngressAudioOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): IngressAudioOptions; static fromJson(jsonValue: JsonValue, options?: Partial): IngressAudioOptions; static fromJsonString(jsonString: string, options?: Partial): IngressAudioOptions; static equals(a: IngressAudioOptions | PlainMessage | undefined, b: IngressAudioOptions | PlainMessage | undefined): boolean; } /** * @generated from message livekit.IngressVideoOptions */ declare class IngressVideoOptions extends Message { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: livekit.TrackSource source = 2; */ source: TrackSource; /** * @generated from oneof livekit.IngressVideoOptions.encoding_options */ encodingOptions: { /** * @generated from field: livekit.IngressVideoEncodingPreset preset = 3; */ value: IngressVideoEncodingPreset; case: "preset"; } | { /** * @generated from field: livekit.IngressVideoEncodingOptions options = 4; */ value: IngressVideoEncodingOptions; case: "options"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.IngressVideoOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): IngressVideoOptions; static fromJson(jsonValue: JsonValue, options?: Partial): IngressVideoOptions; static fromJsonString(jsonString: string, options?: Partial): IngressVideoOptions; static equals(a: IngressVideoOptions | PlainMessage | undefined, b: IngressVideoOptions | PlainMessage | undefined): boolean; } /** * @generated from message livekit.IngressAudioEncodingOptions */ declare class IngressAudioEncodingOptions extends Message { /** * desired audio codec to publish to room * * @generated from field: livekit.AudioCodec audio_codec = 1; */ audioCodec: AudioCodec; /** * @generated from field: uint32 bitrate = 2; */ bitrate: number; /** * @generated from field: bool disable_dtx = 3; */ disableDtx: boolean; /** * @generated from field: uint32 channels = 4; */ channels: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.IngressAudioEncodingOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): IngressAudioEncodingOptions; static fromJson(jsonValue: JsonValue, options?: Partial): IngressAudioEncodingOptions; static fromJsonString(jsonString: string, options?: Partial): IngressAudioEncodingOptions; static equals(a: IngressAudioEncodingOptions | PlainMessage | undefined, b: IngressAudioEncodingOptions | PlainMessage | undefined): boolean; } /** * @generated from message livekit.IngressVideoEncodingOptions */ declare class IngressVideoEncodingOptions extends Message { /** * desired codec to publish to room * * @generated from field: livekit.VideoCodec video_codec = 1; */ videoCodec: VideoCodec; /** * @generated from field: double frame_rate = 2; */ frameRate: number; /** * simulcast layers to publish, when empty, should usually be set to layers at 1/2 and 1/4 of the dimensions * * @generated from field: repeated livekit.VideoLayer layers = 3; */ layers: VideoLayer[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.IngressVideoEncodingOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): IngressVideoEncodingOptions; static fromJson(jsonValue: JsonValue, options?: Partial): IngressVideoEncodingOptions; static fromJsonString(jsonString: string, options?: Partial): IngressVideoEncodingOptions; static equals(a: IngressVideoEncodingOptions | PlainMessage | undefined, b: IngressVideoEncodingOptions | PlainMessage | undefined): boolean; } /** * @generated from message livekit.IngressInfo */ declare class IngressInfo extends Message { /** * @generated from field: string ingress_id = 1; */ ingressId: string; /** * @generated from field: string name = 2; */ name: string; /** * @generated from field: string stream_key = 3; */ streamKey: string; /** * URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL) * * @generated from field: string url = 4; */ url: string; /** * for RTMP input, it'll be a rtmp:// URL * for FILE input, it'll be a http:// URL * for SRT input, it'll be a srt:// URL * * @generated from field: livekit.IngressInput input_type = 5; */ inputType: IngressInput; /** * @generated from field: bool bypass_transcoding = 13 [deprecated = true]; * @deprecated */ bypassTranscoding: boolean; /** * @generated from field: optional bool enable_transcoding = 15; */ enableTranscoding?: boolean; /** * @generated from field: livekit.IngressAudioOptions audio = 6; */ audio?: IngressAudioOptions; /** * @generated from field: livekit.IngressVideoOptions video = 7; */ video?: IngressVideoOptions; /** * @generated from field: string room_name = 8; */ roomName: string; /** * @generated from field: string participant_identity = 9; */ participantIdentity: string; /** * @generated from field: string participant_name = 10; */ participantName: string; /** * @generated from field: string participant_metadata = 14; */ participantMetadata: string; /** * @generated from field: bool reusable = 11; */ reusable: boolean; /** * Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth) * * @generated from field: livekit.IngressState state = 12; */ state?: IngressState; /** * The default value is true and when set to false, the new connection attempts will be rejected * * @generated from field: optional bool enabled = 16; */ enabled?: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.IngressInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): IngressInfo; static fromJson(jsonValue: JsonValue, options?: Partial): IngressInfo; static fromJsonString(jsonString: string, options?: Partial): IngressInfo; static equals(a: IngressInfo | PlainMessage | undefined, b: IngressInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.IngressState */ declare class IngressState extends Message { /** * @generated from field: livekit.IngressState.Status status = 1; */ status: IngressState_Status; /** * Error/non compliance description if any * * @generated from field: string error = 2; */ error: string; /** * @generated from field: livekit.InputVideoState video = 3; */ video?: InputVideoState; /** * @generated from field: livekit.InputAudioState audio = 4; */ audio?: InputAudioState; /** * ID of the current/previous room published to * * @generated from field: string room_id = 5; */ roomId: string; /** * @generated from field: int64 started_at = 7; */ startedAt: bigint; /** * @generated from field: int64 ended_at = 8; */ endedAt: bigint; /** * @generated from field: int64 updated_at = 10; */ updatedAt: bigint; /** * @generated from field: string resource_id = 9; */ resourceId: string; /** * @generated from field: repeated livekit.TrackInfo tracks = 6; */ tracks: TrackInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.IngressState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): IngressState; static fromJson(jsonValue: JsonValue, options?: Partial): IngressState; static fromJsonString(jsonString: string, options?: Partial): IngressState; static equals(a: IngressState | PlainMessage | undefined, b: IngressState | PlainMessage | undefined): boolean; } /** * @generated from enum livekit.IngressState.Status */ declare enum IngressState_Status { /** * @generated from enum value: ENDPOINT_INACTIVE = 0; */ ENDPOINT_INACTIVE = 0, /** * @generated from enum value: ENDPOINT_BUFFERING = 1; */ ENDPOINT_BUFFERING = 1, /** * @generated from enum value: ENDPOINT_PUBLISHING = 2; */ ENDPOINT_PUBLISHING = 2, /** * @generated from enum value: ENDPOINT_ERROR = 3; */ ENDPOINT_ERROR = 3, /** * @generated from enum value: ENDPOINT_COMPLETE = 4; */ ENDPOINT_COMPLETE = 4, } /** * @generated from message livekit.InputVideoState */ declare class InputVideoState extends Message { /** * @generated from field: string mime_type = 1; */ mimeType: string; /** * @generated from field: uint32 average_bitrate = 2; */ averageBitrate: number; /** * @generated from field: uint32 width = 3; */ width: number; /** * @generated from field: uint32 height = 4; */ height: number; /** * @generated from field: double framerate = 5; */ framerate: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.InputVideoState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): InputVideoState; static fromJson(jsonValue: JsonValue, options?: Partial): InputVideoState; static fromJsonString(jsonString: string, options?: Partial): InputVideoState; static equals(a: InputVideoState | PlainMessage | undefined, b: InputVideoState | PlainMessage | undefined): boolean; } /** * @generated from message livekit.InputAudioState */ declare class InputAudioState extends Message { /** * @generated from field: string mime_type = 1; */ mimeType: string; /** * @generated from field: uint32 average_bitrate = 2; */ averageBitrate: number; /** * @generated from field: uint32 channels = 3; */ channels: number; /** * @generated from field: uint32 sample_rate = 4; */ sampleRate: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.InputAudioState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): InputAudioState; static fromJson(jsonValue: JsonValue, options?: Partial): InputAudioState; static fromJsonString(jsonString: string, options?: Partial): InputAudioState; static equals(a: InputAudioState | PlainMessage | undefined, b: InputAudioState | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateIngressRequest */ declare class UpdateIngressRequest extends Message { /** * @generated from field: string ingress_id = 1; */ ingressId: string; /** * @generated from field: string name = 2; */ name: string; /** * @generated from field: string room_name = 3; */ roomName: string; /** * @generated from field: string participant_identity = 4; */ participantIdentity: string; /** * @generated from field: string participant_name = 5; */ participantName: string; /** * @generated from field: string participant_metadata = 9; */ participantMetadata: string; /** * @generated from field: optional bool bypass_transcoding = 8 [deprecated = true]; * @deprecated */ bypassTranscoding?: boolean; /** * @generated from field: optional bool enable_transcoding = 10; */ enableTranscoding?: boolean; /** * @generated from field: livekit.IngressAudioOptions audio = 6; */ audio?: IngressAudioOptions; /** * @generated from field: livekit.IngressVideoOptions video = 7; */ video?: IngressVideoOptions; /** * The default value is true and when set to false, the new connection attempts will be rejected * * @generated from field: optional bool enabled = 11; */ enabled?: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateIngressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateIngressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateIngressRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateIngressRequest; static equals(a: UpdateIngressRequest | PlainMessage | undefined, b: UpdateIngressRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListIngressRequest */ declare class ListIngressRequest extends Message { /** * @generated from field: livekit.TokenPagination page_token = 3; */ pageToken?: TokenPagination; /** * when blank, lists all ingress endpoints * * (optional, filter by room name) * * @generated from field: string room_name = 1; */ roomName: string; /** * (optional, filter by ingress ID) * * @generated from field: string ingress_id = 2; */ ingressId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListIngressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListIngressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListIngressRequest; static fromJsonString(jsonString: string, options?: Partial): ListIngressRequest; static equals(a: ListIngressRequest | PlainMessage | undefined, b: ListIngressRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListIngressResponse */ declare class ListIngressResponse extends Message { /** * @generated from field: livekit.TokenPagination next_page_token = 2; */ nextPageToken?: TokenPagination; /** * next field id: 3 * * @generated from field: repeated livekit.IngressInfo items = 1; */ items: IngressInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListIngressResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListIngressResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListIngressResponse; static fromJsonString(jsonString: string, options?: Partial): ListIngressResponse; static equals(a: ListIngressResponse | PlainMessage | undefined, b: ListIngressResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DeleteIngressRequest */ declare class DeleteIngressRequest extends Message { /** * @generated from field: string ingress_id = 1; */ ingressId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DeleteIngressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteIngressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteIngressRequest; static fromJsonString(jsonString: string, options?: Partial): DeleteIngressRequest; static equals(a: DeleteIngressRequest | PlainMessage | undefined, b: DeleteIngressRequest | PlainMessage | undefined): boolean; } // Copyright 2023 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. /** * @generated from message livekit.CreateRoomRequest */ declare class CreateRoomRequest extends Message { /** * name of the room * * @generated from field: string name = 1; */ name: string; /** * configuration to use for this room parameters. Setting parameters below override the config defaults. * * @generated from field: string room_preset = 12; */ roomPreset: string; /** * number of seconds to keep the room open if no one joins * * @generated from field: uint32 empty_timeout = 2; */ emptyTimeout: number; /** * number of seconds to keep the room open after everyone leaves * * @generated from field: uint32 departure_timeout = 10; */ departureTimeout: number; /** * limit number of participants that can be in a room * * @generated from field: uint32 max_participants = 3; */ maxParticipants: number; /** * override the node room is allocated to, for debugging * * @generated from field: string node_id = 4; */ nodeId: string; /** * metadata of room * * @generated from field: string metadata = 5; */ metadata: string; /** * auto-egress configurations * * @generated from field: livekit.RoomEgress egress = 6; */ egress?: RoomEgress; /** * playout delay of subscriber * * @generated from field: uint32 min_playout_delay = 7; */ minPlayoutDelay: number; /** * @generated from field: uint32 max_playout_delay = 8; */ maxPlayoutDelay: number; /** * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use * so not recommended for rooms with frequent subscription changes * * @generated from field: bool sync_streams = 9; */ syncStreams: boolean; /** * replay * * @generated from field: bool replay_enabled = 13; */ replayEnabled: boolean; /** * Define agents that should be dispatched to this room * * NEXT-ID: 15 * * @generated from field: repeated livekit.RoomAgentDispatch agents = 14; */ agents: RoomAgentDispatch[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.CreateRoomRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateRoomRequest; static fromJson(jsonValue: JsonValue, options?: Partial): CreateRoomRequest; static fromJsonString(jsonString: string, options?: Partial): CreateRoomRequest; static equals(a: CreateRoomRequest | PlainMessage | undefined, b: CreateRoomRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RoomEgress */ declare class RoomEgress extends Message { /** * @generated from field: livekit.RoomCompositeEgressRequest room = 1; */ room?: RoomCompositeEgressRequest; /** * @generated from field: livekit.AutoParticipantEgress participant = 3; */ participant?: AutoParticipantEgress; /** * @generated from field: livekit.AutoTrackEgress tracks = 2; */ tracks?: AutoTrackEgress; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RoomEgress"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RoomEgress; static fromJson(jsonValue: JsonValue, options?: Partial): RoomEgress; static fromJsonString(jsonString: string, options?: Partial): RoomEgress; static equals(a: RoomEgress | PlainMessage | undefined, b: RoomEgress | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RoomAgent */ declare class RoomAgent extends Message { /** * @generated from field: repeated livekit.RoomAgentDispatch dispatches = 1; */ dispatches: RoomAgentDispatch[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RoomAgent"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RoomAgent; static fromJson(jsonValue: JsonValue, options?: Partial): RoomAgent; static fromJsonString(jsonString: string, options?: Partial): RoomAgent; static equals(a: RoomAgent | PlainMessage | undefined, b: RoomAgent | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListRoomsRequest */ declare class ListRoomsRequest extends Message { /** * when set, will only return rooms with name match * * @generated from field: repeated string names = 1; */ names: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListRoomsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListRoomsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListRoomsRequest; static fromJsonString(jsonString: string, options?: Partial): ListRoomsRequest; static equals(a: ListRoomsRequest | PlainMessage | undefined, b: ListRoomsRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListRoomsResponse */ declare class ListRoomsResponse extends Message { /** * @generated from field: repeated livekit.Room rooms = 1; */ rooms: Room[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListRoomsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListRoomsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListRoomsResponse; static fromJsonString(jsonString: string, options?: Partial): ListRoomsResponse; static equals(a: ListRoomsResponse | PlainMessage | undefined, b: ListRoomsResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DeleteRoomRequest */ declare class DeleteRoomRequest extends Message { /** * name of the room * * @generated from field: string room = 1; */ room: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DeleteRoomRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRoomRequest; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRoomRequest; static fromJsonString(jsonString: string, options?: Partial): DeleteRoomRequest; static equals(a: DeleteRoomRequest | PlainMessage | undefined, b: DeleteRoomRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DeleteRoomResponse */ declare class DeleteRoomResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DeleteRoomResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRoomResponse; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRoomResponse; static fromJsonString(jsonString: string, options?: Partial): DeleteRoomResponse; static equals(a: DeleteRoomResponse | PlainMessage | undefined, b: DeleteRoomResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListParticipantsRequest */ declare class ListParticipantsRequest extends Message { /** * name of the room * * @generated from field: string room = 1; */ room: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListParticipantsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListParticipantsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListParticipantsRequest; static fromJsonString(jsonString: string, options?: Partial): ListParticipantsRequest; static equals(a: ListParticipantsRequest | PlainMessage | undefined, b: ListParticipantsRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListParticipantsResponse */ declare class ListParticipantsResponse extends Message { /** * @generated from field: repeated livekit.ParticipantInfo participants = 1; */ participants: ParticipantInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListParticipantsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListParticipantsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListParticipantsResponse; static fromJsonString(jsonString: string, options?: Partial): ListParticipantsResponse; static equals(a: ListParticipantsResponse | PlainMessage | undefined, b: ListParticipantsResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RoomParticipantIdentity */ declare class RoomParticipantIdentity extends Message { /** * name of the room * * @generated from field: string room = 1; */ room: string; /** * identity of the participant * * @generated from field: string identity = 2; */ identity: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RoomParticipantIdentity"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RoomParticipantIdentity; static fromJson(jsonValue: JsonValue, options?: Partial): RoomParticipantIdentity; static fromJsonString(jsonString: string, options?: Partial): RoomParticipantIdentity; static equals(a: RoomParticipantIdentity | PlainMessage | undefined, b: RoomParticipantIdentity | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RemoveParticipantResponse */ declare class RemoveParticipantResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RemoveParticipantResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RemoveParticipantResponse; static fromJson(jsonValue: JsonValue, options?: Partial): RemoveParticipantResponse; static fromJsonString(jsonString: string, options?: Partial): RemoveParticipantResponse; static equals(a: RemoveParticipantResponse | PlainMessage | undefined, b: RemoveParticipantResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.MuteRoomTrackRequest */ declare class MuteRoomTrackRequest extends Message { /** * name of the room * * @generated from field: string room = 1; */ room: string; /** * @generated from field: string identity = 2; */ identity: string; /** * sid of the track to mute * * @generated from field: string track_sid = 3; */ trackSid: string; /** * set to true to mute, false to unmute * * @generated from field: bool muted = 4; */ muted: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.MuteRoomTrackRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MuteRoomTrackRequest; static fromJson(jsonValue: JsonValue, options?: Partial): MuteRoomTrackRequest; static fromJsonString(jsonString: string, options?: Partial): MuteRoomTrackRequest; static equals(a: MuteRoomTrackRequest | PlainMessage | undefined, b: MuteRoomTrackRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.MuteRoomTrackResponse */ declare class MuteRoomTrackResponse extends Message { /** * @generated from field: livekit.TrackInfo track = 1; */ track?: TrackInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.MuteRoomTrackResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MuteRoomTrackResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MuteRoomTrackResponse; static fromJsonString(jsonString: string, options?: Partial): MuteRoomTrackResponse; static equals(a: MuteRoomTrackResponse | PlainMessage | undefined, b: MuteRoomTrackResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateParticipantRequest */ declare class UpdateParticipantRequest extends Message { /** * @generated from field: string room = 1; */ room: string; /** * @generated from field: string identity = 2; */ identity: string; /** * metadata to update. skipping updates if left empty * * @generated from field: string metadata = 3; */ metadata: string; /** * set to update the participant's permissions * * @generated from field: livekit.ParticipantPermission permission = 4; */ permission?: ParticipantPermission; /** * display name to update * * @generated from field: string name = 5; */ name: string; /** * attributes to update. it only updates attributes that have been set * to delete attributes, set the value to an empty string * * @generated from field: map attributes = 6; */ attributes: { [key: string]: string }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateParticipantRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateParticipantRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateParticipantRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateParticipantRequest; static equals(a: UpdateParticipantRequest | PlainMessage | undefined, b: UpdateParticipantRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateSubscriptionsRequest */ declare class UpdateSubscriptionsRequest extends Message { /** * @generated from field: string room = 1; */ room: string; /** * @generated from field: string identity = 2; */ identity: string; /** * list of sids of tracks * * @generated from field: repeated string track_sids = 3; */ trackSids: string[]; /** * set to true to subscribe, false to unsubscribe from tracks * * @generated from field: bool subscribe = 4; */ subscribe: boolean; /** * list of participants and their tracks * * @generated from field: repeated livekit.ParticipantTracks participant_tracks = 5; */ participantTracks: ParticipantTracks[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateSubscriptionsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscriptionsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscriptionsRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateSubscriptionsRequest; static equals(a: UpdateSubscriptionsRequest | PlainMessage | undefined, b: UpdateSubscriptionsRequest | PlainMessage | undefined): boolean; } /** * empty for now * * @generated from message livekit.UpdateSubscriptionsResponse */ declare class UpdateSubscriptionsResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateSubscriptionsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSubscriptionsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSubscriptionsResponse; static fromJsonString(jsonString: string, options?: Partial): UpdateSubscriptionsResponse; static equals(a: UpdateSubscriptionsResponse | PlainMessage | undefined, b: UpdateSubscriptionsResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SendDataRequest */ declare class SendDataRequest extends Message { /** * @generated from field: string room = 1; */ room: string; /** * @generated from field: bytes data = 2; */ data: Uint8Array; /** * @generated from field: livekit.DataPacket.Kind kind = 3; */ kind: DataPacket_Kind; /** * mark deprecated * * @generated from field: repeated string destination_sids = 4 [deprecated = true]; * @deprecated */ destinationSids: string[]; /** * when set, only forward to these identities * * @generated from field: repeated string destination_identities = 6; */ destinationIdentities: string[]; /** * @generated from field: optional string topic = 5; */ topic?: string; /** * added by SDK to enable de-duping of messages, for INTERNAL USE ONLY * * @generated from field: bytes nonce = 7; */ nonce: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SendDataRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SendDataRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SendDataRequest; static fromJsonString(jsonString: string, options?: Partial): SendDataRequest; static equals(a: SendDataRequest | PlainMessage | undefined, b: SendDataRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SendDataResponse */ declare class SendDataResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SendDataResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SendDataResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SendDataResponse; static fromJsonString(jsonString: string, options?: Partial): SendDataResponse; static equals(a: SendDataResponse | PlainMessage | undefined, b: SendDataResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateRoomMetadataRequest */ declare class UpdateRoomMetadataRequest extends Message { /** * @generated from field: string room = 1; */ room: string; /** * metadata to update. skipping updates if left empty * * @generated from field: string metadata = 2; */ metadata: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateRoomMetadataRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateRoomMetadataRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateRoomMetadataRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateRoomMetadataRequest; static equals(a: UpdateRoomMetadataRequest | PlainMessage | undefined, b: UpdateRoomMetadataRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RoomConfiguration */ declare class RoomConfiguration extends Message { /** * Used as ID, must be unique * * @generated from field: string name = 1; */ name: string; /** * number of seconds to keep the room open if no one joins * * @generated from field: uint32 empty_timeout = 2; */ emptyTimeout: number; /** * number of seconds to keep the room open after everyone leaves * * @generated from field: uint32 departure_timeout = 3; */ departureTimeout: number; /** * limit number of participants that can be in a room, excluding Egress and Ingress participants * * @generated from field: uint32 max_participants = 4; */ maxParticipants: number; /** * metadata of room * * @generated from field: string metadata = 11; */ metadata: string; /** * egress * * @generated from field: livekit.RoomEgress egress = 5; */ egress?: RoomEgress; /** * playout delay of subscriber * * @generated from field: uint32 min_playout_delay = 7; */ minPlayoutDelay: number; /** * @generated from field: uint32 max_playout_delay = 8; */ maxPlayoutDelay: number; /** * improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use * so not recommended for rooms with frequent subscription changes * * @generated from field: bool sync_streams = 9; */ syncStreams: boolean; /** * Define agents that should be dispatched to this room * * @generated from field: repeated livekit.RoomAgentDispatch agents = 10; */ agents: RoomAgentDispatch[]; /** * Tags to attach to the room * * @generated from field: map tags = 12; */ tags: { [key: string]: string }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RoomConfiguration"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RoomConfiguration; static fromJson(jsonValue: JsonValue, options?: Partial): RoomConfiguration; static fromJsonString(jsonString: string, options?: Partial): RoomConfiguration; static equals(a: RoomConfiguration | PlainMessage | undefined, b: RoomConfiguration | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ForwardParticipantRequest */ declare class ForwardParticipantRequest extends Message { /** * room to forward participant from * * @generated from field: string room = 1; */ room: string; /** * identity of the participant to forward * * @generated from field: string identity = 2; */ identity: string; /** * room to forward participant to * * @generated from field: string destination_room = 3; */ destinationRoom: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ForwardParticipantRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ForwardParticipantRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ForwardParticipantRequest; static fromJsonString(jsonString: string, options?: Partial): ForwardParticipantRequest; static equals(a: ForwardParticipantRequest | PlainMessage | undefined, b: ForwardParticipantRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ForwardParticipantResponse */ declare class ForwardParticipantResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ForwardParticipantResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ForwardParticipantResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ForwardParticipantResponse; static fromJsonString(jsonString: string, options?: Partial): ForwardParticipantResponse; static equals(a: ForwardParticipantResponse | PlainMessage | undefined, b: ForwardParticipantResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.MoveParticipantRequest */ declare class MoveParticipantRequest extends Message { /** * room to move participant from * * @generated from field: string room = 1; */ room: string; /** * identity of the participant to move to * * @generated from field: string identity = 2; */ identity: string; /** * room to move participant to * * @generated from field: string destination_room = 3; */ destinationRoom: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.MoveParticipantRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MoveParticipantRequest; static fromJson(jsonValue: JsonValue, options?: Partial): MoveParticipantRequest; static fromJsonString(jsonString: string, options?: Partial): MoveParticipantRequest; static equals(a: MoveParticipantRequest | PlainMessage | undefined, b: MoveParticipantRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.MoveParticipantResponse */ declare class MoveParticipantResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.MoveParticipantResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MoveParticipantResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MoveParticipantResponse; static fromJsonString(jsonString: string, options?: Partial): MoveParticipantResponse; static equals(a: MoveParticipantResponse | PlainMessage | undefined, b: MoveParticipantResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.PerformRpcRequest */ declare class PerformRpcRequest extends Message { /** * @generated from field: string room = 1; */ room: string; /** * @generated from field: string destination_identity = 2; */ destinationIdentity: string; /** * @generated from field: string method = 3; */ method: string; /** * @generated from field: string payload = 4; */ payload: string; /** * @generated from field: uint32 response_timeout_ms = 5; */ responseTimeoutMs: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.PerformRpcRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PerformRpcRequest; static fromJson(jsonValue: JsonValue, options?: Partial): PerformRpcRequest; static fromJsonString(jsonString: string, options?: Partial): PerformRpcRequest; static equals(a: PerformRpcRequest | PlainMessage | undefined, b: PerformRpcRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.PerformRpcResponse */ declare class PerformRpcResponse extends Message { /** * @generated from field: string payload = 1; */ payload: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.PerformRpcResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PerformRpcResponse; static fromJson(jsonValue: JsonValue, options?: Partial): PerformRpcResponse; static fromJsonString(jsonString: string, options?: Partial): PerformRpcResponse; static equals(a: PerformRpcResponse | PlainMessage | undefined, b: PerformRpcResponse | PlainMessage | undefined): boolean; } // Copyright 2023 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. /** * @generated from enum livekit.SIPStatusCode */ declare enum SIPStatusCode { /** * @generated from enum value: SIP_STATUS_UNKNOWN = 0; */ SIP_STATUS_UNKNOWN = 0, /** * @generated from enum value: SIP_STATUS_TRYING = 100; */ SIP_STATUS_TRYING = 100, /** * @generated from enum value: SIP_STATUS_RINGING = 180; */ SIP_STATUS_RINGING = 180, /** * @generated from enum value: SIP_STATUS_CALL_IS_FORWARDED = 181; */ SIP_STATUS_CALL_IS_FORWARDED = 181, /** * @generated from enum value: SIP_STATUS_QUEUED = 182; */ SIP_STATUS_QUEUED = 182, /** * @generated from enum value: SIP_STATUS_SESSION_PROGRESS = 183; */ SIP_STATUS_SESSION_PROGRESS = 183, /** * @generated from enum value: SIP_STATUS_EARLY_DIALOG_TERMINATED = 199; */ SIP_STATUS_EARLY_DIALOG_TERMINATED = 199, /** * @generated from enum value: SIP_STATUS_OK = 200; */ SIP_STATUS_OK = 200, /** * @generated from enum value: SIP_STATUS_ACCEPTED = 202; */ SIP_STATUS_ACCEPTED = 202, /** * @generated from enum value: SIP_STATUS_NO_NOTIFICATION = 204; */ SIP_STATUS_NO_NOTIFICATION = 204, /** * @generated from enum value: SIP_STATUS_MULTIPLE_CHOICES = 300; */ SIP_STATUS_MULTIPLE_CHOICES = 300, /** * @generated from enum value: SIP_STATUS_MOVED_PERMANENTLY = 301; */ SIP_STATUS_MOVED_PERMANENTLY = 301, /** * @generated from enum value: SIP_STATUS_MOVED_TEMPORARILY = 302; */ SIP_STATUS_MOVED_TEMPORARILY = 302, /** * @generated from enum value: SIP_STATUS_USE_PROXY = 305; */ SIP_STATUS_USE_PROXY = 305, /** * @generated from enum value: SIP_STATUS_ALTERNATIVE_SERVICE = 380; */ SIP_STATUS_ALTERNATIVE_SERVICE = 380, /** * @generated from enum value: SIP_STATUS_BAD_REQUEST = 400; */ SIP_STATUS_BAD_REQUEST = 400, /** * @generated from enum value: SIP_STATUS_UNAUTHORIZED = 401; */ SIP_STATUS_UNAUTHORIZED = 401, /** * @generated from enum value: SIP_STATUS_PAYMENT_REQUIRED = 402; */ SIP_STATUS_PAYMENT_REQUIRED = 402, /** * @generated from enum value: SIP_STATUS_FORBIDDEN = 403; */ SIP_STATUS_FORBIDDEN = 403, /** * @generated from enum value: SIP_STATUS_NOTFOUND = 404; */ SIP_STATUS_NOTFOUND = 404, /** * @generated from enum value: SIP_STATUS_METHOD_NOT_ALLOWED = 405; */ SIP_STATUS_METHOD_NOT_ALLOWED = 405, /** * @generated from enum value: SIP_STATUS_NOT_ACCEPTABLE = 406; */ SIP_STATUS_NOT_ACCEPTABLE = 406, /** * @generated from enum value: SIP_STATUS_PROXY_AUTH_REQUIRED = 407; */ SIP_STATUS_PROXY_AUTH_REQUIRED = 407, /** * @generated from enum value: SIP_STATUS_REQUEST_TIMEOUT = 408; */ SIP_STATUS_REQUEST_TIMEOUT = 408, /** * @generated from enum value: SIP_STATUS_CONFLICT = 409; */ SIP_STATUS_CONFLICT = 409, /** * @generated from enum value: SIP_STATUS_GONE = 410; */ SIP_STATUS_GONE = 410, /** * @generated from enum value: SIP_STATUS_LENGTH_REQUIRED = 411; */ SIP_STATUS_LENGTH_REQUIRED = 411, /** * @generated from enum value: SIP_STATUS_CONDITIONAL_REQUEST_FAILED = 412; */ SIP_STATUS_CONDITIONAL_REQUEST_FAILED = 412, /** * @generated from enum value: SIP_STATUS_REQUEST_ENTITY_TOO_LARGE = 413; */ SIP_STATUS_REQUEST_ENTITY_TOO_LARGE = 413, /** * @generated from enum value: SIP_STATUS_REQUEST_URI_TOO_LONG = 414; */ SIP_STATUS_REQUEST_URI_TOO_LONG = 414, /** * @generated from enum value: SIP_STATUS_UNSUPPORTED_MEDIA_TYPE = 415; */ SIP_STATUS_UNSUPPORTED_MEDIA_TYPE = 415, /** * @generated from enum value: SIP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE = 416; */ SIP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE = 416, /** * @generated from enum value: SIP_STATUS_UNKNOWN_RESOURCE_PRIORITY = 417; */ SIP_STATUS_UNKNOWN_RESOURCE_PRIORITY = 417, /** * @generated from enum value: SIP_STATUS_BAD_EXTENSION = 420; */ SIP_STATUS_BAD_EXTENSION = 420, /** * @generated from enum value: SIP_STATUS_EXTENSION_REQUIRED = 421; */ SIP_STATUS_EXTENSION_REQUIRED = 421, /** * @generated from enum value: SIP_STATUS_SESSION_INTERVAL_TOO_SMALL = 422; */ SIP_STATUS_SESSION_INTERVAL_TOO_SMALL = 422, /** * @generated from enum value: SIP_STATUS_INTERVAL_TOO_BRIEF = 423; */ SIP_STATUS_INTERVAL_TOO_BRIEF = 423, /** * @generated from enum value: SIP_STATUS_BAD_LOCATION_INFORMATION = 424; */ SIP_STATUS_BAD_LOCATION_INFORMATION = 424, /** * @generated from enum value: SIP_STATUS_BAD_ALERT_MESSAGE = 425; */ SIP_STATUS_BAD_ALERT_MESSAGE = 425, /** * @generated from enum value: SIP_STATUS_USE_IDENTITY_HEADER = 428; */ SIP_STATUS_USE_IDENTITY_HEADER = 428, /** * @generated from enum value: SIP_STATUS_PROVIDE_REFERRER_IDENTITY = 429; */ SIP_STATUS_PROVIDE_REFERRER_IDENTITY = 429, /** * @generated from enum value: SIP_STATUS_FLOW_FAILED = 430; */ SIP_STATUS_FLOW_FAILED = 430, /** * @generated from enum value: SIP_STATUS_ANONYMITY_DISALLOWED = 433; */ SIP_STATUS_ANONYMITY_DISALLOWED = 433, /** * @generated from enum value: SIP_STATUS_BAD_IDENTITY_INFO = 436; */ SIP_STATUS_BAD_IDENTITY_INFO = 436, /** * @generated from enum value: SIP_STATUS_UNSUPPORTED_CERTIFICATE = 437; */ SIP_STATUS_UNSUPPORTED_CERTIFICATE = 437, /** * @generated from enum value: SIP_STATUS_INVALID_IDENTITY_HEADER = 438; */ SIP_STATUS_INVALID_IDENTITY_HEADER = 438, /** * @generated from enum value: SIP_STATUS_FIRST_HOP_LACKS_OUTBOUND_SUPPORT = 439; */ SIP_STATUS_FIRST_HOP_LACKS_OUTBOUND_SUPPORT = 439, /** * @generated from enum value: SIP_STATUS_MAX_BREADTH_EXCEEDED = 440; */ SIP_STATUS_MAX_BREADTH_EXCEEDED = 440, /** * @generated from enum value: SIP_STATUS_BAD_INFO_PACKAGE = 469; */ SIP_STATUS_BAD_INFO_PACKAGE = 469, /** * @generated from enum value: SIP_STATUS_CONSENT_NEEDED = 470; */ SIP_STATUS_CONSENT_NEEDED = 470, /** * @generated from enum value: SIP_STATUS_TEMPORARILY_UNAVAILABLE = 480; */ SIP_STATUS_TEMPORARILY_UNAVAILABLE = 480, /** * @generated from enum value: SIP_STATUS_CALL_TRANSACTION_DOES_NOT_EXISTS = 481; */ SIP_STATUS_CALL_TRANSACTION_DOES_NOT_EXISTS = 481, /** * @generated from enum value: SIP_STATUS_LOOP_DETECTED = 482; */ SIP_STATUS_LOOP_DETECTED = 482, /** * @generated from enum value: SIP_STATUS_TOO_MANY_HOPS = 483; */ SIP_STATUS_TOO_MANY_HOPS = 483, /** * @generated from enum value: SIP_STATUS_ADDRESS_INCOMPLETE = 484; */ SIP_STATUS_ADDRESS_INCOMPLETE = 484, /** * @generated from enum value: SIP_STATUS_AMBIGUOUS = 485; */ SIP_STATUS_AMBIGUOUS = 485, /** * @generated from enum value: SIP_STATUS_BUSY_HERE = 486; */ SIP_STATUS_BUSY_HERE = 486, /** * @generated from enum value: SIP_STATUS_REQUEST_TERMINATED = 487; */ SIP_STATUS_REQUEST_TERMINATED = 487, /** * @generated from enum value: SIP_STATUS_NOT_ACCEPTABLE_HERE = 488; */ SIP_STATUS_NOT_ACCEPTABLE_HERE = 488, /** * @generated from enum value: SIP_STATUS_BAD_EVENT = 489; */ SIP_STATUS_BAD_EVENT = 489, /** * @generated from enum value: SIP_STATUS_REQUEST_PENDING = 491; */ SIP_STATUS_REQUEST_PENDING = 491, /** * @generated from enum value: SIP_STATUS_UNDECIPHERABLE = 493; */ SIP_STATUS_UNDECIPHERABLE = 493, /** * @generated from enum value: SIP_STATUS_SECURITY_AGREEMENT_REQUIRED = 494; */ SIP_STATUS_SECURITY_AGREEMENT_REQUIRED = 494, /** * @generated from enum value: SIP_STATUS_INTERNAL_SERVER_ERROR = 500; */ SIP_STATUS_INTERNAL_SERVER_ERROR = 500, /** * @generated from enum value: SIP_STATUS_NOT_IMPLEMENTED = 501; */ SIP_STATUS_NOT_IMPLEMENTED = 501, /** * @generated from enum value: SIP_STATUS_BAD_GATEWAY = 502; */ SIP_STATUS_BAD_GATEWAY = 502, /** * @generated from enum value: SIP_STATUS_SERVICE_UNAVAILABLE = 503; */ SIP_STATUS_SERVICE_UNAVAILABLE = 503, /** * @generated from enum value: SIP_STATUS_GATEWAY_TIMEOUT = 504; */ SIP_STATUS_GATEWAY_TIMEOUT = 504, /** * @generated from enum value: SIP_STATUS_VERSION_NOT_SUPPORTED = 505; */ SIP_STATUS_VERSION_NOT_SUPPORTED = 505, /** * @generated from enum value: SIP_STATUS_MESSAGE_TOO_LARGE = 513; */ SIP_STATUS_MESSAGE_TOO_LARGE = 513, /** * @generated from enum value: SIP_STATUS_GLOBAL_BUSY_EVERYWHERE = 600; */ SIP_STATUS_GLOBAL_BUSY_EVERYWHERE = 600, /** * @generated from enum value: SIP_STATUS_GLOBAL_DECLINE = 603; */ SIP_STATUS_GLOBAL_DECLINE = 603, /** * @generated from enum value: SIP_STATUS_GLOBAL_DOES_NOT_EXIST_ANYWHERE = 604; */ SIP_STATUS_GLOBAL_DOES_NOT_EXIST_ANYWHERE = 604, /** * @generated from enum value: SIP_STATUS_GLOBAL_NOT_ACCEPTABLE = 606; */ SIP_STATUS_GLOBAL_NOT_ACCEPTABLE = 606, /** * @generated from enum value: SIP_STATUS_GLOBAL_UNWANTED = 607; */ SIP_STATUS_GLOBAL_UNWANTED = 607, /** * @generated from enum value: SIP_STATUS_GLOBAL_REJECTED = 608; */ SIP_STATUS_GLOBAL_REJECTED = 608, } /** * @generated from enum livekit.SIPTransport */ declare enum SIPTransport { /** * @generated from enum value: SIP_TRANSPORT_AUTO = 0; */ SIP_TRANSPORT_AUTO = 0, /** * @generated from enum value: SIP_TRANSPORT_UDP = 1; */ SIP_TRANSPORT_UDP = 1, /** * @generated from enum value: SIP_TRANSPORT_TCP = 2; */ SIP_TRANSPORT_TCP = 2, /** * @generated from enum value: SIP_TRANSPORT_TLS = 3; */ SIP_TRANSPORT_TLS = 3, } /** * @generated from enum livekit.SIPHeaderOptions */ declare enum SIPHeaderOptions { /** * do not map any headers, except ones mapped explicitly * * @generated from enum value: SIP_NO_HEADERS = 0; */ SIP_NO_HEADERS = 0, /** * map all X-* headers to sip.h.x-* attributes * * @generated from enum value: SIP_X_HEADERS = 1; */ SIP_X_HEADERS = 1, /** * map all headers to sip.h.* attributes * * @generated from enum value: SIP_ALL_HEADERS = 2; */ SIP_ALL_HEADERS = 2, } /** * @generated from enum livekit.SIPMediaEncryption */ declare enum SIPMediaEncryption { /** * do not enable encryption * * @generated from enum value: SIP_MEDIA_ENCRYPT_DISABLE = 0; */ SIP_MEDIA_ENCRYPT_DISABLE = 0, /** * use encryption if available * * @generated from enum value: SIP_MEDIA_ENCRYPT_ALLOW = 1; */ SIP_MEDIA_ENCRYPT_ALLOW = 1, /** * require encryption * * @generated from enum value: SIP_MEDIA_ENCRYPT_REQUIRE = 2; */ SIP_MEDIA_ENCRYPT_REQUIRE = 2, } /** * @generated from enum livekit.ProviderType */ declare enum ProviderType { /** * @generated from enum value: PROVIDER_TYPE_UNKNOWN = 0; */ UNKNOWN = 0, /** * Internally implemented * * @generated from enum value: PROVIDER_TYPE_INTERNAL = 1; */ INTERNAL = 1, /** * Vendor provided * * @generated from enum value: PROVIDER_TYPE_EXTERNAL = 2; */ EXTERNAL = 2, } /** * @generated from enum livekit.SIPCallStatus */ declare enum SIPCallStatus { /** * Incoming call is being handled by the SIP service. The SIP participant hasn't joined a LiveKit room yet * * @generated from enum value: SCS_CALL_INCOMING = 0; */ SCS_CALL_INCOMING = 0, /** * SIP participant for outgoing call has been created. The SIP outgoing call is being established * * @generated from enum value: SCS_PARTICIPANT_JOINED = 1; */ SCS_PARTICIPANT_JOINED = 1, /** * Call is ongoing. SIP participant is active in the LiveKit room * * @generated from enum value: SCS_ACTIVE = 2; */ SCS_ACTIVE = 2, /** * Call has ended * * @generated from enum value: SCS_DISCONNECTED = 3; */ SCS_DISCONNECTED = 3, /** * Call has ended or never succeeded because of an error * * @generated from enum value: SCS_ERROR = 4; */ SCS_ERROR = 4, } /** * @generated from enum livekit.SIPTransferStatus */ declare enum SIPTransferStatus { /** * @generated from enum value: STS_TRANSFER_ONGOING = 0; */ STS_TRANSFER_ONGOING = 0, /** * @generated from enum value: STS_TRANSFER_FAILED = 1; */ STS_TRANSFER_FAILED = 1, /** * @generated from enum value: STS_TRANSFER_SUCCESSFUL = 2; */ STS_TRANSFER_SUCCESSFUL = 2, } /** * @generated from enum livekit.SIPFeature */ declare enum SIPFeature { /** * @generated from enum value: NONE = 0; */ NONE = 0, /** * @generated from enum value: KRISP_ENABLED = 1; */ KRISP_ENABLED = 1, } /** * @generated from enum livekit.SIPCallDirection */ declare enum SIPCallDirection { /** * @generated from enum value: SCD_UNKNOWN = 0; */ SCD_UNKNOWN = 0, /** * @generated from enum value: SCD_INBOUND = 1; */ SCD_INBOUND = 1, /** * @generated from enum value: SCD_OUTBOUND = 2; */ SCD_OUTBOUND = 2, } /** * SIPStatus is returned as an error detail in CreateSIPParticipant. * * @generated from message livekit.SIPStatus */ declare class SIPStatus extends Message { /** * @generated from field: livekit.SIPStatusCode code = 1; */ code: SIPStatusCode; /** * @generated from field: string status = 2; */ status: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPStatus"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPStatus; static fromJson(jsonValue: JsonValue, options?: Partial): SIPStatus; static fromJsonString(jsonString: string, options?: Partial): SIPStatus; static equals(a: SIPStatus | PlainMessage | undefined, b: SIPStatus | PlainMessage | undefined): boolean; } /** * @generated from message livekit.CreateSIPTrunkRequest * @deprecated */ declare class CreateSIPTrunkRequest extends Message { /** * CIDR or IPs that traffic is accepted from * An empty list means all inbound traffic is accepted. * * @generated from field: repeated string inbound_addresses = 1; */ inboundAddresses: string[]; /** * IP that SIP INVITE is sent too * * @generated from field: string outbound_address = 2; */ outboundAddress: string; /** * Number used to make outbound calls * * @generated from field: string outbound_number = 3; */ outboundNumber: string; /** * @generated from field: repeated string inbound_numbers_regex = 4 [deprecated = true]; * @deprecated */ inboundNumbersRegex: string[]; /** * Accepted `To` values. This Trunk will only accept a call made to * these numbers. This allows you to have distinct Trunks for different phone * numbers at the same provider. * * @generated from field: repeated string inbound_numbers = 9; */ inboundNumbers: string[]; /** * Username and password used to authenticate inbound and outbound SIP invites * May be empty to have no Authentication * * @generated from field: string inbound_username = 5; */ inboundUsername: string; /** * @generated from field: string inbound_password = 6; */ inboundPassword: string; /** * @generated from field: string outbound_username = 7; */ outboundUsername: string; /** * @generated from field: string outbound_password = 8; */ outboundPassword: string; /** * Optional human-readable name for the Trunk. * * @generated from field: string name = 10; */ name: string; /** * Optional user-defined metadata for the Trunk. * * @generated from field: string metadata = 11; */ metadata: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.CreateSIPTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): CreateSIPTrunkRequest; static equals(a: CreateSIPTrunkRequest | PlainMessage | undefined, b: CreateSIPTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ProviderInfo */ declare class ProviderInfo extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string name = 2; */ name: string; /** * @generated from field: livekit.ProviderType type = 3; */ type: ProviderType; /** * @generated from field: bool prevent_transfer = 4; */ preventTransfer: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ProviderInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ProviderInfo; static fromJson(jsonValue: JsonValue, options?: Partial): ProviderInfo; static fromJsonString(jsonString: string, options?: Partial): ProviderInfo; static equals(a: ProviderInfo | PlainMessage | undefined, b: ProviderInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPTrunkInfo * @deprecated */ declare class SIPTrunkInfo extends Message { /** * @generated from field: string sip_trunk_id = 1; */ sipTrunkId: string; /** * @generated from field: livekit.SIPTrunkInfo.TrunkKind kind = 14; */ kind: SIPTrunkInfo_TrunkKind; /** * CIDR or IPs that traffic is accepted from * An empty list means all inbound traffic is accepted. * * @generated from field: repeated string inbound_addresses = 2; */ inboundAddresses: string[]; /** * IP that SIP INVITE is sent too * * @generated from field: string outbound_address = 3; */ outboundAddress: string; /** * Number used to make outbound calls * * @generated from field: string outbound_number = 4; */ outboundNumber: string; /** * Transport used for inbound and outbound calls. * * @generated from field: livekit.SIPTransport transport = 13; */ transport: SIPTransport; /** * @generated from field: repeated string inbound_numbers_regex = 5 [deprecated = true]; * @deprecated */ inboundNumbersRegex: string[]; /** * Accepted `To` values. This Trunk will only accept a call made to * these numbers. This allows you to have distinct Trunks for different phone * numbers at the same provider. * * @generated from field: repeated string inbound_numbers = 10; */ inboundNumbers: string[]; /** * Username and password used to authenticate inbound and outbound SIP invites * May be empty to have no Authentication * * @generated from field: string inbound_username = 6; */ inboundUsername: string; /** * @generated from field: string inbound_password = 7; */ inboundPassword: string; /** * @generated from field: string outbound_username = 8; */ outboundUsername: string; /** * @generated from field: string outbound_password = 9; */ outboundPassword: string; /** * Human-readable name for the Trunk. * * @generated from field: string name = 11; */ name: string; /** * User-defined metadata for the Trunk. * * @generated from field: string metadata = 12; */ metadata: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPTrunkInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPTrunkInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SIPTrunkInfo; static fromJsonString(jsonString: string, options?: Partial): SIPTrunkInfo; static equals(a: SIPTrunkInfo | PlainMessage | undefined, b: SIPTrunkInfo | PlainMessage | undefined): boolean; } /** * @generated from enum livekit.SIPTrunkInfo.TrunkKind */ declare enum SIPTrunkInfo_TrunkKind { /** * @generated from enum value: TRUNK_LEGACY = 0; */ TRUNK_LEGACY = 0, /** * @generated from enum value: TRUNK_INBOUND = 1; */ TRUNK_INBOUND = 1, /** * @generated from enum value: TRUNK_OUTBOUND = 2; */ TRUNK_OUTBOUND = 2, } /** * @generated from message livekit.CreateSIPInboundTrunkRequest */ declare class CreateSIPInboundTrunkRequest extends Message { /** * Trunk ID is ignored * * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1; */ trunk?: SIPInboundTrunkInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.CreateSIPInboundTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPInboundTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPInboundTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): CreateSIPInboundTrunkRequest; static equals(a: CreateSIPInboundTrunkRequest | PlainMessage | undefined, b: CreateSIPInboundTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateSIPInboundTrunkRequest */ declare class UpdateSIPInboundTrunkRequest extends Message { /** * @generated from field: string sip_trunk_id = 1; */ sipTrunkId: string; /** * @generated from oneof livekit.UpdateSIPInboundTrunkRequest.action */ action: { /** * @generated from field: livekit.SIPInboundTrunkInfo replace = 2; */ value: SIPInboundTrunkInfo; case: "replace"; } | { /** * @generated from field: livekit.SIPInboundTrunkUpdate update = 3; */ value: SIPInboundTrunkUpdate; case: "update"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateSIPInboundTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSIPInboundTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSIPInboundTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateSIPInboundTrunkRequest; static equals(a: UpdateSIPInboundTrunkRequest | PlainMessage | undefined, b: UpdateSIPInboundTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPInboundTrunkInfo */ declare class SIPInboundTrunkInfo extends Message { /** * @generated from field: string sip_trunk_id = 1; */ sipTrunkId: string; /** * Human-readable name for the Trunk. * * @generated from field: string name = 2; */ name: string; /** * User-defined metadata for the Trunk. * * @generated from field: string metadata = 3; */ metadata: string; /** * Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. * Creating multiple Trunks with different phone numbers allows having different rules for a single provider. * * @generated from field: repeated string numbers = 4; */ numbers: string[]; /** * CIDR or IPs that traffic is accepted from. * An empty list means all inbound traffic is accepted. * * @generated from field: repeated string allowed_addresses = 5; */ allowedAddresses: string[]; /** * Numbers that are allowed to make calls to this Trunk. * An empty list means calls from any phone number is accepted. * * @generated from field: repeated string allowed_numbers = 6; */ allowedNumbers: string[]; /** * Username and password used to authenticate inbound SIP invites. * May be empty to have no authentication. * * @generated from field: string auth_username = 7; */ authUsername: string; /** * @generated from field: string auth_password = 8; */ authPassword: string; /** * Include these SIP X-* headers in 200 OK responses. * * @generated from field: map headers = 9; */ headers: { [key: string]: string }; /** * Map SIP X-* headers from INVITE to SIP participant attributes. * * @generated from field: map headers_to_attributes = 10; */ headersToAttributes: { [key: string]: string }; /** * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. * * @generated from field: map attributes_to_headers = 14; */ attributesToHeaders: { [key: string]: string }; /** * Map SIP headers from INVITE to sip.h.* participant attributes automatically. * * When the names of required headers is known, using headers_to_attributes is strongly recommended. * * When mapping INVITE headers to response headers with attributes_to_headers map, * lowercase header names should be used, for example: sip.h.x-custom-header. * * @generated from field: livekit.SIPHeaderOptions include_headers = 15; */ includeHeaders: SIPHeaderOptions; /** * Max time for the caller to wait for track subscription. * * @generated from field: google.protobuf.Duration ringing_timeout = 11; */ ringingTimeout?: Duration; /** * Max call duration. * * @generated from field: google.protobuf.Duration max_call_duration = 12; */ maxCallDuration?: Duration; /** * @generated from field: bool krisp_enabled = 13; */ krispEnabled: boolean; /** * @generated from field: livekit.SIPMediaEncryption media_encryption = 16; */ mediaEncryption: SIPMediaEncryption; /** * @generated from field: google.protobuf.Timestamp created_at = 17; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 18; */ updatedAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPInboundTrunkInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPInboundTrunkInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SIPInboundTrunkInfo; static fromJsonString(jsonString: string, options?: Partial): SIPInboundTrunkInfo; static equals(a: SIPInboundTrunkInfo | PlainMessage | undefined, b: SIPInboundTrunkInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPInboundTrunkUpdate */ declare class SIPInboundTrunkUpdate extends Message { /** * @generated from field: livekit.ListUpdate numbers = 1; */ numbers?: ListUpdate; /** * @generated from field: livekit.ListUpdate allowed_addresses = 2; */ allowedAddresses?: ListUpdate; /** * @generated from field: livekit.ListUpdate allowed_numbers = 3; */ allowedNumbers?: ListUpdate; /** * @generated from field: optional string auth_username = 4; */ authUsername?: string; /** * @generated from field: optional string auth_password = 5; */ authPassword?: string; /** * @generated from field: optional string name = 6; */ name?: string; /** * @generated from field: optional string metadata = 7; */ metadata?: string; /** * @generated from field: optional livekit.SIPMediaEncryption media_encryption = 8; */ mediaEncryption?: SIPMediaEncryption; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPInboundTrunkUpdate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPInboundTrunkUpdate; static fromJson(jsonValue: JsonValue, options?: Partial): SIPInboundTrunkUpdate; static fromJsonString(jsonString: string, options?: Partial): SIPInboundTrunkUpdate; static equals(a: SIPInboundTrunkUpdate | PlainMessage | undefined, b: SIPInboundTrunkUpdate | PlainMessage | undefined): boolean; } /** * @generated from message livekit.CreateSIPOutboundTrunkRequest */ declare class CreateSIPOutboundTrunkRequest extends Message { /** * Trunk ID is ignored * * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1; */ trunk?: SIPOutboundTrunkInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.CreateSIPOutboundTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPOutboundTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPOutboundTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): CreateSIPOutboundTrunkRequest; static equals(a: CreateSIPOutboundTrunkRequest | PlainMessage | undefined, b: CreateSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateSIPOutboundTrunkRequest */ declare class UpdateSIPOutboundTrunkRequest extends Message { /** * @generated from field: string sip_trunk_id = 1; */ sipTrunkId: string; /** * @generated from oneof livekit.UpdateSIPOutboundTrunkRequest.action */ action: { /** * @generated from field: livekit.SIPOutboundTrunkInfo replace = 2; */ value: SIPOutboundTrunkInfo; case: "replace"; } | { /** * @generated from field: livekit.SIPOutboundTrunkUpdate update = 3; */ value: SIPOutboundTrunkUpdate; case: "update"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateSIPOutboundTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSIPOutboundTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSIPOutboundTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateSIPOutboundTrunkRequest; static equals(a: UpdateSIPOutboundTrunkRequest | PlainMessage | undefined, b: UpdateSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPOutboundTrunkInfo */ declare class SIPOutboundTrunkInfo extends Message { /** * @generated from field: string sip_trunk_id = 1; */ sipTrunkId: string; /** * Human-readable name for the Trunk. * * @generated from field: string name = 2; */ name: string; /** * User-defined metadata for the Trunk. * * @generated from field: string metadata = 3; */ metadata: string; /** * Hostname or IP that SIP INVITE is sent too. * Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix. * * @generated from field: string address = 4; */ address: string; /** * country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls. * * @generated from field: string destination_country = 14; */ destinationCountry: string; /** * SIP Transport used for outbound call. * * @generated from field: livekit.SIPTransport transport = 5; */ transport: SIPTransport; /** * Numbers used to make the calls. Random one from this list will be selected. * * @generated from field: repeated string numbers = 6; */ numbers: string[]; /** * Username and password used to authenticate with SIP server. * May be empty to have no authentication. * * @generated from field: string auth_username = 7; */ authUsername: string; /** * @generated from field: string auth_password = 8; */ authPassword: string; /** * Include these SIP X-* headers in INVITE request. * These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. * * @generated from field: map headers = 9; */ headers: { [key: string]: string }; /** * Map SIP X-* headers from 200 OK to SIP participant attributes. * Keys are the names of X-* headers and values are the names of attributes they will be mapped to. * * @generated from field: map headers_to_attributes = 10; */ headersToAttributes: { [key: string]: string }; /** * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. * * @generated from field: map attributes_to_headers = 11; */ attributesToHeaders: { [key: string]: string }; /** * Map SIP headers from 200 OK to sip.h.* participant attributes automatically. * * When the names of required headers is known, using headers_to_attributes is strongly recommended. * * When mapping 200 OK headers to follow-up request headers with attributes_to_headers map, * lowercase header names should be used, for example: sip.h.x-custom-header. * * @generated from field: livekit.SIPHeaderOptions include_headers = 12; */ includeHeaders: SIPHeaderOptions; /** * @generated from field: livekit.SIPMediaEncryption media_encryption = 13; */ mediaEncryption: SIPMediaEncryption; /** * Optional custom hostname for the 'From' SIP header in outbound INVITEs. * When set, outbound calls from this trunk will use this host instead of the default project SIP domain. * Enables originating calls from custom domains. * * @generated from field: string from_host = 15; */ fromHost: string; /** * @generated from field: google.protobuf.Timestamp created_at = 16; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 17; */ updatedAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPOutboundTrunkInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPOutboundTrunkInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SIPOutboundTrunkInfo; static fromJsonString(jsonString: string, options?: Partial): SIPOutboundTrunkInfo; static equals(a: SIPOutboundTrunkInfo | PlainMessage | undefined, b: SIPOutboundTrunkInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPOutboundTrunkUpdate */ declare class SIPOutboundTrunkUpdate extends Message { /** * @generated from field: optional string address = 1; */ address?: string; /** * @generated from field: optional livekit.SIPTransport transport = 2; */ transport?: SIPTransport; /** * @generated from field: optional string destination_country = 9; */ destinationCountry?: string; /** * @generated from field: livekit.ListUpdate numbers = 3; */ numbers?: ListUpdate; /** * @generated from field: optional string auth_username = 4; */ authUsername?: string; /** * @generated from field: optional string auth_password = 5; */ authPassword?: string; /** * @generated from field: optional string name = 6; */ name?: string; /** * @generated from field: optional string metadata = 7; */ metadata?: string; /** * @generated from field: optional livekit.SIPMediaEncryption media_encryption = 8; */ mediaEncryption?: SIPMediaEncryption; /** * @generated from field: optional string from_host = 10; */ fromHost?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPOutboundTrunkUpdate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPOutboundTrunkUpdate; static fromJson(jsonValue: JsonValue, options?: Partial): SIPOutboundTrunkUpdate; static fromJsonString(jsonString: string, options?: Partial): SIPOutboundTrunkUpdate; static equals(a: SIPOutboundTrunkUpdate | PlainMessage | undefined, b: SIPOutboundTrunkUpdate | PlainMessage | undefined): boolean; } /** * @generated from message livekit.GetSIPInboundTrunkRequest */ declare class GetSIPInboundTrunkRequest extends Message { /** * @generated from field: string sip_trunk_id = 1; */ sipTrunkId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.GetSIPInboundTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkRequest; static equals(a: GetSIPInboundTrunkRequest | PlainMessage | undefined, b: GetSIPInboundTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.GetSIPInboundTrunkResponse */ declare class GetSIPInboundTrunkResponse extends Message { /** * @generated from field: livekit.SIPInboundTrunkInfo trunk = 1; */ trunk?: SIPInboundTrunkInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.GetSIPInboundTrunkResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPInboundTrunkResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPInboundTrunkResponse; static fromJsonString(jsonString: string, options?: Partial): GetSIPInboundTrunkResponse; static equals(a: GetSIPInboundTrunkResponse | PlainMessage | undefined, b: GetSIPInboundTrunkResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.GetSIPOutboundTrunkRequest */ declare class GetSIPOutboundTrunkRequest extends Message { /** * @generated from field: string sip_trunk_id = 1; */ sipTrunkId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.GetSIPOutboundTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkRequest; static equals(a: GetSIPOutboundTrunkRequest | PlainMessage | undefined, b: GetSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.GetSIPOutboundTrunkResponse */ declare class GetSIPOutboundTrunkResponse extends Message { /** * @generated from field: livekit.SIPOutboundTrunkInfo trunk = 1; */ trunk?: SIPOutboundTrunkInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.GetSIPOutboundTrunkResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetSIPOutboundTrunkResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetSIPOutboundTrunkResponse; static fromJsonString(jsonString: string, options?: Partial): GetSIPOutboundTrunkResponse; static equals(a: GetSIPOutboundTrunkResponse | PlainMessage | undefined, b: GetSIPOutboundTrunkResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListSIPTrunkRequest * @deprecated */ declare class ListSIPTrunkRequest extends Message { /** * @generated from field: livekit.Pagination page = 1; */ page?: Pagination; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListSIPTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkRequest; static equals(a: ListSIPTrunkRequest | PlainMessage | undefined, b: ListSIPTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListSIPTrunkResponse * @deprecated */ declare class ListSIPTrunkResponse extends Message { /** * @generated from field: repeated livekit.SIPTrunkInfo items = 1; */ items: SIPTrunkInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListSIPTrunkResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPTrunkResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPTrunkResponse; static fromJsonString(jsonString: string, options?: Partial): ListSIPTrunkResponse; static equals(a: ListSIPTrunkResponse | PlainMessage | undefined, b: ListSIPTrunkResponse | PlainMessage | undefined): boolean; } /** * ListSIPInboundTrunkRequest lists inbound trunks for given filters. If no filters are set, all trunks are listed. * * @generated from message livekit.ListSIPInboundTrunkRequest */ declare class ListSIPInboundTrunkRequest extends Message { /** * @generated from field: livekit.Pagination page = 3; */ page?: Pagination; /** * Trunk IDs to list. If this option is set, the response will contains trunks in the same order. * If any of the trunks is missing, a nil item in that position will be sent in the response. * * @generated from field: repeated string trunk_ids = 1; */ trunkIds: string[]; /** * Only list trunks that contain one of the numbers, including wildcard trunks. * * @generated from field: repeated string numbers = 2; */ numbers: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListSIPInboundTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkRequest; static equals(a: ListSIPInboundTrunkRequest | PlainMessage | undefined, b: ListSIPInboundTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListSIPInboundTrunkResponse */ declare class ListSIPInboundTrunkResponse extends Message { /** * @generated from field: repeated livekit.SIPInboundTrunkInfo items = 1; */ items: SIPInboundTrunkInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListSIPInboundTrunkResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPInboundTrunkResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPInboundTrunkResponse; static fromJsonString(jsonString: string, options?: Partial): ListSIPInboundTrunkResponse; static equals(a: ListSIPInboundTrunkResponse | PlainMessage | undefined, b: ListSIPInboundTrunkResponse | PlainMessage | undefined): boolean; } /** * ListSIPOutboundTrunkRequest lists outbound trunks for given filters. If no filters are set, all trunks are listed. * * @generated from message livekit.ListSIPOutboundTrunkRequest */ declare class ListSIPOutboundTrunkRequest extends Message { /** * @generated from field: livekit.Pagination page = 3; */ page?: Pagination; /** * Trunk IDs to list. If this option is set, the response will contains trunks in the same order. * If any of the trunks is missing, a nil item in that position will be sent in the response. * * @generated from field: repeated string trunk_ids = 1; */ trunkIds: string[]; /** * Only list trunks that contain one of the numbers, including wildcard trunks. * * @generated from field: repeated string numbers = 2; */ numbers: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListSIPOutboundTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkRequest; static equals(a: ListSIPOutboundTrunkRequest | PlainMessage | undefined, b: ListSIPOutboundTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListSIPOutboundTrunkResponse */ declare class ListSIPOutboundTrunkResponse extends Message { /** * @generated from field: repeated livekit.SIPOutboundTrunkInfo items = 1; */ items: SIPOutboundTrunkInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListSIPOutboundTrunkResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPOutboundTrunkResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPOutboundTrunkResponse; static fromJsonString(jsonString: string, options?: Partial): ListSIPOutboundTrunkResponse; static equals(a: ListSIPOutboundTrunkResponse | PlainMessage | undefined, b: ListSIPOutboundTrunkResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DeleteSIPTrunkRequest */ declare class DeleteSIPTrunkRequest extends Message { /** * @generated from field: string sip_trunk_id = 1; */ sipTrunkId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DeleteSIPTrunkRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPTrunkRequest; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPTrunkRequest; static fromJsonString(jsonString: string, options?: Partial): DeleteSIPTrunkRequest; static equals(a: DeleteSIPTrunkRequest | PlainMessage | undefined, b: DeleteSIPTrunkRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPDispatchRuleDirect */ declare class SIPDispatchRuleDirect extends Message { /** * What room should call be directed into * * @generated from field: string room_name = 1; */ roomName: string; /** * Optional pin required to enter room * * @generated from field: string pin = 2; */ pin: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPDispatchRuleDirect"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleDirect; static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleDirect; static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleDirect; static equals(a: SIPDispatchRuleDirect | PlainMessage | undefined, b: SIPDispatchRuleDirect | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPDispatchRuleIndividual */ declare class SIPDispatchRuleIndividual extends Message { /** * Prefix used on new room name * * @generated from field: string room_prefix = 1; */ roomPrefix: string; /** * Optional pin required to enter room * * @generated from field: string pin = 2; */ pin: string; /** * Optionally append random suffix * * @generated from field: bool no_randomness = 3; */ noRandomness: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPDispatchRuleIndividual"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleIndividual; static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleIndividual; static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleIndividual; static equals(a: SIPDispatchRuleIndividual | PlainMessage | undefined, b: SIPDispatchRuleIndividual | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPDispatchRuleCallee */ declare class SIPDispatchRuleCallee extends Message { /** * Prefix used on new room name * * @generated from field: string room_prefix = 1; */ roomPrefix: string; /** * Optional pin required to enter room * * @generated from field: string pin = 2; */ pin: string; /** * Optionally append random suffix * * @generated from field: bool randomize = 3; */ randomize: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPDispatchRuleCallee"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleCallee; static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleCallee; static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleCallee; static equals(a: SIPDispatchRuleCallee | PlainMessage | undefined, b: SIPDispatchRuleCallee | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPDispatchRule */ declare class SIPDispatchRule extends Message { /** * @generated from oneof livekit.SIPDispatchRule.rule */ rule: { /** * SIPDispatchRuleDirect is a `SIP Dispatch Rule` that puts a user directly into a room * This places users into an existing room. Optionally you can require a pin before a user can * enter the room * * @generated from field: livekit.SIPDispatchRuleDirect dispatch_rule_direct = 1; */ value: SIPDispatchRuleDirect; case: "dispatchRuleDirect"; } | { /** * SIPDispatchRuleIndividual is a `SIP Dispatch Rule` that creates a new room for each caller. * * @generated from field: livekit.SIPDispatchRuleIndividual dispatch_rule_individual = 2; */ value: SIPDispatchRuleIndividual; case: "dispatchRuleIndividual"; } | { /** * SIPDispatchRuleCallee is a `SIP Dispatch Rule` that creates a new room for each callee. * * @generated from field: livekit.SIPDispatchRuleCallee dispatch_rule_callee = 3; */ value: SIPDispatchRuleCallee; case: "dispatchRuleCallee"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPDispatchRule"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRule; static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRule; static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRule; static equals(a: SIPDispatchRule | PlainMessage | undefined, b: SIPDispatchRule | PlainMessage | undefined): boolean; } /** * @generated from message livekit.CreateSIPDispatchRuleRequest */ declare class CreateSIPDispatchRuleRequest extends Message { /** * Rule ID is ignored * * @generated from field: livekit.SIPDispatchRuleInfo dispatch_rule = 10; */ dispatchRule?: SIPDispatchRuleInfo; /** * @generated from field: livekit.SIPDispatchRule rule = 1 [deprecated = true]; * @deprecated */ rule?: SIPDispatchRule; /** * What trunks are accepted for this dispatch rule * If empty all trunks will match this dispatch rule * * @generated from field: repeated string trunk_ids = 2 [deprecated = true]; * @deprecated */ trunkIds: string[]; /** * By default the From value (Phone number) is used for participant name/identity and added to attributes. * If true, a random value for identity will be used and numbers will be omitted from attributes. * * @generated from field: bool hide_phone_number = 3 [deprecated = true]; * @deprecated */ hidePhoneNumber: boolean; /** * Dispatch Rule will only accept a call made to these numbers (if set). * * @generated from field: repeated string inbound_numbers = 6 [deprecated = true]; * @deprecated */ inboundNumbers: string[]; /** * Optional human-readable name for the Dispatch Rule. * * @generated from field: string name = 4 [deprecated = true]; * @deprecated */ name: string; /** * User-defined metadata for the Dispatch Rule. * Participants created by this rule will inherit this metadata. * * @generated from field: string metadata = 5 [deprecated = true]; * @deprecated */ metadata: string; /** * User-defined attributes for the Dispatch Rule. * Participants created by this rule will inherit these attributes. * * @generated from field: map attributes = 7 [deprecated = true]; * @deprecated */ attributes: { [key: string]: string }; /** * Cloud-only, config preset to use * * @generated from field: string room_preset = 8 [deprecated = true]; * @deprecated */ roomPreset: string; /** * RoomConfiguration to use if the participant initiates the room * * @generated from field: livekit.RoomConfiguration room_config = 9 [deprecated = true]; * @deprecated */ roomConfig?: RoomConfiguration; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.CreateSIPDispatchRuleRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPDispatchRuleRequest; static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPDispatchRuleRequest; static fromJsonString(jsonString: string, options?: Partial): CreateSIPDispatchRuleRequest; static equals(a: CreateSIPDispatchRuleRequest | PlainMessage | undefined, b: CreateSIPDispatchRuleRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateSIPDispatchRuleRequest */ declare class UpdateSIPDispatchRuleRequest extends Message { /** * @generated from field: string sip_dispatch_rule_id = 1; */ sipDispatchRuleId: string; /** * @generated from oneof livekit.UpdateSIPDispatchRuleRequest.action */ action: { /** * @generated from field: livekit.SIPDispatchRuleInfo replace = 2; */ value: SIPDispatchRuleInfo; case: "replace"; } | { /** * @generated from field: livekit.SIPDispatchRuleUpdate update = 3; */ value: SIPDispatchRuleUpdate; case: "update"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateSIPDispatchRuleRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateSIPDispatchRuleRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateSIPDispatchRuleRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateSIPDispatchRuleRequest; static equals(a: UpdateSIPDispatchRuleRequest | PlainMessage | undefined, b: UpdateSIPDispatchRuleRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPDispatchRuleInfo */ declare class SIPDispatchRuleInfo extends Message { /** * @generated from field: string sip_dispatch_rule_id = 1; */ sipDispatchRuleId: string; /** * @generated from field: livekit.SIPDispatchRule rule = 2; */ rule?: SIPDispatchRule; /** * @generated from field: repeated string trunk_ids = 3; */ trunkIds: string[]; /** * @generated from field: bool hide_phone_number = 4; */ hidePhoneNumber: boolean; /** * Dispatch Rule will only accept a call made from these numbers (if set). * * @generated from field: repeated string inbound_numbers = 7; */ inboundNumbers: string[]; /** * Dispatch Rule will only accept a call made to these numbers (if set). * * @generated from field: repeated string numbers = 13; */ numbers: string[]; /** * Human-readable name for the Dispatch Rule. * * @generated from field: string name = 5; */ name: string; /** * User-defined metadata for the Dispatch Rule. * Participants created by this rule will inherit this metadata. * * @generated from field: string metadata = 6; */ metadata: string; /** * User-defined attributes for the Dispatch Rule. * Participants created by this rule will inherit these attributes. * * @generated from field: map attributes = 8; */ attributes: { [key: string]: string }; /** * Cloud-only, config preset to use * * @generated from field: string room_preset = 9; */ roomPreset: string; /** * RoomConfiguration to use if the participant initiates the room * * @generated from field: livekit.RoomConfiguration room_config = 10; */ roomConfig?: RoomConfiguration; /** * @generated from field: bool krisp_enabled = 11; */ krispEnabled: boolean; /** * @generated from field: livekit.SIPMediaEncryption media_encryption = 12; */ mediaEncryption: SIPMediaEncryption; /** * @generated from field: google.protobuf.Timestamp created_at = 14; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 15; */ updatedAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPDispatchRuleInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleInfo; static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleInfo; static equals(a: SIPDispatchRuleInfo | PlainMessage | undefined, b: SIPDispatchRuleInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPDispatchRuleUpdate */ declare class SIPDispatchRuleUpdate extends Message { /** * @generated from field: livekit.ListUpdate trunk_ids = 1; */ trunkIds?: ListUpdate; /** * @generated from field: livekit.SIPDispatchRule rule = 2; */ rule?: SIPDispatchRule; /** * @generated from field: optional string name = 3; */ name?: string; /** * @generated from field: optional string metadata = 4; */ metadata?: string; /** * @generated from field: map attributes = 5; */ attributes: { [key: string]: string }; /** * @generated from field: optional livekit.SIPMediaEncryption media_encryption = 6; */ mediaEncryption?: SIPMediaEncryption; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPDispatchRuleUpdate"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPDispatchRuleUpdate; static fromJson(jsonValue: JsonValue, options?: Partial): SIPDispatchRuleUpdate; static fromJsonString(jsonString: string, options?: Partial): SIPDispatchRuleUpdate; static equals(a: SIPDispatchRuleUpdate | PlainMessage | undefined, b: SIPDispatchRuleUpdate | PlainMessage | undefined): boolean; } /** * ListSIPDispatchRuleRequest lists dispatch rules for given filters. If no filters are set, all rules are listed. * * @generated from message livekit.ListSIPDispatchRuleRequest */ declare class ListSIPDispatchRuleRequest extends Message { /** * @generated from field: livekit.Pagination page = 3; */ page?: Pagination; /** * Rule IDs to list. If this option is set, the response will contains rules in the same order. * If any of the rules is missing, a nil item in that position will be sent in the response. * * @generated from field: repeated string dispatch_rule_ids = 1; */ dispatchRuleIds: string[]; /** * Only list rules that contain one of the Trunk IDs, including wildcard rules. * * @generated from field: repeated string trunk_ids = 2; */ trunkIds: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListSIPDispatchRuleRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleRequest; static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleRequest; static equals(a: ListSIPDispatchRuleRequest | PlainMessage | undefined, b: ListSIPDispatchRuleRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListSIPDispatchRuleResponse */ declare class ListSIPDispatchRuleResponse extends Message { /** * @generated from field: repeated livekit.SIPDispatchRuleInfo items = 1; */ items: SIPDispatchRuleInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListSIPDispatchRuleResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListSIPDispatchRuleResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListSIPDispatchRuleResponse; static fromJsonString(jsonString: string, options?: Partial): ListSIPDispatchRuleResponse; static equals(a: ListSIPDispatchRuleResponse | PlainMessage | undefined, b: ListSIPDispatchRuleResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DeleteSIPDispatchRuleRequest */ declare class DeleteSIPDispatchRuleRequest extends Message { /** * @generated from field: string sip_dispatch_rule_id = 1; */ sipDispatchRuleId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DeleteSIPDispatchRuleRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSIPDispatchRuleRequest; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSIPDispatchRuleRequest; static fromJsonString(jsonString: string, options?: Partial): DeleteSIPDispatchRuleRequest; static equals(a: DeleteSIPDispatchRuleRequest | PlainMessage | undefined, b: DeleteSIPDispatchRuleRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPOutboundConfig */ declare class SIPOutboundConfig extends Message { /** * SIP server address * * @generated from field: string hostname = 1; */ hostname: string; /** * country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls. * * @generated from field: string destination_country = 7; */ destinationCountry: string; /** * SIP Transport used for outbound call. * * @generated from field: livekit.SIPTransport transport = 2; */ transport: SIPTransport; /** * Username and password used to authenticate with SIP server. * May be empty to have no authentication. * * @generated from field: string auth_username = 3; */ authUsername: string; /** * @generated from field: string auth_password = 4; */ authPassword: string; /** * Map SIP X-* headers from 200 OK to SIP participant attributes. * Keys are the names of X-* headers and values are the names of attributes they will be mapped to. * * @generated from field: map headers_to_attributes = 5; */ headersToAttributes: { [key: string]: string }; /** * Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. * Keys are the names of attributes and values are the names of X-* headers they will be mapped to. * * @generated from field: map attributes_to_headers = 6; */ attributesToHeaders: { [key: string]: string }; /** * Optional custom hostname for the 'From' SIP header. When set, outbound calls use this host instead of the default project SIP domain. * * @generated from field: string from_host = 8; */ fromHost: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPOutboundConfig"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPOutboundConfig; static fromJson(jsonValue: JsonValue, options?: Partial): SIPOutboundConfig; static fromJsonString(jsonString: string, options?: Partial): SIPOutboundConfig; static equals(a: SIPOutboundConfig | PlainMessage | undefined, b: SIPOutboundConfig | PlainMessage | undefined): boolean; } /** * A SIP Participant is a singular SIP session connected to a LiveKit room via * a SIP Trunk into a SIP DispatchRule * * @generated from message livekit.CreateSIPParticipantRequest */ declare class CreateSIPParticipantRequest extends Message { /** * What SIP Trunk should be used to dial the user * * @generated from field: string sip_trunk_id = 1; */ sipTrunkId: string; /** * @generated from field: livekit.SIPOutboundConfig trunk = 20; */ trunk?: SIPOutboundConfig; /** * What number should be dialed via SIP * * @generated from field: string sip_call_to = 2; */ sipCallTo: string; /** * Optional SIP From number to use. If empty, trunk number is used. * * @generated from field: string sip_number = 15; */ sipNumber: string; /** * What LiveKit room should this participant be connected too * * @generated from field: string room_name = 3; */ roomName: string; /** * Optional identity of the participant in LiveKit room * * @generated from field: string participant_identity = 4; */ participantIdentity: string; /** * Optional name of the participant in LiveKit room * * @generated from field: string participant_name = 7; */ participantName: string; /** * Optional user-defined metadata. Will be attached to a created Participant in the room. * * @generated from field: string participant_metadata = 8; */ participantMetadata: string; /** * Optional user-defined attributes. Will be attached to a created Participant in the room. * * @generated from field: map participant_attributes = 9; */ participantAttributes: { [key: string]: string }; /** * Optionally send following DTMF digits (extension codes) when making a call. * Character 'w' can be used to add a 0.5 sec delay. * * @generated from field: string dtmf = 5; */ dtmf: string; /** * Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect. * * @generated from field: bool play_ringtone = 6 [deprecated = true]; * @deprecated */ playRingtone: boolean; /** * @generated from field: bool play_dialtone = 13; */ playDialtone: boolean; /** * By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes. * If true, a random value for identity will be used and numbers will be omitted from attributes. * * @generated from field: bool hide_phone_number = 10; */ hidePhoneNumber: boolean; /** * These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. * * @generated from field: map headers = 16; */ headers: { [key: string]: string }; /** * Map SIP headers from 200 OK to sip.h.* participant attributes automatically. * * When the names of required headers is known, using headers_to_attributes is strongly recommended. * * When mapping 200 OK headers to follow-up request headers with attributes_to_headers map, * lowercase header names should be used, for example: sip.h.x-custom-header. * * @generated from field: livekit.SIPHeaderOptions include_headers = 17; */ includeHeaders: SIPHeaderOptions; /** * Max time for the callee to answer the call. * * @generated from field: google.protobuf.Duration ringing_timeout = 11; */ ringingTimeout?: Duration; /** * Max call duration. * * @generated from field: google.protobuf.Duration max_call_duration = 12; */ maxCallDuration?: Duration; /** * Enable voice isolation for the callee. * * @generated from field: bool krisp_enabled = 14; */ krispEnabled: boolean; /** * @generated from field: livekit.SIPMediaEncryption media_encryption = 18; */ mediaEncryption: SIPMediaEncryption; /** * Wait for the answer for the call before returning. * * @generated from field: bool wait_until_answered = 19; */ waitUntilAnswered: boolean; /** * Optional display name for the 'From' SIP header. * * Cases: * 1) Unspecified: Use legacy behavior - display name will be set to be the caller's number. * 2) Empty string: Do not send a display name, which will result in a CNAM lookup downstream. * 3) Non-empty: Use the specified value as the display name. * * @generated from field: optional string display_name = 21; */ displayName?: string; /** * NEXT ID: 23 * * @generated from field: optional livekit.Destination destination = 22; */ destination?: Destination; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.CreateSIPParticipantRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateSIPParticipantRequest; static fromJson(jsonValue: JsonValue, options?: Partial): CreateSIPParticipantRequest; static fromJsonString(jsonString: string, options?: Partial): CreateSIPParticipantRequest; static equals(a: CreateSIPParticipantRequest | PlainMessage | undefined, b: CreateSIPParticipantRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPParticipantInfo */ declare class SIPParticipantInfo extends Message { /** * @generated from field: string participant_id = 1; */ participantId: string; /** * @generated from field: string participant_identity = 2; */ participantIdentity: string; /** * @generated from field: string room_name = 3; */ roomName: string; /** * @generated from field: string sip_call_id = 4; */ sipCallId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPParticipantInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPParticipantInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SIPParticipantInfo; static fromJsonString(jsonString: string, options?: Partial): SIPParticipantInfo; static equals(a: SIPParticipantInfo | PlainMessage | undefined, b: SIPParticipantInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.TransferSIPParticipantRequest */ declare class TransferSIPParticipantRequest extends Message { /** * @generated from field: string participant_identity = 1; */ participantIdentity: string; /** * @generated from field: string room_name = 2; */ roomName: string; /** * @generated from field: string transfer_to = 3; */ transferTo: string; /** * Optionally play dialtone to the SIP participant as an audible indicator of being transferred * * @generated from field: bool play_dialtone = 4; */ playDialtone: boolean; /** * Add the following headers to the REFER SIP request. * * @generated from field: map headers = 5; */ headers: { [key: string]: string }; /** * Max time for the transfer destination to answer the call. * * @generated from field: google.protobuf.Duration ringing_timeout = 6; */ ringingTimeout?: Duration; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TransferSIPParticipantRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TransferSIPParticipantRequest; static fromJson(jsonValue: JsonValue, options?: Partial): TransferSIPParticipantRequest; static fromJsonString(jsonString: string, options?: Partial): TransferSIPParticipantRequest; static equals(a: TransferSIPParticipantRequest | PlainMessage | undefined, b: TransferSIPParticipantRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPCallInfo */ declare class SIPCallInfo extends Message { /** * @generated from field: string call_id = 1; */ callId: string; /** * @generated from field: string trunk_id = 2; */ trunkId: string; /** * @generated from field: string dispatch_rule_id = 16; */ dispatchRuleId: string; /** * @generated from field: string region = 17; */ region: string; /** * @generated from field: string room_name = 3; */ roomName: string; /** * ID of the current/previous room published to * * @generated from field: string room_id = 4; */ roomId: string; /** * @generated from field: string participant_identity = 5; */ participantIdentity: string; /** * @generated from field: map participant_attributes = 18; */ participantAttributes: { [key: string]: string }; /** * @generated from field: livekit.SIPUri from_uri = 6; */ fromUri?: SIPUri; /** * @generated from field: livekit.SIPUri to_uri = 7; */ toUri?: SIPUri; /** * @generated from field: int64 created_at = 9 [deprecated = true]; * @deprecated */ createdAt: bigint; /** * @generated from field: int64 started_at = 10 [deprecated = true]; * @deprecated */ startedAt: bigint; /** * @generated from field: int64 ended_at = 11 [deprecated = true]; * @deprecated */ endedAt: bigint; /** * @generated from field: repeated livekit.SIPFeature enabled_features = 14; */ enabledFeatures: SIPFeature[]; /** * @generated from field: livekit.SIPCallDirection call_direction = 15; */ callDirection: SIPCallDirection; /** * @generated from field: livekit.SIPCallStatus call_status = 8; */ callStatus: SIPCallStatus; /** * @generated from field: int64 created_at_ns = 22; */ createdAtNs: bigint; /** * @generated from field: int64 started_at_ns = 23; */ startedAtNs: bigint; /** * @generated from field: int64 ended_at_ns = 24; */ endedAtNs: bigint; /** * @generated from field: livekit.DisconnectReason disconnect_reason = 12; */ disconnectReason: DisconnectReason; /** * @generated from field: string error = 13; */ error: string; /** * @generated from field: livekit.SIPStatus call_status_code = 19; */ callStatusCode?: SIPStatus; /** * @generated from field: string audio_codec = 20; */ audioCodec: string; /** * @generated from field: string media_encryption = 21; */ mediaEncryption: string; /** * @generated from field: string pcap_file_link = 25; */ pcapFileLink: string; /** * @generated from field: repeated google.protobuf.Any call_context = 26; */ callContext: Any[]; /** * @generated from field: livekit.ProviderInfo provider_info = 27; */ providerInfo?: ProviderInfo; /** * @generated from field: string sip_call_id = 28; */ sipCallId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPCallInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPCallInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SIPCallInfo; static fromJsonString(jsonString: string, options?: Partial): SIPCallInfo; static equals(a: SIPCallInfo | PlainMessage | undefined, b: SIPCallInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPTransferInfo */ declare class SIPTransferInfo extends Message { /** * @generated from field: string transfer_id = 1; */ transferId: string; /** * @generated from field: string call_id = 2; */ callId: string; /** * @generated from field: string transfer_to = 3; */ transferTo: string; /** * @generated from field: int64 transfer_initiated_at_ns = 4; */ transferInitiatedAtNs: bigint; /** * @generated from field: int64 transfer_completed_at_ns = 5; */ transferCompletedAtNs: bigint; /** * @generated from field: livekit.SIPTransferStatus transfer_status = 6; */ transferStatus: SIPTransferStatus; /** * @generated from field: string error = 7; */ error: string; /** * @generated from field: livekit.SIPStatus transfer_status_code = 8; */ transferStatusCode?: SIPStatus; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPTransferInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPTransferInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SIPTransferInfo; static fromJsonString(jsonString: string, options?: Partial): SIPTransferInfo; static equals(a: SIPTransferInfo | PlainMessage | undefined, b: SIPTransferInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SIPUri */ declare class SIPUri extends Message { /** * @generated from field: string user = 1; */ user: string; /** * @generated from field: string host = 2; */ host: string; /** * @generated from field: string ip = 3; */ ip: string; /** * @generated from field: uint32 port = 4; */ port: number; /** * @generated from field: livekit.SIPTransport transport = 5; */ transport: SIPTransport; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SIPUri"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SIPUri; static fromJson(jsonValue: JsonValue, options?: Partial): SIPUri; static fromJsonString(jsonString: string, options?: Partial): SIPUri; static equals(a: SIPUri | PlainMessage | undefined, b: SIPUri | PlainMessage | undefined): boolean; } /** * @generated from message livekit.Destination */ declare class Destination extends Message { /** * @generated from field: string city = 1; */ city: string; /** * @generated from field: string country = 2; */ country: string; /** * @generated from field: string region = 3; */ region: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.Destination"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Destination; static fromJson(jsonValue: JsonValue, options?: Partial): Destination; static fromJsonString(jsonString: string, options?: Partial): Destination; static equals(a: Destination | PlainMessage | undefined, b: Destination | PlainMessage | undefined): boolean; } // Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. /** * @generated from message livekit.TokenSourceRequest */ declare class TokenSourceRequest extends Message { /** * The name of the room being requested when generating credentials * * @generated from field: optional string room_name = 1; */ roomName?: string; /** * The name of the participant being requested for this client when generating credentials * * @generated from field: optional string participant_name = 2; */ participantName?: string; /** * The identity of the participant being requested for this client when generating credentials * * @generated from field: optional string participant_identity = 3; */ participantIdentity?: string; /** * Any participant metadata being included along with the credentials generation operation * * @generated from field: optional string participant_metadata = 4; */ participantMetadata?: string; /** * Any participant attributes being included along with the credentials generation operation * * @generated from field: map participant_attributes = 5; */ participantAttributes: { [key: string]: string }; /** * A RoomConfiguration object can be passed to request extra parameters should be included when * generating connection credentials - dispatching agents, defining egress settings, etc * More info: https://docs.livekit.io/home/get-started/authentication/#room-configuration * * @generated from field: optional livekit.RoomConfiguration room_config = 6; */ roomConfig?: RoomConfiguration; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TokenSourceRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TokenSourceRequest; static fromJson(jsonValue: JsonValue, options?: Partial): TokenSourceRequest; static fromJsonString(jsonString: string, options?: Partial): TokenSourceRequest; static equals(a: TokenSourceRequest | PlainMessage | undefined, b: TokenSourceRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.TokenSourceResponse */ declare class TokenSourceResponse extends Message { /** * @generated from field: string server_url = 1; */ serverUrl: string; /** * @generated from field: string participant_token = 2; */ participantToken: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TokenSourceResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TokenSourceResponse; static fromJson(jsonValue: JsonValue, options?: Partial): TokenSourceResponse; static fromJsonString(jsonString: string, options?: Partial): TokenSourceResponse; static equals(a: TokenSourceResponse | PlainMessage | undefined, b: TokenSourceResponse | PlainMessage | undefined): boolean; } // Copyright 2023 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. /** * @generated from message livekit.WebhookEvent */ declare class WebhookEvent extends Message { /** * one of room_started, room_finished, participant_joined, participant_left, participant_connection_aborted, * track_published, track_unpublished, egress_started, egress_updated, egress_ended, * ingress_started, ingress_ended * * @generated from field: string event = 1; */ event: string; /** * @generated from field: livekit.Room room = 2; */ room?: Room; /** * set when event is participant_* or track_* * * @generated from field: livekit.ParticipantInfo participant = 3; */ participant?: ParticipantInfo; /** * set when event is egress_* * * @generated from field: livekit.EgressInfo egress_info = 9; */ egressInfo?: EgressInfo; /** * set when event is ingress_* * * @generated from field: livekit.IngressInfo ingress_info = 10; */ ingressInfo?: IngressInfo; /** * set when event is track_* * * @generated from field: livekit.TrackInfo track = 8; */ track?: TrackInfo; /** * unique event uuid * * @generated from field: string id = 6; */ id: string; /** * timestamp in seconds * * @generated from field: int64 created_at = 7; */ createdAt: bigint; /** * @generated from field: int32 num_dropped = 11 [deprecated = true]; * @deprecated */ numDropped: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.WebhookEvent"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): WebhookEvent; static fromJson(jsonValue: JsonValue, options?: Partial): WebhookEvent; static fromJsonString(jsonString: string, options?: Partial): WebhookEvent; static equals(a: WebhookEvent | PlainMessage | undefined, b: WebhookEvent | PlainMessage | undefined): boolean; } declare const version: string; export { AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, livekit_agent_session_pb_d as AgentSession, AliOSSUpload, AudioChannel, AudioCodec, AudioConfig, AudioMixing, AudioRoute, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectTwilioCallRequest, ConnectTwilioCallRequest_TwilioCallDirection, ConnectTwilioCallResponse, ConnectWhatsAppCallRequest, ConnectWhatsAppCallResponse, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, ConnectorType, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataConfig, DataPacket, DataPacket_Kind, DataSelector, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DataTrackExtensionID, DataTrackExtensionParticipantSid, DataTrackInfo, DataTrackSubscriberHandles, DataTrackSubscriberHandles_PublishedDataTrack, DataTrackSubscriptionOptions, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, Destination, DialWhatsAppCallRequest, DialWhatsAppCallResponse, DirectFileOutput, DisabledCodecs, DisconnectReason, DisconnectWhatsAppCallRequest, DisconnectWhatsAppCallRequest_DisconnectReason, DisconnectWhatsAppCallResponse, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, ExportReplayRequest, FileInfo, FileOutput, FilterParams, ForwardParticipantRequest, ForwardParticipantResponse, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobRestartPolicy, JobState, JobStatus, JobTermination, JobType, JoinRequest, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MediaSectionsRequirement, MediaSource, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Output, PacketTrailerFeature, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, ParticipantVideo, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, ProxyConfig, PublishDataTrackRequest, PublishDataTrackResponse, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransferInfo, SIPTransferStatus, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StartEgressRequest, StopEgressRequest, StorageConfig, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TemplateSource, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UnpublishDataTrackRequest, UnpublishDataTrackResponse, UpdateDataSubscription, UpdateDataSubscription_Update, UpdateEgressRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoLayer_Mode, VideoQuality, WebEgressRequest, WebSource, WebhookConfig, WebhookEvent, WhatsAppCall, WhatsAppCallDirection, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };