You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The [[WEBRTC-NV-USE-CASES]] document describes several functions that
36
-
can only be achieved by access to media (requirements N20-N22),
37
-
including, but not limited to:
38
-
* Funny Hats
39
-
* Machine Learning
40
-
* Virtual Reality Gaming
41
-
42
-
These use cases further require that processing can be done in worker
43
-
threads (requirement N23-N24).
40
+
The [[WEBRTC-NV-USE-CASES]] document describes the use-case of
41
+
* Untrusted JavaScript Cloud Conferencing
42
+
which requires that the conferencing server does not have access
43
+
to the cleartext media (requirement N27).
44
44
45
-
Furthermore, the "trusted JavaScript cloud conferencing" use case
46
-
requires such processing to be done on encoded media, not just the raw
47
-
media.
45
+
This specification provides access to encoded media,
46
+
which is the output of the encoder part of a codec and the input to the
47
+
decoder part of a codec which allows the user agent to apply encryption
48
+
locally.
48
49
49
-
This specification gives an interface inspired by [[WEB-CODECS]] to
50
+
The interface is inspired by [[WEB-CODECS]] to
50
51
provide access to such functionality while retaining the setup flow of
51
-
RTCPeerConnection.
52
-
53
-
This iteration of the specification provides access to encoded media,
54
-
which is the output of the encoder part of a codec and the input to the
55
-
decoder part of a codec.
52
+
RTCPeerConnection
56
53
57
54
# Terminology # {#terminology}
58
55
@@ -65,12 +62,6 @@ It uses an additional API on {{RTCRtpSender}} and {{RTCRtpReceiver}} to
65
62
insert the processing into the pipeline.
66
63
67
64
<pre class="idl">
68
-
// New dictionary
69
-
dictionary RTCInsertableStreams {
70
-
ReadableStream readable;
71
-
WritableStream writable;
72
-
};
73
-
74
65
typedef (SFrameTransform or RTCRtpScriptTransform) RTCRtpTransform;
75
66
76
67
// New methods for RTCRtpSender and RTCRtpReceiver
@@ -176,11 +167,8 @@ Similarly, if a web application sets the transform synchronously at creation of
176
167
177
168
# SFrameTransform # {#sframe}
178
169
179
-
<p class="note">
180
-
The API presented in this section represents a preliminary proposal
181
-
based on protocol proposals that have not yet been adopted by an IETF WG.
182
-
As a result, both the API and underlying protocol are likely to change
183
-
significantly going forward.
170
+
<p>
171
+
The API presented in this section allows applications to process SFrame data as defined in [[SFrame]].
184
172
</p>
185
173
186
174
<xmp class="idl">
@@ -365,10 +353,7 @@ The <dfn constructor for="RTCRtpScriptTransform" lt="RTCRtpScriptTransform(worke
365
353
5. Set |transformer|.`[[options]]` to |transformerOptions|.
366
354
6. Set |transformer|.`[[readable]]` to |readable|.
367
355
7. Set |transformer|.`[[writable]]` to |writable|.
368
-
8. Let |event| be the result of [=creating an event=] with {{RTCTransformEvent}}.
369
-
9. Set |event|.type attribute to "rtctransform".
370
-
10. Set |event|.transformer to |transformer|.
371
-
11. Dispatch |event| on |worker|’s global scope.
356
+
8. [=Fire an event=] named <dfn event for="DedicatedWorkerGlobalScope">rtctransform</dfn> using {{RTCTransformEvent}} with {{RTCTransformEvent/transformer}} set to |transformer| on |worker|’s global scope.
372
357
373
358
// FIXME: Describe error handling (worker closing flag true at RTCRtpScriptTransform creation time. And worker being terminated while transform is processing data).
0 commit comments