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

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

Issue 2932073002: s/WebRtcVideoChannel2/WebRtcVideoChannel and s/WebRtcVideoEngine2/WebRtcVideoEngine (Closed)
Patch Set: . Created 3 years, 6 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/media/engine/webrtcvideoengine_unittest.cc ('k') | webrtc/pc/webrtcsdp_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
(...skipping 17 matching lines...) Expand all
28 #include "webrtc/pc/remoteaudiosource.h" 28 #include "webrtc/pc/remoteaudiosource.h"
29 #include "webrtc/pc/videotracksource.h" 29 #include "webrtc/pc/videotracksource.h"
30 30
31 namespace webrtc { 31 namespace webrtc {
32 32
33 // Internal class used by PeerConnection. 33 // Internal class used by PeerConnection.
34 class RtpReceiverInternal : public RtpReceiverInterface { 34 class RtpReceiverInternal : public RtpReceiverInterface {
35 public: 35 public:
36 virtual void Stop() = 0; 36 virtual void Stop() = 0;
37 // This SSRC is used as an identifier for the receiver between the API layer 37 // This SSRC is used as an identifier for the receiver between the API layer
38 // and the WebRtcVideoEngine2, WebRtcVoiceEngine layer. 38 // and the WebRtcVideoEngine, WebRtcVoiceEngine layer.
39 virtual uint32_t ssrc() const = 0; 39 virtual uint32_t ssrc() const = 0;
40 }; 40 };
41 41
42 class AudioRtpReceiver : public ObserverInterface, 42 class AudioRtpReceiver : public ObserverInterface,
43 public AudioSourceInterface::AudioObserver, 43 public AudioSourceInterface::AudioObserver,
44 public rtc::RefCountedObject<RtpReceiverInternal>, 44 public rtc::RefCountedObject<RtpReceiverInternal>,
45 public sigslot::has_slots<> { 45 public sigslot::has_slots<> {
46 public: 46 public:
47 // An SSRC of 0 will create a receiver that will match the first SSRC it 47 // An SSRC of 0 will create a receiver that will match the first SSRC it
48 // sees. 48 // sees.
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 rtc::scoped_refptr<VideoTrackSource> source_; 160 rtc::scoped_refptr<VideoTrackSource> source_;
161 rtc::scoped_refptr<VideoTrackInterface> track_; 161 rtc::scoped_refptr<VideoTrackInterface> track_;
162 bool stopped_ = false; 162 bool stopped_ = false;
163 RtpReceiverObserverInterface* observer_ = nullptr; 163 RtpReceiverObserverInterface* observer_ = nullptr;
164 bool received_first_packet_ = false; 164 bool received_first_packet_ = false;
165 }; 165 };
166 166
167 } // namespace webrtc 167 } // namespace webrtc
168 168
169 #endif // WEBRTC_PC_RTPRECEIVER_H_ 169 #endif // WEBRTC_PC_RTPRECEIVER_H_
OLDNEW
« no previous file with comments | « webrtc/media/engine/webrtcvideoengine_unittest.cc ('k') | webrtc/pc/webrtcsdp_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698