#include <videodev.h>
Device information structure returned by pjmedia_vid_dev_get_info().
◆ id
◆ name
char pjmedia_vid_dev_info::name[64] |
◆ driver
char pjmedia_vid_dev_info::driver[32] |
The underlying driver name
◆ dir
The supported direction of the video device, i.e. whether it supports capture only, render only, or both.
◆ has_callback
Specify whether the device supports callback. Devices that implement "active interface" will actively call the callbacks to give or ask for video frames. If the device doesn't support callback, application must actively request or give video frames from/to the device by using pjmedia_vid_dev_stream_get_frame()/pjmedia_vid_dev_stream_put_frame().
◆ caps
unsigned pjmedia_vid_dev_info::caps |
◆ fmt_cnt
unsigned pjmedia_vid_dev_info::fmt_cnt |
Number of video formats supported by this device
◆ fmt
Array of supported video formats. Some fields in each supported video format may be set to zero or of "unknown" value, to indicate that the value is unknown or should be ignored. When these value are not set to zero, it indicates that the exact format combination is being used.
The documentation for this struct was generated from the following file: