某个服务的调用顺序
/*
- 6(void)allocateAndStart:(nonnull id<ZegoVideoCaptureClientDelegate>) client;
- (void)stopAndDeAllocate;
- 8(int)startCapture;
- (int)stopCapture;
- 4(int)setFrameRate:(int)framerate;
- 3(int)setWidth:(int)width andHeight:(int)height;
- 2(int)setFrontCam:(int)bFront;                     // 2
- 1(int)setView:(UIView* _Nullable )view;            // 1
- 5(int)setViewMode:(int)mode;
- (int)setViewRotation:(int)rotation;
- (int)setCaptureRotation:(int)rotaion;
- 7(int)startPreview;
- (int)stopPreview;
- (int)enableTorch:(bool)enable;
- (int)takeSnapshot;
- (int)setPowerlineFreq:(unsigned int)freq;
*/