paullouisageneau / datachannel-wasm

C++ WebRTC Data Channels and WebSockets for WebAssembly in browsers
MIT License
148 stars 25 forks source link

how to use? can i use this in some embed v8 env to support wrtc? #31

Closed sixian closed 2 years ago

sixian commented 2 years ago

can you provide a wasm file? and a demo? thank you !

paullouisageneau commented 2 years ago

Hi, this project actually provides the reverse use case: it allows accessing an existing WebRTC JavaScript API from wasm code. It is meant for wasm code running in a browser.

jimmywarting commented 11 months ago

I would also like to see a demo and also a pre built wasm file so that i don't have to build or install any additional complicated emscripten stuff.

paullouisageneau commented 11 months ago

A pre-build wasm file does not make much sense, because the wrapper has to be linked statically by an external C++ project, which will built the wasm file.