membrane_rtc_engine icon indicating copy to clipboard operation
membrane_rtc_engine copied to clipboard

Publish client library in npm

Open iihres opened this issue 4 years ago • 4 comments

Hi, guys. It would be nice, to install js client via npm.

iihres avatar Jul 22 '21 08:07 iihres

Hi @iihres, we are thinking about this but at this moment there is no sense to use client library without server library and this is very first version of our API - still under heavy development.

You can check out our membrane_demo repository to see how we include client library as a dependency - https://github.com/membraneframework/membrane_demo/blob/45403557f4f9f9ccf63f23485eabf4ddac1075e5/webrtc/videoroom/assets/package.json#L12

mickel8 avatar Jul 22 '21 09:07 mickel8

Thank you. This makes sense when using separate backend and frontend. Anyway, it's just a suggestion

iihres avatar Jul 22 '21 10:07 iihres

Good point. We will take this into consideration. Let's leave this issue open until we publish a client library in npm or decide not to do it.

mickel8 avatar Jul 22 '21 12:07 mickel8

👍 I think we'll release the npm package once the API becomes more stable

mat-hek avatar Jul 22 '21 12:07 mat-hek