// Copyright © 2022 BytePlusRTC All rights reserved.
// SPDX-License-Identifier: MIT

//
//  VertcLive.h
// 

#import <Foundation/Foundation.h>
#import "RTCHeader.h"
#import <TTSDKFramework/TTSDKFramework.h>

@interface VertcLive : NSObject

- (int) startLiveVideoCapture:(ByteRTCVideo *)rtc viewId:(NSString *)viewId options:(NSDictionary *)options;

- (int) stopLiveVideoCapture;

- (VeLiveVideoFrameSource)getObservedVideoFrameSource;

- (ByteRTCVideoPixelFormat)convertToRtcPixelFormat:(VeLivePixelFormat)format;

- (void)onPreEncodeVideoFrame:(VeLiveVideoFrame *)frame;

@end
