关键词:OSDK相机H20/T,相机模式/镜头源,变焦模式切换
其实OSDK里面是有这样的方法的,但是API文档里面没有,具体方法如下 changeH264Source。
/*! @brief
* Change the camera stream source from one payload device. (Beta API)
*
* @platforms M300
* @note Only support for payload device : H20/H20T
* @param pos point out which camera to output the H264 stream
* @param source change to be the target camera of the payload, ref to
* LiveView::LiveViewCameraSource
* @return Errorcode of liveivew, ref to DJI::OSDK::LiveView::LiveViewErrCode
*/
LiveViewErrCode changeH264Source(LiveViewCameraPosition pos, LiveViewCameraSource source);
评论
0 条评论
请登录写评论。