com.octoshape.android.client
Interface OctoshapePortListener


public interface OctoshapePortListener

Listener interface which listens for the Octoshape Service to start up.

Once the Octoshape is running it will bind to a port and call #onPortBound(int). Octoshape will on default always connect on localhost.

The Octoshape Service includes a webserver, hosting a minimal flash player which can be used for RTMP playback on Android devices, which do not support HLS playback.


Method Summary
 void onPortBound(java.lang.String host, int port)
          Called once Octoshape has launched properbly and has bound to localhost at the specified port.
 

Method Detail

onPortBound

void onPortBound(java.lang.String host,
                 int port)
Called once Octoshape has launched properbly and has bound to localhost at the specified port. This call back should be used to ensure that Octoshape has started, before initiating any streaming.

Parameters:
ip - of the host the Octoshape client is running on
port - which Octoshape client has bound