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

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

Issue 2997983002: Completed the functionalities of SrtpTransport. (Closed)
Patch Set: Fix the chromimum issue. Created 3 years, 3 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/pc/rtptransport.cc ('k') | webrtc/pc/srtpfilter.h » ('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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 sigslot::signal1<bool> SignalReadyToSend; 47 sigslot::signal1<bool> SignalReadyToSend;
48 48
49 // TODO(zstein): Consider having two signals - RtpPacketReceived and 49 // TODO(zstein): Consider having two signals - RtpPacketReceived and
50 // RtcpPacketReceived. 50 // RtcpPacketReceived.
51 // The first argument is true for RTCP packets and false for RTP packets. 51 // The first argument is true for RTCP packets and false for RTP packets.
52 sigslot::signal3<bool, rtc::CopyOnWriteBuffer*, const rtc::PacketTime&> 52 sigslot::signal3<bool, rtc::CopyOnWriteBuffer*, const rtc::PacketTime&>
53 SignalPacketReceived; 53 SignalPacketReceived;
54 54
55 virtual bool IsWritable(bool rtcp) const = 0; 55 virtual bool IsWritable(bool rtcp) const = 0;
56 56
57 virtual bool SendPacket(bool rtcp, 57 virtual bool SendRtpPacket(rtc::CopyOnWriteBuffer* packet,
58 rtc::CopyOnWriteBuffer* packet, 58 const rtc::PacketOptions& options,
59 const rtc::PacketOptions& options, 59 int flags) = 0;
60 int flags) = 0; 60
61 virtual bool SendRtcpPacket(rtc::CopyOnWriteBuffer* packet,
62 const rtc::PacketOptions& options,
63 int flags) = 0;
61 64
62 virtual bool HandlesPayloadType(int payload_type) const = 0; 65 virtual bool HandlesPayloadType(int payload_type) const = 0;
63 66
64 virtual void AddHandledPayloadType(int payload_type) = 0; 67 virtual void AddHandledPayloadType(int payload_type) = 0;
65 }; 68 };
66 69
67 } // namespace webrtc 70 } // namespace webrtc
68 71
69 #endif // WEBRTC_PC_RTPTRANSPORTINTERNAL_H_ 72 #endif // WEBRTC_PC_RTPTRANSPORTINTERNAL_H_
OLDNEW
« no previous file with comments | « webrtc/pc/rtptransport.cc ('k') | webrtc/pc/srtpfilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698