Hi everyone,
I would like to create a SRT streamTarget using Wowza’s REST API.
I send a request to the controller: POST /v2/servers/{serverName}/vhosts/{vhostName}/applications/{appName}/pushpublish/mapentries .
The following content is used as Request Body:
{
“srtSendBufferSizeUDP”: 65536,
“srtFlightFlagSize”: 25600,
“profile”: “srt”,
“srtSendBufferSize”: 12058624,
“srtMaximumSegmentSize”: 1500,
“sourceStreamName”: “PGM_CH1.stream”,
“serverName”: “defaultServer”,
“enabled”: false,
“srtTimesToPrintStats”: 0,
“debugLog”: false,
“srtInputBandwidth”: 0,
“srtKeyAnnounce”: 4096,
“srtMaximumBandwidth”: -1,
“sendSSL”: false,
“srtOverheadBandwidth”: 25,
“entryName”: “SRT_Target_API”,
“host”: “192.168.77.74”,
“port”: 5556,
“srtTimestampBasedDeliveryMode”: true,
“srtLatency”: 400,
“srtKeyRefreshRate”: 16777216,
“srtStreamId”: “”,
“srtPeerIdleTimeout”: 5000
}
As a response I get the following from Wowza:
When I view all StreamTargets of the application in Wowza Streaming Engine Manager, I don’t see the StreamTarget.
If I display all StreamTargets of the application via the controller
GET /v2/servers/{serverName}/vhosts/{vhostName}/applications/{appName}/pushpublish/mapentries
then the StreamTarget is displayed.
How must the StreamTarget be created to see it in the Stream Engine Manager?
I use version 4.8.5 of the Wowza streaming engine
Best Regards