framework.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #pragma once
  2. // Exclude rarely-used stuff from Windows headers
  3. #include <cassert>
  4. #include <cstdint>
  5. #include <functional>
  6. #include <mutex>
  7. #include <string>
  8. #include <unordered_set>
  9. #if defined(MR_SHARING_WIN)
  10. #include <SDKDDKVer.h>
  11. #ifndef WIN32_LEAN_AND_MEAN
  12. #define WIN32_LEAN_AND_MEAN
  13. #endif
  14. #ifndef NOMINMAX
  15. #define NOMINMAX
  16. #endif
  17. #include <windows.h>
  18. #include <WinSock2.h>
  19. #endif
  20. // Core WebRTC
  21. #include <api/audio_codecs/builtin_audio_decoder_factory.h>
  22. #include "api/audio_codecs/builtin_audio_encoder_factory.h"
  23. #include "api/video_codecs/builtin_video_decoder_factory.h"
  24. #include "api/video_codecs/builtin_video_encoder_factory.h"
  25. #include "api/data_channel_interface.h"
  26. #include "api/peer_connection_interface.h"
  27. #include "api/media_stream_interface.h"
  28. #include "api/peer_connection_interface.h"
  29. #include "api/rtp_sender_interface.h"
  30. #include "api/stats/rtcstats_objects.h"
  31. #include "api/transport/bitrate_settings.h"
  32. #include "api/video/i420_buffer.h"
  33. #include "media/base/adapted_video_track_source.h"
  34. #include "media/engine/internal_decoder_factory.h"
  35. #include "media/engine/internal_encoder_factory.h"
  36. #include "media/engine/multiplex_codec_factory.h"
  37. #include "media/engine/webrtc_video_engine.h"
  38. // #include "media/engine/webrtcvideodecoderfactory.h"
  39. // #include "media/engine/webrtcvideoencoderfactory.h"
  40. #include "modules/audio_device/include/audio_device.h"
  41. #include "modules/audio_mixer/audio_mixer_impl.h"
  42. #include "modules/audio_processing/include/audio_processing.h"
  43. #include "modules/video_capture/video_capture_factory.h"
  44. //#include "rtc_base/bind.h"
  45. #include "rtc_base/memory/aligned_malloc.h"
  46. // libyuv from WebRTC repository for color conversion
  47. #include "libyuv.h"