updateCameraInfo
updateCameraInfo
Description: the notification received when the format and resolution of the current video capture device are changed.
All fields of this command are included only if a video capture device is selected, and the device is not used by another application.
Example:
{
"event" : "updateCameraInfo",
"cameraWidth" : 1280,
"cameraHeight" : 720,
"cameraFramerate" : 3000,
"sendWidth" : 1280,
"sendHeight" : 720,
"format" : 3,
"sendFormat" : "VP8",
"sendFramerate" : 1500,
"stereo" : false,
"method" : "event"
}Parameter description:
cameraFramerate— camera frame ratecameraHeight— the height of the captured imagecameraWidth— the width of the captured imagesendFormat— the format in which the frames are sent. The following values are possible:VP8VP9H.265H.264H.263+H.263H.261None
format— Video format. It can be as follows:0— YUYV1— YUY22— YVYU3— MJPG4— I4205— IYUV6— UYVY7— HDYC8— YV129— NV1210— NV1611— NV2112— RGB3213— RGB2414— ARGB15— BGRA16— YUV44417— H26418— H264_ES19— H26520— VP8021— VP9022— STR023— I420_STR0
sendFramerate— the rate of sent framessendHeight— the height of sent framessendWidth— the width of sent framesstereo— the stereo flag
See also: