OTVDecoderInfoUtil

public class OTVDecoderInfoUtil
  • Declaration

    Swift

    public init()
  • Provides a list of video decoders supported by the device

    Declaration

    Swift

    public func getVideoDecoderInfo() -> [OTVVideoDecoderInfo]

    Return Value

    An array of type OTVVideoDecoderInfo

  • Provides a list of audio decoders supported by the device

    Declaration

    Swift

    public func getAudioDecoderInfo() -> [OTVAudioDecoderInfo]

    Return Value

    An array of type OTVAudioDecoderInfo

  • To verify whether a video decoder is supported by the device

    Declaration

    Swift

    public func isVideoDecoderSupported(xFormat: OTVDecoderFormat) -> Bool

    Parameters

    xFormat

    The video decoder format in type OTVDecoderFormat

    Return Value

    A boolean indicating whether the given decoder format is supported by the device

  • To verify whether a audio decoder is supported by the device

    Declaration

    Swift

    public func isAudioDecoderSupported(xFormat: OTVDecoderFormat) -> Bool

    Parameters

    xFormat

    The audio decoder format in type OTVDecoderFormat

    Return Value

    A boolean indicating whether the given decoder format is supported by the device