Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: webrtc/video/vie_channel.cc

Issue 1687333002: Extract send-side ViEReceiver calls. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/video/vie_channel.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/vie_channel.cc
diff --git a/webrtc/video/vie_channel.cc b/webrtc/video/vie_channel.cc
index 1ac22780c74f0f4ca65cc5236012cad8c3264ceb..c8f2e3945673791c2bc7f57f66f27541eccc9464 100644
--- a/webrtc/video/vie_channel.cc
+++ b/webrtc/video/vie_channel.cc
@@ -610,13 +610,9 @@ int32_t ViEChannel::GetLocalSSRC(uint8_t idx, unsigned int* ssrc) {
return 0;
}
-uint32_t ViEChannel::GetRemoteSSRC() {
- RTC_DCHECK(sender_);
- return vie_receiver_.GetRemoteSsrc();
-}
-
int ViEChannel::SetRtxSendPayloadType(int payload_type,
int associated_payload_type) {
+ RTC_DCHECK(sender_);
for (RtpRtcp* rtp_rtcp : rtp_rtcp_modules_)
rtp_rtcp->SetRtxSendPayloadType(payload_type, associated_payload_type);
SetRtxSendStatus(true);
@@ -837,15 +833,6 @@ void ViEChannel::StopReceive() {
StopDecodeThread();
}
-int32_t ViEChannel::ReceivedRTCPPacket(const void* rtcp_packet,
- size_t rtcp_packet_length) {
- RTC_DCHECK(sender_);
- return vie_receiver_.DeliverRtcp(
- reinterpret_cast<const uint8_t*>(rtcp_packet), rtcp_packet_length)
- ? 0
- : -1;
-}
-
int32_t ViEChannel::SetMTU(uint16_t mtu) {
RTC_DCHECK(sender_);
for (RtpRtcp* rtp_rtcp : rtp_rtcp_modules_)
« no previous file with comments | « webrtc/video/vie_channel.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698