Here is my entry in PushPublishMap.txt
This file has been upgraded for use by the Wowza Streaming Engine REST API. Please avoid hand-editing.
SourceStreamName={“entryName”:“Test”, “profile”:“rtmp”, “password”:“Password”, “application”:“DestinationApplicationName”, “destinationName”:“rtmp”, “host”:“DestinationHost”, “appInstance”:“DestinationApplicationInstance”, “userName”:“UserName”, “streamName”:“DestinationStreamName”}
Now I am sending the below PUT method to update the streamName from “DestinationStreamName” to “Modified”
http://localhost:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/live/pushpublish/mapentries
{
“serverName”: “defaultServer”,
“sourceStreamName”: “SourceStreamName”,
“entryName”: “Test”,
“profile”: “rtmp”,
“destinationName”:“rtmp”,
“host”: “DestinationHost”,
“application”: “DestinationApplicationName”,
“userName”: “UserName”,
“password”: “Password”,
“streamName”: “Modified”,
“appInstance”: “DestinationApplicationInstance”
}
iam gettting the response as:
{
“success”: true,
“message”: “Saved”,
“data”: null
}
But if i go to the engine manager and check the value is unchanged. There is no change in PushPublishMap.txt also