Stay organized with collections
Save and categorize content based on your preferences.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.media3.exoplayer.rtsp\n==============================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/media3/exoplayer/rtsp/package-summary \"View this page in Kotlin\") \\|Java\n\nClasses\n-------\n\n|----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|\n| [RtpPacket](/reference/androidx/media3/exoplayer/rtsp/RtpPacket) | Represents the header and the payload of an RTP packet. |\n| [RtpPacket.Builder](/reference/androidx/media3/exoplayer/rtsp/RtpPacket.Builder) | Builder class for an [RtpPacket](/reference/androidx/media3/exoplayer/rtsp/RtpPacket) |\n| [RtpPayloadFormat](/reference/androidx/media3/exoplayer/rtsp/RtpPayloadFormat) | Represents the payload format used in RTP. |\n| [RtpUtils](/reference/androidx/media3/exoplayer/rtsp/RtpUtils) | Utility methods for RTP. |\n| [RtspMediaSource](/reference/androidx/media3/exoplayer/rtsp/RtspMediaSource) | An Rtsp [MediaSource](/reference/androidx/media3/exoplayer/source/MediaSource) |\n| [RtspMediaSource.Factory](/reference/androidx/media3/exoplayer/rtsp/RtspMediaSource.Factory) | Factory for [RtspMediaSource](/reference/androidx/media3/exoplayer/rtsp/RtspMediaSource) |\n\nExceptions\n----------\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|\n| [RtspMediaSource.RtspPlaybackException](/reference/androidx/media3/exoplayer/rtsp/RtspMediaSource.RtspPlaybackException) | Thrown when an exception or error is encountered during loading an RTSP stream. |\n| [RtspMediaSource.RtspUdpUnsupportedTransportException](/reference/androidx/media3/exoplayer/rtsp/RtspMediaSource.RtspUdpUnsupportedTransportException) | Thrown when an RTSP Unsupported Transport error (461) is encountered during RTSP Setup. |"]]