imkira / go-libav

Go language bindings for ffmpeg libraries
MIT License
522 stars 93 forks source link

hlsenc support #35

Closed mkozjak closed 7 years ago

mkozjak commented 7 years ago

Hi,

Is there a way to include hlsenc (a part of libavformat) to be able to encrypt HLS content?

imkira commented 7 years ago

What API specifically do you need? As far as I can see you just need to set the appropriate options when creating the format/encoder context to be able to encrypt with HLS. There is no way though to call HLS functions explicitly as they are private.

mkozjak commented 7 years ago

Yeah, they are private so I'm closing the ticket. Already found the solution for my problem, too.