WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

pjmedia_vid_port_param Struct Reference

#include <vid_port.h>

Data Fields

pjmedia_vid_dev_param vidparam
 
pj_bool_t active
 

Detailed Description

This structure describes the parameters to create a video port

Field Documentation

◆ vidparam

pjmedia_vid_dev_param pjmedia_vid_port_param::vidparam

Video stream parameter.

◆ active

pj_bool_t pjmedia_vid_port_param::active

Specify whether the video port should use active or passive interface. If active interface is selected, the video port will perform as a media clock, automatically calls pjmedia_port_get_frame() and pjmedia_port_put_frame() of its slave port (depending on the direction that is specified when opening the video stream). If passive interface is selected, application can retrieve the media port of this video port by calling pjmedia_vid_port_get_passive_port(), and subsequently calls pjmedia_port_put_frame() or pjmedia_port_get_frame() to that media port.

Default: PJ_TRUE


The documentation for this struct was generated from the following file:

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.