Leo Bernard
Leo Bernard

Reputation: 314

Streaming Audio with Icecast Protocol using Objective-C

Is it possible to use Objective-C to broadcast audio using the Icecast protocol?

For Node.JS I've found the library nicercast which seems to work pretty well. Is there an open-source equivalent for Objective-C or do I have to implement the protocol myself?

If I'll have to implement the protocol myself, then what do I need to know? From the Node.JS Library I've seen that essentially, the server broadcasts an MPEG-stream using a normal web server and just sending the raw data over to the client.

Does this MPEG stream contain the metadata or do I have to send it separately?

Thanks in advance

Upvotes: 0

Views: 568

Answers (1)

TBR
TBR

Reputation: 2880

Why not stream to an Icecast server instead? It's small enough to even run on embedded devices without big issues. The nicercast implementation is nowhere close to being "Icecast compliant" as they claim. If you want to know why, look at the Icecast sources or e.g. the supported formats.

I know it's en vogue to reinvent the wheel, badly and incompletely. But I'm at least going to remind you that it's not necessarily a good idea.

Upvotes: 1

Related Questions