Open mertyildiran opened 5 years ago
By looking this file I can say FLV format is not supported. Could we add FLV support to this library?
Look at the dev branch, native support for FLV record. Will be merged into the mainline in the future
@illuspas I sent this PR but it become redundant then :blush:
If you are talking about this merge then I cannot see anything related to recording on there. Don't we need a flv: true
option in config? I have added that with my PR. Do you want me to send that PR into dev branch?
This feature should be more comprehensive, like nginx-rtmp record function is configurable. I don't have much free time these days. Maybe you can do it 😄
@illuspas yeah, I have some experience on nginx-rtmp. I'm using my PR on an application and it works just fine. What else should I implement to make it more comprehensive? If you explain a little bit more in detail then I can add the necessary code blocks for you.
Do you want a more configurable recording functionality like in nginx-rtmp#Record? Like recording only audio, keyframes or specifying a file name pattern? Please list the features and I will try to implement them.
Is it possible to record in FLV format? I would like to record in FLV format because if something goes wrong and MP4 does not finish properly then it becomes corrupted:
FLV format does not have such a problem.