tonihei
ea0f72e46c
Update initial bandwidth estimates
...
PiperOrigin-RevId: 361569511
2021-03-12 10:40:04 +00:00
gyumin
ffb7c466ed
Implement addMediaItems(List) and clearMediaItems() in BasePlayer
...
PiperOrigin-RevId: 361487730
2021-03-12 10:39:54 +00:00
gyumin
c1dba81ed2
Move TimelineTest to common module
...
PiperOrigin-RevId: 361125522
2021-03-12 10:39:43 +00:00
gyumin
51f6aea265
Merge AdPlaybackStateTests
...
PiperOrigin-RevId: 361125492
2021-03-12 10:39:33 +00:00
kimvde
0dcdbf0adf
Add Player onAvailableCommandsChanged callback
...
PiperOrigin-RevId: 361122259
2021-03-12 10:39:22 +00:00
olly
3de81c6d31
HttpDataSources: Remove unused protected methods
...
PiperOrigin-RevId: 361109018
2021-03-12 10:39:11 +00:00
Ian Baker
49c282d6fa
Merge pull request #8677 from dlafayet:ttml
...
PiperOrigin-RevId: 361106701
2021-03-12 10:38:59 +00:00
kimvde
41672c80e7
Fix onPositionDiscontinuity event in CastPlayer
...
- Avoid having two onPositionDiscontinuity events (seek and transition)
sent after a seek to another media item.
- Avoid triggering an onPositionDiscontinuity event after a timeline
change.
#minor-release
PiperOrigin-RevId: 361092914
2021-03-12 10:38:48 +00:00
Ian Baker
83d7a3c1f4
Merge pull request #8662 from joakimzhang:dev-v2
...
PiperOrigin-RevId: 361029604
2021-03-12 10:38:36 +00:00
gyumin
4df7410272
Add javadoc for Bundleable CREATOR fields
...
It's to comply with style guide as they are public.
PiperOrigin-RevId: 360914363
2021-03-12 10:38:25 +00:00
gyumin
7a02346d49
Recommend BasePlayer when implementing Player
...
PiperOrigin-RevId: 360902971
2021-03-12 10:38:14 +00:00
bachinger
8dc63dd2aa
Reset playback speed when live speed control becomes unused
...
Issue: #8664
#minor-release
PiperOrigin-RevId: 360877086
2021-03-12 10:38:04 +00:00
gyumin
8fbb971dfa
Implement Bundleable for AdGroup
...
PiperOrigin-RevId: 360851146
2021-03-12 10:37:53 +00:00
jaewan
7fad836b3a
Implement Bundleable for PlaybackParameters
...
PiperOrigin-RevId: 360810865
2021-03-12 10:37:41 +00:00
gyumin
01cb6ee3a3
Replace ObjectsCompat.equals to Util.areEquals
...
It's for consistency throughout libraries.
PiperOrigin-RevId: 360549525
2021-03-12 10:37:30 +00:00
olly
f5024131b8
Fix typos in Javadoc
...
PiperOrigin-RevId: 360440021
2021-03-12 10:37:19 +00:00
Denise LaFayette
0f0e0c974b
Fix missing background color behind emphasis mark
...
Add more comments and tests for TextEmphasis
2021-03-09 14:01:32 -08:00
Denise LaFayette
671032204f
Remove unused code
2021-03-08 10:12:11 -08:00
Denise LaFayette
f7f40bcb25
Address code review comments
...
- Split text emphasis mark and style into two IntDefs
- Represent textEmphasis="none" with a span rather than null
- Fixed bugs in the style parsing logic
2021-03-05 12:23:34 -08:00
Denise LaFayette
6cc3c16345
Netflix test file for IMSC1.1 Japanese subtitle features
2021-03-04 16:16:59 -08:00
Denise LaFayette
60a3af8d77
Fix broken unit test in TtmlDecoder.textEmphasis()
...
- Merge RUBY_POSITION with TEXT_EMPHASIS_POSITION in TtmlNode
2021-03-04 16:06:56 -08:00
Denise LaFayette
4ad6454713
Address code review comments
...
- Refactor TextEmphasis class to support different ordering of styles
- Merge RubySpan.Position and TextEmphasisSpan.Position
- Remove TTML constructs from Spanned classes
2021-03-04 15:49:28 -08:00
Ian Baker
d80d548503
Merge branch 'dev-v2' into dev-v2-8435-bolditalic
2021-03-04 09:41:39 +00:00
Abel Jimenez
8ac74a009e
formatting
2021-03-03 02:51:26 -08:00
joakimzhang
dc814fc37d
Detect external surround sound on Xiaomi devices
...
exoplayer can enable dolby passthrough on xiaomi device when get
EXTERNAL_SURROUND_SOUND_KEY
Signed-off-by: joakimzhang <zq15011526977@gmail.com>
2021-03-03 10:14:17 +08:00
Oliver Woodman
6be3a59354
Merge pull request #8546 from TadejZupancic:dev-v2
...
PiperOrigin-RevId: 360433358
2021-03-02 17:04:56 +00:00
olly
70f831a647
Simplify handling of playback speed in StyledPlayerControlView
...
PiperOrigin-RevId: 360404403
2021-03-02 17:04:44 +00:00
kimvde
67b18a958e
Link to callback in Player getters' Javadoc
...
PiperOrigin-RevId: 360398175
2021-03-02 17:04:35 +00:00
andrewlewis
292700e93b
Fall back from DTS HD to DTS
...
#minor-release
PiperOrigin-RevId: 360384540
2021-03-02 17:04:25 +00:00
olly
3f17f5d441
1) Adds new csi ticks:
...
exp (ExoPlayer prepare)
ffr (First Frame Rendered)
psr (Player State Ready).
2) Modifies aci/acc vci/vcc to report timing from ExoPlayer Playback thread.
3) Fix to report pvri and pari for every playback.
and other minor bug fixes.
PiperOrigin-RevId: 360228206
2021-03-02 17:04:15 +00:00
olly
b5d360c4cd
Fix scrubber not reappearing correctly in some cases
...
Issue: #8646
#minor-release
PiperOrigin-RevId: 360184586
2021-03-02 17:04:04 +00:00
aquilescanta
ef1d797681
Introduce ChunkExtractor.Factory for dependency injection
...
PiperOrigin-RevId: 360175031
2021-03-02 17:03:55 +00:00
andrewlewis
aa2dc4c511
Lint and test artifacts for Maven publication
...
Issue: #5246
PiperOrigin-RevId: 360132205
2021-03-02 17:03:44 +00:00
olly
560ed115df
Add ResolvingDataSourceContractTest
...
PiperOrigin-RevId: 359783527
2021-03-02 17:03:35 +00:00
olly
1e3337e4b7
Add RawResourceDataSource contract test
...
PiperOrigin-RevId: 359743165
2021-03-02 17:03:25 +00:00
olly
759b0431bb
DataSource: Tighten contract to throw if opened beyond end-of-input
...
Includes fixes for the HTTP implementations, which previously
broke this contract specifically in the case when a server
responds to a range request with a HTTP 200 response. To fix
this case, skipping to the requested position is moved from
read() to open(). As a side effect, this nicely simplifies
CronetDataSource!
PiperOrigin-RevId: 359737301
2021-03-02 17:03:14 +00:00
krocard
72aec83a9e
Add setPlaybackSpeed as a convenience method to change speed.
...
PiperOrigin-RevId: 359734928
2021-03-02 17:03:05 +00:00
aquilescanta
1c40c75433
Use a debug signature config for demo apps' release variant
...
PiperOrigin-RevId: 359724874
2021-03-02 17:02:55 +00:00
olly
c319220354
Add BandaidHttpDataSourceContractTest
...
Also fix a bug where BandaidHttpDataSource would pass -1 to
TransferListener.onBytesTransferred!
PiperOrigin-RevId: 359722821
2021-03-02 17:02:45 +00:00
krocard
b050391467
Clarify that set/getVolume is in fact a linear gain.
...
The API is a lot more useful if apps can rely on the fact
that the gain is linear and applied to all channels.
This is already guaranty by AudioTrack and should be too
by any reasonable implementation.
PiperOrigin-RevId: 359706113
2021-03-02 17:02:35 +00:00
olly
27c8679ce4
Make updateCodecOperatingRate protected.
...
Use the api in YouTube code to update the operating rate.
PiperOrigin-RevId: 359572194
2021-03-02 17:02:26 +00:00
ibaker
34d76a793b
Make SsaDecoder robust against absent Format items
...
Suggested in a comment on PR Issue: #8615
PiperOrigin-RevId: 359522217
2021-03-02 17:02:15 +00:00
olly
635544efe9
Add DataSourceContractTest for reading from the end with a set length
...
Given we're proposing to make reading from the end a non-error case,
it's important to check that we return the right thing from open(),
and that we read the right thing (i.e., nothing) once opened.
For now, this test allows quite a bit of permissiveness, in line
with other related tests. This will be tightened up in due course.
PiperOrigin-RevId: 359504075
2021-03-02 17:02:04 +00:00
Abel Jimenez
ec69977a1c
ssa bold and italic
2021-03-01 15:55:34 -08:00
Abel Jimenez
71409c440a
ssa bold and italic
2021-03-01 15:52:24 -08:00
Denise LaFayette
fcda8d47ff
Support tts:textEmphasis in TTML parser and WebView output
2021-03-01 14:21:22 -08:00
TadejZupancic
50a11886b6
The popup window now opens above or below the button which caused it to open.
2021-02-25 19:35:00 +01:00
Ian Baker
4364b9150f
Disable flaky test in ExoPlayerTest
...
targetLiveOffsetInMedia_unknownWindowStartTime_doesNotAdjustLiveOffset
is flaky on the release branch. It's not flaky on the dev-v2 branch
due to recent changes to FakeClock's behaviour which aren't yet present
on release-v2.
2021-02-25 16:29:37 +00:00
Marc Baechinger
ce48a28aec
Merge pull request #8634 from google/dev-v2-r2.13.2
...
r2.13.2
2021-02-25 13:15:45 +00:00
bachinger
c96f695af7
Bump version to 2.13.2
...
PiperOrigin-RevId: 359486817
2021-02-25 11:51:24 +00:00