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

Side by Side Diff: webrtc/call.h

Issue 1333483002: Wire up PacketTime to ReceiveStreams. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 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 | « talk/media/webrtc/webrtcvoiceengine.cc ('k') | webrtc/stream.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 (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 #ifndef WEBRTC_CALL_H_ 10 #ifndef WEBRTC_CALL_H_
(...skipping 27 matching lines...) Expand all
38 class PacketReceiver { 38 class PacketReceiver {
39 public: 39 public:
40 enum DeliveryStatus { 40 enum DeliveryStatus {
41 DELIVERY_OK, 41 DELIVERY_OK,
42 DELIVERY_UNKNOWN_SSRC, 42 DELIVERY_UNKNOWN_SSRC,
43 DELIVERY_PACKET_ERROR, 43 DELIVERY_PACKET_ERROR,
44 }; 44 };
45 45
46 virtual DeliveryStatus DeliverPacket(MediaType media_type, 46 virtual DeliveryStatus DeliverPacket(MediaType media_type,
47 const uint8_t* packet, 47 const uint8_t* packet,
48 size_t length) = 0; 48 size_t length,
49 const PacketTime& packet_time) = 0;
50
49 protected: 51 protected:
50 virtual ~PacketReceiver() {} 52 virtual ~PacketReceiver() {}
51 }; 53 };
52 54
53 // Callback interface for reporting when a system overuse is detected. 55 // Callback interface for reporting when a system overuse is detected.
54 class LoadObserver { 56 class LoadObserver {
55 public: 57 public:
56 enum Load { kOveruse, kUnderuse }; 58 enum Load { kOveruse, kUnderuse };
57 59
58 // Triggered when overuse is detected or when we believe the system can take 60 // Triggered when overuse is detected or when we believe the system can take
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 virtual void SetBitrateConfig( 140 virtual void SetBitrateConfig(
139 const Config::BitrateConfig& bitrate_config) = 0; 141 const Config::BitrateConfig& bitrate_config) = 0;
140 virtual void SignalNetworkState(NetworkState state) = 0; 142 virtual void SignalNetworkState(NetworkState state) = 0;
141 143
142 virtual ~Call() {} 144 virtual ~Call() {}
143 }; 145 };
144 146
145 } // namespace webrtc 147 } // namespace webrtc
146 148
147 #endif // WEBRTC_CALL_H_ 149 #endif // WEBRTC_CALL_H_
OLDNEW
« no previous file with comments | « talk/media/webrtc/webrtcvoiceengine.cc ('k') | webrtc/stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698