Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_coding/test/
DRTPFile.cc29 const uint8_t* rtpHeader) { in ParseRTPHeader() argument
30 rtp_header->payloadType = rtpHeader[1]; in ParseRTPHeader()
32 (static_cast<uint16_t>(rtpHeader[2]) << 8) | rtpHeader[3]; in ParseRTPHeader()
33 rtp_header->timestamp = (static_cast<uint32_t>(rtpHeader[4]) << 24) | in ParseRTPHeader()
34 (static_cast<uint32_t>(rtpHeader[5]) << 16) | in ParseRTPHeader()
35 (static_cast<uint32_t>(rtpHeader[6]) << 8) | in ParseRTPHeader()
36 rtpHeader[7]; in ParseRTPHeader()
37 rtp_header->ssrc = (static_cast<uint32_t>(rtpHeader[8]) << 24) | in ParseRTPHeader()
38 (static_cast<uint32_t>(rtpHeader[9]) << 16) | in ParseRTPHeader()
39 (static_cast<uint32_t>(rtpHeader[10]) << 8) | in ParseRTPHeader()
[all …]
DRTPFile.h43 void MakeRTPheader(uint8_t* rtpHeader,
49 void ParseRTPHeader(RTPHeader* rtp_header, const uint8_t* rtpHeader);
DEncodeDecodeTest.h39 static void MakeRTPheader(uint8_t* rtpHeader,
/external/webrtc/audio/
Dchannel_receive.cc185 const RTPHeader& rtpHeader);
285 const RTPHeader& rtpHeader) { in OnReceivedPayloadData() argument
293 if (acm_receiver_.InsertPacket(rtpHeader, payload) != 0) { in OnReceivedPayloadData()
/external/webrtc/media/engine/
Dwebrtc_video_engine_unittest.cc6423 cricket::RtpHeader rtpHeader; in TEST_F() local
6424 rtpHeader.payload_type = GetEngineCodec("VP8").id; in TEST_F()
6425 rtpHeader.seq_num = rtpHeader.timestamp = 0; in TEST_F()
6426 rtpHeader.ssrc = kIncomingUnsignalledSsrc + 1; in TEST_F()
6427 cricket::SetRtpHeader(data, sizeof(data), rtpHeader); in TEST_F()
6433 EXPECT_EQ(rtpHeader.ssrc, recv_stream->GetConfig().rtp.remote_ssrc); in TEST_F()
6446 rtpHeader.payload_type = GetEngineCodec("VP9").id; in TEST_F()
6447 rtpHeader.ssrc = kIncomingUnsignalledSsrc + 2; in TEST_F()
6448 cricket::SetRtpHeader(data, sizeof(data), rtpHeader); in TEST_F()
6454 EXPECT_EQ(rtpHeader.ssrc, recv_stream->GetConfig().rtp.remote_ssrc); in TEST_F()
[all …]