RTCVideoRendererAdapter.h 835 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright 2015 The WebRTC project authors. All Rights Reserved.
  3. *
  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
  6. * tree. An additional intellectual property rights grant can be found
  7. * in the file PATENTS. All contributing project authors may
  8. * be found in the AUTHORS file in the root of the source tree.
  9. */
  10. #import <Foundation/Foundation.h>
  11. NS_ASSUME_NONNULL_BEGIN
  12. /*
  13. * Creates a rtc::VideoSinkInterface surface for an RTCVideoRenderer. The
  14. * rtc::VideoSinkInterface is used by WebRTC rendering code - this
  15. * adapter adapts calls made to that interface to the RTCVideoRenderer supplied
  16. * during construction.
  17. */
  18. @interface RTCVideoRendererAdapter : NSObject
  19. - (instancetype)init NS_UNAVAILABLE;
  20. @end
  21. NS_ASSUME_NONNULL_END