fixed easyrtc added the api call