Skip to content

Commit

Permalink
Removed NSData
Browse files Browse the repository at this point in the history
NSData autoclass is not used in the current implementation. Its prior purpose was to send client ID data, but its usage was deemed unnecessary, and replaced with a function that takes a string as a parameter to send the client's ID.
  • Loading branch information
SanquezH authored Feb 1, 2025
1 parent f376c08 commit 1c665b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plyer/platforms/ios/voip.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
AVAudioFormat = autoclass("AVAudioFormat")
VoipMachine = autoclass('Voip')
AVAudioSession = autoclass("AVAudioSession")
NSData = autoclass('NSData')
NSError = autoclass("NSError")

class iOSVoip(Voip):
Expand Down Expand Up @@ -189,4 +188,4 @@ def _end_call(self):
Logger.info("VOIP: Call ended")

def instance():
return iOSVoip()
return iOSVoip()

0 comments on commit 1c665b1

Please sign in to comment.