Results 1 to 2 of 2

Thread: Rest API stop recording not working

  1. #1

    Default Rest API stop recording not working

    I can start streamrecorder with Rest API without problems. I received {"success":false,"message":"Unknown action: stopRecording","data":null}, when I'm trying to stop streamrecorder.

    I'm using curl with
    curl -X GET --header 'Accept:application/json; charset=utf-8' http://myserver:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/publishlive/instances/_definst_/streamrecorders/4funtv/actions/stopRecording

  2. #2
    Join Date
    May 2013
    Posts
    681

    Default

    Hello

    In running a quick test (against 4.3), I created a recorder and then subsequently stopped it with a very similar command but used the PUT verb in lieu of the GET as follows:

    curl -X PUT --header 'Accept:application/json; charset=utf-8' http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/instances/_definst_/streamrecorders/myStream/actions/stopRecording
    The output was:

    {"success":true,"message":"Recording (myStream) stopped","data":null}
    Thanks,
    Matt

Similar Threads

  1. Try to use REST API to start and stop recording from a live stream
    By pothibo in forum Wowza Streaming Engine REST API
    Replies: 3
    Last Post: 07-13-2015, 08:05 AM
  2. REST API 4.1.2 call problem - POST methods not working in Swagger UI
    By keiserSoze in forum Wowza Streaming Engine REST API
    Replies: 1
    Last Post: 06-30-2015, 06:45 AM
  3. Start/stop MediaCasterStream via rest api?
    By maaark in forum General Forum
    Replies: 1
    Last Post: 05-26-2015, 06:02 AM
  4. API rest start/stop/restart application live tream
    By jormarcha in forum Wowza Streaming Engine REST API
    Replies: 1
    Last Post: 03-13-2015, 01:20 PM
  5. How to determine if a recording has completed processing with the rest api
    By sona1111 in forum Wowza Streaming Engine REST API
    Replies: 4
    Last Post: 01-07-2015, 03:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •