diff --git a/index.bs b/index.bs index 51789c7..d43ba8c 100644 --- a/index.bs +++ b/index.bs @@ -81,8 +81,8 @@ It uses an additional API on {{RTCRtpSender}} and {{RTCRtpReceiver}} to insert the processing into the pipeline.
-typedef (SFrameSenderTransform or RTCRtpScriptTransform) RTCRtpSenderTransform;
-typedef (SFrameReceiverTransform or RTCRtpScriptTransform) RTCRtpReceiverTransform;
+typedef (RTCSFrameSenderTransform or RTCRtpScriptTransform) RTCRtpSenderTransform;
+typedef (RTCSFrameReceiverTransform or RTCRtpScriptTransform) RTCRtpReceiverTransform;
 
 // New methods for RTCRtpSender and RTCRtpReceiver
 partial interface RTCRtpSender {
@@ -220,7 +220,7 @@ enum SFrameCipherSuite {
      "AES_256_GCM_SHA512_128"
 };
 
-dictionary SFrameTransformOptions {
+dictionary RTCSFrameTransformOptions {
     required SFrameCipherSuite cipherSuite;
 };
 
@@ -239,16 +239,16 @@ interface mixin SFrameDecrypterManager {
 };
 
 [Exposed=Window]
-interface SFrameSenderTransform {
-    constructor(optional SFrameTransformOptions options = {});
+interface RTCSFrameSenderTransform {
+    constructor(optional RTCSFrameTransformOptions options = {});
 };
-SFrameSenderTransform includes SFrameEncrypterManager;
+RTCSFrameSenderTransform includes SFrameEncrypterManager;
 
 [Exposed=Window]
-interface SFrameReceiverTransform : EventTarget {
-    constructor(optional SFrameTransformOptions options = {});
+interface RTCSFrameReceiverTransform : EventTarget {
+    constructor(optional RTCSFrameTransformOptions options = {});
 };
-SFrameReceiverTransform includes SFrameDecrypterManager;
+RTCSFrameReceiverTransform includes SFrameDecrypterManager;
 
 [Exposed=(Window,DedicatedWorker)]
 interface SFrameEncrypterStream : EventTarget {
@@ -286,12 +286,12 @@ dictionary SFrameTransformErrorEventInit : EventInit {
 };
 
 
-The new SFrameSenderTransform(options) constructor steps are:
+The new RTCSFrameSenderTransform(options) constructor steps are:
 1. Let |options| be the method's first argument.
 1. Run the [=SFrame initialization algorithm=] with |this| and |options|.
 1. Set |this|.`[[role]]` to 'encrypt'.
 
-The new SFrameReceiverTransform(options) constructor steps are:
+The new RTCSFrameReceiverTransform(options) constructor steps are:
 1. Let |options| be the method's first argument.
 1. Run the [=SFrame initialization algorithm=] with |this| and |options|.
 1. Set |this|.`[[role]]` to 'decrypt'.