diff --git a/src/rpcclient/rpcclient/darwin/darwin_media.py b/src/rpcclient/rpcclient/darwin/darwin_media.py index e6426d47..e430ea08 100644 --- a/src/rpcclient/rpcclient/darwin/darwin_media.py +++ b/src/rpcclient/rpcclient/darwin/darwin_media.py @@ -92,9 +92,8 @@ def _load_av_foundation(self): for option in options: if self._client.dlopen(option, 2): return - raise RpcClientException('failed to load AVFAudio') - + def set_audio_session(self): AVAudioSession = self._client.symbols.objc_getClass('AVAudioSession') audio_session = AVAudioSession.objc_call('sharedInstance')