| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2017 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 |
| 11 #ifndef WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_VIDEO_OBJCVIDEOTRACKSOURCE_H_ | 11 #ifndef WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_VIDEO_OBJCVIDEOTRACKSOURCE_H_ |
| 12 #define WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_VIDEO_OBJCVIDEOTRACKSOURCE_H_ | 12 #define WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_VIDEO_OBJCVIDEOTRACKSOURCE_H_ |
| 13 | 13 |
| 14 #include "WebRTC/RTCMacros.h" | 14 #include "WebRTC/RTCMacros.h" |
| 15 #include "webrtc/base/timestampaligner.h" |
| 15 #include "webrtc/media/base/adaptedvideotracksource.h" | 16 #include "webrtc/media/base/adaptedvideotracksource.h" |
| 16 #include "webrtc/rtc_base/timestampaligner.h" | |
| 17 | 17 |
| 18 RTC_FWD_DECL_OBJC_CLASS(RTCVideoFrame); | 18 RTC_FWD_DECL_OBJC_CLASS(RTCVideoFrame); |
| 19 | 19 |
| 20 namespace webrtc { | 20 namespace webrtc { |
| 21 | 21 |
| 22 class ObjcVideoTrackSource : public rtc::AdaptedVideoTrackSource { | 22 class ObjcVideoTrackSource : public rtc::AdaptedVideoTrackSource { |
| 23 public: | 23 public: |
| 24 ObjcVideoTrackSource(); | 24 ObjcVideoTrackSource(); |
| 25 | 25 |
| 26 // This class can not be used for implementing screen casting. Hopefully, this | 26 // This class can not be used for implementing screen casting. Hopefully, this |
| (...skipping 16 matching lines...) Expand all Loading... |
| 43 void OnOutputFormatRequest(int width, int height, int fps); | 43 void OnOutputFormatRequest(int width, int height, int fps); |
| 44 | 44 |
| 45 private: | 45 private: |
| 46 rtc::VideoBroadcaster broadcaster_; | 46 rtc::VideoBroadcaster broadcaster_; |
| 47 rtc::TimestampAligner timestamp_aligner_; | 47 rtc::TimestampAligner timestamp_aligner_; |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace webrtc | 50 } // namespace webrtc |
| 51 | 51 |
| 52 #endif // WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_VIDEO_OBJCVIDEOTRACKSOURCE_H_ | 52 #endif // WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_VIDEO_OBJCVIDEOTRACKSOURCE_H_ |
| OLD | NEW |