Open aromancev opened 3 years ago
hi @aromancev, we are no longer maintaining the avp. A better approach is to use the go sdk and gstreamer to record the sfu feeds. You can see an example here: https://github.com/pion/ion-sdk-go/tree/master/example/ion-sfu-gstreamer-receive. Please join us in #ion in the gophers slack if you have questions
The problem is that after webmsaver
recording starts, webmsaver
does not write EOF
when the video stream has been disconnected, and the file is occupied when ion-avp
is not stopped.
hi @aromancev, we are no longer maintaining the avp. A better approach is to use the go sdk and gstreamer to record the sfu feeds. You can see an example here: https://github.com/pion/ion-sdk-go/tree/master/example/ion-sfu-gstreamer-receive. Please join us in #ion in the gophers slack if you have questions
Oh, that's a bummer. Thanks for the tip though!
Maybe we should slap "DEPRECATED, use ion-sdk" at the top of the readme?
Your environment.
Everything is running on a local machine, so network issues are unlikely to be the reason.
Config:
What did you do?
What did you expect?
A readable file of the correct duration is produced.
What happened?
An invalid
webm
is produced. Can't be opened by browser or VLC. The binary size is always exactly 440 bytes.I suspect this is because of some concurrency issue, but I can't put my finger on it. Isn't it supposed to work even if a peer has joined for a short duration? If this helps,
ffmpeg
conversion produces this error:Thanks for the help!