Ana Paula Ana Paula - 1 year ago 145
Android Question

RemoteMediaClient setStreamVolume doesn't changing cast volume

Through CastSession I'm getting an instance of RemoteMediaClient to send events to receiver.



mCastSession.getRemoteMediaClient().seek(position * 1000);

All above calls works fine, but
doesn't change the volume. On my other implementation using SDK 2.0 works fine, but now with SDK 3.0 it does nothing. Is that a bug or something?

Answer Source

Please do not use stream volume, instead use the system volume: mCastSession.setVolume(level).

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download