docs/doc/reference/com/google/android/exoplayer2/source/rtsp/RtpUtils.html
Package com.google.android.exoplayer2.source.rtsp
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classRtpUtilsextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
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.
Utility methods for RTP.
All Methods Static Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| static DataSpec | getIncomingRtpDataSpec(int portNumber) |
Deprecated.
Returns the DataSpec with the Uri for incoming RTP connection.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public static[DataSpec](../../upstream/DataSpec.html "class in com.google.android.exoplayer2.upstream")getIncomingRtpDataSpec(int portNumber)
Deprecated.
Returns the DataSpec with the Uri for incoming RTP connection.