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

NetConnection.Connect.Rejected - code=403 #66

Open
Nandhu-89 opened this issue Aug 22, 2024 · 6 comments
Open

NetConnection.Connect.Rejected - code=403 #66

Nandhu-89 opened this issue Aug 22, 2024 · 6 comments
Milestone

Comments

@Nandhu-89
Copy link

Describe the bug

I am developing a flutter application which requires two way audio and I used haishinkit to publish audio from flutter app to wowza server through RTMP. In wowza server we enabled authentication. When I tried connecting RTMP it always returns connection rejected message. In android its working we are facing issue in iOS.
Url we used => rtmp://user:[email protected]:1935/applicationName/
after successful connection we will publish the audio using streamName.
Without authentication working fine but authentication is required for our app security purpose.

To Reproduce

Below is the error
audio event listener {type: rtmpStatus, data: {code: NetConnection.Connect.Rejected, description: [ AccessManager.Reject ] : [ code=403 need auth; authmod=adobe ] : , level: error}}

Expected behavior

App needs to connect with authentication.
rtmp://user:[email protected]:1935/applicationName/

Version

haishin_kit 0.13.0

Smartphone info.

IOS Devices

Additional context

No response

Screenshots

No response

Relevant log output

audio event listener {type: rtmpStatus, data: {code: NetConnection.Connect.Rejected, description: [ AccessManager.Reject ] : [ code=403 need auth; authmod=adobe ] : , level: error}}
@shogo4405
Copy link
Owner

Yes, currently, it's not possible due to a bug. We have confirmed that this works with HaishinKit 2.0.0 on iOS. If it's necessary for the current version, we welcome a PR.

@Nandhu-89
Copy link
Author

@shogo4405 Currently I am using haishin_kit: ^0.13.0 in my flutter app. How can I get HaishinKit 2.0.0 code. Can you please guide us to move further. because this is the issue that gating our app release.

@shogo4405
Copy link
Owner

iOS version 2.0.0 is available here. It is still in beta and currently undergoing testing.
https://github.com/shogo4405/HaishinKit.swift

@balaji-bjm
Copy link

I am new to flutter development and I'm also facing the same problem in ios. RTMP connection always returns Rejected message eventhough the url contains username and password.

@Nandhu-89
Copy link
Author

iOS version 2.0.0 is available here. It is still in beta and currently undergoing testing. https://github.com/shogo4405/HaishinKit.swift

Ok let me know what are all the fixes that i have to update in the flutter haishinkit sdk. Your guidance will be helpful to us @shogo4405

@shogo4405
Copy link
Owner

@Nandhu-89 No. I don't offer that kind of support. If you're looking for commercial support, I recommend finding a different product.

@shogo4405 shogo4405 added this to the 0.14.0 milestone Sep 18, 2024
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

3 participants