Update README.md
This commit is contained in:
parent
33eb59a71f
commit
7e1a171923
@ -141,7 +141,7 @@ out:
|
||||
|
||||
## JSON RPC
|
||||
|
||||
The ffplayout engine can run a JSON RPC server. A request show look like:
|
||||
The ffplayout engine can run a JSON RPC server. A request looks like:
|
||||
|
||||
```Bash
|
||||
curl -X POST -H "Content-Type: application/json" -H "Authorization: ---auth-key---" \
|
||||
@ -158,7 +158,6 @@ At the moment this comments are possible:
|
||||
'{"jsonrpc": "2.0", "id":4, "method": "player", "params":{"control":"next"}}' # jump to next clip
|
||||
'{"jsonrpc": "2.0", "id":5, "method": "player", "params":{"control":"back"}}' # jump to last clip
|
||||
'{"jsonrpc": "2.0", "id":6, "method": "player", "params":{"control":"reset"}}' # reset playlist to old state
|
||||
|
||||
'{"jsonrpc": "2.0", "id":7, "method": "player", "params":{"control":"text", \
|
||||
"message": {"text": "Hello from ffplayout", "x": "(w-text_w)/2", "y": "(h-text_h)/2", \
|
||||
"fontsize": 24, "line_spacing": 4, "fontcolor": "#ffffff", "box": 1, \
|
||||
|
Loading…
Reference in New Issue
Block a user