Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d3125d0e
authored
Jul 21, 2021
by
olly
Committed by
Ian Baker
Jul 21, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Cleanup some RTSP documentation
#minor-release PiperOrigin-RevId: 386048024
parent
a95e66d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
17 deletions
docs/_page_fragments/supported-formats-rtsp.md
docs/rtsp.md
docs/_page_fragments/supported-formats-rtsp.md
View file @
d3125d0e
ExoPlayer supports both live and on demand RTSP. Supported
formats and network
types are listed below.
ExoPlayer supports both live and on demand RTSP. Supported
sample formats and
network
types are listed below.
**Supported formats**
> Please comment on
[
this issue
](
https://github.com/google/ExoPlayer/issues/9210
)
to request for
more format support.
### Supported sample formats ###
*
H264
. T
he SDP media description must include SPS/PPS data in the fmtp
attribute for decoder initialization.
*
H264
(t
he SDP media description must include SPS/PPS data in the fmtp
attribute for decoder initialization
)
.
*
AAC (with ADTS bitstream).
*
AC3.
**Supported network types**
Please comment on
[
this issue
](
https://github.com/google/ExoPlayer/issues/9210
)
to request support for additional sample formats.
{:.info}
### Supported network types ###
*
RTP over UDP unicast (multicast is not supported).
*
Interleaved RTSP, RTP over RTSP using TCP.
docs/rtsp.md
View file @
d3125d0e
...
...
@@ -25,12 +25,11 @@ player.prepare();
~~~
{: .language-java}
### Play authentication-enabled RTSP content ###
### Authentication ###
ExoPlayer supports playback with RTSP BASIC and DIGEST authentication. To play
protected RTSP content, the
`MediaItem`
's URI must be configured with the
auth
tication info. Specifically, the URI should follow the format
auth
entication info. Specifically, the URI should be of the form
`rtsp://<username>:<password>@<host address>`
.
## Using RtspMediaSource ##
...
...
@@ -73,8 +72,6 @@ ExoPlayer will report the playback has ended if nothing is received for the
duration of the set timeout. Setting this value too small may lead to an early
end-of-stream signal under poor network conditions.
### Force using RTP/TCP ###
ExoPlayer can also be configured to play with RTP/TCP by default. To do so,
use method
`RtspMediaSource.Factory.setForceUseRtpTcp()`
.
RTP/TCP offers better compatibility under some network setups. You can configure
ExoPlayer to use RTP/TCP by default with
`RtspMediaSource.Factory.setForceUseRtpTcp()`
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment