Package com.wowza.wms.transport.mpeg2
Class LanguageDescriptor.LanguageCode
- Object
- 
- com.wowza.wms.transport.mpeg2.LanguageDescriptor.LanguageCode
 
- 
- Enclosing class:
- LanguageDescriptor
 
 public class LanguageDescriptor.LanguageCode extends ObjectThe Class LanguageCode.
- 
- 
Field SummaryFields Modifier and Type Field Description StringcodeISO-639~language-code - Identifies the language or languages used by the associated program element.inttypeThe 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 SummaryConstructors Constructor Description LanguageCode()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intbinarySize()How big is the language code in binary.voidtoBin(java.nio.ByteBuffer buffer)Encodes the Language code into binary form for use in transportStringtoString()
 
- 
- 
- 
Field Detail- 
codepublic String 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.
 - 
typepublic int type 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
 
- 
 - 
Method Detail- 
binarySizepublic int binarySize() How big is the language code in binary.- Returns:
- the total size of the language code in binary form
 
 - 
toBinpublic void toBin(java.nio.ByteBuffer buffer) Encodes the Language code into binary form for use in transport- Parameters:
- buffer- ByteBuffer to put the binary data
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- Object
 
 
- 
 
-