//main loop : get RTP packets,send srtp packets while(1){ charrtp _ buffer[2048];Unsigned lenRecv _ srtp _ packet (RTP _ buffer、len);Srtp _ unprotect(会话、RTP _ buffer、len);//dealdata deal _ data (RTP _ buffer,len);}
//main loop : get RTP packets,send srtp packets while(1){ charrtp _ buffer[2048];Unsigned lenRecv _ srtp _ packet (RTP _ buffer、len);Srtp _ unprotect(会话、RTP _ buffer、len);//dealdata deal _ data (RTP _ buffer,len);}