Jump to content
  • 0

Problems with PUT CURL RTMP REST Endpoint


Javi G
 Share

Question

### Short description
__Brief description of what happened__


Want to publish to youtube with stream "mysq" via curl

curl -H "Content-Type: application/json" -X POST -d '{"type": “youtube","broadcastId": “mysq","streamId": “mysq","rtmpUrl": "rtmp://a.rtmp.youtube.com/live2/sfzd-8c8e-7xe9-9rya-4y6dc","name": "[No Name]","endpointServiceId": “mysq","serverStreamId": “mysq”}' http://xxx.xxx.xxx.xxx:5080/LiveApp/rest/v2/broadcasts/mysq/rtmp-endpoint

is this ok?

and i got this error in command line:

Status Report</p><p><b>Message</b> Not Found</p><p><b>Description</b> The origin server did not find a current representation for the target resource or is not willing to disclose that one exists

### Environment

Ubuntu 18

* Operating system and version:
* Java version: 
* Ant Media Server version:
* Browser name and version:

### Steps to reproduce
1. 
2. 
3.

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

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

 


### Logs
__Place logs on [pastebin](http://pastebin.com/) or elsewhere and put links here__
Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Days

0 answers to this question

Recommended Posts

There have been no answers to this question yet

 Share


×
×
  • Create New...