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

Side by Side Diff: webrtc/pc/rtptransport.h

Issue 2981513002: Wire up RTP keep-alive in ortc api. (Closed)
Patch Set: deps, again Created 3 years, 4 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 unified diff | Download patch
« no previous file with comments | « webrtc/ortc/testrtpparameters.h ('k') | webrtc/pc/rtptransport.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2017 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 rtc::PacketTransportInternal* rtcp_packet_transport() const override { 45 rtc::PacketTransportInternal* rtcp_packet_transport() const override {
46 return rtcp_packet_transport_; 46 return rtcp_packet_transport_;
47 } 47 }
48 void SetRtcpPacketTransport(rtc::PacketTransportInternal* rtcp) override; 48 void SetRtcpPacketTransport(rtc::PacketTransportInternal* rtcp) override;
49 49
50 PacketTransportInterface* GetRtpPacketTransport() const override; 50 PacketTransportInterface* GetRtpPacketTransport() const override;
51 PacketTransportInterface* GetRtcpPacketTransport() const override; 51 PacketTransportInterface* GetRtcpPacketTransport() const override;
52 52
53 // TODO(zstein): Use these RtcpParameters for configuration elsewhere. 53 // TODO(zstein): Use these RtcpParameters for configuration elsewhere.
54 RTCError SetRtcpParameters(const RtcpParameters& parameters) override; 54 RTCError SetParameters(const RtpTransportParameters& parameters) override;
55 RtcpParameters GetRtcpParameters() const override; 55 RtpTransportParameters GetParameters() const override;
56 56
57 bool IsWritable(bool rtcp) const override; 57 bool IsWritable(bool rtcp) const override;
58 58
59 bool SendPacket(bool rtcp, 59 bool SendPacket(bool rtcp,
60 rtc::CopyOnWriteBuffer* packet, 60 rtc::CopyOnWriteBuffer* packet,
61 const rtc::PacketOptions& options, 61 const rtc::PacketOptions& options,
62 int flags) override; 62 int flags) override;
63 63
64 bool HandlesPayloadType(int payload_type) const override; 64 bool HandlesPayloadType(int payload_type) const override;
65 65
(...skipping 24 matching lines...) Expand all
90 90
91 bool rtcp_mux_enabled_; 91 bool rtcp_mux_enabled_;
92 92
93 rtc::PacketTransportInternal* rtp_packet_transport_ = nullptr; 93 rtc::PacketTransportInternal* rtp_packet_transport_ = nullptr;
94 rtc::PacketTransportInternal* rtcp_packet_transport_ = nullptr; 94 rtc::PacketTransportInternal* rtcp_packet_transport_ = nullptr;
95 95
96 bool ready_to_send_ = false; 96 bool ready_to_send_ = false;
97 bool rtp_ready_to_send_ = false; 97 bool rtp_ready_to_send_ = false;
98 bool rtcp_ready_to_send_ = false; 98 bool rtcp_ready_to_send_ = false;
99 99
100 RtcpParameters rtcp_parameters_; 100 RtpTransportParameters parameters_;
101 101
102 cricket::BundleFilter bundle_filter_; 102 cricket::BundleFilter bundle_filter_;
103 }; 103 };
104 104
105 } // namespace webrtc 105 } // namespace webrtc
106 106
107 #endif // WEBRTC_PC_RTPTRANSPORT_H_ 107 #endif // WEBRTC_PC_RTPTRANSPORT_H_
OLDNEW
« no previous file with comments | « webrtc/ortc/testrtpparameters.h ('k') | webrtc/pc/rtptransport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698