public StopRecordingResponse stopRecording ( String sessionId ) { checkStringNotEmpty ( sessionId , "The parameter sessionId should NOT be null or empty string." ) ; StopRecordingRequest request = new StopRecordingRequest ( ) . withSessionId ( sessionId ) ; InternalRequest internalRequest = createRequest ( HttpMethodName . PUT , request , LIVE_SESSION , sessionId ) ; internalRequest . addParameter ( RECORDING , null ) ; return invokeHttpClient ( internalRequest , StopRecordingResponse . class ) ; }
Stop live session recording .