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
15
@protocol
AgoraRtcMediaPlayerVideoFrameDelegate
<NSObject>
16
@optional
28
- (void)AgoraRtcMediaPlayer:(
id
<
AgoraRtcMediaPlayerProtocol
> _Nonnull)playerKit
29
didReceiveVideoFrame:(
AgoraOutputVideoFrame
* _Nonnull)videoFrame NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didReceiveVideoFrame:));
30
44
- (void)AgoraRtcMediaPlayer:(
id
<
AgoraRtcMediaPlayerProtocol
> _Nonnull)playerKit
45
didReceivePixelBuffer:(CVPixelBufferRef _Nonnull)pixelBuffer NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didReceivePixelBuffer:));
46
60
- (
AgoraVideoFormat
)
AgoraRtcMediaPlayerGetVideoPixelFormat
NS_SWIFT_NAME(
AgoraRtcMediaPlayerGetVideoPixelFormat
());
61
62
@end
-[AgoraRtcMediaPlayerVideoFrameDelegate-p AgoraRtcMediaPlayerGetVideoPixelFormat]
AgoraVideoFormat AgoraRtcMediaPlayerGetVideoPixelFormat()
Sets the format of raw video data.
AgoraRtcMediaPlayerProtocol.h
AgoraOutputVideoFrame
Configurations of the video frame.
Definition:
AgoraObjects.h:2641
AgoraRtcMediaPlayerProtocol-p
The media player delegate protocol.
Definition:
AgoraRtcMediaPlayerProtocol.h:28
AgoraRtcMediaPlayerVideoFrameDelegate-p
The video frame delegate protocol for the media player.
Definition:
AgoraRtcMediaPlayerVideoFrameDelegate.h:15
AgoraVideoFormat
AgoraVideoFormat
The video pixel format.
Definition:
AgoraEnumerates.h:2493
Generated by
1.8.20