I'm currently trying to develop a simple flash lite (AS 2.0) app wich plays a live-rtmp-stream from wowza media server.
The Setup is as follows:
VLC media player --> WowzaMediaServerPro --> flash lite app
I setup Wowza following this tutorial:
http://www.wowzamedia.com/forums/showthread.php?t=1350
Vlc provides a rtp stream to the WowzaMediaServerPro using commandline:
Code:
vlc.exe -vvv -I rc http://192.168.1.140:31328 --sout "#transcode{venc=x264{keyint=60,nocabac,level=2.0},vcodec=x264,vb=800,scale=1,width=320,height=240,acodec=mp4a,ab=32,channels=2,samplerate=22050}:rtp{dst=127.0.0.1,sdp=file://%WMSCONFIG_HOME%/content/vlc.sdp}"
"http://192.168.1.140:31328" is the input Stream wich VLC transcodes and streams to Wowza.
I created a new FL app with one video-Symbol and this AS 2.0 code:
Code:
var video:Video;
var nc:NetConnection = new NetConnection();
nc.connect("rtmp://192.168.1.140/rtplive");
ns = new NetStream(nc);
ns.setBufferTime(5);
video.attachVideo(ns);
ns.play("vlc.sdp");
On my PC everything is working fine, video plays well if i start the swf file.
But on my 5800XM the video plays for 1-2 seconds an than suddenly stops. This is the point where I'm stuck right now.