1

I am working on an watchOS app.

There is a .ogg opus file locally and I need to listen to it on AVplayer. But AVPlayer currently does not support it.

To listen on AVPlayer, I need to decode the opus file as I understand. So I followed these two threads which are How to decode self-delimited opus in iOS and How to encode and decode Real-time Audio using OpusCodec in IOS? but I couldn't succeed.

I always get error while decoding data.

I have been trying for 2 days to find a solution. Can anybody explain how I can do it?

TuracBey
  • 232
  • 2
  • 10

0 Answers0