diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json
index 30bac1353246e73..274d340a80af9f7 100644
--- a/files/en-us/_wikihistory.json
+++ b/files/en-us/_wikihistory.json
@@ -74365,16 +74365,6 @@
"teoli"
]
},
- "Web/API/RTCSessionDescriptionCallback": {
- "modified": "2020-10-15T21:25:44.514Z",
- "contributors": [
- "fscholz",
- "Sheppy",
- "tocretpa",
- "teoli",
- "wesj"
- ]
- },
"Web/API/RTCStats": {
"modified": "2020-10-15T22:09:08.133Z",
"contributors": [
diff --git a/files/en-us/web/api/rtcpeerconnection/createanswer/index.html b/files/en-us/web/api/rtcpeerconnection/createanswer/index.html
index ee16b057741c8c5..f45fbfa6b685149 100644
--- a/files/en-us/web/api/rtcpeerconnection/createanswer/index.html
+++ b/files/en-us/web/api/rtcpeerconnection/createanswer/index.html
@@ -50,10 +50,10 @@
Deprecated parameters
successCallback
{{deprecated_inline}}
- - An {{domxref("RTCSessionDescriptionCallback")}} which will be passed a single
+
- A callback function which will be passed a single
{{domxref("RTCSessionDescription")}} object describing the newly-created answer.
failureCallback
{{deprecated_inline}}
- - An {{domxref("RTCPeerConnectionErrorCallback")}} which will be passed a single
+
- A callback function which will be passed a single
{{domxref("DOMException")}} object explaining why the request to create an answer
failed.
options
{{optional_inline}}
diff --git a/files/en-us/web/api/rtcpeerconnection/createoffer/index.html b/files/en-us/web/api/rtcpeerconnection/createoffer/index.html
index 88bd15e5b8506d5..17bdb6c67a8e3e9 100644
--- a/files/en-us/web/api/rtcpeerconnection/createoffer/index.html
+++ b/files/en-us/web/api/rtcpeerconnection/createoffer/index.html
@@ -116,10 +116,10 @@ Deprecated parameters
successCallback
{{deprecated_inline}}
- - An {{domxref("RTCSessionDescriptionCallback")}} which will be passed a single
+
- A callback function which will be passed a single
{{domxref("RTCSessionDescription")}} object describing the newly-created offer.
errorCallback
{{deprecated_inline}}
- - An {{domxref("RTCPeerConnectionErrorCallback")}} which will be passed a single
+
- A callback function which will be passed a single
{{domxref("DOMException")}} object explaining why the request to create an offer
failed.
options
{{optional_inline}}
diff --git a/files/en-us/web/api/rtcsessiondescriptioncallback/index.html b/files/en-us/web/api/rtcsessiondescriptioncallback/index.html
deleted file mode 100644
index 092bb7328fb0edf..000000000000000
--- a/files/en-us/web/api/rtcsessiondescriptioncallback/index.html
+++ /dev/null
@@ -1,89 +0,0 @@
----
-title: RTCSessionDescriptionCallback
-slug: Web/API/RTCSessionDescriptionCallback
-tags:
-- API
-- Deprecated
-- Interface
-- NeedsBrowserCompatibility
-- NeedsSpecification
-- RTCSessionDescriptionCallback
-- Reference
-- SDP
-- WebRTC
-browser-compat: api.RTCSessionDescriptionCallback
----
-{{APIRef("WebRTC")}}{{deprecated_header}}
-
-The
- RTCSessionDescriptionCallback
type is used to represent
- the callback function passed into the deprecated callback-based version of
- {{domxref("RTCPeerConnection.createOffer", "createOffer()")}} or
- {{domxref("RTCPeerConnection.createAnswer", "createAnswer()")}} when using them to
- create offers or answers.
-
-
-
Because this function type is part of the legacy WebRTC API, you should avoid using
- it (and the callback-based forms of createOffer()
and
- createAnswer()
that make use of it).
-
-
-Syntax
-
-RTCSessionDescriptionCallback(description);
-
-Parameters
-
-
- description
- - An {{domxref("RTCSessionDescriptionInit")}} (or
- {{domxref("RTCSessionDescription")}}) object describing the session being offered or
- being accepted. This object contains the
type
and sdp
- properties which are part of {{domxref("RTCSessionDescription")}}.
-
-
-Return value
-
-The callback doesn't need to return anything, so the return value is
- undefined
.
-
-Example
-
-var pc = new RTCPeerConnection();
-var descriptionCallback = function(offer) {
- pc.setLocalDescription(offer);
-}
-pc.createOffer(descriptionCallback);
-
-
-Specifications
-
-
-
-
- Specification |
- Status |
- Comment |
-
-
- {{SpecName('WebRTC 1.0', '#dom-rtcsessiondescriptioncallback',
- 'RTCSessionDescriptionCallback')}} |
- {{Spec2('WebRTC 1.0')}} |
- Initial definition. |
-
-
-
-
-Browser compatibility
-
-{{Compat}}
-
-See also
-
-
diff --git a/files/en-us/web/api/webrtc_api/index.html b/files/en-us/web/api/webrtc_api/index.html
index cee3b561f2f20a7..097bd8dd9aa04a1 100644
--- a/files/en-us/web/api/webrtc_api/index.html
+++ b/files/en-us/web/api/webrtc_api/index.html
@@ -139,8 +139,6 @@ Types
- {{DOMxRef("RTCSctpTransport.state")}}
- Indicates the state of an {{DOMxRef("RTCSctpTransport")}} instance.
- - {{DOMxRef("RTCSessionDescriptionCallback")}}
- - The RTCSessionDescriptionCallback is passed into the {{DOMxRef("RTCPeerConnection")}} object when requesting it to create offers or answers.
Identity and security