- 06 Jun, 2021 7 commits
-
-
Preload chunks may still need to be discarded. However, we don't currently support discarding spliced-in chunks. Thus, we need to avoid loadng a preload chunk that needs to be spliced-in. Issue: #8937 #minor-release PiperOrigin-RevId: 374851661
tonihei committed -
#minor-release PiperOrigin-RevId: 374433331
claincly committed -
Gradle warns against passing a relative path to `new File(String)`: https://docs.gradle.org/current/userguide/working_with_files.html#sec:single_file_paths This change fixes all usages of `exoplayerRoot` to pass it to Gradle's `Project.file()` first, which returns an absolute `File`. To reproduce the problem in Issue: #8927: 1. Checkout ExoPlayer git project, to e.g. `~/ExoPlayer/exoplayer-git` 2. Create a new Android Studio project in e.g. `~/AndroidStudioProjects/exoplayer-test` 3. Edit the new project's `settings.gradle` file as described in https://github.com/google/ExoPlayer/blob/release-v2/README.md using a relative path for `exoplayerRoot`: ``` gradle.ext.exoplayerRoot = '../../ExoPlayer/exoplayer-git' ``` 4. In a shell: ```bash $ cd ~/AndroidStudioProjects/exoplayer-test/app $ ../gradlew build ``` (Step 4 is important, it seems running `./gradlew` from the project root doesn't trigger the relative path problem) This change fixes the problem, and also works with `exoplayerRoot` as a `File` or `Path` object. `String`, `File` and `Path` all work with relative or absolute paths: ``` gradle.ext.exoplayerRoot = '/home/ibaker/ExoPlayer/exoplayer-git' gradle.ext.exoplayerRoot = '../../ExoPlayer/exoplayer-git' gradle.ext.exoplayerRoot = new File('/home/ibaker/ExoPlayer/exoplayer-git') gradle.ext.exoplayerRoot = new File('../../ExoPlayer/exoplayer-git') gradle.ext.exoplayerRoot = Paths.get('/home/ibaker/ExoPlayer/exoplayer-git') gradle.ext.exoplayerRoot = Paths.get('../../ExoPlayer/exoplayer-git') ``` Note: The Path versions above require importing `java.nio.file.Paths` and changing the `apply from:` line in the project's settings.gradle file to something like: ``` apply from: file(gradle.ext.exoplayerRoot.resolve('core_settings.gradle')) ``` It's assumed that a project wanting to pass a `Path` will make these changes. Issue: #8927 PiperOrigin-RevId: 374421627
ibaker committed -
#minor-release PiperOrigin-RevId: 374235979
samrobinson committed -
#minor-release PiperOrigin-RevId: 373410795
samrobinson committed -
PiperOrigin-RevId: 374161340
olly committed -
PiperOrigin-RevId: 373142159
kim-vde committed
-
- 03 Jun, 2021 2 commits
-
-
Oliver Woodman committed
-
Oliver Woodman committed
-
- 17 May, 2021 3 commits
- 14 May, 2021 3 commits
-
-
Oliver Woodman committed
-
r2.14.0
Oliver Woodman committed -
Issue: #8927 #minor-release PiperOrigin-RevId: 373752448
ibaker committed
-
- 13 May, 2021 3 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 -
#minor-release PiperOrigin-RevId: 373550935
olly committed -
#minor-release PiperOrigin-RevId: 373543587
olly committed
-
- 12 May, 2021 6 commits
-
-
#minor-release PiperOrigin-RevId: 373402932
olly 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
-
- 10 May, 2021 10 commits
-
-
RTSP interleaving enables RTP packets to be sent using RTSP's TCP connection. The interleaving RTSP messages contain binary data only and always start with a '$'. Normal RTSP messages contain line breaks (CRLFs) that indicate complete lines. #minor-release PiperOrigin-RevId: 372990181
claincly committed -
#minor-release PiperOrigin-RevId: 372981022
olly committed -
#minor-release PiperOrigin-RevId: 372980349
olly committed -
PiperOrigin-RevId: 372925409
tonihei committed -
#minor-release PiperOrigin-RevId: 372919342
olly committed -
- Don't deprecate methods not deprecated in the base class and that could one day be useful. - Better document deprecation of other methods. #minor-release PiperOrigin-RevId: 372919080
olly committed -
PiperOrigin-RevId: 372910834
olly committed -
The existing code results in flaky tests, where sometimes the write fails (with "EPIPE (broken pipe)") and the exception propagates out and causes the test to never complete and time out. Swallowing the exception resolves this flakiness. #minor-release PiperOrigin-RevId: 372909415
ibaker committed -
Apps should migrate from ExoPlayerImpl to SimpleExoPlayer. #minor-release PiperOrigin-RevId: 372562923
kimvde committed -
#minor-release PiperOrigin-RevId: 372549185
samrobinson committed
-
- 07 May, 2021 6 commits
-
-
#minor-release PiperOrigin-RevId: 372537414
samrobinson committed -
#minor-release PiperOrigin-RevId: 372448985
samrobinson committed -
#minor-release PiperOrigin-RevId: 372433555
bachinger committed -
#minor-release PiperOrigin-RevId: 372368685
samrobinson committed -
PiperOrigin-RevId: 371625281
gyumin committed -
Rating class should be in the same module as MediaMetadata. Tested: $ ./gradlew --stacktrace :exo-library-common:tDUT $ ./gradlew --stacktrace :media2-session:tDUT $ ./gradlew --stacktrace :media2-session-vct-current:cAT PiperOrigin-RevId: 370902917
jaewan committed
-