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.22k stars 618 forks source link

Check Azure Redis database combability for k8 cluster #6494

Closed Mohit-3196 closed 1 month ago

Mohit-3196 commented 1 month ago

I tried utilizing both for running the Ant Media Server in cluster mode but couldn't make them work.

muratugureminoglu commented 1 month ago

Hi @Mohit-3196

If your Redis configuration is set up correctly, you can establish a connection as follows. For example, you can speed up the debugging process by trying to connect to the Redis server using redis-cli (make sure the username, password, and bind interface settings are correct).

redis://username:redis-password@your-redis-ip-address:6379

If you use Redis Cache on Azure, and if the Redis Cache and Ant Media Server are on the same VPC, SSL should be disabled and you can establish a connection as follows. However, if the Ant Media Server is in an environment outside of Azure, you will need to set up a tunnel to connect to the Redis Cache.

redis://default:redis-password@redis-k8s.redis.cache.windows.net:6379
Mohit-3196 commented 1 month ago

Thank you @muratugureminoglu