1

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

mCastSession.getRemoteMediaClient().play();

mCastSession.getRemoteMediaClient().pause();

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

All above calls works fine, but mCastSession.getRemoteMediaClient().setStreamVolume(1.0); 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?

Ana Paula
  • 8,733
  • 3
  • 16
  • 16

1 Answers1

2

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

Ali Naddaf
  • 16,951
  • 2
  • 21
  • 28