private void startStream( RtspClient rtspClient, String streamName, String params ) throws BackendlessException
  {
    if( rtspClient.isStreaming() )
    {
      throw new BackendlessException( "Rtsp client is working on other stream" );
    }
    rtspClient.setServerAddress( WOWZA_SERVER_IP, WOWZA_SERVER_PORT );
    rtspClient.setStreamPath( "/" + WOWZA_SERVER_LIVE_APP_NAME + "/" + streamName + params );
    rtspClient.startStream();
  }
private void startStream ( RtspClient rtspClient , String streamName , String params ) throws BackendlessException { if ( rtspClient . isStreaming ( ) ) { throw new BackendlessException ( "Rtsp client is working on other stream" ) ; } rtspClient . setServerAddress ( WOWZA_SERVER_IP , WOWZA_SERVER_PORT ) ; rtspClient . setStreamPath ( "/" + WOWZA_SERVER_LIVE_APP_NAME + "/" + streamName + params ) ; rtspClient . startStream ( ) ; }
Connects/disconnects to the RTSP server and starts/stops the stream