OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "content/renderer/media/webrtc/media_stream_remote_video_source.h" | 5 #include "content/renderer/media/webrtc/media_stream_remote_video_source.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/callback_helpers.h" | 10 #include "base/callback_helpers.h" |
9 #include "base/location.h" | 11 #include "base/location.h" |
10 #include "base/threading/thread_checker.h" | 12 #include "base/threading/thread_checker.h" |
11 #include "base/trace_event/trace_event.h" | 13 #include "base/trace_event/trace_event.h" |
12 #include "content/renderer/media/webrtc/track_observer.h" | 14 #include "content/renderer/media/webrtc/track_observer.h" |
13 #include "media/base/bind_to_current_loop.h" | 15 #include "media/base/bind_to_current_loop.h" |
14 #include "media/base/timestamp_constants.h" | 16 #include "media/base/timestamp_constants.h" |
15 #include "media/base/video_frame.h" | 17 #include "media/base/video_frame.h" |
16 #include "media/base/video_util.h" | 18 #include "media/base/video_util.h" |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 case webrtc::MediaStreamTrackInterface::kEnded: | 218 case webrtc::MediaStreamTrackInterface::kEnded: |
217 SetReadyState(blink::WebMediaStreamSource::ReadyStateEnded); | 219 SetReadyState(blink::WebMediaStreamSource::ReadyStateEnded); |
218 break; | 220 break; |
219 default: | 221 default: |
220 NOTREACHED(); | 222 NOTREACHED(); |
221 break; | 223 break; |
222 } | 224 } |
223 } | 225 } |
224 | 226 |
225 } // namespace content | 227 } // namespace content |
OLD | NEW |