Add dev guide for RTSP.

#minor-release

PiperOrigin-RevId: 373173075
This commit is contained in:
claincly 2021-05-11 17:47:53 +01:00 committed by Oliver Woodman
parent 094f4a8436
commit 4dd383565a
4 changed files with 19 additions and 0 deletions

View File

@ -59,6 +59,8 @@ en:
url: smoothstreaming.html url: smoothstreaming.html
- title: Progressive - title: Progressive
url: progressive.html url: progressive.html
- title: RTSP
url: rtsp.html
- title: Advanced topics - title: Advanced topics
children: children:
- title: Digital rights management - title: Digital rights management

View File

@ -0,0 +1,12 @@
ExoPlayer supports streaming both live and on demand RTSP. Listed below are the
supported formats and network types.
**Supported Formats**
- H264
- AAC (with ADTS bitstream)
- AC3
**Supported Network types**
- RTP over UDP unicast (multicast is not supported).
- Interleaved RTSP, RTP over RTSP using TCP.

View File

@ -15,6 +15,7 @@ instances of the following content `MediaSource` implementations:
* `SsMediaSource` for [SmoothStreaming][]. * `SsMediaSource` for [SmoothStreaming][].
* `HlsMediaSource` for [HLS][]. * `HlsMediaSource` for [HLS][].
* `ProgressiveMediaSource` for [regular media files][]. * `ProgressiveMediaSource` for [regular media files][].
* `RtspMediaSource` for [RTSP][].
`DefaultMediaSourceFactory` can also create more complex media sources depending `DefaultMediaSourceFactory` can also create more complex media sources depending
on the properties of the corresponding media items. This is described in more on the properties of the corresponding media items. This is described in more

View File

@ -41,6 +41,10 @@ and HDR video playback.
{% include_relative _page_fragments/supported-formats-progressive.md %} {% include_relative _page_fragments/supported-formats-progressive.md %}
## RTSP ##
{% include_relative _page_fragments/supported-formats-rtsp.md %}
## Sample formats ## ## Sample formats ##
By default ExoPlayer uses Android's platform decoders. Hence the supported By default ExoPlayer uses Android's platform decoders. Hence the supported