I gave this cmd: ffmpeg -i [hls-stream-url] -f mp3 rtmp://[wowza-server-ip]/live/audioStream
and tried to save the file on Wowza…Wowza creates just 1kb file
and after few seconds the audiostream closes on its own on Wowza server whereas my ffmpeg is still streaming the audio.
I use rtmp://[wowza-server-ip]/live/audioStream to play the audio in vlcplayer
Following is the Wowza log during this test:-
2015-10-03 14:06:32 IST app-start application INFO 200 definst live/definst - - - 1087.251 - - - - - - - - - - - - - - - - - - - - - - - - -
2015-10-03 14:06:32 IST connect-pending session INFO 100 192.168.0.115 - defaultVHost live definst 0.407 [any] 1935 rtmp://192.168.0.115:1935/live 192.168.0.115 rtmp - unknown 1344473653 3179 3073 - - - - - - - - - - - - - rtmp://192.168.0.115:1935/live -
2015-10-03 14:06:32 IST connect session INFO 200 192.168.0.115 - defaultVHost live definst 0.412 [any] 1935 rtmp://192.168.0.115:1935/live 192.168.0.115 rtmp - unknown 1344473653 3179 3073 - - - - - - - - - - - - - rtmp://192.168.0.115:1935/live -
2015-10-03 14:06:32 IST create stream INFO 200 - - defaultVHost live definst 0.039 [any] 1935 rtmp://192.168.0.115:1935/live 192.168.0.115 rtmp - unknown 1344473653 3304 3413 1 0 0 0 - - - - - - rtmp://192.168.0.115:1935/live rtmp://192.168.0.115:1935/live - rtmp://192.168.0.115:1935/live -
2015-10-03 14:06:32 IST publish stream INFO 200 audiostream - defaultVHost live definst 0.055 [any] 1935 rtmp://192.168.0.115:1935/live 192.168.0.115 rtmp - unknown 1344473653 3357 3609 1 0 0 0 audiostream - - - - - rtmp://192.168.0.115:1935/live/audiostream rtmp://192.168.0.115:1935/live/audiostream - rtmp://192.168.0.115:1935/live -
2015-10-03 14:07:05 IST comment session INFO 401 1344473653 client connectionClosed [1344473653] pingtimeout defaultVHost live definst 32.69 [any] 1935 rtmp://192.168.0.115:1935/live 192.168.0.115 rtmp - unknown 1344473653 3357 3788 - - - - - - - - - - - - - rtmp://192.168.0.115:1935/live -
2015-10-03 14:07:05 IST unpublish stream INFO 200 audiostream - defaultVHost live definst 32.259 [any] 1935 rtmp://192.168.0.115:1935/live 192.168.0.115 rtmp - unknown 1344473653 3357 3788 1 0 0 0 audiostream - - - - - rtmp://192.168.0.115:1935/live/audiostream rtmp://192.168.0.115:1935/live/audiostream - rtmp://192.168.0.115:1935/live -
2015-10-03 14:07:05 IST destroy stream INFO 200 audiostream - defaultVHost live definst 32.261 [any] 1935 rtmp://192.168.0.115:1935/live 192.168.0.115 rtmp - unknown 1344473653 3357 3788 1 0 0 0 audiostream - - - - - rtmp://192.168.0.115:1935/live/audiostream rtmp://192.168.0.115:1935/live/audiostream - rtmp://192.168.0.115:1935/live -
2015-10-03 14:07:05 IST disconnect session INFO 200 1344473653 - defaultVHost live definst 32.695 [any] 1935 rtmp://192.168.0.115:1935/live 192.168.0.115 rtmp - unknown 1344473653 3357 3788 - - - - - - - - - - - - - rtmp://192.168.0.115:1935/live -
2015-10-03 14:08:05 IST app-stop application INFO 200 definst live/definst - - - 1179.976 - - - - - - - - - - - - - - - - - - - - - - - - -
Thanks.
Hi,
Please post an example of the URL you’re using for playback (using [Wowza-IP-Address] to hide the IP address if required]
By default Wowza will use the mp4: prefix and you may need to change this to mp3: if it’s an audio only stream.
Are you seeing any issues within the log files when the stream is being published?
Regards,
Jason