PrivMX Endpoint v2.8.0
Loading...
Searching...
No Matches
privmx::endpoint::stream::MediaDevice Struct Reference

#include <stream/webrtc/include_pub/privmx/endpoint/stream/webrtc/Types.hpp>

Inheritance diagram for privmx::endpoint::stream::MediaDevice:

Public Attributes

std::string name
std::string id
DeviceType type

Detailed Description

Describes a local device that feeds a Publisher Stream.

addTrack matches the device by its name and its id, so pass the struct you get from getAudioDevices, getVideoDevices, or getDesktopDevices unchanged.

Member Data Documentation

◆ id

std::string privmx::endpoint::stream::MediaDevice::id

ID of the device

◆ name

std::string privmx::endpoint::stream::MediaDevice::name

name of the device

◆ type

DeviceType privmx::endpoint::stream::MediaDevice::type

type of the device


The documentation for this struct was generated from the following file:
  • stream/webrtc/include_pub/privmx/endpoint/stream/webrtc/Types.hpp