Cloudflare-Calls return [Backend error] when call new tracks API
Hello everyone,
I'm encountering a strange issue. When using Cloudflare Calls, my device can stream to Cloudflare Calls without any problems. However, when I create another session and try to perform /tracks/new, the audio part throws a "Backend error."
Any insights on this would be greatly appreciated!
VIDEO: H264
AUDIO: PCMA/8000/1
https://rtc.live.cloudflare.com/v1/apps/{app_id}/sessions/{session_id}/tracks/new
req:
{"tracks":[{"location":"remote","sessionId":"e5c67eaa2e0941e70ace6a059ae4090c","trackName":"4ea2af92-13ca-40cf-96c3-2d56d4c7d86b"},{"location":"remote","sessionId":"e5c67eaa2e0941e70ace6a059ae4090c","trackName":"d914af11-0f11-487a-89a1-2269d2d63b6c"}]}
resp:
{"requiresImmediateRenegotiation":true,"tracks":[{"sessionId":"e5c67eaa2e0941e70ace6a059ae4090c","trackName":"4ea2af92-13ca-40cf-96c3-2d56d4c7d86b","mid":"","errorCode":"internal_error","errorDescription":"Backend error"},{"sessionId":"e5c67eaa2e0941e70ace6a059ae4090c","trackName":"d914af11-0f11-487a-89a1-2269d2d63b6c","mid":"0"}],"sessionDescription":{"sdp":"...","type":"offer"}}
0 Replies