Queue files for encoding
livereacting_encode_mediaQueue video files for encoding so they can be streamed. A file whose resolution or frame rate is above the account limit has to be encoded before it will play in a stream; livereacting_get_media_file with includeMetadata tells you which ones. Encoding runs in the background: this returns immediately with the files it queued and the ones it skipped (not found, not a video, or already queued or encoding). Poll livereacting_get_encode_status to find out when they are ready. A file that has already finished encoding is encoded again if you send it, so send only files that still need it, and after a timeout check livereacting_get_encode_status before you call this again.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fileIds": "<fileIds>"
},
"name": "livereacting_encode_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileIds | Yes | File ids to encode, from livereacting_list_media. At most 100 per call. |