| OLD | NEW |
| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 55 |
| 56 // Overrides VideoRenderCallback. | 56 // Overrides VideoRenderCallback. |
| 57 int RenderFrame(const uint32_t /*stream_id*/, | 57 int RenderFrame(const uint32_t /*stream_id*/, |
| 58 const VideoFrame& video_frame) override; | 58 const VideoFrame& video_frame) override; |
| 59 | 59 |
| 60 void SignalNetworkState(Call::NetworkState state); | 60 void SignalNetworkState(Call::NetworkState state); |
| 61 | 61 |
| 62 bool DeliverRtcp(const uint8_t* packet, size_t length); | 62 bool DeliverRtcp(const uint8_t* packet, size_t length); |
| 63 bool DeliverRtp(const uint8_t* packet, size_t length); | 63 bool DeliverRtp(const uint8_t* packet, size_t length); |
| 64 | 64 |
| 65 void SetSyncChannel(VoiceEngine* voice_engine, int audio_channel_id); |
| 66 |
| 65 private: | 67 private: |
| 66 void SetRtcpMode(newapi::RtcpMode mode); | 68 void SetRtcpMode(newapi::RtcpMode mode); |
| 67 | 69 |
| 68 TransportAdapter transport_adapter_; | 70 TransportAdapter transport_adapter_; |
| 69 EncodedFrameCallbackAdapter encoded_frame_proxy_; | 71 EncodedFrameCallbackAdapter encoded_frame_proxy_; |
| 70 const VideoReceiveStream::Config config_; | 72 const VideoReceiveStream::Config config_; |
| 71 Clock* const clock_; | 73 Clock* const clock_; |
| 72 | 74 |
| 73 ChannelGroup* const channel_group_; | 75 ChannelGroup* const channel_group_; |
| 74 const int channel_id_; | 76 const int channel_id_; |
| 75 | 77 |
| 76 ViEChannel* vie_channel_; | 78 ViEChannel* vie_channel_; |
| 77 rtc::scoped_ptr<IncomingVideoStream> incoming_video_stream_; | 79 rtc::scoped_ptr<IncomingVideoStream> incoming_video_stream_; |
| 78 | 80 |
| 79 VoEVideoSync* voe_sync_interface_; | 81 VoEVideoSync* voe_sync_interface_; |
| 80 | 82 |
| 81 rtc::scoped_ptr<ReceiveStatisticsProxy> stats_proxy_; | 83 rtc::scoped_ptr<ReceiveStatisticsProxy> stats_proxy_; |
| 82 }; | 84 }; |
| 83 } // namespace internal | 85 } // namespace internal |
| 84 } // namespace webrtc | 86 } // namespace webrtc |
| 85 | 87 |
| 86 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ | 88 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ |
| OLD | NEW |