TL;DR : When sharing your screen through Chrome, it provides its own interface with a button to stop sharing the screen. I don't get any event when that happens and am therefore unable to remove the stopped feed. How am I supposed to do that ?
I have a videoroom app where people come in, publish their video feed, and listen to others. To share the screen, I create a new handle, attach to the videoroom and publish a new feed with { video: "screen" } in the 'media' field.
So the screensharing feed is added just like the regular video feeds, so I'd expect to have some kind of message or callback firing on the listening handle. Seems like nothing is firing when the user stops screensharing from the Chrome button. Even though if someone quits, their video feed is removed correctly.