Class RtpUtils


  • @Deprecated
    public final class RtpUtils
    extends Object
    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 Detail

      • getIncomingRtpDataSpec

        public static DataSpec getIncomingRtpDataSpec​(int portNumber)
        Deprecated.
        Returns the DataSpec with the Uri for incoming RTP connection.