Ant Media Server save p2p video stream

578 views Asked by At

I am new at media streaming, i am using ant-media server for p2p connection. is there any way to save stream data in my local storage?

Thanks in advance.

1

There are 1 answers

2
Selim Emre Toy On

P2P connection communicates between clients. Ant Media Server P2P connection is used only for signaling. You need to record streams client layer. I have added some examples of your requirements:

How to record webcam and audio using webRTC and a server-based Peer connection

https://www.webrtc-experiment.com/RecordRTC/

https://developers.google.com/web/updates/2016/01/mediarecorder

https://mozdevs.github.io/MediaRecorder-examples/