Documentos da Tesselia
Licenças de software de terceiros
Os componentes de software de terceiros que a Tesselia usa, de onde vêm e o texto das licenças de cada um.
Decodificador MPEG (MP1, MP2, MP3) no navegador
src/lib/meetings/audio/mpg123
Copiado sem alterar a lógica, para tirar no navegador o som de vídeo MPEG-1/2 e de MP2, que o navegador não lê. Usado só por ../audio-do-mpeg.ts, carregado sob demanda.
Só a parte que roda na thread principal foi copiada, sem o Web Worker. A versão Node do @eshaz/web-worker quebrava o build com o Turbopack.
| Arquivo | Origem | Licença |
|---|---|---|
MPEGDecoder.js, EmscriptenWasm.js | mpg123-decoder 1.0.3 (npm), de Ethan Halsall: https://github.com/eshaz/wasm-audio-decoders | MIT |
WASMAudioDecoderCommon.js | @wasm-audio-decoders/common 9.0.7 (npm), mesmo autor e repositório | MIT |
simple-yenc.js | simple-yenc 1.0.4 (npm), de Ethan Halsall: https://github.com/eshaz/simple-yenc | MIT |
WebAssembly embutido em EmscriptenWasm.js | libmpg123, compilado pelo projeto acima: https://www.mpg123.de (código-fonte: https://www.mpg123.de/download.shtml) | LGPL-2.1 |
WebAssembly embutido em WASMAudioDecoderCommon.js | puff, de Mark Adler: https://github.com/madler/zlib/tree/master/contrib/puff | zlib |
Código-fonte exato desta cópia
- mpg123-decoder 1.0.3: a tag
mpg123-decoder/1.0.3do https://github.com/eshaz/wasm-audio-decoders, no commit73581c683a04af37b70b08081b51eec25d37ce66(https://github.com/eshaz/wasm-audio-decoders/tree/mpg123-decoder/1.0.3). O pacote do npm foi publicado do commit8f2428c1cd96b54dab74836c8471ff75fe35cbee(ogitHeaddo npm). Nos dois, o submódulomodules/mpg123aponta para o mesmo commit. - libmpg123 1.29.0, compilado no WebAssembly de
EmscriptenWasm.js: o commit08247b317163175e62035893af3ff9e71a5dfefddo espelho https://github.com/madebr/mpg123 (AC_INIT([mpg123], [1.29.0])). Código-fonte oficial da versão: https://www.mpg123.de/download/ (mpg123-1.29.0). - @wasm-audio-decoders/common 9.0.7 e simple-yenc 1.0.4: os pacotes do npm com essas versões, dos repositórios citados acima.
| Arquivo | sha256 do original no npm | Código-fonte |
|---|---|---|
EmscriptenWasm.js | 8049f11c… (igual à cópia, salvo a linha do eslint) | wasm-audio-decoders, tag mpg123-decoder/1.0.3; libmpg123 1.29.0 (commit 08247b31 de madebr/mpg123) |
MPEGDecoder.js | ce4644a2… | wasm-audio-decoders, tag mpg123-decoder/1.0.3 |
WASMAudioDecoderCommon.js | 9eb71385… | @wasm-audio-decoders/common 9.0.7 (wasm-audio-decoders); puff, de madler/zlib contrib/puff |
simple-yenc.js | 363cbcc2… | simple-yenc 1.0.4 (eshaz/simple-yenc) |
Alterações: só os caminhos de import, agora relativos a esta pasta (no lugar de @wasm-audio-decoders/common e simple-yenc), e uma linha /* eslint-disable */ no topo dos três em que o eslint da plataforma acusa algo (todos menos MPEGDecoder.js). Sem essas duas mudanças, cada arquivo é igual ao do pacote do npm. sha256 dos originais: EmscriptenWasm.js 8049f11c…, simple-yenc.js 363cbcc2…, MPEGDecoder.js ce4644a2…, WASMAudioDecoderCommon.js 9eb71385….
MIT (mpg123-decoder, @wasm-audio-decoders/common, simple-yenc)
Copyright 2021-2023 Ethan Halsall
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
libmpg123 (LGPL-2.1)
O libmpg123 é software livre sob a GNU Lesser General Public License, versão 2.1. O texto da licença está em https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. O código-fonte está em https://www.mpg123.de. O módulo WebAssembly vem embutido como texto em EmscriptenWasm.js, um módulo próprio carregado sob demanda. Não é um arquivo .wasm à parte: para trocá-lo por outra compilação do libmpg123, é preciso gerar de novo esse arquivo a partir do código-fonte (o mesmo projeto, github.com/eshaz/wasm-audio-decoders, tem o roteiro). Se for preciso o .wasm num arquivo separado, isso fica para decisão do COMMONS.
puff (zlib)
Copyright (C) 2002-2013 Mark Adler. This software is provided 'as-is', without any express or implied warranty. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the zlib license conditions (the origin must not be misrepresented; altered versions must be plainly marked; this notice may not be removed). The copy used is altered to be inlined into the library above.
Dúvidas: contato@tesselia.ai.