Hi all. We’re running Wowza Streaming Engine 4.2.0
Our goal is to record the live stream of an AXIS network camera in a Math classroom every Monday in the fall on our Wowza server. From what I’ve read, it looks like the best method is to create a cron job that uses cURL commands to start and stop recordings. (I know only a tiny bit of Linux — just enough to get me in trouble. I’d prefer to do this by recording live streams with URL queries, but I don’t think this can be scheduled. Please correct me if I’m wrong.)
I read the article on stream recording Query examples.
The webinar on RESTful APIs for Wowza said that 4.2 was required for RESTful APIs, but the web page on stream recording query examples for the REST API says 4.3 is required.
I tried the simplest cURL example (to get the list of all defined stream recordings)
curl -X GET --header 'Accept:application/json; charset=utf-8' http://localhost:8087/v2/servers/_defaultServ
I get an XML error message “The request requires user authentication”
We tried the suggestion from a thread in July 15 that suggested looking at the conf/Server.xml file and setting the /Root/Server/RESTInterface/AuthenticationMethod/ parameter set to “basic”.
We did that, restarted the Wowza service, and then got an Internal Service Error 500. We changed the parameter back to digest, restarted, and all was well.
Do we just need to upgrade to 4.3? Or is there another way to fix the error message on our cURL request?
Thanks so much…k