Closed mgogoulos closed 1 year ago
Describe the feature you'd like Explore which of the following projects could be integrated to MediaCMS to provide live streaming too
Livekit and Owncast look great. But alas, from a developer's point of view, I can't say which is better.
I'd be really interested in seeing this feature as well.
OpenStreamingPlatform looks to be fairly easy to integrate using the OAuth2 support and Webhooks. If I understand it correctly, the MediaCMS Django instance would need to be set up as an OAuth2 provider so logins could be used across both platforms:
https://django-oauth-toolkit.readthedocs.io/en/latest/tutorial/tutorial_01.html
From there, MediaCMS would need to implement a Webhook endpoint for OSP to catch new videos, comments, etc. and add them as uploaded videos:
https://open-streaming-platform.readthedocs.io/en/latest/usage/webhooks.html
Owncast can also be set up with a Webhook endpoint:
https://owncast.online/thirdparty/webhooks/
However, as far as I can tell, it only supports one streaming user - the Owncast administrator. This could work for situations where MediaCMS only has one poster (internal corporate environment, for example) but may not work as well for a publicly-accessible instance where more than one user can post media to the site and would want to be able to live stream.
LiveKit looks to be much lower-level as far as implementation. Does not include any functionality for chats or stream recording as far as I can tell, and user authentication is at a layer above the scope of the project. It can be controlled using server APIs, and there is a Python SDK project available for it:
https://github.com/tradablebits/livekit-server-sdk-python
Also uses Webhooks for communicating back:
Describe the feature you'd like Explore which of the following projects could be integrated to MediaCMS to provide live streaming too