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

Side by Side Diff: webrtc/video/video_receive_stream.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 | « webrtc/video/replay.cc ('k') | webrtc/video/video_receive_stream.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 (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 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 int channel_id, 42 int channel_id,
43 const VideoReceiveStream::Config& config, 43 const VideoReceiveStream::Config& config,
44 webrtc::VoiceEngine* voice_engine); 44 webrtc::VoiceEngine* voice_engine);
45 ~VideoReceiveStream() override; 45 ~VideoReceiveStream() override;
46 46
47 // webrtc::ReceiveStream implementation. 47 // webrtc::ReceiveStream implementation.
48 void Start() override; 48 void Start() override;
49 void Stop() override; 49 void Stop() override;
50 void SignalNetworkState(NetworkState state) override; 50 void SignalNetworkState(NetworkState state) override;
51 bool DeliverRtcp(const uint8_t* packet, size_t length) override; 51 bool DeliverRtcp(const uint8_t* packet, size_t length) override;
52 bool DeliverRtp(const uint8_t* packet, size_t length) override; 52 bool DeliverRtp(const uint8_t* packet,
53 size_t length,
54 const PacketTime& packet_time) override;
53 55
54 // webrtc::VideoReceiveStream implementation. 56 // webrtc::VideoReceiveStream implementation.
55 webrtc::VideoReceiveStream::Stats GetStats() const override; 57 webrtc::VideoReceiveStream::Stats GetStats() const override;
56 58
57 // Overrides I420FrameCallback. 59 // Overrides I420FrameCallback.
58 void FrameCallback(VideoFrame* video_frame) override; 60 void FrameCallback(VideoFrame* video_frame) override;
59 61
60 // Overrides VideoRenderCallback. 62 // Overrides VideoRenderCallback.
61 int RenderFrame(const uint32_t /*stream_id*/, 63 int RenderFrame(const uint32_t /*stream_id*/,
62 const VideoFrame& video_frame) override; 64 const VideoFrame& video_frame) override;
(...skipping 15 matching lines...) Expand all
78 80
79 ViEChannel* vie_channel_; 81 ViEChannel* vie_channel_;
80 rtc::scoped_ptr<IncomingVideoStream> incoming_video_stream_; 82 rtc::scoped_ptr<IncomingVideoStream> incoming_video_stream_;
81 83
82 rtc::scoped_ptr<ReceiveStatisticsProxy> stats_proxy_; 84 rtc::scoped_ptr<ReceiveStatisticsProxy> stats_proxy_;
83 }; 85 };
84 } // namespace internal 86 } // namespace internal
85 } // namespace webrtc 87 } // namespace webrtc
86 88
87 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ 89 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_
OLDNEW
« no previous file with comments | « webrtc/video/replay.cc ('k') | webrtc/video/video_receive_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698