mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Add dev guide for RTSP.
#minor-release PiperOrigin-RevId: 373173075
This commit is contained in:
parent
094f4a8436
commit
4dd383565a
@ -59,6 +59,8 @@ en:
|
||||
url: smoothstreaming.html
|
||||
- title: Progressive
|
||||
url: progressive.html
|
||||
- title: RTSP
|
||||
url: rtsp.html
|
||||
- title: Advanced topics
|
||||
children:
|
||||
- title: Digital rights management
|
||||
|
12
docs/_page_fragments/supported-formats-rtsp.md
Normal file
12
docs/_page_fragments/supported-formats-rtsp.md
Normal 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.
|
||||
|
@ -15,6 +15,7 @@ instances of the following content `MediaSource` implementations:
|
||||
* `SsMediaSource` for [SmoothStreaming][].
|
||||
* `HlsMediaSource` for [HLS][].
|
||||
* `ProgressiveMediaSource` for [regular media files][].
|
||||
* `RtspMediaSource` for [RTSP][].
|
||||
|
||||
`DefaultMediaSourceFactory` can also create more complex media sources depending
|
||||
on the properties of the corresponding media items. This is described in more
|
||||
|
@ -41,6 +41,10 @@ and HDR video playback.
|
||||
|
||||
{% include_relative _page_fragments/supported-formats-progressive.md %}
|
||||
|
||||
## RTSP ##
|
||||
|
||||
{% include_relative _page_fragments/supported-formats-rtsp.md %}
|
||||
|
||||
## Sample formats ##
|
||||
|
||||
By default ExoPlayer uses Android's platform decoders. Hence the supported
|
||||
|
Loading…
x
Reference in New Issue
Block a user