Lines Matching refs:test_payload

82     let test_payload = Bytes::from_static(&[0x00, 0x01, 0x03, 0x04]);  in test_session_srtp_accept()  localVariable
83 let mut read_buffer = BytesMut::with_capacity(RTP_HEADER_SIZE + test_payload.len()); in test_session_srtp_accept()
84 read_buffer.resize(RTP_HEADER_SIZE + test_payload.len(), 0u8); in test_session_srtp_accept()
92 payload: test_payload.clone(), in test_session_srtp_accept()
106 &test_payload[..], in test_session_srtp_accept()
109 &test_payload[..], in test_session_srtp_accept()
121 let test_payload = Bytes::from_static(&[0x00, 0x01, 0x03, 0x04]); in test_session_srtp_listen() localVariable
122 let mut read_buffer = BytesMut::with_capacity(RTP_HEADER_SIZE + test_payload.len()); in test_session_srtp_listen()
123 read_buffer.resize(RTP_HEADER_SIZE + test_payload.len(), 0u8); in test_session_srtp_listen()
131 payload: test_payload.clone(), in test_session_srtp_listen()
141 &test_payload[..], in test_session_srtp_listen()
144 &test_payload[..], in test_session_srtp_listen()
157 let test_payload = Bytes::from_static(&[0x00, 0x01, 0x03, 0x04]); in test_session_srtp_multi_ssrc() localVariable
158 let mut read_buffer = BytesMut::with_capacity(RTP_HEADER_SIZE + test_payload.len()); in test_session_srtp_multi_ssrc()
159 read_buffer.resize(RTP_HEADER_SIZE + test_payload.len(), 0u8); in test_session_srtp_multi_ssrc()
174 payload: test_payload.clone(), in test_session_srtp_multi_ssrc()
182 &test_payload[..], in test_session_srtp_multi_ssrc()
185 &test_payload[..], in test_session_srtp_multi_ssrc()
228 let test_payload = Bytes::from_static(&[0x00, 0x01, 0x03, 0x04]); in test_session_srtp_replay_protection() localVariable
249 payload: test_payload.clone(), in test_session_srtp_replay_protection()
273 let seq = payload_srtp(&read_stream, RTP_HEADER_SIZE, &test_payload) in test_session_srtp_replay_protection()