webRTC Stream "FAILED: Session does not exist"

derrek800

New Member
we are using webRTC stream, stream start API response success and video inject response also success but stream not started and showing "FAILED: Session does not exist "
some time stream working and some time failed to start.

workflow process :

start stream (response success) > inject video (response success). stream showing "FAILED: Session does not exist "
repeat same flow again and stream works

we are using below API request to start stream and inject video into stream
API : /rest-api/vod/startup
Request :
{ "uri": "vod-live://ps/bg.mp4", "localStreamName": "loalstream", "loop": true }

Response:
{ "StatusCode": 200, "StatusDescription": "OK", "ResponseBody": "" }


API : /rest-api/stream/inject2/startup
Request:
{ "localStreamName": "loalstream", "remoteStreamName": "vod-live://ps/2026-10-06_12-43-01.mp4", "video": true, "audio": false }

Response :
{ "StatusCode": 200, "StatusDescription": "OK", "ResponseBody": "" }


your resolution will helpful me for continues workflow process.
 
Good day.
VOD streaming is an asynchronous operation, so 200 OK response to /rest-api/vod/startup means the request is accepted only. There is a new REST API v3 in WCS 5.3 branch returning 202 Accepted response in this case.
Please update to the latest WCS build 5.3.500 (or 5.2.2317 if you still using WCS 5.2 branch). If the problem still persists, check the files you're trying to play as VOD for supported codecs and format requirements. Please also check the server log /usr/local//FlashphonerWebCallServer/logs/server_logs/flashphoner.log for possible errors when starting the first VOD stream.
 
Top