webrtc icon indicating copy to clipboard operation
webrtc copied to clipboard

How can I easily use this as a C library in place of libwebrtc?

Open nonibytes opened this issue 1 year ago • 3 comments

nonibytes avatar Aug 13 '24 15:08 nonibytes

This project is incomplete and does not support the management of media devices. For example, audio capture and playback. so I think it needs you to extend by yourself

seanchann avatar Aug 20 '24 08:08 seanchann

I would say that it will be extremely hard to use C with this as this project also uses async for which you need your own async executors. I would imagine that the FFI story is bad with async whether the 'other' language supports async or not. I wish there was a more threaded simple sync API, would at least make the FFI story better. Moreover, C does not have the lifetime checks and guarantees which are provided by rustc.

ris-work avatar Aug 25 '24 11:08 ris-work

Yes, i am thinking why don't support simple sync API.

dxh-sc avatar Aug 28 '24 08:08 dxh-sc