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

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

Issue 2609783002: Reland of place basictypes.h with stdint.h for int_t types. (Closed)
Patch Set: add basictypes.h to systeminfo.cc 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 | « no previous file | webrtc/base/byteorder_unittest.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 classes that implement RtpReceiverInterface. 11 // This file contains classes that implement RtpReceiverInterface.
12 // An RtpReceiver associates a MediaStreamTrackInterface with an underlying 12 // An RtpReceiver associates a MediaStreamTrackInterface with an underlying
13 // transport (provided by cricket::VoiceChannel/cricket::VideoChannel) 13 // transport (provided by cricket::VoiceChannel/cricket::VideoChannel)
14 14
15 #ifndef WEBRTC_API_RTPRECEIVER_H_ 15 #ifndef WEBRTC_API_RTPRECEIVER_H_
16 #define WEBRTC_API_RTPRECEIVER_H_ 16 #define WEBRTC_API_RTPRECEIVER_H_
17 17
18 #include <stdint.h>
19
18 #include <string> 20 #include <string>
19 21
20 #include "webrtc/api/mediastreaminterface.h" 22 #include "webrtc/api/mediastreaminterface.h"
21 #include "webrtc/api/rtpreceiverinterface.h" 23 #include "webrtc/api/rtpreceiverinterface.h"
22 #include "webrtc/api/remoteaudiosource.h" 24 #include "webrtc/api/remoteaudiosource.h"
23 #include "webrtc/api/videotracksource.h" 25 #include "webrtc/api/videotracksource.h"
24 #include "webrtc/base/basictypes.h"
25 #include "webrtc/base/sigslot.h" 26 #include "webrtc/base/sigslot.h"
26 #include "webrtc/media/base/videobroadcaster.h" 27 #include "webrtc/media/base/videobroadcaster.h"
27 #include "webrtc/pc/channel.h" 28 #include "webrtc/pc/channel.h"
28 29
29 namespace webrtc { 30 namespace webrtc {
30 31
31 // Internal class used by PeerConnection. 32 // Internal class used by PeerConnection.
32 class RtpReceiverInternal : public RtpReceiverInterface { 33 class RtpReceiverInternal : public RtpReceiverInterface {
33 public: 34 public:
34 virtual void Stop() = 0; 35 virtual void Stop() = 0;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 rtc::scoped_refptr<VideoTrackSource> source_; 148 rtc::scoped_refptr<VideoTrackSource> source_;
148 rtc::scoped_refptr<VideoTrackInterface> track_; 149 rtc::scoped_refptr<VideoTrackInterface> track_;
149 bool stopped_ = false; 150 bool stopped_ = false;
150 RtpReceiverObserverInterface* observer_ = nullptr; 151 RtpReceiverObserverInterface* observer_ = nullptr;
151 bool received_first_packet_ = false; 152 bool received_first_packet_ = false;
152 }; 153 };
153 154
154 } // namespace webrtc 155 } // namespace webrtc
155 156
156 #endif // WEBRTC_API_RTPRECEIVER_H_ 157 #endif // WEBRTC_API_RTPRECEIVER_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/base/byteorder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698