Package com.wowza.wms.transport.mpeg2
Class LanguageDescriptor
Object
com.wowza.wms.transport.mpeg2.Descriptor
com.wowza.wms.transport.mpeg2.LanguageDescriptor
The Class LanguageDescriptor.
The language descriptor is used to specify the language of the associated program element
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class com.wowza.wms.transport.mpeg2.Descriptor
data, DESCRIPTOR_TAG_AAC_DVB, DESCRIPTOR_TAG_AAC_SCTE, DESCRIPTOR_TAG_AC3, DESCRIPTOR_TAG_ANCILLARY, DESCRIPTOR_TAG_AUDIO, DESCRIPTOR_TAG_CA, DESCRIPTOR_TAG_COPYRIGHT, DESCRIPTOR_TAG_CUE_IDENTIFIER, DESCRIPTOR_TAG_DATA_STREAM_ALIGN, DESCRIPTOR_TAG_DVBTELETEXT, DESCRIPTOR_TAG_ENHANCED_AC3, DESCRIPTOR_TAG_EXT_ES_ID, DESCRIPTOR_TAG_EXTENSION_DVB, DESCRIPTOR_TAG_EXTENSION_MP4_LOAS, DESCRIPTOR_TAG_FLEX_MUX_TIMING, DESCRIPTOR_TAG_FMC, DESCRIPTOR_TAG_FMX_BUFSIZE, DESCRIPTOR_TAG_HIERARCHY, DESCRIPTOR_TAG_IBP, DESCRIPTOR_TAG_IOD, DESCRIPTOR_TAG_ISO_639_LANG, DESCRIPTOR_TAG_MAX_BITRATE, DESCRIPTOR_TAG_METADATA, DESCRIPTOR_TAG_METADATA_POINTER, DESCRIPTOR_TAG_METADATA_STD, DESCRIPTOR_TAG_MP4_AUDIO, DESCRIPTOR_TAG_MP4_VIDEO, DESCRIPTOR_TAG_MULTIPLE_BUF, DESCRIPTOR_TAG_MULTIPLEX_BUF_UTIL, DESCRIPTOR_TAG_MUXCODE, DESCRIPTOR_TAG_PRIVATE_DATA, DESCRIPTOR_TAG_REGISTRATION, DESCRIPTOR_TAG_SL, DESCRIPTOR_TAG_SMOOTHING_BUF, DESCRIPTOR_TAG_STD, DESCRIPTOR_TAG_STREAM_IDENTIFIER, DESCRIPTOR_TAG_SYSTEM_CLOCK, DESCRIPTOR_TAG_TGT_BACKGRD_GRID, DESCRIPTOR_TAG_VIDEO, DESCRIPTOR_TAG_VIDEO_WINDOWS, length, tag -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new language descriptor.LanguageDescriptor(ByteBuffer descriptorData) Instantiates a new language descriptor. -
Method Summary
Modifier and TypeMethodDescriptionintHow big is the language descriptor in binary.voiddecodeDescriptorData(ByteBuffer descriptorData) Decode descriptor data.voidtoBin(ByteBuffer buffer) Encodes the Language descriptor into binary form for use in transporttoString()Methods inherited from class com.wowza.wms.transport.mpeg2.Descriptor
decodeDescriptor, getDataAsBase64, getDescriptorName, getShortClassName, serializeAMF, toDebugString
-
Field Details
-
codes
The codes.
-
-
Constructor Details
-
LanguageDescriptor
public LanguageDescriptor()Instantiates a new language descriptor. -
LanguageDescriptor
Instantiates a new language descriptor.- Parameters:
descriptorData- the descriptor data
-
-
Method Details
-
decodeDescriptorData
Description copied from class:DescriptorDecode descriptor data.- Overrides:
decodeDescriptorDatain classDescriptor- Parameters:
descriptorData- the descriptor data
-
toBin
Encodes the Language descriptor into binary form for use in transport- Overrides:
toBinin classDescriptor- Parameters:
buffer- ByteBuffer to put the binary data
-
binarySize
public int binarySize()How big is the language descriptor in binary.- Overrides:
binarySizein classDescriptor- Returns:
- the total size of the language descriptor in binary form, includes tag and length fields
-
toString
- Overrides:
toStringin classDescriptor
-