ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.
https://antmedia.io
Other
4.24k stars 621 forks source link

record without publishing #3159

Open alexpinchao opened 3 years ago

alexpinchao commented 3 years ago

Is your feature request related to a problem? Please describe.

when I try to record video joining a single person to a personal room in some browsers like chrome and microsoft edge I get this error from the webRTC_adapter.js script .... noSetRemoteDescription.

then I would like there to be a way to record without publishing or I don't know if it already exists but so far I have not found anything about it

Describe the solution you'd like

I am trying to use ant server to record short videos of job interviews, currently amazon s3 automatically records when I give it to publish, but I do not want another person to connect, I only want to record the video of the interviewees

Describe alternatives you've considered

Additional context

mekya commented 3 years ago

Hi @alexpinchao ,

NotSetRemoteDescription problem occurs in codec incompatibility. Do you have a reproduce scenario?

For the future request, we don't support recording on the client side. It's a feature that a web developer can implement easily. Here is a sample for that -> https://webrtc.github.io/samples/src/content/getusermedia/record/

We can also think adding this feature to the client side.

Regards, A. Oguz