26 lines
743 B
Objective-C
26 lines
743 B
Objective-C
//
|
|
// SellyCloudRTMPDelegate.h
|
|
// SellyCloudSDK
|
|
//
|
|
// Created by Caleb on 7/7/25.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "LFLiveDebug.h"
|
|
#import "SellyPublicDefinition.h"
|
|
#import "SellyLivePusherStats.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
@class SellyVideoPusher;
|
|
@protocol SellyPusherManagerDelegate <NSObject>
|
|
@optional
|
|
- (void)pusher:(SellyVideoPusher *)pusher liveStatusDidChanged:(SellyLiveState)status;
|
|
- (void)pusher:(SellyVideoPusher *)pusher onError:(NSError *)error;
|
|
//视频前处理
|
|
- (CVPixelBufferRef)pusher:(SellyVideoPusher *)pusher onCaptureVideoFrame:(CVPixelBufferRef)pixelBuffer;
|
|
//直播中stats回调
|
|
- (void)pusher:(SellyVideoPusher *)pusher onStatisticsUpdate:(SellyLivePusherStats *)stats;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|