- Notifications
You must be signed in to change notification settings - Fork0
WebCodecs is a flexible web API for encoding and decoding audio and video.
License
yylgit/webcodecs
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
To try it on your machine, either
- enable
chrome://flags/#enable-experimental-web-platform-features, or - pass
--enable-blink-features=WebCodecsflag via the command line.
To try it with real users,sign up for the origin trial here.
TheWebCodecs API allows web applicationsto encode and decode audio and video.
Many Web APIs use media codecs internally to support APIs for particular uses:
- HTMLMediaElement and Media Source Extensions
- WebAudio (decodeAudioData)
- MediaRecorder
- WebRTC
But there’s no general way to flexibly configure and use these media codecs.Because of this, many web applications have resorted to implementingmedia codecs in JavaScript or WebAssembly, despite the disadvantages:
- Increased bandwidth to download codecs already in the browser.
- Reduced performance
- Reduced power efficiency
It's great for:
- Live streaming
- Cloud gaming
- Media file editing and transcoding
See theexplainer for more info.
Please seehttps://w3c.github.io/webcodecs/samples/
About
WebCodecs is a flexible web API for encoding and decoding audio and video.
Resources
License
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Languages
- HTML99.7%
- Makefile0.3%