mirror of
https://github.com/zoriya/Opus.git
synced 2025-12-05 22:16:17 +00:00
Solving a bug that prevented playback when the user have no google APIs on his device.
This commit is contained in:
@@ -227,7 +227,7 @@ namespace Opus.Api.Services
|
||||
RegisterReceiver(noisyReceiver, new IntentFilter(AudioManager.ActionAudioBecomingNoisy));
|
||||
noisyRegistered = true;
|
||||
|
||||
RemotePlayer = MainActivity.CastContext.SessionManager.CurrentCastSession?.RemoteMediaClient;
|
||||
RemotePlayer = MainActivity.CastContext?.SessionManager.CurrentCastSession?.RemoteMediaClient;
|
||||
if(RemotePlayer != null)
|
||||
{
|
||||
if (CastCallback == null)
|
||||
|
||||
Reference in New Issue
Block a user