Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unsubscribe_audio unsubscribe_video ISSUE: ctypes.ArgumentError: argument 2: TypeError: wrong type #5

Open
weedge opened this issue Dec 8, 2024 · 0 comments

Comments

@weedge
Copy link

weedge commented Dec 8, 2024

ret = agora_local_user_unsubscribe_audio(self.user_handle, ctypes.c_char_p(user_id.encode()))
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ctypes.ArgumentError: argument 2: TypeError: wrong type


ret = agora_local_user_unsubscribe_video(self.user_handle, user_id_t)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ctypes.ArgumentError: argument 2: TypeError: wrong type

user_id: str

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant