mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 3dfb18a29fe2
This commit is contained in:
parent
94ce1cb2fa
commit
8a0543bcc3
@ -675,8 +675,6 @@ MediaManager::GetUserMedia(bool aPrivileged, nsPIDOMWindow* aWindow,
|
||||
|
||||
NS_ENSURE_TRUE(aParams, NS_ERROR_NULL_POINTER);
|
||||
NS_ENSURE_TRUE(aWindow, NS_ERROR_NULL_POINTER);
|
||||
NS_ENSURE_TRUE(aOnError, NS_ERROR_NULL_POINTER);
|
||||
NS_ENSURE_TRUE(aOnSuccess, NS_ERROR_NULL_POINTER);
|
||||
|
||||
nsCOMPtr<nsIDOMGetUserMediaSuccessCallback> onSuccess(aOnSuccess);
|
||||
nsCOMPtr<nsIDOMGetUserMediaErrorCallback> onError(aOnError);
|
||||
@ -866,9 +864,6 @@ MediaManager::GetUserMediaDevices(nsPIDOMWindow* aWindow,
|
||||
{
|
||||
NS_ASSERTION(NS_IsMainThread(), "Only call on main thread");
|
||||
|
||||
NS_ENSURE_TRUE(aOnError, NS_ERROR_NULL_POINTER);
|
||||
NS_ENSURE_TRUE(aOnSuccess, NS_ERROR_NULL_POINTER);
|
||||
|
||||
nsCOMPtr<nsIGetUserMediaDevicesSuccessCallback> onSuccess(aOnSuccess);
|
||||
nsCOMPtr<nsIDOMGetUserMediaErrorCallback> onError(aOnError);
|
||||
|
||||
|
@ -51,7 +51,7 @@ interface IPeerConnectionObserver : nsISupports
|
||||
void foundIceCandidate(in string candidate);
|
||||
};
|
||||
|
||||
[scriptable, uuid(f6819246-f5af-40f2-ab82-e166d5da7ba0)]
|
||||
[scriptable, uuid(cb3f0048-1009-11e2-b822-87ee49eface7)]
|
||||
interface IPeerConnection : nsISupports
|
||||
{
|
||||
const unsigned long kHintAudio = 0x00000001;
|
||||
@ -73,8 +73,8 @@ interface IPeerConnection : nsISupports
|
||||
[optional] in nsIThread thread);
|
||||
|
||||
/* JSEP calls */
|
||||
void createOffer(in nsIPropertyBag2 constraints);
|
||||
void createAnswer(in nsIPropertyBag2 constraints, in string offer);
|
||||
void createOffer(in string hints);
|
||||
void createAnswer(in string hints, in string offer);
|
||||
void setLocalDescription(in long action, in string sdp);
|
||||
void setRemoteDescription(in long action, in string sdp);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user