fishjam-dev / fishjam

General purpose media server. Supports WebRTC, HLS, RTSP, SIP
https://fishjam-dev.github.io/fishjam-docs/
Apache License 2.0
197 stars 12 forks source link

add creating multipart room #84

Closed blazpie closed 9 months ago

blazpie commented 1 year ago

This PR adds the ability to create a multipart room on jellyfishes in the cluster. Whole communication between rooms is made via Phoenix.Pubsub. After creating room a room's process subscribes to PubSub topic with it's id, and broadcasts :room_created to other rooms with same id. When receives :room_created room makes direct broadcast to room which creates new part of room with :room_exists When room receives :room_exists it adds remote endpoint to the RTC engine and sends back to other room link proposal created by remote endpoint. When room receives link proposal it creates another remote endpoint with data from link proposal.

Further communication is made between Remote Endpoints

mickel8 commented 1 year ago

Unpining myself for now

mickel8 commented 9 months ago

I am closing as we changed our priorities