#include <media.hpp>
◆ VideoPreview()
pj::VideoPreview::VideoPreview |
( |
int |
dev_id | ) |
|
◆ hasNative()
bool pj::VideoPreview::hasNative |
( |
| ) |
|
Determine if the specified video input device has built-in native preview capability. This is a convenience function that is equal to querying device's capability for PJMEDIA_VID_DEV_CAP_INPUT_PREVIEW capability.
- Returns
- true if it has.
◆ start()
Start video preview window for the specified capture device.
- Parameters
-
param | Video preview parameters. |
◆ stop()
void pj::VideoPreview::stop |
( |
| ) |
|
throw | ( | Error |
| ) | | |
◆ getVideoWindow()
Get the preview window handle associated with the capture device,if any.
◆ getVideoMedia()
Get video media or conference bridge port of the video capture device.
- Returns
- Video media of the video capture device.
The documentation for this class was generated from the following file: