I have an issue when trying to broadcast stream to Wowza Streaming Cloud from iOS device via GoCoder sdk. I setup Cloud Stream instance to use other RTMP as video source encoder and authentication is enabled. The workflow is following: 1. I call Wowza Streaming Cloud API to start a stream, then setup GoCoder config with returned information. 2. Check Cloud Stream status via API, and when stream is started, immediately start broadcasting
And I receive a following error at this point Error Domain=com.wowza.gocoder.sdk Code=14 "An error occurred when trying to connect to host: "" UserInfo={NSLocalizedDescription=An error occurred when trying to connect to host: }
EDIT I enabled verbose log level for go coder sdk, and additional error info is Socket connect with err = 36
But if I start broadcasting to stream that was started 15 or more seconds ago, code works correctly.
Can you please give any advice what can cause a problem?