Curl commands to start, stop, and reset mediacaster streams

Here are some useful curl commands you can leverage to start, stop, and reset mediacaster streams.

Start the Mediacaster stream:
curl –digest -u user:pass “http://[wowza-ip]:8086/streammanager/streamAction?action=startStream” –data “vhostName=_defaultVHost_&appName=live/_definst_&streamName=streamfile.stream&mediaCasterType=rtp”

Delete the Mediacaster stream:
curl –digest -u myuser:mypassword “http://localhost:8086/streammanager/streamAction?action=deleteStream” –data “vhostName=_defaultVHost_&appName=testapp/_definst_&streamName=teststream.stream”

Restart Mediacaster stream:
curl –digest -u myuser:mypassword “http://localhost:8086/streammanager/streamAction?action=resetStream” –data “vhostName=_defaultVHost_&appName=testapp/_definst_&streamName=teststream.stream”


Comments are closed.