/

Connecting To Server To Subscribe


Having received a successful response from Stream Manager with stream subscribe information we can now consume the stream using a subscriber client.

The stream subscribe information received from the REST response can be used by different types of subscribing client(s) as shown below.


Android Client

Property NameValue
host
context
port8554
stream

iOS Client

Property NameValue
host
context
port8554
stream

Flash Client

Property NameValue
Connection URLrtmp://:1935/
stream

WebRTC Stream Manager Proxy Subscribing

WebRTC requires using the Stream Manager proxy feature to bypass the secure origin requirement, to be able to publish.

To learn more about proxy and configuring WebRTC client to work with proxy please see the Stream Manager Proxy Guide.


Notes

  • You cannot make a subscribe request for a stream if it is not publishing
  • If a stream stops publishing the subscribers must re-query the Stream Manager for stream details