Theos
Theos

Reputation: 666

Live OGG streaming

I'm creating an iOS application in Xamarin.iOS (MonoTouch) and would like to connect to an OGG live stream and play it. I've found the NVorbis library, but as far as I can see it doesn't support reading a live stream. And I'm also not really sure if this library is supported for Xamarin.iOS. Same for the csvorbis code, it doesn't seem to support live streaming.

I don't mind to change or create code to add support for live-streaming, but I'm not exactly sure how to do this. Do I then to download portions of the stream and then play it, and doing this with every portion I download?

Of course I prefer an existing solution :)

Upvotes: 0

Views: 1351

Answers (1)

ioctlLR
ioctlLR

Reputation: 1232

Tim,

NVorbis is my project. While it doesn't currently support real-time protocols (RTSP & such), you might be able to use a NetworkStream instance with it successfully. The decoder handles pages / packets as-needed, so it should work pretty well.

Please note, I haven't tested the forward-only Ogg reader logic in a long time, so there may be bugs...

Upvotes: 1

Related Questions