feat: context bridge support VideoFrame (#47316)

* feat: context bridge support VideoFrame

* docs: add VideoFrame to docs
This commit is contained in:
reito
2025-08-08 04:41:49 +08:00
committed by GitHub
parent a0d983e4b5
commit 095e622a6a
2 changed files with 14 additions and 0 deletions

View File

@@ -157,6 +157,7 @@ has been included below for completeness:
| [Cloneable Types](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm) | Simple | ✅ | ✅ | See the linked document on cloneable types |
| `Element` | Complex | ✅ | ✅ | Prototype modifications are dropped. Sending custom elements will not work. |
| `Blob` | Complex | ✅ | ✅ | N/A |
| `VideoFrame` | Complex | ✅ | ✅ | N/A |
| `Symbol` | N/A | ❌ | ❌ | Symbols cannot be copied across contexts so they are dropped |
If the type you care about is not in the above table, it is probably not supported.