Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

gstreamer, wowza and jwplayer = audio issue

2 replies [Last post]

Hi.
I'm trying to send live audio form a dvb card with gstreamer to a Wowza server and then play audio flash from jwplayer.

The problem is that I can't hear the audio in jwplayer.

I'd tested it with a mp3 file and the following command:

gst-launch-0.10 -v filesrc location=/share/sample.mp3 ! flump3dec ! queue max-size-buffers=0 max-size-time=0 ! ffenc_libfaac ! queue max-size-buffers=0 max-size-time=0 ! queue max-size-buffers=0 max-size-time=0 ! rtpmp4apay ! udpsink host=192.168.1.168 port=6060

Wowza caught it and I have this SDP:

v=0
o=- 116704633 116704633 IN IP4 127.0.0.1
s=GStreamer
t=0 0
a=range:npt=now-
a=control:trackID=1
c=IN IP4 192.168.1.168
m=audio 6060 RTP/AVP 96
a=rtpmap:96 MP4A-LATM/48000/2

But, if I try to play that SDP in jwplayer, It looks loke loading, but doesn't play anything...

Wowza doesn't echo any errors, when I connect from jwplayer to play, it only says (I turn the debug off):

INFO session connect-pending 192.168.1.128 -
INFO session connect 192.168.1.128 -
INFO stream create - -
INFO server comment - MediaStreamMediaCasterPlay: startPlay
INFO stream play rtplive.sdp -

Has Anybody any idea?

Thanks

Have you managed to get any client to play the audio?

Any Flash client that is .. it looks like Wowza is relaying this as a Shoutcast stream, while you really need an RTMP MP3 stream to play this in Flash.