| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ | 5 #ifndef CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ |
| 6 #define CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ | 6 #define CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 // track is a video track. | 152 // track is a video track. |
| 153 bool IsAudio() const; | 153 bool IsAudio() const; |
| 154 | 154 |
| 155 void DidEncounterError(const std::string& message); | 155 void DidEncounterError(const std::string& message); |
| 156 | 156 |
| 157 blink::WebMediaStreamTrack track_; | 157 blink::WebMediaStreamTrack track_; |
| 158 const scoped_refptr<CastSession> cast_session_; | 158 const scoped_refptr<CastSession> cast_session_; |
| 159 scoped_ptr<CastAudioSink> audio_sink_; | 159 scoped_ptr<CastAudioSink> audio_sink_; |
| 160 scoped_ptr<CastVideoSink> video_sink_; | 160 scoped_ptr<CastVideoSink> video_sink_; |
| 161 CastRtpParams params_; | 161 CastRtpParams params_; |
| 162 base::WeakPtrFactory<CastRtpStream> weak_factory_; | |
| 163 base::Closure stop_callback_; | 162 base::Closure stop_callback_; |
| 164 ErrorCallback error_callback_; | 163 ErrorCallback error_callback_; |
| 165 | 164 |
| 165 base::WeakPtrFactory<CastRtpStream> weak_factory_; |
| 166 |
| 166 DISALLOW_COPY_AND_ASSIGN(CastRtpStream); | 167 DISALLOW_COPY_AND_ASSIGN(CastRtpStream); |
| 167 }; | 168 }; |
| 168 | 169 |
| 169 #endif // CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ | 170 #endif // CHROME_RENDERER_MEDIA_CAST_RTP_STREAM_H_ |
| OLD | NEW |