ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.
https://antmedia.io
Other
4.29k stars 636 forks source link

Compatibility issue between Load test tool and nginx load balancer and GCP #4552

Open burak-58 opened 2 years ago

SelimEmre commented 1 year ago

Hi @burak-58,

I just wanted to update you regarding this issue. I'm still working on this issue. But I found a workaround solution for this issue.

Please add nginx.ingress.kubernetes.io/ssl-redirect: "false" to the annotations section. https://github.com/ant-media/Scripts/blob/master/kubernetes/ams-k8s-ingress-origin.yaml

PS: Also you need to use like this command: ./run.sh -m player -n 10 -s ingress_url -u false -q false -p 80

Best Regards, Selim

muratugureminoglu commented 1 year ago

We used to use the Nginx repository as Ingress but now with the latest Helm update we are using the Kubernetes repository and it works properly as below.

./run.sh -m player -n 100 -s edge.antmedia.cloud -p 443 -u false -q true