Skip to content

Scrypted Documentation / RTCConnectionManagement

Interface: RTCConnectionManagement

Methods

negotiateRTCSignalingSession()

negotiateRTCSignalingSession(): Promise<void>

Returns

Promise<void>


addTrack()

addTrack(mediaObject, options?): Promise<RTCOutputMediaObjectTrack>

Parameters

mediaObject: MediaObject

options?

options.videoMid?: string

options.audioMid?: string

options.intercomId?: string

Deprecated

Returns

Promise<RTCOutputMediaObjectTrack>


addInputTrack()

addInputTrack(options): Promise<RTCInputMediaObjectTrack>

Parameters

options

options.videoMid?: string

options.audioMid?: string

Returns

Promise<RTCInputMediaObjectTrack>


close()

close(): Promise<void>

Returns

Promise<void>


probe()

probe(): Promise<void>

Returns

Promise<void>