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

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

Public Attributes

size_t idealWidth = 1280
size_t idealHeight = 720
size_t idealFps = 15

Detailed Description

Holds the preferred capture settings of a track.

The device applies the closest settings it supports, so the resulting track sometimes differs from the request.

Member Data Documentation

◆ idealFps

size_t privmx::endpoint::stream::MediaTrackConstrains::idealFps = 15

preferred number of frames per second, which applies to the video and the desktop devices

◆ idealHeight

size_t privmx::endpoint::stream::MediaTrackConstrains::idealHeight = 720

preferred capture height in pixels, which applies to the video devices only

◆ idealWidth

size_t privmx::endpoint::stream::MediaTrackConstrains::idealWidth = 1280

preferred capture width in pixels, which applies to the video devices only


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