BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

pjmedia_vid_dev_switch_param Struct Reference

#include <videodev.h>

Data Fields

pjmedia_vid_dev_index target_id
 

Detailed Description

Parameter for switching device with PJMEDIA_VID_DEV_CAP_SWITCH capability. Initialize this with pjmedia_vid_dev_switch_param_default()

Field Documentation

◆ target_id

pjmedia_vid_dev_index pjmedia_vid_dev_switch_param::target_id

Target device ID to switch to. Once the switching is successful, the video stream will use this device and the old device will be closed.


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

 


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