Agora RTC Objective-C API Reference
Refactor
rte_sdk
interface
objc
AgoraRtcMediaPlayerVideoFrameDelegate.h
Go to the documentation of this file.
1
//
2
// Copyright (c) 2018 Agora. All rights reserved.
3
//
4
5
#import <Foundation/Foundation.h>
6
#import "
AgoraRtcMediaPlayerProtocol.h
"
7
8
@protocol
AgoraRtcMediaPlayerProtocol
;
9
@class
AgoraOutputVideoFrame
;
10
11
@protocol
AgoraRtcMediaPlayerVideoFrameDelegate
<NSObject>
12
@optional
23
- (void)AgoraRtcMediaPlayer:(
id
<
AgoraRtcMediaPlayerProtocol
> _Nonnull)playerKit
24
didReceiveVideoFrame:(
AgoraOutputVideoFrame
* _Nonnull)videoFrame NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didReceiveVideoFrame:));
25
36
- (void)AgoraRtcMediaPlayer:(
id
<
AgoraRtcMediaPlayerProtocol
> _Nonnull)playerKit
37
didReceivePixelBuffer:(CVPixelBufferRef _Nonnull)pixelBuffer NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didReceivePixelBuffer:));
38
43
- (
AgoraVideoFormat
)
AgoraRtcMediaPlayerGetVideoPixelFormat
NS_SWIFT_NAME(
AgoraRtcMediaPlayerGetVideoPixelFormat
());
44
45
@end
-[AgoraRtcMediaPlayerVideoFrameDelegate-p AgoraRtcMediaPlayerGetVideoPixelFormat]
AgoraVideoFormat AgoraRtcMediaPlayerGetVideoPixelFormat()
AgoraRtcMediaPlayerProtocol.h
AgoraOutputVideoFrame
Definition:
AgoraObjects.h:2169
AgoraRtcMediaPlayerProtocol-p
Definition:
AgoraRtcMediaPlayerProtocol.h:24
AgoraRtcMediaPlayerVideoFrameDelegate-p
Definition:
AgoraRtcMediaPlayerVideoFrameDelegate.h:11
AgoraVideoFormat
AgoraVideoFormat
Definition:
AgoraEnumerates.h:1806
Generated by
1.8.20