Intel® Collaboration Suite for WebRTC  version 4.3.1
Open WebRTC Toolkit (OWT) Client SDK for Windows*
streamfactory.h
1 // Copyright (C) <2018> Intel Corporation
2 //
3 // SPDX-License-Identifier: Apache-2.0
4 #ifndef OWT_BASE_STREAM_FACTORY_H_
5 #define OWT_BASE_STREAM_FACTORY_H_
6 #include <unordered_map>
7 #inlcude "owt/base/stream.h"
8 #include "owt/base/exception.h"
9 #include "owt/base/localcamerastreamparameters.h"
10 #include "owt/base/macros.h"
11 #include "owt/base/videoencoderinterface.h"
12 #include "owt/base/videorendererinterface.h"
13 namespace webrtc {
14  class MediaStreamInterface;
15  class VideoTrackSourceInterface;
16 }
17 namespace owt {
18 namespace base {
19 using webrtc::MediaStreamInterface;
22  public:
23  static std::shared_ptr<LocalStream> CreateLocalStream(MediaStreamDeviceConstraints constraints);
24  static std::shared_ptr<LocalStream> CreateLocalStream(MediaStreamScreencastConstraints constraints);
25  static std::shared_ptr<LocalStream> CreateLocalStream(MediaStreamCustomizedConstraints constraints);
26 };
27 } // namespace base
28 } // namespace owt
29 #endif // OWT_BASE_STREAM_FACTORY_H_
Factory class for creating all types of media streams. Not implemented for Windows.
Definition: streamfactory.h:21
Definition: stream.h:17
Definition: audioplayerinterface.h:8
Definition: mediaconstraints.h:31