Class DefaultRtpPayloadReaderFactory
- java.lang.Object
-
- com.google.android.exoplayer2.source.rtsp.reader.DefaultRtpPayloadReaderFactory
-
- All Implemented Interfaces:
RtpPayloadReader.Factory
public final class DefaultRtpPayloadReaderFactory extends Object implements RtpPayloadReader.Factory
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.DefaultRtpPayloadReader.Factory
implementation.
-
-
Constructor Summary
Constructors Constructor Description DefaultRtpPayloadReaderFactory()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RtpPayloadReader
createPayloadReader(RtpPayloadFormat payloadFormat)
Deprecated.Returns aRtpPayloadReader
for a givenRtpPayloadFormat
.
-
-
-
Method Detail
-
createPayloadReader
@Nullable public RtpPayloadReader createPayloadReader(RtpPayloadFormat payloadFormat)
Deprecated.Description copied from interface:RtpPayloadReader.Factory
Returns aRtpPayloadReader
for a givenRtpPayloadFormat
.- Specified by:
createPayloadReader
in interfaceRtpPayloadReader.Factory
- Parameters:
payloadFormat
- TheRtpPayloadFormat
of the RTP stream.- Returns:
- A
RtpPayloadReader
for the packet stream, ornull
if the stream format is not supported.
-
-