I want to make an API call to move the IP camera angle, and according to antmedia rest api documentation here, I should make a call to /v2/broadcasts/{id}/ip-camera/move
However, it is always returning an internal server error with a message of java.lang.NullPointerException
Please find attached below a full log of the error.
What isn't very clear to me, what is the "id of the IP camera" that I should be using as a parameter. Is there other configurations I should have done before actually being able to tilt the camera? All I did was a postman POST request.
Question
EmileIB
Hello.
I want to make an API call to move the IP camera angle, and according to antmedia rest api documentation here, I should make a call to /v2/broadcasts/{id}/ip-camera/move
However, it is always returning an internal server error with a message of java.lang.NullPointerException
Please find attached below a full log of the error.
What isn't very clear to me, what is the "id of the IP camera" that I should be using as a parameter. Is there other configurations I should have done before actually being able to tilt the camera? All I did was a postman POST request.
Syntax I used: http://SERVER_URL/LiveApp/rest/v2/broadcasts/{broadcast_id}/ip-camera/move?valueX=0.5f&id={???}
Help would be greatly appreciated.
Thank you.
antmedia move error log.txt
Link to comment
Share on other sites
Top Posters For This Question
1
1
Popular Days
Apr 28
1
Apr 29
1
Top Posters For This Question
Burak 1 post
EmileIB 1 post
Popular Days
Apr 28 2022
1 post
Apr 29 2022
1 post
Popular Posts
Burak
Hi @EmileIB, Thank you for feedback. You should add the stream id value into the URL path. Here is a working cUrl command that calls the ip-camera/move REST method. In this example my stream
1 answer to this question
Recommended Posts