createVideo

open fun createVideo(uri: String): Video

Creates a Video object from a string path. The video's delivery type will be set for URLs whose path end with .mp4 and .m3u(8). Otherwise it will be UNKNOWN.

Return

the created Video object

Parameters

uri

String URI to video


open fun createVideo(uri: String, projectionFormat: Video.ProjectionFormat): Video

Creates a Video object from a string path. The video's delivery type will be set for URLs whose path end with .mp4 and .m3u(8). Otherwise it will be UNKNOWN.

Return

the created Video object

Parameters

uri

String URI to video

projectionFormat

the video projectionFormat


open fun createVideo(uri: String, type: DeliveryType): Video

Creates a Video object from a string path.

Return

the created Video object

Parameters

uri

String URI to video

type

DeliveryType


open fun createVideo(uri: String, type: DeliveryType, projectionFormat: Video.ProjectionFormat): Video

Creates a Video object from a string path.

Return

the created Video object

Parameters

uri

String URI to video

type

DeliveryType

projectionFormat

the projection format