Jump to content
  • 0

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


Ibrahim Cisse
 Share

Question

### 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
3. and use this url : https://DOMAIN.COM:5443/LiveApp/rest/v2/broadcasts/active-live-stream-count



### 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__
Link to comment
Share on other sites

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0
You need to add ip to the resp api ip filter to accept request other than 127.0.0.1
See the screenshot below:
attachment?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6NDcwMjk2MTA2NzIsImRvbWFpbiI6ImFudG1lZGlhLmZyZXNoZGVzay5jb20iLCJhY2NvdW50X2lkIjoxMjY0ODM4fQ.JSLQE97UsoEYScJOPBTojLmfAHW_uoN-28uD4CO6MC0

Best regards,
Enes Kuluk


On Sat, 11 Jul at 1:05 AM , Ibrahim cisse <iscisse@gmail.com> wrote:
### 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__
--
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-server+unsubscribe@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.
12518:1264838
Link to comment
Share on other sites

  • 0
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 <support@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:
attachment?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6NDcwMjk2MTA2NzIsImRvbWFpbiI6ImFudG1lZGlhLmZyZXNoZGVzay5jb20iLCJhY2NvdW50X2lkIjoxMjY0ODM4fQ.JSLQE97UsoEYScJOPBTojLmfAHW_uoN-28uD4CO6MC0

Best regards,
Enes Kuluk


On Sat, 11 Jul at 1:05 AM , Ibrahim cisse <iscisse@gmail.com> wrote:
### 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__
--
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-server+unsubscribe@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.
12518:1264838
Link to comment
Share on other sites

  • 0
Hello My issue has been resolved. thank you.

On Friday, July 10, 2020 at 6:05:27 PM UTC-4, Ibrahim cisse wrote:
### 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__
Link to comment
Share on other sites

 Share

×
×
  • Create New...