ion-sfu icon indicating copy to clipboard operation
ion-sfu copied to clipboard

[Need Suggestion] What's the ideal way to record video?

Open tubzby opened this issue 2 years ago • 2 comments

Currently ion-sfu polling packet from UpTrack and writing to DownTrack in

func (w *WebRTCReceiver) writeRTP(layer int) {
  ...
}

I want to record the UpTrack into a mp4 file, should I add my code in this function, or add a new callback in pkg/buffer/buffer.go? Are there other alternatives?

tubzby avatar May 09 '22 07:05 tubzby

Hello, how did you solve this issue?

reg2005 avatar Sep 24 '22 17:09 reg2005

@reg2005, I haven't tried it yet. I'm thinking of doing it in another process, might be simple and less intrutive.

tubzby avatar Sep 26 '22 01:09 tubzby