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

Side by Side Diff: webrtc/api/rtpreceiverinterface.h

Issue 2514883002: Create //webrtc/api:libjingle_peerconnection_api + refactorings. (Closed)
Patch Set: Rebase Created 3 years, 11 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/api/rtpreceiver.cc ('k') | webrtc/api/rtpsender.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 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2015 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
11 // This file contains interfaces for RtpReceivers 11 // This file contains interfaces for RtpReceivers
12 // http://w3c.github.io/webrtc-pc/#rtcrtpreceiver-interface 12 // http://w3c.github.io/webrtc-pc/#rtcrtpreceiver-interface
13 13
14 #ifndef WEBRTC_API_RTPRECEIVERINTERFACE_H_ 14 #ifndef WEBRTC_API_RTPRECEIVERINTERFACE_H_
15 #define WEBRTC_API_RTPRECEIVERINTERFACE_H_ 15 #define WEBRTC_API_RTPRECEIVERINTERFACE_H_
16 16
17 #include <string> 17 #include <string>
18 18
19 #include "webrtc/api/mediatypes.h"
19 #include "webrtc/api/mediastreaminterface.h" 20 #include "webrtc/api/mediastreaminterface.h"
20 #include "webrtc/api/proxy.h" 21 #include "webrtc/api/proxy.h"
21 #include "webrtc/api/rtpparameters.h" 22 #include "webrtc/api/rtpparameters.h"
22 #include "webrtc/base/refcount.h" 23 #include "webrtc/base/refcount.h"
23 #include "webrtc/base/scoped_ref_ptr.h" 24 #include "webrtc/base/scoped_ref_ptr.h"
24 #include "webrtc/pc/mediasession.h"
25 25
26 namespace webrtc { 26 namespace webrtc {
27 27
28 class RtpReceiverObserverInterface { 28 class RtpReceiverObserverInterface {
29 public: 29 public:
30 // Note: Currently if there are multiple RtpReceivers of the same media type, 30 // Note: Currently if there are multiple RtpReceivers of the same media type,
31 // they will all call OnFirstPacketReceived at once. 31 // they will all call OnFirstPacketReceived at once.
32 // 32 //
33 // In the future, it's likely that an RtpReceiver will only call 33 // In the future, it's likely that an RtpReceiver will only call
34 // OnFirstPacketReceived when a packet is received specifically for its 34 // OnFirstPacketReceived when a packet is received specifically for its
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 PROXY_CONSTMETHOD0(cricket::MediaType, media_type) 71 PROXY_CONSTMETHOD0(cricket::MediaType, media_type)
72 PROXY_CONSTMETHOD0(std::string, id) 72 PROXY_CONSTMETHOD0(std::string, id)
73 PROXY_CONSTMETHOD0(RtpParameters, GetParameters); 73 PROXY_CONSTMETHOD0(RtpParameters, GetParameters);
74 PROXY_METHOD1(bool, SetParameters, const RtpParameters&) 74 PROXY_METHOD1(bool, SetParameters, const RtpParameters&)
75 PROXY_METHOD1(void, SetObserver, RtpReceiverObserverInterface*); 75 PROXY_METHOD1(void, SetObserver, RtpReceiverObserverInterface*);
76 END_PROXY_MAP() 76 END_PROXY_MAP()
77 77
78 } // namespace webrtc 78 } // namespace webrtc
79 79
80 #endif // WEBRTC_API_RTPRECEIVERINTERFACE_H_ 80 #endif // WEBRTC_API_RTPRECEIVERINTERFACE_H_
OLDNEW
« no previous file with comments | « webrtc/api/rtpreceiver.cc ('k') | webrtc/api/rtpsender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698