- 17 May, 2021 2 commits
-
-
Make ForwardingPlayer implement Player and not extend BasePlayer so that ForwardingPlayer forwards each Player method directly to the wrapped Player instance. PiperOrigin-RevId: 374161084
christosts committed -
The issue is fixed in 2.14.0 - keys are fetched ahead of playback #minor-release PiperOrigin-RevId: 374159998
ibaker committed
-
- 14 May, 2021 8 commits
-
-
Oliver Woodman committed
-
Oliver Woodman committed
-
r2.14.0
Oliver Woodman committed -
Issue: #8927 #minor-release PiperOrigin-RevId: 373752448
ibaker committed -
Oliver Woodman committed
-
Issue: #8927 #minor-release PiperOrigin-RevId: 373752448
ibaker committed -
There are two main changes that need to be made: 1. Whenever we determine the next ad to play, we need to select a server-side inserted ad even if it has been played already (because it's part of the stream). 2. When the Timeline is updated in the player, we need to avoid changes that would unnecessarily reset the renderers. Whenever a Timeline change replaces content with a server-side inserted ad at the same position we can just keep the existing MediaPeriod and also if the duration of the current MediaPeriod is reduced but it is followed by a MediaPeriod in the same SSAI stream, we can don't need to reset the renderers as we keep playing the same stream. PiperOrigin-RevId: 373745031tonihei committed -
Tested: $ ./gradlew :media-test-session-current:cAT $ blaze test test_session_current/src/androidTest:test_with_current_support_app The tests run but seem flaky, not related to this change. PiperOrigin-RevId: 373677924
gyumin committed
-
- 13 May, 2021 12 commits
-
-
This is mainly so that developers can try out RTSP with the main demo app without having to change the build.gradle file. The change also aligns what media can be played across the different demo apps. #minor-release PiperOrigin-RevId: 373591974
olly committed -
This is mainly so that developers can try out RTSP with the main demo app without having to change the build.gradle file. The change also aligns what media can be played across the different demo apps. #minor-release PiperOrigin-RevId: 373591974
olly committed -
#minor-release PiperOrigin-RevId: 373550935
olly committed -
#minor-release PiperOrigin-RevId: 373550935
olly committed -
#minor-release PiperOrigin-RevId: 373543587
olly committed -
#minor-release PiperOrigin-RevId: 373543587
olly committed -
PiperOrigin-RevId: 373542819
aquilescanta committed -
This helps both player the logic and clients like UI or analytics to detect SSAI ads. PiperOrigin-RevId: 373540754
tonihei committed -
In order to deliver Cue objects between different processes (e.g. in Player#getCurrentCues), this CL makes it Bundleable. PiperOrigin-RevId: 373524501
klhyun committed -
In Android 12 mutability flags have to be set on PendingIntents. If they are not, and the app targets Android 12, then the app will be crashed by the system. PiperOrigin-RevId: 373427591
olly committed -
It's no longer used. PiperOrigin-RevId: 373426109
olly committed -
#minor-release PiperOrigin-RevId: 373410795
samrobinson committed
-
- 12 May, 2021 18 commits
-
-
#minor-release PiperOrigin-RevId: 373402932
olly committed -
#minor-release PiperOrigin-RevId: 373402932
olly committed -
Content after ad groups currently always resumes at the ad break position (unless overridden by a seek or similar). In some cases, media inserting ads wants to specify an offset after the ad group at which playback should resume. A common example is a live stream that inserts an ad and then wants to continue streaming at the current live edge. Support this use case by allowing ad groups to specify a content resume offset and making sure that the content start position after the ad group uses this offset. PiperOrigin-RevId: 373393807
tonihei committed -
#minor-release PiperOrigin-RevId: 373351935
olly committed -
#minor-release PiperOrigin-RevId: 373351014
olly committed -
PiperOrigin-RevId: 373343326
Oliver Woodman committed -
#minor-release PiperOrigin-RevId: 373336127
claincly committed -
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: 373310774claincly committed -
#minor-release PiperOrigin-RevId: 373175041
claincly committed -
#minor-release PiperOrigin-RevId: 373173075
claincly committed -
PiperOrigin-RevId: 373128118
kim-vde committed -
#minor-release PiperOrigin-RevId: 373336127
claincly committed -
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: 373310774claincly committed -
It helps to change allowed commands from session. PiperOrigin-RevId: 373302990
jaewan committed -
It's convenient for testing. PiperOrigin-RevId: 373280130
jaewan committed -
PiperOrigin-RevId: 373222158
olly committed -
PiperOrigin-RevId: 373180764
aquilescanta committed -
#minor-release PiperOrigin-RevId: 373175041
claincly committed
-