Scrypted Documentation / ResponseMediaStreamOptions
Interface: ResponseMediaStreamOptions
Options passed to VideoCamera.getVideoStream to request specific media formats. The audio/video properties may be omitted to indicate no audio/video is available when calling getVideoStreamOptions or no audio/video is requested when calling getVideoStream.
Extends
Properties
name?
optionalname:string
Inherited from
prebuffer?
optionalprebuffer:number
Prebuffer time in milliseconds.
Inherited from
prebufferBytes?
optionalprebufferBytes:number
Prebuffer size in bytes.
Inherited from
MediaStreamOptions.prebufferBytes
container?
optionalcontainer:string
The container type of this stream, ie: mp4, mpegts, rtsp.
Inherited from
metadata?
optionalmetadata:any
Stream specific metadata.
Inherited from
tool?
optionaltool:MediaStreamTool
The tool was used to write the container or will be used to read teh container. Ie, scrypted, the ffmpeg tools, gstreamer.
Inherited from
video?
optionalvideo:VideoStreamOptions
Inherited from
audio?
optionalaudio:AudioStreamOptions
Inherited from
id
id:
string
Overrides
refreshAt?
optionalrefreshAt:number
The time in milliseconds that this stream must be refreshed again via a call to getVideoStream.
source?
optionalsource:MediaStreamSource
userConfigurable?
optionaluserConfigurable:boolean
sdp?
optionalsdp:string
oobCodecParameters?
optionaloobCodecParameters:boolean
The stream's codec parameters are not contained in the stream and are available out of band via another mechanism such as the SDP.
destinations?
optionaldestinations:MediaStreamDestination[]
allowBatteryPrebuffer?
optionalallowBatteryPrebuffer:boolean
Set this to true to allow for prebuffering even if the device implements the Battery interface. Handy if you have a device that can continuously prebuffer when on mains power, but you still want battery status reported.
