ToiMediaPlayerBaseAudioStreamInfo Interface Reference


Description

This is the documentation for ToiMediaPlayerBaseAudioStreamInfo.
Audio stream data structure used to return audio stream information. Depending on the stream format some fields will be reported as unknown. Use toi.statics.ToiMediaPlayerBaseAudioStreamInfo.create(<encoding>, <sampleRate>, <channelFormat>, <channelMode>, <language>, <subLanguage>, <audienceType>, <componentTag>) to create an instance of ToiMediaPlayerBaseAudioStreamInfo.

import "ToiMediaPlayerBaseAudioStreamInfo.idl";

List of all members.

Public Attributes

attribute string encoding
attribute long sampleRate
attribute
ToiMediaPlayerBase::TToiAudioChannelFormat 
channelFormat
attribute
ToiMediaPlayerBase::TToiAudioChannelMode 
channelMode
attribute string language
attribute string subLanguage
attribute
ToiMediaPlayerBase::TToiAudioAudienceType 
audienceType
attribute long componentTag

Member Data Documentation

The audio component tag value. The value will be set to -1 if it does not exist for the stream.

Type of audio encoding used. The string is empty if the encoding is unknown. The content of the string is determined by the decoder and is supplied for trouble-shooting reasons.

A three character code, as specified by ISO 639 part 2. For the dual mono format, it describes the main channel language.

The sample rate of the audio in samples per second. The value will be set to -1 if the sample rate is unknown. This will be reported as unknown if it is not the currently active audio stream.

A three character code, as specified by ISO 639 part 2. Only set for dual mono format, it describes the sub channel language