Class LanguageDescriptor.LanguageCode

Object
com.wowza.wms.transport.mpeg2.LanguageDescriptor.LanguageCode
Enclosing class:
LanguageDescriptor

public class LanguageDescriptor.LanguageCode extends Object
The Class LanguageCode.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    ISO-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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    How big is the language code in binary.
    void
    toBin(ByteBuffer buffer)
    Encodes the Language code into binary form for use in transport
     

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • code

      public 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.
    • type

      public 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
  • 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

      public void toBin(ByteBuffer buffer)
      Encodes the Language code into binary form for use in transport
      Parameters:
      buffer - ByteBuffer to put the binary data
    • toString

      public String toString()
      Overrides:
      toString in class Object