@@ -459,9 +459,8 @@ interface RTCEncodedVideoFrame {
459
459
1. Set this.`[[type]] ` to |originalFrame|.`[[type]] `.
460
460
1. Let this.`[[data]] ` be the result of [[CloneArrayBuffer]] (|originalFrame|.`[[data]] `, 0, |originalFrame|.`[[data]] `.`[[ArrayBufferByteLength]] `).
461
461
1. Let `[[metadata]] ` represent the metadata associated with this newly constructed frame.
462
- 1. For each {`[[key]] `,`[[value]] `} pair of |originalFrame|.`[[getMetadata()]] `, set `[[metadata]] `.`[[key]] ` to `[[value]] `.
463
- 1. For each {`[[key]] `,`[[value]] `} pair of |options|.`[metadata] `, set `[[metadata]] `.`[[key]] ` to `[[value]] `.
464
- <p class="note"> This does a "deep-copy" here.</p>
462
+ 1. For each {`[[key]] `,`[[value]] `} pair of |originalFrame|.`[[getMetadata()]] `, set `[[metadata]] `.`[[key]] ` to a deep copy of `[[value]] `.
463
+ 1. For each {`[[key]] `,`[[value]] `} pair of |options|.`[metadata] `, set `[[metadata]] `.`[[key]] ` to a deep copy of `[[value]] `.
465
464
466
465
</p>
467
466
</dd>
@@ -688,9 +687,8 @@ interface RTCEncodedAudioFrame {
688
687
689
688
1. Let this.`[[data]] ` be the result of [[CloneArrayBuffer]] (|originalFrame|.`[[data]] `, 0, |originalFrame|.`[[data]] `.`[[ArrayBufferByteLength]] `).
690
689
1. Let `[[metadata]] ` represent the metadata associated with this newly constructed frame.
691
- 1. For each {`[[key]] `,`[[value]] `} pair of |originalFrame|.`[[getMetadata()]] `, set `[[metadata]] `.`[[key]] ` to `[[value]] `.
692
- 1. For each {`[[key]] `,`[[value]] `} pair of |options|.`[metadata] `, set `[[metadata]] `.`[[key]] ` to `[[value]] `.
693
- <p class="note"> This does a "deep-copy" here.</p>
690
+ 1. For each {`[[key]] `,`[[value]] `} pair of |originalFrame|.`[[getMetadata()]] `, set `[[metadata]] `.`[[key]] ` to a deep copy of `[[value]] `.
691
+ 1. For each {`[[key]] `,`[[value]] `} pair of |options|.`[metadata] `, set `[[metadata]] `.`[[key]] ` to a deep copy of `[[value]] `.
694
692
695
693
</p>
696
694
</dd>
0 commit comments