How to use https://DOMAIN.COM:5443/LiveApp/rest/v2/broadcasts/active-live-stream-count

85 views
Skip to first unread message

Ibrahim cisse

unread,
Jul 10, 2020, 6:05:27 PM7/10/20
to Ant Media Server
### Short description
__Brief description of what happened__
I am new and trying to use API call

### Environment

* Operating system and version: Ubuntu 19
* Java version: 
* Ant Media Server version: Community edition
* Browser name and version: Chrome

### Steps to reproduce
1. open postman
2. create 2 keys headers name: USERNAME and password: PASSWORD



### Expected behavior
__Put as much detail here as possible__
I should get a list on the running broadcast

### Actual behavior
__Put as much detail here as possible__

 I get HTTP Status 403 – Forbidden


### Logs
__Place logs on [pastebin](http://pastebin.com/) or elsewhere and put links here__

ahmet oğuz mermerkaya

unread,
Jul 12, 2020, 2:19:34 AM7/12/20
to Ibrahim cisse, Ant Media Server
Hi Ibrahim,
REST methods are protected via IP Filter by default.

In order to arrange that, please take a look at the REST Guide 

You can add 0.0.0.0/0 during your development cycle. 

Regards,
A. Oguz

--
You received this message because you are subscribed to the Google Groups "Ant Media Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-serv...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/4e233876-6ee8-4d98-bb5c-6e71a6ce0a36o%40googlegroups.com.

Ant Media

unread,
Jul 12, 2020, 7:43:59 AM7/12/20
to isc...@gmail.com, ant-medi...@googlegroups.com
You need to add ip to the resp api ip filter to accept request other than 127.0.0.1
See the screenshot below:

Best regards,
Enes Kuluk


12518:1264838

Ant Media

unread,
Jul 15, 2020, 3:29:52 PM7/15/20
to isc...@gmail.com, ant-medi...@googlegroups.com
Hi Ibrahim cisse,

Is your problem is resolved? Could you provide an update?
Best Regards,
Enes Kuluk.


PS : Free or Paid one-on-one support and consultancy for your streaming project, please book at https://calendly.com/antmedia/

On Sun, 12 Jul at 2:43 PM
, Ant Media <sup...@antmedia.freshdesk.com> wrote:
You need to add ip to the resp api ip filter to accept request other than 127.0.0.1
See the screenshot below:

Best regards,
Enes Kuluk


12518:1264838

Ibrahim cisse

unread,
Jul 20, 2020, 6:45:49 PM7/20/20
to Ant Media Server
Hello My issue has been resolved. thank you.
Reply all
Reply to author
Forward
0 new messages