Remove copybara scrubbing of ExoCast components
PiperOrigin-RevId: 233072247
This commit is contained in:
parent
9b6caf9eda
commit
6f1daff3f1
@ -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`.
|
||||||
|
@ -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 =
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user