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

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

Issue 1691463002: Move talk/session/media -> webrtc/pc (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Last rebase 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 unified diff | Download patch
« no previous file with comments | « webrtc/api/peerconnectioninterface_unittest.cc ('k') | webrtc/api/statscollector.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 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 RtpSenders 11 // This file contains interfaces for RtpSenders
12 // http://w3c.github.io/webrtc-pc/#rtcrtpsender-interface 12 // http://w3c.github.io/webrtc-pc/#rtcrtpsender-interface
13 13
14 #ifndef WEBRTC_API_RTPSENDERINTERFACE_H_ 14 #ifndef WEBRTC_API_RTPSENDERINTERFACE_H_
15 #define WEBRTC_API_RTPSENDERINTERFACE_H_ 15 #define WEBRTC_API_RTPSENDERINTERFACE_H_
16 16
17 #include <string> 17 #include <string>
18 18
19 #include "talk/session/media/mediasession.h"
20 #include "webrtc/api/mediastreaminterface.h" 19 #include "webrtc/api/mediastreaminterface.h"
21 #include "webrtc/api/proxy.h" 20 #include "webrtc/api/proxy.h"
22 #include "webrtc/base/refcount.h" 21 #include "webrtc/base/refcount.h"
23 #include "webrtc/base/scoped_ref_ptr.h" 22 #include "webrtc/base/scoped_ref_ptr.h"
23 #include "webrtc/pc/mediasession.h"
24 24
25 namespace webrtc { 25 namespace webrtc {
26 26
27 class RtpSenderInterface : public rtc::RefCountInterface { 27 class RtpSenderInterface : public rtc::RefCountInterface {
28 public: 28 public:
29 // Returns true if successful in setting the track. 29 // Returns true if successful in setting the track.
30 // Fails if an audio track is set on a video RtpSender, or vice-versa. 30 // Fails if an audio track is set on a video RtpSender, or vice-versa.
31 virtual bool SetTrack(MediaStreamTrackInterface* track) = 0; 31 virtual bool SetTrack(MediaStreamTrackInterface* track) = 0;
32 virtual rtc::scoped_refptr<MediaStreamTrackInterface> track() const = 0; 32 virtual rtc::scoped_refptr<MediaStreamTrackInterface> track() const = 0;
33 33
(...skipping 30 matching lines...) Expand all
64 PROXY_CONSTMETHOD0(cricket::MediaType, media_type) 64 PROXY_CONSTMETHOD0(cricket::MediaType, media_type)
65 PROXY_CONSTMETHOD0(std::string, id) 65 PROXY_CONSTMETHOD0(std::string, id)
66 PROXY_METHOD1(void, set_stream_id, const std::string&) 66 PROXY_METHOD1(void, set_stream_id, const std::string&)
67 PROXY_CONSTMETHOD0(std::string, stream_id) 67 PROXY_CONSTMETHOD0(std::string, stream_id)
68 PROXY_METHOD0(void, Stop) 68 PROXY_METHOD0(void, Stop)
69 END_PROXY() 69 END_PROXY()
70 70
71 } // namespace webrtc 71 } // namespace webrtc
72 72
73 #endif // WEBRTC_API_RTPSENDERINTERFACE_H_ 73 #endif // WEBRTC_API_RTPSENDERINTERFACE_H_
OLDNEW
« no previous file with comments | « webrtc/api/peerconnectioninterface_unittest.cc ('k') | webrtc/api/statscollector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698