Hello,
I’m encountering an issue with the Janus Streaming API where it consistently returns an error for a missing id
field in the ‘watch’ request, even though I am sending it as an integer. The server responds with: Error 453: Missing mandatory element (id). I’ve confirmed that id is indeed an integer and properly included in the request. Has anyone faced this issue before? Any insights or solutions would be greatly appreciated!
Thank you!
Here’s the JSON payload I’m sending:
{
"janus": "message",
"body": {
"request": "watch",
"id": 70
},
"transaction": "start_stream_timestamp"
}
Log from my backend
{
"janus": "success",
"session_id": 7287380579951858,
"transaction": "poll_result_1731064225639",
"sender": 616571765629793,
"plugindata": {
"plugin": "janus.plugin.streaming",
"data": {
"streaming": "event",
"error_code": 453,
"error": "Missing mandatory element (id)"
}
}
}