Wowza Community

Incoming Streams publish to RTMP target by REST APIs

As title, how can I publish my incoming stream to RTMP target url?

There’re incoming streams in my Wowza application and I have several RTMP URLs waiting for live streams from these incoming streams.

But till now I don’t know how to publish the incoming streams to the RTMP URLs by Wowza REST APIs.

I’ve found such an API –

POST /v2/servers/{serverName}/vhosts/{vhostName}/applications/{appName}/pushpublish/mapentries

but I don’t know what kinds of parameters I should make it work.

It always sends “message”: “Error saving entry (null)”.

Any help will be very much appreciated.

We have an article on exactly this topic.

I suggest that if you are unfamiliar with Wowza Streaming Engine’s REST API that you use our Swagger documentation. More information on how to enable the REST API and documentation can be found in the following article:

https://www.wowza.com/docs/how-to-access-documentation-for-wowza-streaming-engine-rest-api

The Swagger documentation referenced in that article can be downloaded here.

https://www.wowza.com/downloads/forums/restapidocumentation/RESTAPIDocumentationWebpage.zip

You can use the Swagger documentation on your local server or from a computer of your choosing. You only need to open the web page in a browser.