Package com.wowza.wms.transport.mpeg2
Class LanguageDescriptor.LanguageCode
Object
com.wowza.wms.transport.mpeg2.LanguageDescriptor.LanguageCode
- Enclosing class:
- LanguageDescriptor
The Class LanguageCode.
-
Field Summary
FieldsModifier and TypeFieldDescriptionISO-639~language-code - Identifies the language or languages used by the associated program element.int
The audio type specifies the associated stream using the table below 0x00 Undefined 0x01 Clean Effects 0x02 Hearing Impaired 0x03 Visual Imparted commentary 0x04 - 0xFF reserved -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
How big is the language code in binary.void
toBin
(ByteBuffer buffer) Encodes the Language code into binary form for use in transporttoString()
-
Field Details
-
code
ISO-639~language-code - Identifies the language or languages used by the associated program element. The ISO-639-language-code contains a 3-character code as specified by IS0 639, Part 2. Each character is coded into 8 bits according to IS0 8859-l and inserted in order into this 24-bit field. In the case of multilingual audio streams the sequence of ISO-639-language-code fields shall reflect the content of the audio stream. -
type
public int typeThe audio type specifies the associated stream using the table below 0x00 Undefined 0x01 Clean Effects 0x02 Hearing Impaired 0x03 Visual Imparted commentary 0x04 - 0xFF reserved
-
-
Constructor Details
-
LanguageCode
public LanguageCode()
-
-
Method Details
-
binarySize
public int binarySize()How big is the language code in binary.- Returns:
- the total size of the language code in binary form
-
toBin
Encodes the Language code into binary form for use in transport- Parameters:
buffer
- ByteBuffer to put the binary data
-
toString
-