1 #pragma once
2 #include "JCMediaDeviceConstants.h"
3 
11 class JCSDK_API JCMediaDeviceVideoCanvas {
12 public:
18  virtual const char* getVideoSource() = 0;
24  virtual void* getVideoView() = 0;
34  virtual bool replace(const char* videoSource) = 0;
40  virtual void pause() = 0;
46  virtual void resume() = 0;
52  virtual void rotate(JCMediaDeviceVideoCanvasRoatate angle) = 0;
63  virtual bool snapshot(int width, int height, char* filePath) = 0;
69  virtual void switchCamera(const char* camera) = 0;
71  //* 镜像
72  //*/
73  //virtual void mirror(JCMediaDeviceVideoCanvasMirror mirrorType) = 0;
74 };
最后更新时间: 11/9/2021, 5:34:32 PM