Agora RTC Objective-C API Reference Refactor

AgoraVideoSinkDelegate.h
Go to the documentation of this file.
1 //
2 // AgoraVideoSinkDelegate.h
3 // Agora SDK
4 //
5 // Created by LLF on 2021-3-9.
6 // Copyright (c) 2021 Agora. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10 #import "AgoraExtObjects.h"
11
15 @protocol AgoraVideoSinkDelegate <NSObject>
16
21 - (BOOL)onFrame:(AgoraExtVideoFrame * __nonnull)videoFrame NS_SWIFT_NAME(onFrame(_:));
22
32 - (NSInteger)setPropertyWithKey:(NSString * __nonnull)key value:(NSData * __nonnull)value NS_SWIFT_NAME(setPropertyWithKey(_:value:));
33
43 - (NSInteger)getPropertyWithKey:(NSString * __nonnull)key value:(NSData *_Nullable* _Nullable)value NS_SWIFT_NAME(getPropertyWithKey(_:value:));
44
45 @optional
53 - (BOOL)didDataStreamWillStart NS_SWIFT_NAME(didDataStreamWillStart());
58 - (void)didDataStreamWillStop NS_SWIFT_NAME(didDataStreamWillStop());
59
60 @end
AgoraExtObjects.h
AgoraExtVideoFrame
Definition: AgoraExtObjects.h:106
AgoraVideoSinkDelegate-p
Definition: AgoraVideoSinkDelegate.h:15
-[AgoraVideoSinkDelegate-p didDataStreamWillStart]
BOOL didDataStreamWillStart()
-[AgoraVideoSinkDelegate-p didDataStreamWillStop]
void didDataStreamWillStop()