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.
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.
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/