Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6f1daff3
authored
Feb 08, 2019
by
aquilescanta
Committed by
Andrew Lewis
Feb 18, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove copybara scrubbing of ExoCast components
PiperOrigin-RevId: 233072247
parent
9b6caf9e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
0 deletions
RELEASENOTES.md
demos/cast/build.gradle
demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/MainActivity.java
RELEASENOTES.md
View file @
6f1daff3
...
@@ -2,6 +2,10 @@
...
@@ -2,6 +2,10 @@
### dev-v2 (not yet released) ###
### dev-v2 (not yet released) ###
*
Add
`ExoCastPlayer`
to cast to custom receiver apps using ExoPlayer's custom
communication protocol
(
[
#5486
](
https://github.com/google/ExoPlayer/issues/5486
)
). Also update the
Cast demo app to work with
`ExoCastPlayer`
.
*
HLS:
*
HLS:
*
Form an adaptive track group out of audio renditions with matching name.
*
Form an adaptive track group out of audio renditions with matching name.
*
`ExtractorMediaSource`
renamed to
`ProgressiveMediaSource`
.
*
`ExtractorMediaSource`
renamed to
`ProgressiveMediaSource`
.
...
...
demos/cast/build.gradle
View file @
6f1daff3
...
@@ -52,6 +52,11 @@ android {
...
@@ -52,6 +52,11 @@ android {
flavorDimensions
"receiver"
flavorDimensions
"receiver"
productFlavors
{
productFlavors
{
exoCast
{
dimension
"receiver"
manifestPlaceholders
=
[
castOptionsProvider:
"com.google.android.exoplayer2.ext.cast.ExoCastOptionsProvider"
]
}
defaultCast
{
defaultCast
{
dimension
"receiver"
dimension
"receiver"
manifestPlaceholders
=
manifestPlaceholders
=
...
...
demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/MainActivity.java
View file @
6f1daff3
...
@@ -128,6 +128,15 @@ public class MainActivity extends AppCompatActivity
...
@@ -128,6 +128,15 @@ public class MainActivity extends AppCompatActivity
/* context= */
this
,
/* context= */
this
,
castContext
);
castContext
);
break
;
break
;
case
ExoCastOptionsProvider
.
RECEIVER_ID
:
playerManager
=
new
ExoCastPlayerManager
(
/* queueChangesListener= */
this
,
localPlayerView
,
castControlView
,
/* context= */
this
,
castContext
);
break
;
default
:
default
:
throw
new
IllegalStateException
(
"Illegal receiver app id: "
+
applicationId
);
throw
new
IllegalStateException
(
"Illegal receiver app id: "
+
applicationId
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment