media/library
claincly 77008e16fe Allow RTSP streaming using TCP.
NAT will block off incoming UDP connection because the router has no knowledge
of the necessary port mapping (the mapping is never set up because UDP is
connectionless).

The end result is, the UDP socket to receive RTP data will timeout. After the
`SocketTimeoutException` is caught, the following takes place to try streaming
with TCP (or, RTP over RTSP).

- `RtspClient` sends TEARDOWN to tear down the current session.
- `RtspClient` re-connect to the RTSP server.
- `RtspMediaPeriod` cancels all loading `RtpDataLoadables` (that are using UDP)
- `RtspMediaPeriod` constructs new `RtpDataLoadables` that use
    `TransferRtpDataChannel`, and starts loading.
- Once the `RtpDataLoadables` are up and running, we are ready to receive.
  `RtspClient` sends the SETUP requests.

- The rest of the flow is unchanged.

#minor-release

PiperOrigin-RevId: 373310774
2021-05-12 13:02:48 +01:00
..
all Include RTSP module in gradle project 2021-05-10 23:50:13 +01:00
common Fix Javadoc references to deprecated EventListener 2021-05-10 23:49:20 +01:00
core Remove reference to deprecated Player.EventListener. 2021-05-10 23:49:46 +01:00
dash Merge pull request #8894 from cdongieux:fix/issue-8847 2021-05-12 13:01:18 +01:00
extractor Re-format some javadoc 2021-04-21 18:46:00 +01:00
hls Re-format some javadoc 2021-04-21 18:46:00 +01:00
rtsp Allow RTSP streaming using TCP. 2021-05-12 13:02:48 +01:00
smoothstreaming Re-format some javadoc 2021-04-21 18:46:00 +01:00
transformer Adds Format to MediaCodecAdapter.Configuration. 2021-04-21 09:48:46 +01:00
ui Merge #8858: Support ebutts:multiRowAlign in TTML text renderer 2021-05-04 11:23:37 +01:00
README.md Tweak and add READMEs + remove refs to V1 2017-08-17 22:59:34 +01:00

ExoPlayer library

The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.