• SEARCH
  • DOWNLOADS
  • MY ACCOUNT
  • Buy (0)
  • CONTACT
  • Free Trial
Wowza Logo
  • PRODUCTS
  • DEVELOPER
  • SOLUTIONS
  • PRICING
  • RESOURCES
  • SUPPORT
  • My Account
  • Buy (0)
  • SEARCH
  • Ask a question
  • Forums
    • Wowza ClearCaster
    • Wowza Streaming Engine
    • Wowza Streaming Cloud
    • Wowza Player
    • Wowza GoCoder SDK
    • Wowza Developer Dojo
    • Topics
    • Questions
    • Articles
    • Users
    • Badges
  • Sign in
  • Community Home /
  • Wowza GoCoder SDK /
avatar image
Question by Dima Nikolaenko · Jan 30, 2017 at 12:08 PM · wowza gocoder sdk

Connection issue with GoCoder iOS sdk + Streaming cloud

Hello!

I have an issue when trying to broadcast stream to Wowza Streaming Cloud from iOS device. I'm using GoCoder SDK for this.

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, 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: }

But if I do the same steps from above, but will wait for few more seconds before start broadcasting, everything works fine.

SDK version is 1.0.3

Platform info is Device Model = iPhone6,1 [iPhone 5s (GSM)], OS Version = Version 10.2.1 (Build 14D27)

Can you please give any advice what can cause a problem?

Best, Dima.
Comment
Arthur Poghosyan

People who like this

1 Show 0
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

4 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Arthur Poghosyan · Mar 11, 2017 at 03:45 PM

I have the same issue. Tell me please, if you find solution. Thank you.

Comment

People who like this

0 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by yuri bog · Mar 19, 2017 at 02:09 AM

I have the same issue.

Comment

People who like this

0 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Akshit Zaveri · Jun 10, 2017 at 02:42 PM

Same issue here.

Comment

People who like this

0 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Michelle B · Jun 23, 2017 at 01:34 AM

It sounds like the issue is in the DNS propagation for the hostAddress. You can try using the IP address instead of the host name and see if this resolves the issue for you.

Michelle

Comment

People who like this

0 Show 2 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Truong Vo · Aug 22, 2017 at 12:19 AM 0
Share

@Michelle B How to get the IP address of the host? I am using Wowza Streaming Cloud REST API to create a stream and having the same issue as above

avatar image Michelle B ♦ Truong Vo · Aug 23, 2017 at 12:58 AM 0
Share

An alternative for you may be to use third-party libraries that provide reachability methods. You can then run this as an asynchronous timer task until it returns a valid response, and populate your WowzaConfig object. Note that Cloud instances that have just been created do take some time to startup/get an IP address. It's best to have a pool of transcoders that have been pre-configured and ready to launch. This will reduce the possibility that the DNS hostname has not propagated yet.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Error handling after stream is live - iOS SDK 5 Answers

Basic app with GoCoder SDK for Android doen't work. 4 Answers

GoCoder SDK and custom video source selection 2 Answers

I am trying to do live streaming using Gocoder in an android app but getting an error like Could not connect to 172.20.10.5(wowza streaming engine). 0 Answers

GoCoder SDK is Not worked for iPhone5 1 Answer

Hot Topics
  • AWS Hosting
  • Mobile SDK
  • Deployment Options
  • Load Balancing
  • Content Security
Product Sign-in
  • Wowza Streaming Cloud
  • Wowza Player
Under the Hood
  • Developer Tools
  • Wowza System Status
  • Test Players
  • Developer IDE
Resellers
  • Find a Reseller
  • Reseller Portal
  • Become a Reseller
Company
  • About Us
  • Blog
  • News
  • Events
  • Careers
  • Customers
  • Partners
  • Contact Us
Stay Connected
Get Monthly Newsletter
Select a Language
  • English
    • English
    • Español
    • 日本語
    • 한국어
    • हिन्दी भाषा
    • 中文
    • русский язык

© 2005–2019 Wowza Media Systems, LLC. All rights reserved.   Terms | Privacy | Trademarks | Legal


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Forums
  • Wowza ClearCaster
  • Wowza Streaming Engine
  • Wowza Streaming Cloud
  • Wowza Player
  • Wowza GoCoder SDK
  • Wowza Developer Dojo
  • Explore
  • Topics
  • Questions
  • Articles
  • Users
  • Badges