WebRTC videochat - features

Mohamad Sabbagh

New Member
Hello,
Would it be possible to perform recording for WebRTC videochat sessions. In addition it there a way to assign a duration for the session prior initiation and once the duration is reached the session will be disconnected automatically.
Thanks,
 

Mohamad Sabbagh

New Member
Thanks Max,
So I have to control the session duration programmatically, would you please advise if it is possible to get the session/call duration for ongoing and terminated calls/sessions.
 

Max

Administrator
Staff member
if it is possible to get the session/call duration for ongoing and terminated calls/sessions
Yes you can control calls using REST API methods listed above.
To track call duration you have to implement hooks for calls and sessions and track this information on your backend.
Once the call time limit is reached, you terminate the call using REST API.
Here you can find call event:
Code:
/CallStatusEvent ESTABLISHED
See
https://flashphoner.com/docs/wcs5/w...t-methods/index.html?event_scheme_of_work.htm
https://flashphoner.com/docs/wcs5/w...tween_client_invocations_and_rest_methods.htm
Therefore you have to implement back-end processing http://yourhost/yourback/CallStatusEvent application/json requests from WCS server.
 
Top