Home --> Documentations --> PJSIP Reference

pj::VideoDevInfo Struct Reference

#include <media.hpp>

Public Member Functions

void fromPj (const pjmedia_vid_dev_info &dev_info)
 ~VideoDevInfo ()

Data Fields

pjmedia_vid_dev_index id
string name
string driver
pjmedia_dir dir
unsigned caps
MediaFormatVideoVector fmt

Detailed Description

Video device information structure.

Constructor & Destructor Documentation

◆ ~VideoDevInfo()

pj::VideoDevInfo::~VideoDevInfo ( )


Member Function Documentation

◆ fromPj()

void pj::VideoDevInfo::fromPj ( const pjmedia_vid_dev_info dev_info)

Construct from pjmedia_vid_dev_info.

Field Documentation

◆ id

pjmedia_vid_dev_index pj::VideoDevInfo::id

The device ID

◆ name

string pj::VideoDevInfo::name

The device name

◆ driver

string pj::VideoDevInfo::driver

The underlying driver name

◆ dir

pjmedia_dir pj::VideoDevInfo::dir

The supported direction of the video device, i.e. whether it supports capture only, render only, or both.

◆ caps

unsigned pj::VideoDevInfo::caps

Device capabilities, as bitmask combination of pjmedia_vid_dev_cap

◆ fmt

MediaFormatVideoVector pj::VideoDevInfo::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:


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.