docs/doc/reference/com/google/android/exoplayer2/source/rtsp/reader/DefaultRtpPayloadReaderFactory.html
Package com.google.android.exoplayer2.source.rtsp.reader
All Implemented Interfaces:RtpPayloadReader.Factory
public final classDefaultRtpPayloadReaderFactoryextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")implements[RtpPayloadReader.Factory](RtpPayloadReader.Factory.html "interface in com.google.android.exoplayer2.source.rtsp.reader")
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.
Default RtpPayloadReader.Factory implementation.
Constructors | Constructor | Description |
| --- | --- |
| DefaultRtpPayloadReaderFactory() |
Deprecated.
|
All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| RtpPayloadReader | createPayloadReader(RtpPayloadFormat payloadFormat) |
Deprecated.
Returns a RtpPayloadReader for a given RtpPayloadFormat.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public DefaultRtpPayloadReaderFactory()
Deprecated.
-
@Nullable
public[RtpPayloadReader](RtpPayloadReader.html "interface in com.google.android.exoplayer2.source.rtsp.reader")createPayloadReader([RtpPayloadFormat](../RtpPayloadFormat.html "class in com.google.android.exoplayer2.source.rtsp")payloadFormat)
Deprecated.
Description copied from interface: RtpPayloadReader.Factory
Returns a RtpPayloadReader for a given RtpPayloadFormat.
Specified by:createPayloadReader in interface RtpPayloadReader.FactoryParameters:payloadFormat - The RtpPayloadFormat of the RTP stream.Returns:A RtpPayloadReader for the packet stream, or null if the stream format is not supported.