l7mp/stunner

SRS integration?

Closed this issue · 5 comments

Is it possible to use SRS integration to solve WebRTC scaling issues in AutoScaling

https://ossrs.net/lts/zh-cn/

Hi @slps970093,
We have not considered integrating STUNner with SRS yet. If I understood SRS correctly, they are focusing on livestreaming and has a nice selection of supported protocols. The WebRTC integration seems kinda limited for me and might lack TURN support?! Anyway if you somehow manage to configure TURN servers for SRS, STUNner can definitely there to help you to scale your workloads in k8s.

Hi~ @levaitamas
Because my purpose is to expand the webrtc server. According to my understanding, there will be problems with load balancing when k8s pod replicas are 2 or more. Assume that my srs webrtc port is 8000 but the internal IP of each pod is different. I don’t know. Can this repo help me expand?

Absolutely, scaling media workloads is one of the killer features of STUNner. Let me refer you to the docs to read more about the architecture: https://docs.l7mp.io/en/stable/DEPLOYMENT/#media-plane-deployment-model

Also, the STUNner scaling guide might be of interest here.

This issue has been stale for a couple of months, closing it for now. Feel free to reopen if anything new comes up.