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
24
- (void)AgoraRtcMediaPlayer:(
id
<
AgoraRtcMediaPlayerProtocol
> _Nonnull)playerKit
25
didReceiveVideoFrame:(
AgoraOutputVideoFrame
* _Nonnull)videoFrame NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didReceiveVideoFrame:));
26
40
- (void)AgoraRtcMediaPlayer:(
id
<
AgoraRtcMediaPlayerProtocol
> _Nonnull)playerKit
41
didReceivePixelBuffer:(CVPixelBufferRef _Nonnull)pixelBuffer NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didReceivePixelBuffer:));
42
56
- (
AgoraVideoFormat
)
AgoraRtcMediaPlayerGetVideoPixelFormat
NS_SWIFT_NAME(
AgoraRtcMediaPlayerGetVideoPixelFormat
());
57
58
@end
-[AgoraRtcMediaPlayerVideoFrameDelegate-p AgoraRtcMediaPlayerGetVideoPixelFormat]
AgoraVideoFormat AgoraRtcMediaPlayerGetVideoPixelFormat()
Sets the format of raw video data.
AgoraRtcMediaPlayerProtocol.h
AgoraOutputVideoFrame
Configurations of the video frame.
Definition:
AgoraObjects.h:2599
AgoraRtcMediaPlayerProtocol-p
Definition:
AgoraRtcMediaPlayerProtocol.h:24
AgoraRtcMediaPlayerVideoFrameDelegate-p
Definition:
AgoraRtcMediaPlayerVideoFrameDelegate.h:11
AgoraVideoFormat
AgoraVideoFormat
The video pixel format.
Definition:
AgoraEnumerates.h:2415
Generated by
1.8.20