2015-07-08, 01:44
I am trying to zoom in on the picture, while a clip/stream is playing, but get a syntax parse error:
Command I am trying to send:
{ "jsonrpc": "2.0", "method": "Player.Zoom", "params": { "playerid": 1, "zoom": [ "in", 5 ] }, "id": 1 }
And the response I receive:
{"error":{"code":-32602,"data":{"method":"Player.Zoom","stack":{"message":"Invalid type array received","name":"zoom","type":["string","integer"]}},"message":"Invalid params."},"id":1,"jsonrpc":"2.0"}
What am I doing wrong?
Also, doe this command work in general? How can I pan if I can successfully zoom eventually?
Thanks!
Command I am trying to send:
{ "jsonrpc": "2.0", "method": "Player.Zoom", "params": { "playerid": 1, "zoom": [ "in", 5 ] }, "id": 1 }
And the response I receive:
{"error":{"code":-32602,"data":{"method":"Player.Zoom","stack":{"message":"Invalid type array received","name":"zoom","type":["string","integer"]}},"message":"Invalid params."},"id":1,"jsonrpc":"2.0"}
What am I doing wrong?
Also, doe this command work in general? How can I pan if I can successfully zoom eventually?
Thanks!