Home
last modified time | relevance | path

Searched refs:packet_time_params (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/media/base/
Drtp_utils_unittest.cc192 rtc::PacketTimeUpdateParams packet_time_params; in TEST() local
199 packet_time_params, 0)); in TEST()
213 rtc::PacketTimeUpdateParams packet_time_params; in TEST() local
214 packet_time_params.srtp_auth_key.assign(kTestKey, in TEST()
216 packet_time_params.srtp_auth_tag_len = 4; in TEST()
224 packet_time_params, 0)); in TEST()
270 rtc::PacketTimeUpdateParams packet_time_params; in TEST() local
271 packet_time_params.srtp_auth_key.assign(kTestKey, in TEST()
273 packet_time_params.srtp_auth_tag_len = 4; in TEST()
274 packet_time_params.rtp_sendtime_extension_id = 3; in TEST()
[all …]
Drtp_utils.cc76 const rtc::PacketTimeUpdateParams& packet_time_params) { in UpdateRtpAuthTag() argument
78 if (packet_time_params.srtp_auth_key.empty()) { in UpdateRtpAuthTag()
82 size_t tag_length = packet_time_params.srtp_auth_tag_len; in UpdateRtpAuthTag()
97 memcpy(auth_tag, &packet_time_params.srtp_packet_index, kRocLength); in UpdateRtpAuthTag()
103 rtc::ComputeHmac(rtc::DIGEST_SHA_1, &packet_time_params.srtp_auth_key[0], in UpdateRtpAuthTag()
104 packet_time_params.srtp_auth_key.size(), rtp, in UpdateRtpAuthTag()
357 const rtc::PacketTimeUpdateParams& packet_time_params, in ApplyPacketOptions() argument
364 if (packet_time_params.rtp_sendtime_extension_id == -1 && in ApplyPacketOptions()
365 packet_time_params.srtp_auth_key.empty()) { in ApplyPacketOptions()
391 if (packet_time_params.rtp_sendtime_extension_id != -1) { in ApplyPacketOptions()
[all …]
Drtp_utils.h75 const rtc::PacketTimeUpdateParams& packet_time_params,
/external/webrtc/pc/
Dsrtp_transport.cc144 updated_options.packet_time_params.rtp_sendtime_extension_id = in SendRtpPacket()
147 &updated_options.packet_time_params.srtp_packet_index); in SendRtpPacket()
154 &updated_options.packet_time_params.srtp_auth_tag_len); in SendRtpPacket()
156 updated_options.packet_time_params.srtp_auth_key.resize(key_len); in SendRtpPacket()
157 updated_options.packet_time_params.srtp_auth_key.assign( in SendRtpPacket()
/external/webrtc/rtc_base/
Dasync_packet_socket.h54 PacketTimeUpdateParams packet_time_params; member