@ Override public void stopRecording ( ) { super . stopRecording ( ) ; mSentBroadcastLiveEvent = false ; if ( mStream != null ) { if ( VERBOSE ) Log . i ( TAG , "Stopping Stream" ) ; mKickflip . stopStream ( mStream , new KickflipCallback ( ) { @ Override public void onSuccess ( Response response ) { if ( VERBOSE ) Log . i ( TAG , "Got stop stream response " + response ) ; } @ Override public void onError ( KickflipException error ) { Log . w ( TAG , "Error getting stop stream response! " + error ) ; } } ) ; } }
Stop broadcasting and release resources . After this call this Broadcaster can no longer be used .