which method should I call to set the connection code and fetch the stream details in gocoder SDK ios
The connection code doesn’t work like that in the SDK, so you will have you to use a REST API query to get this.
Are you asking about doing this with Streaming Engine or Streaming Cloud?
Use the source connection information from the Streaming Cloud REST API response to configure the source stream. It should look something like this:
"source_connection_information":
{ "primary_server": "[subdomain].entrypoint.cloud.wowza.com", "host_port": 1935,
"application": "app-5437",
"stream_name": "12e4c04c",
"disable_authentication": false,
"username": "client2",
"password": "[password_value]"
},