Skip to content

Commit

Permalink
client: media: remove trigger of requestRecordPermission:
Browse files Browse the repository at this point in the history
  • Loading branch information
doronz88 committed Oct 27, 2024
1 parent 5c7dd8b commit 3e165a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/rpcclient/rpcclient/darwin/media.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ def set_category(self, category: AVAudioSessionCategory,
mode = self._client.symbols[mode.value][0]
self._session.objc_call('setCategory:mode:routeSharingPolicy:options:error:', category, mode,
route_sharing_policy, options, 0)
self._session.objc_call('requestRecordPermission:', self._client.get_dummy_block())

def override_output_audio_port(self, port: int):
self._session.objc_call('overrideOutputAudioPort:error:', port, 0)
Expand Down

0 comments on commit 3e165a9

Please sign in to comment.