TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

WebCodecs is a flexible web API for encoding and decoding audio and video

18 pointsby twapiabout 4 years ago

3 comments

0xyabout 4 years ago
Even though I can see the utility with this API, every single new web API seems to be a privacy and security disaster that conveniently enables the ad industry to obtain more data points to track you.<p>AudioContext is a new &quot;modern&quot; JS API that is used almost exclusively by ad networks for tracking. It reveals latency information about your audio peripherals with no prompting, no permission and it operates silently on websites that literally never play audio.<p>WASM is used for tracking over 90% of the time.<p>All of the garbage Chrome has added to navigator and document objects, sometimes without documentation are used almost exclusively for egregious tracking.
streamer45about 4 years ago
This is great and overdue. Hopefully all major browsers will add some support for open source&#x2F;royalty free codecs.<p>Emscripten&#x2F;WebAssembly actually worked rather well with audio (OPUS is just awesome) but when it comes to video it&#x27;s just unfeasible, especially if you are looking at doing low latency streaming. That said, I cannot fail to mention the incredible effort done by ogv.js [1] to make a&#x2F;v decoding possible almost anywhere.<p>Looking forward to experiment with this new API.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;brion&#x2F;ogv.js&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;brion&#x2F;ogv.js&#x2F;</a>
mcraihaabout 4 years ago
I assume one cannot add additional codecs to this without browser support? so e.g. I want to use NVIDIA NVENC to encode H.264 video, but that won&#x27;t happen until my browser has implemented support for it.
评论 #26445206 未加载