22 Commits

Author SHA1 Message Date
aquilescanta
fc1d3dd192 Make onPlayerError take a PlaybackException
PiperOrigin-RevId: 380174672
2021-06-21 22:15:01 +01:00
olly
4c10d2bd4c Migrate /-as-division to math.div
If google3 is the source-of-truth for this third_party code (or if this is legacy code that is no longer synced with an external source), just LGTM this CL and Rosie will submit it. If not, you should patch the upstream source of these files, since we will be disabling support for /-as-division in google3 before support is formally removed from the language.

See go/lsc-slash-as-division-deprecation.

Tested:
    TAP found no affected targets. No targets were built or tested.
    http://test/OCL:380056637:BASE:380052721:1623976139468:f2fd2cbd
PiperOrigin-RevId: 380140762
2021-06-21 22:11:14 +01:00
olly
82ca628ee4 Update Javadoc for 2.14.1
#minor-release

PiperOrigin-RevId: 378844770
2021-06-11 12:27:46 +01:00
olly
271011c6f9 Align README and helloworld documentation
#minor-release

PiperOrigin-RevId: 377269770
2021-06-03 13:56:56 +01:00
aquilescanta
6a8b9557cc Use ERROR_CODE_BEHIND_LIVE_WINDOW instead of instanceof checks
PiperOrigin-RevId: 375514509
2021-05-26 11:29:16 +01:00
olly
c80355c903 Update links for new Javadoc
PiperOrigin-RevId: 374216724
2021-05-17 18:20:33 +01:00
ibaker
ea597a8002 Remove reference to Issue #4133 in exoplayer.dev/drm
The issue is fixed in 2.14.0 - keys are fetched ahead of playback

#minor-release

PiperOrigin-RevId: 374159998
2021-05-17 18:17:54 +01:00
olly
cccb40065c Minor copy edits for RTSP docs
#minor-release

PiperOrigin-RevId: 373402932
2021-05-12 18:58:13 +01:00
olly
a038f875f6 Update Javadoc for 2.14.0
#minor-release

PiperOrigin-RevId: 373351935
2021-05-12 13:55:32 +01:00
claincly
2a2d6f667d Move misplaced RTSP doc.
#minor-release

PiperOrigin-RevId: 373175041
2021-05-12 11:50:55 +01:00
claincly
4dd383565a Add dev guide for RTSP.
#minor-release

PiperOrigin-RevId: 373173075
2021-05-12 11:50:31 +01:00
olly
d282ad25c1 Include RTSP module in gradle project
#minor-release

PiperOrigin-RevId: 372981022
2021-05-10 23:41:50 +01:00
olly
9a2ebbb72e Minor guide cleanup for 2.14
#minor-release

PiperOrigin-RevId: 372980349
2021-05-10 23:41:29 +01:00
samrobinson
2914e574e6 Rename MediaMetadata trackTitle and trackArtist to title and artist.
#minor-release

PiperOrigin-RevId: 372537414
2021-05-07 14:58:03 +01:00
samrobinson
837826c735 Update retrieving-metadata on ExoPlayer.dev
#minor-release

PiperOrigin-RevId: 371939159
2021-05-04 18:36:33 +01:00
krocard
3dc6cf6bec Deprecate EventListener in favor of Listener
#minor-release

PiperOrigin-RevId: 371348520
2021-04-30 18:56:35 +01:00
krocard
ffe31be08b Deprecate component listener in favor of player
All `add*Listener` and `add*Output` methods are
deprecated in favor of `addListener`.

As for the class themselves `VideoListener` and
`AudioListener` are not used internaly by ExoPlayer,
`VideoRendererEventListener`
and `AudioRendererEventListener` are use in their
place.
As a result `VideoListener` and `AudioListener`
can be deprecated in favor `Listener`.

On the other hand `TextOutput` and `MedataOutput`
are used both in the player interface and internally in
renderers.
This means that those class can't be deprecated.
There usage in the public interface are indirectly
deprecated as their is no way to use them without
using the deprecated `add*Output`.
Thus it's not an issue that the class themselves are
not deprecated.

#minor-release

PiperOrigin-RevId: 371318268
2021-04-30 18:55:06 +01:00
ibaker
e0502cb3e8 Fix in-page anchor link on exoplayer.dev troubleshooting page
Also consolidate the threading warning info with the same info on the
hello world page and update the version that the
setThrowsWhenUsingWrongThread() method will be removed in.

PiperOrigin-RevId: 369657759
2021-04-21 18:46:40 +01:00
andrewlewis
517e590967 Move docs to correct folder for GitHub Pages 2021-04-21 11:00:57 +01:00
olly
8a11875bd7 Correct Javadoc location
PiperOrigin-RevId: 369433627
2021-04-20 15:35:30 +01:00
andrewlewis
8fbe11aa54 Move extensions/cronet to libraries/datasource_cronet
See go/media-apis-codebase-google3.

PiperOrigin-RevId: 369425137
2021-04-20 15:34:52 +01:00
Oliver Woodman
f66bdc71a0 Add gh-pages to main dev branch 2021-04-20 14:26:36 +01:00