feat: complete Ancestor quote bot with production-ready Docker support
This commit is contained in:
27
node_modules/matrix-js-sdk/lib/webrtc/call.d.ts
generated
vendored
27
node_modules/matrix-js-sdk/lib/webrtc/call.d.ts
generated
vendored
@@ -1,12 +1,11 @@
|
||||
import { type MatrixEvent } from "../models/event.ts";
|
||||
import { EventType, type TimelineEvents } from "../@types/event.ts";
|
||||
import { type RoomMember } from "../models/room-member.ts";
|
||||
import { type MCallAnswer, type MCallHangupReject } from "./callEventTypes.ts";
|
||||
import { CallFeed } from "./callFeed.ts";
|
||||
import { type MatrixClient } from "../client.ts";
|
||||
import { TypedEventEmitter } from "../models/typed-event-emitter.ts";
|
||||
import { type IScreensharingOpts } from "./mediaHandler.ts";
|
||||
import { type GroupCallStats } from "./stats/groupCallStats.ts";
|
||||
import { MatrixEvent } from "../models/event";
|
||||
import { RoomMember } from "../models/room-member";
|
||||
import { MCallAnswer, MCallHangupReject } from "./callEventTypes";
|
||||
import { CallFeed } from "./callFeed";
|
||||
import { MatrixClient } from "../client";
|
||||
import { TypedEventEmitter } from "../models/typed-event-emitter";
|
||||
import { IScreensharingOpts } from "./mediaHandler";
|
||||
import { GroupCallStats } from "./stats/groupCallStats";
|
||||
interface CallOpts {
|
||||
roomId: string;
|
||||
invitee?: string;
|
||||
@@ -151,14 +150,13 @@ export declare class CallError extends Error {
|
||||
constructor(code: CallErrorCode, msg: string, err: Error);
|
||||
}
|
||||
export declare function genCallID(): string;
|
||||
type CallEventType = EventType.CallReplaces | EventType.CallAnswer | EventType.CallSelectAnswer | EventType.CallNegotiate | EventType.CallInvite | EventType.CallCandidates | EventType.CallHangup | EventType.CallReject | EventType.CallSDPStreamMetadataChanged;
|
||||
export interface VoipEvent {
|
||||
type: "toDevice" | "sendEvent";
|
||||
eventType: string;
|
||||
userId?: string;
|
||||
opponentDeviceId?: string;
|
||||
roomId?: string;
|
||||
content: TimelineEvents[CallEventType];
|
||||
content: Record<string, unknown>;
|
||||
}
|
||||
/**
|
||||
* These now all have the call object as an argument. Why? Well, to know which call a given event is
|
||||
@@ -232,7 +230,7 @@ export declare class MatrixCall extends TypedEventEmitter<CallEvent, CallEventHa
|
||||
private callLengthInterval?;
|
||||
private callStartTime?;
|
||||
private opponentDeviceId?;
|
||||
private hasOpponentDeviceInfo?;
|
||||
private opponentDeviceInfo?;
|
||||
private opponentSessionId?;
|
||||
groupCallId?: string;
|
||||
private stopVideoTrackTimer?;
|
||||
@@ -386,7 +384,7 @@ export declare class MatrixCall extends TypedEventEmitter<CallEvent, CallEventHa
|
||||
/**
|
||||
* Starts/stops screensharing
|
||||
* @param enabled - the desired screensharing state
|
||||
* @param opts - screen sharing options
|
||||
* @param desktopCapturerSourceId - optional id of the desktop capturer source to use
|
||||
* @returns new screensharing state
|
||||
*/
|
||||
setScreensharingEnabled(enabled: boolean, opts?: IScreensharingOpts): Promise<boolean>;
|
||||
@@ -394,7 +392,7 @@ export declare class MatrixCall extends TypedEventEmitter<CallEvent, CallEventHa
|
||||
* Starts/stops screensharing
|
||||
* Should be used ONLY if the opponent doesn't support SDPStreamMetadata
|
||||
* @param enabled - the desired screensharing state
|
||||
* @param opts - screen sharing options
|
||||
* @param desktopCapturerSourceId - optional id of the desktop capturer source to use
|
||||
* @returns new screensharing state
|
||||
*/
|
||||
private setScreensharingEnabledWithoutMetadataSupport;
|
||||
@@ -482,7 +480,6 @@ export declare class MatrixCall extends TypedEventEmitter<CallEvent, CallEventHa
|
||||
private gotLocalOffer;
|
||||
private getLocalOfferFailed;
|
||||
private getUserMediaFailed;
|
||||
private placeCallFailed;
|
||||
private onIceConnectionStateChanged;
|
||||
private onSignallingStateChanged;
|
||||
private onTrack;
|
||||
|
||||
Reference in New Issue
Block a user