Class: VideoOutput
Constructors
new VideoOutput()
new VideoOutput(
mediaData,playback,peer,room):VideoOutput
Parameters
• mediaData
• mediaData.id: number
• mediaData.paused: boolean
• mediaData.properties: object | object
• playback: VideoPlayback
• peer: RemotePeer
• room: Room
Returns
Defined in
ari/lib/api/media/video-output.d.ts:10
Properties
kind
readonlykind:"video-output"="video-output"
Defined in
ari/lib/api/media/video-output.d.ts:9
peer
readonlypeer:RemotePeer
Defined in
ari/lib/api/media/video-output.d.ts:7
playback
readonlyplayback:VideoPlayback
Defined in
ari/lib/api/media/video-output.d.ts:6
room
readonlyroom:Room
Defined in
ari/lib/api/media/video-output.d.ts:8
Accessors
customType
getcustomType():string
The custom type can be provided by the remote's VideoInput to help understanding its purpose.
Returns
string
The custom type value if available; otherwise, undefined.
Defined in
ari/lib/api/media/video-output.d.ts:51
id
getid():string
Returns
string
Defined in
ari/lib/api/media/video-output.d.ts:39
isPaused
getisPaused():boolean
Returns
boolean
Defined in
ari/lib/api/media/video-output.d.ts:24
isStarted
getisStarted():boolean
Indicates whether the process has started.
Returns
boolean
True if the process has started, otherwise false.
Defined in
ari/lib/api/media/video-output.d.ts:16
mediaId
getmediaId():number
Retrieves the media ID associated with this instance.
Returns
number
The unique identifier of the media.
Defined in
ari/lib/api/media/video-output.d.ts:38
mediaStream
getmediaStream():MediaStream
GEt the current MediaStream associated with playback.
Returns
MediaStream
The current MediaStream if available, otherwise undefined.
Defined in
ari/lib/api/media/video-output.d.ts:45
uid
getuid():string
Retrieves the unique identifier (UID) associated with the playback.
Returns
string
The UID of the playback.
Defined in
ari/lib/api/media/video-output.d.ts:32
Methods
pause()
pause():
Promise<void>
Returns
Promise<void>
Defined in
ari/lib/api/media/video-output.d.ts:26
resume()
resume():
Promise<void>
Returns
Promise<void>
Defined in
ari/lib/api/media/video-output.d.ts:25
start()
start():
Promise<void>
Starts the video output process if it is not already started. Ensures the method is not re-triggered while in progress.
Returns
Promise<void>
A promise that resolves once the video output process is successfully started.
Defined in
ari/lib/api/media/video-output.d.ts:23