Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Will getDeviceInfo() ever be supported for CastPlayer? #142

Copy link
Copy link
@JaCobbMedia

Description

@JaCobbMedia
Issue body actions

Describe your question in detail.

I'm developing a podcast app which supports chrome cast and we recently moved to media3. We are using MediaController to handle all playback and doing some UI changes regarding of what player is currently being used (exo/cast). For that we thought using onDeviceInfoChanged() in Player.Listener and doing changes according to playbackType would be a way to go, but it didn't seem to work so after some debugging I've noticed that CastPlayer doesn't support getDeviceInfo() method and always returns DeviceInfo.UNKNOWN with playbackType DeviceInfo.PLAYBACK_TYPE_LOCAL.

So my question is will getDeviceInfo() method ever be supported for CastPlayer and is there any other way to tell where playback is happening (exo/cast) from MediaController?

gookman and baruckis

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.