Wowza Community

How to re-stream audio from SHOUTcast/Icecast

Charlie,

Has the issue with Nokia (is it all symbian phones?) playing an RTSP stream been resolved yet?

Tim.

Hi all,

Someone know if it’s work now with the Wowza Media Server 2. I have tried with a Nokia N77 and N82, and i can’t see the rstp stream.

Thank’s in advance!

Hi Charly,

Thank’s, I will try your patch. I will give you a feedback.

I can play the stream with VLC.

Unfortunately, the patch didn’t resolve the problem. I have the same error with both Nokia. I have tried different low profile.

Another thing, i can’t see anymore the streams with Silverlight. Can this problem come from the patch?

I’m doing Silverlight Live. I have updated the player but it doesn’t work.

hi guyz, i have a problem with the rtsp for mobile players

i testet the tutorial above and it works fine on the iphone but when i try with a nokia (symbian soft) i get disconnected and wowza says the following:

INFO rtsp connect 1012082662 -

{AACFrame: size: 0, rate:22050, channels:1, samples:1024, errorBitsAbsent:true,

profileObjectType:2}:13 88

INFO rtsp describe 1012082662 -

INFO stream create - -

INFO stream play radiostation.stream -

INFO server comment - RTPUDPTransport.bind: 0.0.0.0/0.0.0.0:6972

INFO server comment - RTPUDPTransport.bind: 0.0.0.0/0.0.0.0:6973

INFO rtsp play 1012082662 -

INFO server comment - RTPUDPTransport.unbind: 0.0.0.0/0.0.0.0:6972

INFO server comment - RTPUDPTransport.unbind: 0.0.0.0/0.0.0.0:6973

INFO stream unpublish radiostation.stream -

INFO stream destroy radiostation.stream -

INFO server comment - UDPTransport.firstPacket: 0.0.0.0/0.0.0.0:6973

INFO rtsp disconnect 1012082662 -

INFO stream destroy radiostation.stream -

INFO cupertino disconnect 1457034667 -

INFO stream stop radiostation.stream -

INFO stream destroy radiostation.stream -

INFO cupertino disconnect 610162564 -

thanx in advance!

Hi,

In streams properties:

3 .Set the Streams/StreamType property to: live

Should it be “live” or “shoutcast” (this being a shoutcast-restreaming application?

Also, is it possible to use inside Pull-from-shoutcast -> restream to iphone application the aliases module?

Thanks a lot,

Alex

Hi,

Is there, or does anybody knows a way to re-stream shoutcast audio so it would play on a desktop mac, using itunes radiostation player? I’ve successfully managed to play the stream in vlc and in iphone’s safari, but the same stream probably won’t work on desktop safari or itunes. Maybe there’s a way to do that with custom pls file?

Thanks a lot,

Alex

Is also possible to grab the audio stream and stream it to an icecast server?

Hi,

I have followed this guide but am prompted with the following error, i’m unsure of how to continue:

WARN server comment mp3demo2.stream MediaReaderH264.open[2]: java.lang.Exception: QTUtils.parseQTMediaContainer: File is missing ‘moov’ atom.

ERROR server comment - MediaReaderH264Cupertino.indexFile:java.lang.NullPointerException

Hi,

Thanks for your reply, the stream is through shoutcast - the contents being the following:

http://66.90.104.245:8062/

I’ve followed the guide directly from here (all player technologies) which suggests to use the “live” option instead of shoutcast. If i use the shoutcast streamtype with appropriate configuration, the playlist file that is generated still remains empty.

Please advise, thank you.

Might be the time you are listening, the stream is currently active with 60 listeners as we speak hmm…

The way Wowza is configured is each customer is configured with their own application, maybe this is incorrect but this seemed the most flexible method (also to control listeners and a few other items).

The application is labelled mp3demo as “live” exactly as described in the article with a file called mp3demo.stream in the content/ directory. After starting the stream from Stream manager as “mp3demo.stream” and attempting to open the following address from an iphone (with wowa-address replaced)

http://[wowza-address]:1935/mp3demo/mp3demo.stream/playlist.m3u8 that error is presented through the java console with an empty playlist provided to the iphone.

I created a stream following all the steps. It works on the flash player and rtsp://server:1935/app/stream works on vlc, but http://server:1935/app/stream/playlist.m3u8 doesn’t work on the iphone/ipad.

I am using patch9.

Anyone an idea what could be wrong?

Does the m3u8 location usually work in vlc or quicktime on the mac?

Also the flash stream is perfectly smooth, but the rtsp one has trouble keeping up (audio starving and drift errors in vlc logs, and sound is dropped for fractions of seconds) even though cpu and bandwidth usage are both below 5%.

I’m sorry about that. I thought patch9 was the latest.

updated to patch15 and it just works.

thank you very much.

So now the streaming from ec2 is fine, but on our test-server and running it from the ide we constantly run out of streams, even if there is only one stream going in and one going out. This happens when running it from quicktime or safari. Sometimes it runs for a minute and sometimes for 2 seconds. But then I have to restart the server.

INFO server comment - %%%%%%%%%%%onAppStart: weheart/_definst_
INFO application app-start _definst_ weheart/_definst_
INFO stream create - -
INFO stream publish bla.stream -
INFO server comment - ShoutCastReceiver.init: shoutcastMP3GroupCount:4
INFO server comment - ShoutCastReceiver.internalConnect: http://remote_server:8000/e2a8635713886ee1195a74996f40da55
INFO server comment - LiveStreamPacketizerCupertino.init[weheart/_definst_/bla.stream]: chunkDurationTarget: 10000
INFO server comment - LiveStreamPacketizerCupertino.init[weheart/_definst_/bla.stream]: chunkDurationTolerance: 500
INFO server comment - LiveStreamPacketizerCupertino.init[weheart/_definst_/bla.stream]: audioGroupCount: 3
INFO server comment - LiveStreamPacketizerCupertino.init[weheart/_definst_/bla.stream]: playlistChunkCount:3
INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: cupertinostreamingpacketizer:bla.stream
INFO server comment - CupertinoPacketHandler.startStream[weheart/_definst_/bla.stream]
INFO server comment - CupertinoPacketHandler.resetStream[weheart/_definst_/bla.stream]
INFO server comment - HTTPStreamManager.onHTTPRequest: Publish stream successfully started [weheart/_definst_]: bla.stream
INFO server comment - ShoutCastDecoder.checkHeader[bla.stream]: HTTP OK
INFO server comment - LiveStreamPacketizerCupertino.handlePacket: Audio codec: MP3
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[weheart/_definst_/bla.stream]: Add chunk: id:1 a/v/k:33/0/0 duration:10344
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[weheart/_definst_/bla.stream]: Add chunk: id:2 a/v/k:33/0/0 duration:10344
INFO server comment - onRTPSessionCreate: 742720431
INFO rtsp connect 742720431 -
INFO server comment - onStreamCreate: 2
INFO stream create - -
INFO rtsp describe 742720431 -
INFO stream play bla.stream -
INFO server comment - RTPUDPTransport.bind[weheart/_definst_]: 0.0.0.0/0.0.0.0:6970
INFO server comment - RTPUDPTransport.bind[weheart/_definst_]: 0.0.0.0/0.0.0.0:6971
INFO rtsp play 742720431 -
INFO server comment - UDPTransport.firstPacket: 0.0.0.0/0.0.0.0:6970
INFO server comment - UDPTransport.firstPacket: 0.0.0.0/0.0.0.0:6971
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[weheart/_definst_/bla.stream]: Add chunk: id:3 a/v/k:33/0/0 duration:10345
INFO server comment - onRTPSessionDestroy: 742720431
INFO server comment - RTPUDPTransport.unbind[weheart/_definst_]: 0.0.0.0/0.0.0.0:6970
INFO server comment - RTPUDPTransport.unbind[weheart/_definst_]: 0.0.0.0/0.0.0.0:6971
INFO stream stop bla.stream -
INFO server comment - onStreamDestroy: 2
INFO stream destroy bla.stream -
INFO rtsp disconnect 742720431 -
INFO server comment - RTSPTunnelingSession.newSessionGET[0:0:0:0:0:0:0:1%0|gLAb+LgBAAABXUMBohVDAQ]
WARN server comment - RTSPRequestAdapter.handleTunellingPOST: RTSP/RTP Tunneling session not found: 127.0.0.1|gLAb+LgBAAABXUMBohVDAQ
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[weheart/_definst_/bla.stream]: Add chunk: id:4 a/v/k:33/0/0 duration:10344
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[weheart/_definst_/bla.stream]: Add chunk: id:5 a/v/k:33/0/0 duration:10345
INFO cupertino connect 1336309237 -
INFO server comment - onStreamCreate: 3
INFO stream create bla.stream -
INFO server comment - onHTTPSessionCreate: 1336309237
INFO server comment - onHTTPCupertinoStreamingSessionCreate: 1336309237
INFO stream play bla.stream -
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[weheart/_definst_/bla.stream]: Add chunk: id:6 a/v/k:33/0/0 duration:10344
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[weheart/_definst_/bla.stream]: Add chunk: id:7 a/v/k:33/0/0 duration:10345
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[weheart/_definst_/bla.stream]: Add chunk: id:8 a/v/k:33/0/0 duration:10344
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[weheart/_definst_/bla.stream]: Add chunk: id:9 a/v/k:33/0/0 duration:10345
INFO server comment - RTSPTunnelingSession.closeSessionGET[0:0:0:0:0:0:0:1%0|gLAb+LgBAAABXUMBohVDAQ]: true
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[weheart/_definst_/bla.stream]: Add chunk: id:10 a/v/k:33/0/0 duration:10344
INFO server comment - RTSPTunnelingSession.shutdown[0:0:0:0:0:0:0:1%0|gLAb+LgBAAABXUMBohVDAQ]
WARN server comment - Licensing: *** Hit license limit for stream. Stream is stopped. ***

But why is the limitation reached with only one listener (locally, no-one but me can access it). Looks like something is happening that makes quicktime open a lot of different connections for the single session. And wowza is not closing down the old connections down.

This makes testing for iphone difficult and makes me worry about performance on the live server.

This limitation of the developer license is reached because Wowza is doing HTTP streaming whether or not you are viewing the stream in a player.

Richard

We’re using ec2 instances for the live server, but it would be nice to be able to test this stuff locally with the dev-licence. And locally I’m hitting the limit within 2 minutes with one stream coming in and 1 listener as you can see in my paste of the logs.

Although now I’m beginning to trust a bit more that playing from quicktime will just work if the flash-player works I guess I can test from the flash-player.

Does the shoutcast application opens a new connection with the shoutcast server for each client that has to serve?

I mean if there is two clients using the shoutcast application, the shoutcast application will have 2 connections to the shoutcast server?

We are talking about one and only one stream!

Hello,

i just started with wowza (dev version) in order to restream MP3-and AAC-Icecast-Streams to Flash and iPhone.

I setup wowza recording to the All Player Technologies Re-Stream Howto, configured the firewall and started the streams via the stream-manager.

The Flash-Stream works perfect. But i can get the RTP-Stream to work.

With VLC or a nokia N97 the console just shows entries like this:

INFO rtsp connect 1748925741 -
INFO stream create - -
INFO stream unpublish - -
INFO stream destroy - -
INFO rtsp disconnect 1748925741 -

With Quicktime a get the following lines:

INFO server comment - RTSPTunnelingSession.newSessionGET[84.58.211.102|KOwq6ssHAABfDTIAHIAAAA]
INFO server comment - RTSPTunnelingSession.newSessionPOST[84.58.211.102|KOwq6ssHAABfDTIAHIAAAA]
INFO rtsp connect 842256068 -
INFO stream create - -
INFO stream unpublish - -
INFO stream destroy - -
INFO server comment - RTSPTunnelingSession.closeSessionPOST[84.58.211.102|KOwq6ssHAABfDTIAHIAAAA]: true
INFO server comment - RTSPTunnelingSession.closeSessionGET[84.58.211.102|KOwq6ssHAABfDTIAHIAAAA]: true
INFO server comment - RTSPTunnelingSession.shutdown[84.58.211.102|Zf5OPop7AAA1DDIAGoAAAA]
INFO server comment - RTSPTunnelingSession.shutdown[84.58.211.102|KOwq6ssHAABfDTIAHIAAAA]

The iPhone-Stream i cannot test. But i guess fixing the RTP-Stream means getting a working iPhone Stream.

Can someone point me in the right direction?

Regards

.nowrap

// EDIT

Sorry, my fault. Somehow there is a definst in the URL, like shoutcast/definst/radio.stream

How do i get rid of this one?

Everything is working so far with the dev setup except for some Lagging with in the RTP-Streaming. I couldn’t test the Iphone streaming, yet

But how can i change “definst” to a more readable path?

I just followed the tutorial.

Regards

.nowrap