Scrypted Documentation / MediaObjectCreateOptions
Interface: MediaObjectCreateOptions
Extends
Indexable
[key: string]: TopLevelSerializableType
Properties
sourceId?
optionalsourceId:string
The device id of the source of the MediaObject.
Inherited from
toMimeTypes?
optionaltoMimeTypes:string[]
Methods
convert()?
optionalconvert<T>(toMimeType):Promise<T>
Type Parameters
• T
Parameters
• toMimeType: string
Returns
Promise<T>
