Home
last modified time | relevance | path

Searched refs:rtp_payload_registry_ (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_payload_registry_unittest.cc37 rtp_payload_registry_.reset(new RTPPayloadRegistry(mock_payload_strategy_)); in SetUp()
61 rtc::scoped_ptr<RTPPayloadRegistry> rtp_payload_registry_; member in webrtc::RtpPayloadRegistryTest
71 EXPECT_EQ(0, rtp_payload_registry_->RegisterReceivePayload( in TEST_F()
78 rtp_payload_registry_->PayloadTypeToPayload(payload_type); in TEST_F()
86 EXPECT_EQ(0, rtp_payload_registry_->DeRegisterReceivePayload(payload_type)); in TEST_F()
87 EXPECT_FALSE(rtp_payload_registry_->PayloadTypeToPayload(payload_type)); in TEST_F()
97 rtp_payload_registry_.reset( in TEST_F()
101 EXPECT_EQ(0, rtp_payload_registry_->RegisterReceivePayload( in TEST_F()
106 EXPECT_EQ(kRedPayloadType, rtp_payload_registry_->red_payload_type()); in TEST_F()
109 rtp_payload_registry_->PayloadTypeToPayload(kRedPayloadType); in TEST_F()
[all …]
Dnack_rtx_unittest.cc76 rtp_payload_registry_(NULL), in RtxLoopBackTransport()
84 rtp_payload_registry_ = rtp_payload_registry; in SetSendModule()
113 if (!rtp_payload_registry_->IsRtx(header)) { in SendRtp()
127 if (rtp_payload_registry_->IsRtx(header)) { in SendRtp()
129 EXPECT_TRUE(rtp_payload_registry_->RestoreOriginalPacket( in SendRtp()
136 rtp_payload_registry_->SetIncomingPayloadType(header); in SendRtp()
140 if (!rtp_payload_registry_->GetPayloadSpecifics(header.payloadType, in SendRtp()
161 RTPPayloadRegistry* rtp_payload_registry_; member in webrtc::RtxLoopBackTransport
170 : rtp_payload_registry_(RTPPayloadStrategy::CreateStrategy(false)), in RtpRtcpRtxNackTest()
190 &fake_clock, &receiver_, rtp_feedback_.get(), &rtp_payload_registry_)); in SetUp()
[all …]
Drtp_receiver_impl.cc69 rtp_payload_registry_(rtp_payload_registry), in RtpReceiverImpl()
107 int32_t result = rtp_payload_registry_->RegisterReceivePayload( in RegisterReceivePayload()
124 return rtp_payload_registry_->DeRegisterReceivePayload(payload_type); in DeRegisterReceivePayload()
262 rtp_payload_registry_->last_received_payload_type(); in CheckSSRCChanged()
278 const Payload* payload = rtp_payload_registry_->PayloadTypeToPayload( in CheckSSRCChanged()
333 rtp_payload_registry_->last_received_payload_type(); in CheckPayloadChanged()
337 if (rtp_payload_registry_->red_payload_type() == payload_type) { in CheckPayloadChanged()
342 if (rtp_payload_registry_->red_payload_type() == payload_type) { in CheckPayloadChanged()
367 rtp_payload_registry_->PayloadTypeToPayload(payload_type); in CheckPayloadChanged()
375 rtp_payload_registry_->set_last_received_payload_type(payload_type); in CheckPayloadChanged()
[all …]
Drtp_receiver_impl.h78 RTPPayloadRegistry* rtp_payload_registry_; variable
/external/webrtc/webrtc/video/
Dvie_receiver.cc42 rtp_payload_registry_( in ViEReceiver()
48 rtp_payload_registry_.get())), in ViEReceiver()
85 if (rtp_payload_registry_->ReceivePayloadType(video_codec.plName, in SetReceiveCodec()
90 rtp_payload_registry_->DeRegisterReceivePayload(old_pltype); in SetReceiveCodec()
118 rtp_payload_registry_->SetRtxPayloadType(payload_type, in SetRtxPayloadType()
123 rtp_payload_registry_->set_use_rtx_payload_mapping_on_restore(val); in SetUseRtxPayloadMappingOnRestore()
127 rtp_payload_registry_->SetRtxSsrc(ssrc); in SetRtxSsrc()
131 return rtp_payload_registry_->GetRtxSsrc(ssrc); in GetRtxSsrc()
135 return rtp_payload_registry_->ulpfec_payload_type() > -1; in IsFecEnabled()
307 rtp_payload_registry_->SetIncomingPayloadType(header); in InsertRTPPacket()
[all …]
Dvie_receiver.h110 rtc::scoped_ptr<RTPPayloadRegistry> rtp_payload_registry_; variable
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api.cc25 rtp_payload_registry_ = payload_registry; in SetSendModule()
49 if (!rtp_payload_registry_->GetPayloadSpecifics(header.payloadType, in SendRtp()
97 rtp_payload_registry_.reset(new RTPPayloadRegistry( in SetUp()
100 &fake_clock_, NULL, NULL, NULL, rtp_payload_registry_.get())); in SetUp()
103 rtc::scoped_ptr<RTPPayloadRegistry> rtp_payload_registry_; member in webrtc::RtpRtcpAPITest
175 EXPECT_FALSE(rtp_payload_registry_->RtxEnabled()); in TEST_F()
176 rtp_payload_registry_->SetRtxSsrc(kRtxSsrc); in TEST_F()
177 rtp_payload_registry_->SetRtxPayloadType(kRtxPayloadType, kPayloadType); in TEST_F()
178 EXPECT_TRUE(rtp_payload_registry_->RtxEnabled()); in TEST_F()
182 EXPECT_TRUE(rtp_payload_registry_->IsRtx(rtx_header)); in TEST_F()
[all …]
Dtest_api_video.cc36 : rtp_payload_registry_(RTPPayloadStrategy::CreateStrategy(false)), in RtpRtcpVideoTest()
54 &fake_clock, receiver_, NULL, &rtp_payload_registry_)); in SetUp()
62 transport_->SetSendModule(video_module_, &rtp_payload_registry_, in SetUp()
131 RTPPayloadRegistry rtp_payload_registry_; member in webrtc::RtpRtcpVideoTest
176 EXPECT_TRUE(rtp_payload_registry_.GetPayloadSpecifics(header.payloadType, in TEST_F()
Dtest_api.h33 rtp_payload_registry_(NULL), in LoopBackTransport()
50 RTPPayloadRegistry* rtp_payload_registry_; variable
/external/webrtc/webrtc/modules/video_coding/test/
Drtp_player.cc225 handler->rtp_payload_registry_.get())); in RegisterSsrc()
258 it->second->rtp_payload_registry_->GetPayloadSpecifics( in IncomingPacket()
273 rtp_payload_registry_(new RTPPayloadRegistry( in Handler()
296 rtc::scoped_ptr<RTPPayloadRegistry> rtp_payload_registry_; member in webrtc::rtpplayer::SsrcHandlers::Handler
/external/webrtc/webrtc/voice_engine/
Dchannel.cc517 rtp_payload_registry_->GetPayloadTypeFrequency(header.payloadType); in OnRecoveredPacket()
814 rtp_payload_registry_( in Channel()
823 rtp_payload_registry_.get())), in Channel()
1503 rtp_payload_registry_->ReceivePayloadType( in SetRecPayloadType()
1570 if (rtp_payload_registry_->ReceivePayloadType( in GetRecPayloadType()
1719 rtp_payload_registry_->GetPayloadTypeFrequency(header.payloadType); in ReceivedRTPPacket()
1725 rtp_payload_registry_->SetIncomingPayloadType(header); in ReceivedRTPPacket()
1734 if (rtp_payload_registry_->IsRtx(header)) { in ReceivePacket()
1741 if (!rtp_payload_registry_->GetPayloadSpecifics(header.payloadType, in ReceivePacket()
1752 if (!rtp_payload_registry_->IsRtx(header)) in HandleRtxPacket()
[all …]
Dchannel.h507 rtc::scoped_ptr<RTPPayloadRegistry> rtp_payload_registry_; variable