VODContent

public struct VODContent : Codable

Video on Demand content type definition

  • VOD Content

    Declaration

    Swift

    public init (contentId: String, contentName:String, genre:[String]? = nil, bitrates: [Int]? = nil,
                 uri: String? = nil, duration: TimeInterval? = nil, framesPerSecondNominal: Int? = nil)

    Parameters

    contentId

    Unique ID of the content

    contentName

    Name of the content

    genre

    Genre of the content

    bitrates

    Available bitrates

    uri

    URI fo the content

    duration

    Duration of the content

    framesPerSecondNominal

    Expected frame rate for this content

  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws