[Need Suggestion] What's the ideal way to record video?
tubzby opened this issue · comments
tubzby commented
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?
Evgeniy commented
Hello, how did you solve this issue?