Home
last modified time | relevance | path

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

/external/webrtc/pc/
Dsrtp_transport.cc123 if (!IsSrtpActive()) { in SendRtpPacket()
181 if (!IsSrtpActive()) { in SendRtcpPacket()
205 if (!IsSrtpActive()) { in OnRtpPacketReceived()
237 if (!IsSrtpActive()) { in OnRtcpPacketReceived()
261 if (IsSrtpActive()) { in OnNetworkRouteChanged()
352 bool SrtpTransport::IsSrtpActive() const { in IsSrtpActive() function in webrtc::SrtpTransport
357 return IsSrtpActive() && RtpTransport::IsWritable(rtcp); in IsWritable()
378 if (!IsSrtpActive()) { in ProtectRtp()
391 if (!IsSrtpActive()) { in ProtectRtp()
403 if (!IsSrtpActive()) { in ProtectRtcp()
[all …]
Ddtls_srtp_transport_unittest.cc112 ASSERT_TRUE(dtls_srtp_transport1_->IsSrtpActive()); in SendRecvRtpPackets()
113 ASSERT_TRUE(dtls_srtp_transport2_->IsSrtpActive()); in SendRecvRtpPackets()
184 ASSERT_TRUE(dtls_srtp_transport1_->IsSrtpActive()); in SendRecvRtpPacketsWithHeaderExtension()
185 ASSERT_TRUE(dtls_srtp_transport2_->IsSrtpActive()); in SendRecvRtpPacketsWithHeaderExtension()
356 EXPECT_FALSE(dtls_srtp_transport1_->IsSrtpActive()); in TEST_F()
357 EXPECT_FALSE(dtls_srtp_transport2_->IsSrtpActive()); in TEST_F()
375 EXPECT_TRUE(dtls_srtp_transport1_->IsSrtpActive()); in TEST_F()
376 EXPECT_TRUE(dtls_srtp_transport2_->IsSrtpActive()); in TEST_F()
386 EXPECT_FALSE(dtls_srtp_transport1_->IsSrtpActive()); in TEST_F()
387 EXPECT_FALSE(dtls_srtp_transport2_->IsSrtpActive()); in TEST_F()
[all …]
Ddtls_srtp_transport.cc46 if (IsSrtpActive() && (rtp_dtls_transport != rtp_dtls_transport_ || in SetDtlsTransports()
57 RTC_CHECK(!(IsSrtpActive())) in SetDtlsTransports()
135 if (IsSrtpActive() || !IsDtlsWritable()) { in MaybeSetupDtlsSrtp()
178 if (IsSrtpActive()) { in SetupRtcpDtlsSrtp()
Dcomposite_rtp_transport.cc151 bool CompositeRtpTransport::IsSrtpActive() const { in IsSrtpActive() function in webrtc::CompositeRtpTransport
154 active &= transport->IsSrtpActive(); in IsSrtpActive()
Dsrtp_transport_unittest.cc232 EXPECT_TRUE(srtp_transport1_->IsSrtpActive()); in TestSendRecvPacket()
233 EXPECT_TRUE(srtp_transport2_->IsSrtpActive()); in TestSendRecvPacket()
320 EXPECT_TRUE(srtp_transport1_->IsSrtpActive()); in TestSendRecvEncryptedHeaderExtension()
321 EXPECT_TRUE(srtp_transport2_->IsSrtpActive()); in TestSendRecvEncryptedHeaderExtension()
Djsep_transport_unittest.cc926 EXPECT_FALSE(sdes_transport_->IsSrtpActive()); in TEST_F()
945 EXPECT_TRUE(sdes_transport_->IsSrtpActive()); in TEST_F()
952 EXPECT_FALSE(sdes_transport_->IsSrtpActive()); in TEST_F()
969 EXPECT_FALSE(sdes_transport_->IsSrtpActive()); in TEST_F()
976 EXPECT_FALSE(sdes_transport_->IsSrtpActive()); in TEST_F()
1212 EXPECT_TRUE(jsep_transport1_->rtp_transport()->IsSrtpActive()); in TEST_P()
1213 EXPECT_TRUE(jsep_transport2_->rtp_transport()->IsSrtpActive()); in TEST_P()
1239 EXPECT_TRUE(jsep_transport1_->rtp_transport()->IsSrtpActive()); in TEST_P()
1240 EXPECT_TRUE(jsep_transport2_->rtp_transport()->IsSrtpActive()); in TEST_P()
Drtp_transport_internal.h95 virtual bool IsSrtpActive() const = 0;
Dcomposite_rtp_transport.h91 bool IsSrtpActive() const override;
Drtp_transport.h69 bool IsSrtpActive() const override { return false; } in IsSrtpActive() function
Dsrtp_transport.h57 bool IsSrtpActive() const override;
Dcomposite_rtp_transport_test.cc223 TEST_F(CompositeRtpTransportTest, IsSrtpActive) { in TEST_F() argument
225 EXPECT_FALSE(composite_->IsSrtpActive()); in TEST_F()
Dchannel.h107 return rtp_transport_ && rtp_transport_->IsSrtpActive(); in srtp_active()