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

Unable to Start Streaming in Background (iOS) #176

Open
Sm038229 opened this issue Nov 18, 2019 · 3 comments
Open

Unable to Start Streaming in Background (iOS) #176

Sm038229 opened this issue Nov 18, 2019 · 3 comments

Comments

@Sm038229
Copy link

Sm038229 commented Nov 18, 2019

Actually I want to start an incident via Panic-Button :
1 : Foreground Mode -
- It works fine as required.
2 : Background Mode -
- Streaming fails. It doesn't give any error.

Log :
- [aurioc] 1540: AUIOClient_StartIO failed (561145187)
Status not 0! 561145187

@Sm038229 Sm038229 changed the title Unable to Start Streaming in Background in iOS Unable to Start Streaming in Background (iOS) Nov 18, 2019
@beetlejesss
Copy link
Contributor

@Sm038229 have you tried the https://github.com/red5pro/streaming-ios/tree/master/R5ProTestbed/Tests/PublishBackground example? You have to start streaming in the foreground in order for the device to give permissions to the camera and microphone. You can't stream video from the background - but you should be able to continue streaming audio when the app goes into the background, per this example.

@Sm038229
Copy link
Author

Sm038229 commented Nov 19, 2019

@beetlejesss If the app is in background is there any way to trigger/start streaming through any external bluetooth devices.
In my case I have to start streaming using panic button.

With panic button I am able to invoke stream.start() function however streaming does not start and I get following in the log

[aurioc] 1540: AUIOClient_StartIO failed (561145187)
Status not 0! 561145187

@saheemhussain
Copy link

@Sm038229 Did you manage to make it work?

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