Skip to content

Conversation

lminiero
Copy link
Member

This PR adds support for SSE to the WHEP library, thus replacing the old #3.

It takes a different approach. The old PR tried to do everything: not only dealing with SSE, but also monitoring resources to autonomously decide what to notify and when. I decided to change that, and now the library only provides a framework to advertise SSE support, and negotiate what to notify about via SSE. It then leaves the burden of actually pushing events to notify up to the application.

The demos come with a simple example of how to notify the count of viewers (viewercount), since the application is aware of that. The web demo has been updated to visually show the content of SSE events as well, which should make it easy to test.

Considering there are a couple of changes, the version will be bumped to 1.1.0 when this is merged.

@lminiero lminiero marked this pull request as ready for review April 10, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant