AirenSoft / OvenLiveKit-Web

OvenLiveKit for Web is a JavaScript-based Live Streaming Encoder
MIT License
50 stars 24 forks source link

Support for Attaching External MediaStreams #15

Closed marcusotterstad closed 1 year ago

marcusotterstad commented 1 year ago

I've been utilizing OvenLiveKit-Web extensively and appreciate its robustness. However, I've come across a scenario where I need to attach an external or pre-existing MediaStream to OvenLiveKit. To my knowledge, it seems the current API primarily supports obtaining the media stream through getUserMedia.

Proposed Feature: Introduce a method, say setMediaStream(stream), allowing developers to attach an external MediaStream.