void function ( ) { if ( rtpDatagramSocket != null ) { rtpDatagramSocket . close ( ) ; rtpDatagramSocket = null ; } if ( rtcpReceiver != null ) { rtcpReceiver . end ( ) ; rtcpDatagramSocket . close ( ) ; rtcpReceiver = null ; } }
close the rtp socket , stop the rtcpreceiver and close the rtcp socket . concode_field_sep RtcpReceiver rtcpReceiver concode_elem_sep int MAX_RECEIVE_BUFFER concode_elem_sep DatagramSocket rtcpDatagramSocket concode_elem_sep int MAX_SEND_BUFFER concode_elem_sep int rtpTimeout concode_elem_sep DatagramSocket rtpDatagramSocket concode_field_sep int receive concode_elem_sep void startRtcpReceiver concode_elem_sep void setRtpTimeout concode_elem_sep boolean isClosed concode_elem_sep DatagramSocket getDatagramSocket concode_elem_sep void setSoTimeout concode_elem_sep void flushSocket concode_elem_sep void flushSocket concode_elem_sep int getRtpTimeout concode_elem_sep InetSocketAddress getInetSocketAddress concode_elem_sep void send concode_elem_sep void send concode_elem_sep DatagramSocket getRtcpDatagramSocket