8000 Will getDeviceInfo() ever be supported for CastPlayer? · Issue #142 · androidx/media · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Will getDeviceInfo() ever be supported for CastPlayer? #142
Closed
@JaCobbMedia

Description

@JaCobbMedia

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?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0