N
N
Nikolay2021-10-21 17:50:14
JavaScript
Nikolay, 2021-10-21 17:50:14

How to make a test call on webRTC?

Actually, the server part is even more interested, I want to make such a test call so that the client calls conditionally, and the robot or pre-recorded video / audio answers him. Can there be ready-made solutions, an analogue of echo test call skype. And is it possible without raising janus?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
writer_2159, 2021-10-22
@writer_2159

This is more of a setup question as a variant of asterisk.
Here, js will need to perform a maximum ajax request, the result of which will be the task (and the asterisk call files) to call the client and execute a certain script (for example, call the client, play the record, DTMF, depending on this, do something).

S
Sergey Sokolov, 2021-10-22
@sergiks

The other day I was looking at PeerJS and the simplest example of a two-way video chat in a few lines on it + Express + Node.
I have not yet figured out how to slip the server itself with a media stream from a file in response to a “test” incoming call instead of the browser of one of the peers. Not to raise a headless Chromium on the server for the sake of this? To make a tag with the desired test MP4 in it on the page, and stream<video>

const stream = document.querySelector("video").captureStream();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question