Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tubzby opened this issue May 9, 2022 · 2 comments
Open

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

tubzby opened this issue May 9, 2022 · 2 comments

Comments

@tubzby
Copy link

tubzby commented May 9, 2022

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?

@reg2005
Copy link

reg2005 commented Sep 24, 2022

Hello, how did you solve this issue?

@tubzby
Copy link
Author

tubzby commented Sep 26, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants