Skip to content

Cluster statistic #6321

Answered by yashtandon113
rsarkisov82 asked this question in Q&A
May 9, 2024 · 3 comments · 8 replies
Discussion options

You must be logged in to vote

@rsarkisov82

If you use WebRTC for the playback, then you can pass the random subscriber ID while playing the stream, and then you can get the registered Edge Node IP via the subscriber list API. If you use AMS player then you can pass subscriberId like:

https://domain.antmedia.cloud/LiveApp/play.html?name=test&subscriberId=test

Here is the sample API response:

You can find the edge node IP in the highlighted field.

[{"subscriberId":"test","streamId":"test","type":null,"connected":true,"currentConcurrentConnections":134,"concurrentConnectionsLimit":1,"blockedType":null,"blockedUntilUnitTimeStampMs":0,"registeredNodeIp":"57.129.35.234"}]

I hope it helps.

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
2 replies
@rsarkisov82
Comment options

@yashtandon113
Comment options

Answer selected by Mohit-3196
Comment options

You must be logged in to vote
1 reply
@yashtandon113
Comment options

Comment options

You must be logged in to vote
5 replies
@yashtandon113
Comment options

@rsarkisov82
Comment options

@yashtandon113
Comment options

@yashtandon113
Comment options

@rsarkisov82
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants