.ogg streams are not working
dilumn opened this issue · comments
Recently I was working on a sample streaming project & realised that .ogg
streams are not woking.
Is there a solution for that? or else this project doesn't support .ogg
streams??
Hi @dilumn
Since we are using the AVFoundation (AVPlayer), the ogg file format is not natively supported in iOS, you will need to find a way to support it yourself.
That's a good question. What are some good ogg libraries/frameworks for iOS these days? Anyone know?
After a quick research, I found this one: https://github.com/brion/OGVKit you could just import the Vorbis audio framework.
Thanks for your quick reply. I installed OGVKit
into the project. But how can I use OGVPlayer for the radio play?
You will have to find a way to replace the FRadioPlayer
's AVPlayer
with OGVPlayer
or replace all FRadioPlayer
library with OGVKit
.
Thanks for your help @fethica && @analogcode