 rtmpdump restream paasing parameter
Hi
i have code like this
flowplayer("player", {
src:"/flash_prod/flowplayer/flowplayer.commercial-3.1.5.swf",
cachebusting : true
},{
key: '#@f103268b30378304c4c',
clip: {
provider: 'rtmp',
live: true,
scaling: 'fit'
},
logo : {url:''},
playlist : ['ddl-750.sdp'],
contextMenu: [
{'Ddl.tv ...' : function() {
location.href = "http://www.ddl.tv";
}}
],
plugins: {
rtmp: {
url: '/flash_prod/flowplayer/flowplayer.rtmp-3.1.3.swf',
netConnectionUrl: 'rtmp://1.2.3.4/rtpddllive',
username: '123@gmail.com',
hashPassword: 'e10adc3949ba59abbe56e057f20f883e',
forceWidth: 464,
forceHeight: 368,
statUrl: 'http://ddl.tv/flash_prod/stats'
}
}
});
i am doing restream like this
sh -c "rtmpdump --live -r "rtmp://1.2.3.4/rtpddllive/ddl-750.sdp" -a "rtpddllive?doConnect=username=123@gmail.com&hashP assword=e10adc3949ba59abbe56e057f20f883e" -p "http://www.ddl.tv/" -W "http://ddl.tv/flash_prod/flowplayer/flowplayer.commercial-3.1.5.swf" -q | ffmpeg -i - -re -isync -acodec libfaac -ab 128000 -ar 32000 -vcodec libx264 -vpre veryfast -b 450k -f flv "rtmp://1.2.3.4:1935/live/tv" &
>/dev/null 2>&1 &"
so there 3 thing i have to pass
1.) flow player key
key: '#@f103268b30378304c4c'
2.) username
3.)hashpassword
any body help me how to pass 3 parameter for restream.
above way i cant process request.
please help
thanks
|