Share via


MediaParser.ParameterTsMode Field

Definition

Sets the operation mode for TS parsing.

[Android.Runtime.Register("PARAMETER_TS_MODE", ApiSince=30)]
public const string ParameterTsMode;
[<Android.Runtime.Register("PARAMETER_TS_MODE", ApiSince=30)>]
val mutable ParameterTsMode : string

Field Value

Attributes

Remarks

Sets the operation mode for TS parsing. String expected. Valid values are "single_pmt", "multi_pmt", and "hls". Default value is "single_pmt".

The operation modes alter the way TS behaves so that it can handle certain kinds of commonly-occurring malformed media.

<ul> <li>"single_pmt": Only the first found PMT is parsed. Others are ignored, even if more PMTs are declared in the PAT. <li>"multi_pmt": Behave as described in ISO/IEC 13818-1. <li>"hls": Enable "single_pmt" mode, and ignore continuity counters. </ul>

Java documentation for android.media.MediaParser.PARAMETER_TS_MODE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to