m1k1o / neko

A self hosted virtual browser that runs in docker and uses WebRTC.
https://neko.m1k1o.net/
Apache License 2.0
5.96k stars 449 forks source link

Screenshare #217

Open m1k1o opened 1 year ago

m1k1o commented 1 year ago

Adding screenshare support to neko.

Things to sort out before merging:

m1k1o commented 1 year ago

First two screenshares works, thrid one does not.

Server:

ERR Incoming unhandled RTP ssrc(1661240182), OnTrack will not be fired. mid RTP Extensions required for Simulcast

Cleint:

Uncaught (in promise) DOMException: Answer tried to set recv when offer did not set send
innerop commented 1 year ago

What is the use case for this? I wonder if features like this can be included optionally during the build using 'feature flags' to avoid code bloat?

m1k1o commented 1 year ago

This feature is quite lightweight. If some user would like to share something quickly from their local screen. This use case is coming from collaborative space. For me its insteresting as PoC if that can be implemented nicely.

innerop commented 1 year ago

makes sense.