mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 10:27:32 +09:00
Issue #80 - De-unify dom/media part 3
Excluding /dom/media/webrtc for bad template use: MediaTrackConstraints.cpp/h MediaEngineCameraVideoSource.cpp and MediaEngineRemoteVideoSource.cpp
This commit is contained in:
parent
527ad10c12
commit
5d8031cf76
25 changed files with 43 additions and 14 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include "MediaEngineRemoteVideoSource.h"
|
||||
|
||||
#include "mozilla/RefPtr.h"
|
||||
#include "Layers.h"
|
||||
#include "VideoUtils.h"
|
||||
#include "nsIPrefService.h"
|
||||
#include "MediaTrackConstraints.h"
|
||||
|
|
@ -15,6 +16,8 @@ extern mozilla::LogModule* GetMediaManagerLog();
|
|||
#define LOG(msg) MOZ_LOG(GetMediaManagerLog(), mozilla::LogLevel::Debug, msg)
|
||||
#define LOGFRAME(msg) MOZ_LOG(GetMediaManagerLog(), mozilla::LogLevel::Verbose, msg)
|
||||
|
||||
typedef mozilla::gfx::IntSize IntSize;
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
// These need a definition somewhere because template
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
namespace mozilla {
|
||||
|
||||
using namespace mozilla::gfx;
|
||||
using namespace mozilla::dom;
|
||||
|
||||
NS_IMPL_ISUPPORTS(MediaEngineTabVideoSource, nsIDOMEventListener, nsITimerCallback)
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
#include "MediaTrackConstraints.h"
|
||||
#include "mtransport/runnable_utils.h"
|
||||
#include "nsAutoPtr.h"
|
||||
#include "nsContentUtils.h"
|
||||
|
||||
// scoped_ptr.h uses FF
|
||||
#ifdef FF
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@
|
|||
#include "nsStringAPI.h"
|
||||
#endif
|
||||
|
||||
#include "mozilla/RefCounted.h"
|
||||
|
||||
template <class T> class nsCOMPtr;
|
||||
class nsIIDNService;
|
||||
|
||||
|
|
|
|||
|
|
@ -31,15 +31,14 @@ if CONFIG['MOZ_WEBRTC']:
|
|||
UNIFIED_SOURCES += [
|
||||
'MediaEngineCameraVideoSource.cpp',
|
||||
'MediaEngineRemoteVideoSource.cpp',
|
||||
]
|
||||
SOURCES += [
|
||||
'MediaEngineTabVideoSource.cpp',
|
||||
'MediaEngineWebRTC.cpp',
|
||||
'MediaEngineWebRTCAudio.cpp',
|
||||
'RTCCertificate.cpp',
|
||||
'RTCIdentityProviderRegistrar.cpp',
|
||||
]
|
||||
# MediaEngineWebRTC.cpp needs to be built separately.
|
||||
SOURCES += [
|
||||
'MediaEngineWebRTC.cpp',
|
||||
]
|
||||
LOCAL_INCLUDES += [
|
||||
'/dom/base',
|
||||
'/media/libyuv/include',
|
||||
|
|
@ -53,8 +52,10 @@ XPIDL_SOURCES += [
|
|||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'MediaEngineDefault.cpp',
|
||||
'MediaTrackConstraints.cpp',
|
||||
]
|
||||
SOURCES += [
|
||||
'MediaEngineDefault.cpp',
|
||||
'PeerIdentity.cpp',
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue