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

Fix wrong invoke on setCloudProxy #346

Closed
wants to merge 1 commit into from
Closed

Fix wrong invoke on setCloudProxy #346

wants to merge 1 commit into from

Conversation

nizwar
Copy link

@nizwar nizwar commented Jun 8, 2021

Fix wrong invoke method and how it implemented that produce Instance of 'CloudProxyType' Agora as i described here #345

return _invokeMethod('enableRemoteSuperResolution',
{'proxyType': CloudProxyTypeConverter(proxyType).e});
return _invokeMethod('setCloudProxy',
{'proxyType': CloudProxyTypeConverter(proxyType).e.index});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should remove .index.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe .index have to be added or you’ll get same error

@LichKing-2234
Copy link
Contributor

Thanks for your PR! Please finish the changes requested.

@LichKing-2234
Copy link
Contributor

I found some same problem, I will fix it.

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

Successfully merging this pull request may close these issues.

2 participants