Skip to content

Conversation

@lminiero
Copy link
Member

A bit like I've done in meetecho/simple-whip-server#19, this PR aims at making the WHEP module more flexible, by allowing you to use other plugins besides the Streaming plugin as a backend for subscriptions. As a proof-of-concept, this PR adds support for:

  • VideoRoom (existing publisher is the source)
  • Record&Play (existing recording is the source)

Notice that neither the VideoRoom nor the Record&Play plugin support client-offers for subscriptions, and they probably never will. This means that, to leverage those, you currently need to rely on the non-standard server-offer support in the WHEP module. Should server-offers be supported again in the WHEP specification in the future (which is a concrete possibility), I'll update the code so that the proper way of doing them is implemented.

Considering there's flexibility in which plugins to use, now, the API is a bit rough, as everything is flattened in the same object, which is ugly to see and poor in terms of mantainability/extensibility. Before merging I'll probably change the way you create WHEP endpoints by having plugin-specific objects where you can specify the associated properties (e.g., the room/feed to subscribe for VideoRoom vs. the ID of the recording to play if using Record&Play, for instance).

Notice that, to support the Record&Play plugin. this bumps the Janode requirement to the new v1.8.0.

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