xnorpx / lyra-webrtc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lyra on WebRTC

This sample shows Lyra on WebRTC MediaChannel.

Chrome can use L16 (16-bit PCM BigEndian) by changing SDP. In this sample, L16 is set in PeerConnection, and L16 is extracted in TransformStream of EncodedStream and encoded in Lyra by WASM.

Try It

https://meeting.dev/lab/lyra-webrtc/loopback.html

How to use

In this directory, run the following command. Lyra WASM uses SharedArrayBuffer. Therefore, you need to set specific HTTP Headers, which are included in server.py.

python3 server.py

And Open the following URL

http://localhost:8000/loopback.html

Acknowledgments

Thanks to the team that developed Lyra and to mayitayew for making it work with WASM.

We are using a modified Lyra WASM. It is available here.

About

License:Apache License 2.0


Languages

Language:JavaScript 68.5%Language:HTML 24.5%Language:Python 4.2%Language:CSS 2.8%