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