I have to add live video streaming in one of my apps; I am using Wowza Streaming Cloud for the same. I am using the REST API to make it as my requirement.
The flow I had used is:
- Create a stream
- Start stream
- Check status unless it is “started”
- if the status is started, I start broadcasting audio.
It goes well sometimes, but sometimes when I try to broadcast even after starting the stream, it says:
Status is idle, An error occurred when trying to connect to host: (code = 15)<br>
For Broadcasting I had used GoCoder SDK wherein I set all of the properties like host address, port, app name, stream name, etc.
Do I have to set bitrate or anything? Where am I wrong?