javakurento

Kurento group call example : Can we record each individual user's mediapipeline separately?


In Kurento Group call example is it possible to record each individual user's mediapipeline separately?


Solution

  • Yes, you can record each user's WebRTC media element separately. A couple of suggestions:

    You'll have to connect the recorder to the outgoingMedia element, located in the UserSession. You can add the recorder initialisation in the constructor, and the listener for the MediaStatechangedEvent similar to the IceCandidateListener, so you start recording once media starts to flow between the client and the media server.