Back to Exoplayer

RtpUtils (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/source/rtsp/RtpUtils.html

latest2.1 KB
Original Source

Package com.google.android.exoplayer2.source.rtsp

Class RtpUtils


[@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.

Method Summary

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. |

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

- 

getIncomingRtpDataSpec

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.