Intel® Collaboration Suite for WebRTC  version 4.3.1
Open WebRTC Toolkit (OWT) Client SDK for Windows*
mediaconstraints.h
1 // Copyright (C) <2018> Intel Corporation
2 //
3 // SPDX-License-Identifier: Apache-2.0
4 #ifndef OWT_BASE_MEDIA_CONSTRAINTS_H_
5 #define OWT_BASE_MEDIA_CONSTRAINTS_H_
6 #include "owt/base/commontypes.h"
7 namespace owt {
8 namespace base {
10  double volume;
11  unsigned long sample_rate;
12  unsigned long channel_num;
13 };
14 
16  std::string device_id;
17 };
19  int source_id; // The handle of the app/desktop
20 };
22  Resolution resolution;
23  double frame_rate;
24 };
26  std::string device_id;
27 };
29  int source_id; // The handle of the app/desktop
30 };
32  MediaStreamTrackDeviceConstraintsForAudio audio_track_constraints;
33  MediaStreamTrackDeviceConstraintsForVideo video_track_constraints;
34 };
35 } // namespace base
36 } // namespace owt
37 #endif // OWT_BASE_MEDIA_CONSTRAINTS_H_
Definition: mediaconstraints.h:21
Definition: audioplayerinterface.h:8
Definition: mediaconstraints.h:31
This class represents a resolution value.
Definition: commontypes.h:40
Definition: mediaconstraints.h:9