From d4cb62eb7bc306f253e35764ae6dade4ddbb4454 Mon Sep 17 00:00:00 2001 From: ibaker Date: Fri, 16 Jul 2021 15:33:50 +0100 Subject: [PATCH] Fix RTSP docs and add a missing release note * Add release note for `RtspMediaSource.Factory.setTimeoutMs()` * Remove mention of what we don't support (any such list is necessarily non-exhaustive) * Remove markdown quote character ('>') PiperOrigin-RevId: 385143574 --- RELEASENOTES.md | 2 ++ docs/_page_fragments/supported-formats-rtsp.md | 2 -- docs/rtsp.md | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 9514c63596..13f6d2e42e 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -160,6 +160,8 @@ ([#9014](https://github.com/google/ExoPlayer/issues/9014)). * Allow using absolute URI in the control attribute in a media description ([#9183](https://github.com/google/ExoPlayer/issues/9183)). + * Allow the timeout to be customised via + `RtspMediaSource.Factory.setTimeoutMs`. * Metadata: * Fix handling of emsg messages with an unset duration ([#9123](https://github.com/google/ExoPlayer/issues/9123)). diff --git a/docs/_page_fragments/supported-formats-rtsp.md b/docs/_page_fragments/supported-formats-rtsp.md index 93deb9ce82..641bb29905 100644 --- a/docs/_page_fragments/supported-formats-rtsp.md +++ b/docs/_page_fragments/supported-formats-rtsp.md @@ -10,5 +10,3 @@ types are listed below. **Supported network types** * RTP over UDP unicast (multicast is not supported). * Interleaved RTSP, RTP over RTSP using TCP. - -> Playback of RTP streams is not supported. diff --git a/docs/rtsp.md b/docs/rtsp.md index dab6c9cb51..b2d041e525 100644 --- a/docs/rtsp.md +++ b/docs/rtsp.md @@ -68,10 +68,10 @@ The timeout for retrying with TCP can be customized by calling the method four seconds, the player will retry with TCP after four seconds of UDP inactivity. -> Setting the timeout also affects the end-of-stream detection logic. That is, +Setting the timeout also affects the end-of-stream detection logic. That is, 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 pre-mature -stream ending under poor network conditions. +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,