Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media Push Stop API issue in Cluster mode #6946

Open
yashtandon113 opened this issue Jan 16, 2025 · 0 comments
Open

Media Push Stop API issue in Cluster mode #6946

yashtandon113 opened this issue Jan 16, 2025 · 0 comments
Assignees
Labels

Comments

@yashtandon113
Copy link
Contributor

Their is one AMS cluster running with two origin nodes.

When we call the start media push API using the domain that is mapped to load balancer, it starts the Chrome browser/driver session on any of the instances in the backend (for example, AMS Node A) and then publishes the WebRTC stream back to the server.

Now when the media push stream is created, it is created on any of the AMS nodes (for example, on AMS Node B) in the cluster. At that time, sometimes their is a possibility that the Chrome driver session running on node A and streamId created on node B.

Now if the stop API request goes to Node A, where the actual Chromedriver session is running, the media push stream will be stopped, but if the request goes to Node B, it causes the error:

{"success":false,"message":"Driver does not exist for stream id: mediapush","dataId":"","errorId":0}%

@burak-58 burak-58 moved this to 📋 Backlog in Ant Media Server Jan 20, 2025
@mekya mekya moved this from 📋 Backlog to 🔖 Sprint in Ant Media Server Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🔖 Sprint
Development

No branches or pull requests

2 participants