| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2012 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 29 matching lines...) Expand all Loading... |
| 40 virtual std::string kind() const; | 40 virtual std::string kind() const; |
| 41 | 41 |
| 42 protected: | 42 protected: |
| 43 VideoTrack(const std::string& id, VideoTrackSourceInterface* video_source); | 43 VideoTrack(const std::string& id, VideoTrackSourceInterface* video_source); |
| 44 ~VideoTrack(); | 44 ~VideoTrack(); |
| 45 | 45 |
| 46 private: | 46 private: |
| 47 // Implements ObserverInterface. Observes |video_source_| state. | 47 // Implements ObserverInterface. Observes |video_source_| state. |
| 48 void OnChanged() override; | 48 void OnChanged() override; |
| 49 | 49 |
| 50 rtc::ThreadChecker thread_checker_; | 50 rtc::ThreadChecker signaling_thread_checker_; |
| 51 rtc::ThreadChecker worker_thread_checker_; |
| 51 rtc::scoped_refptr<VideoTrackSourceInterface> video_source_; | 52 rtc::scoped_refptr<VideoTrackSourceInterface> video_source_; |
| 52 }; | 53 }; |
| 53 | 54 |
| 54 } // namespace webrtc | 55 } // namespace webrtc |
| 55 | 56 |
| 56 #endif // WEBRTC_API_VIDEOTRACK_H_ | 57 #endif // WEBRTC_API_VIDEOTRACK_H_ |
| OLD | NEW |