@@ -30,10 +30,9 @@ components.
30
30
31
31
## Use cases
32
32
33
- The first use case to be supported by the API is the processing of encoded media, with
34
- end-to-end encryption intended as the motivating application. As such, the first version
35
- of the API will focus on this use case. However, the same approach can be used in future
36
- iterations to support additional use cases such as:
33
+ The first use case to be supported by the API is the processing of encoded media.
34
+ However, the same approach can be used in future
35
+ This includes use cases such as:
37
36
38
37
* Funny Hats (processing inserted before encoding or after decoding)
39
38
* Background removal
@@ -42,6 +41,16 @@ iterations to support additional use cases such as:
42
41
* App-defined bandwidth distribution between tracks
43
42
* Custom codecs for special purposes (in combination with WebCodecs)
44
43
44
+ This API can also be used for experimenting with end-to-end media
45
+ encryption (e.g.,
46
+ [ SFrame] ( https://datatracker.ietf.org/doc/draft-omara-sframe/ ) . However,
47
+ having both the key and media available to the JavaScript is
48
+ unsuitable for production end-to-end use. This API will also define a
49
+ mechanism for browsers to provide built-in transformers which do not
50
+ require JavaScript access to the key or media. Separately, this or
51
+ some other WG may work on a mechanism for end-to-end keying.
52
+
53
+
45
54
## Code Examples
46
55
0 . Feature detection can be done as follows:
47
56
0 commit comments