CeaUtil
@UnstableApi
class CeaUtil
Utility methods for handling CEA-608/708 messages. Defined in A/53 Part 4:2009.
Summary
Constants |
|
|---|---|
const Int |
USER_DATA_IDENTIFIER_GA94 = 1195456820 |
const Int |
Public functions |
|
|---|---|
java-static Unit |
consume(Consumes the unescaped content of an SEI NAL unit, writing the content of any CEA-608/708 messages as samples to all of the provided outputs. |
java-static Unit |
consumeCcData(Consumes caption data (cc_data), writing the content as samples to all of the provided outputs. |
Constants
Public functions
consume
java-static fun consume(
presentationTimeUs: Long,
seiBuffer: ParsableByteArray!,
outputs: Array<TrackOutput!>!
): Unit
Consumes the unescaped content of an SEI NAL unit, writing the content of any CEA-608/708 messages as samples to all of the provided outputs.
| Parameters | |
|---|---|
presentationTimeUs: Long |
The presentation time in microseconds for any samples. |
seiBuffer: ParsableByteArray! |
The unescaped SEI NAL unit data, excluding the NAL unit start code and type. |
outputs: Array<TrackOutput!>! |
The outputs to which any samples should be written. |
consumeCcData
java-static fun consumeCcData(
presentationTimeUs: Long,
ccDataBuffer: ParsableByteArray!,
outputs: Array<TrackOutput!>!
): Unit
Consumes caption data (cc_data), writing the content as samples to all of the provided outputs.
| Parameters | |
|---|---|
presentationTimeUs: Long |
The presentation time in microseconds for any samples. |
ccDataBuffer: ParsableByteArray! |
The buffer containing the caption data. |
outputs: Array<TrackOutput!>! |
The outputs to which any samples should be written. |