by rtrimarchi » Thu Apr 14, 2011 3:34 am
Sir,
The Flash Player examples you pointed me (sdk 7.5) do not have any session based authentication applied.
Those examples work with NO AUTHENTICATION...using the "anonymous login" method
In the "USessionAuth" example, inside the "default.aspx", does not use any FLASH PLAYER object, but ONLY TCP ActiveX.
Can you help me on HOW to use/pass the session using the FLASH Plugin ???
What is the line of code I need to add .... and where ?????
Can you help me ...please...
As you can see below, with both scripting and non scripting FLASH examples, I don't know how to use/forward the session auth to the media server.
**********************************************************************************************************************************************************************************
<OBJECT id="UPlayer3" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0" id="FLVPlayer" width="480" height="360" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="FlashPlayer/player-glow.swf" /> <!-- player-quick.swf -->
<param name="flashvars" value="content=rtmp://xx.xx.xx.xx:22000/live/logitech1&showLiveCaption=true&livelabelshowbg=false" />
<embed src="FlashPlayer/player-glow.swf" quality="high" bgcolor="#333333" width="480" height="360" name="FLVPlayer" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" allowFullScreen="true"
flashvars="content=rtmp://xx.xx.xx.xx:22000/live/logitech1&showLiveCaption=true&livelabelshowbg=false" />
</OBJECT>
********************************************************************************************************************************************************************************
<body id="unload-trigger-element">
<!-- player container -->
<div id="player-container"><p>Please install Adobe Flash Player</p>
</div>
<script type="text/javascript">
embedPlayer('player-container', {
flashvars : {
'rtmp' : 'rtmp://xx.xx.xx.xx:22000/live/logitech1', //rtmp link to UMS live broadcast alias; not set by default
'autoplay' : true, //start playing automatically; true by default
'showMetadata': true, //display server metadata; true by default
'showLiveCaption' : true, //display "Live" label with time; false by default
'livelabelshowbg': true, //display only time on "Live" label; false by default
'showErrorInPlayer' : true, //show error text in the player; true by default
'autoReconnect' : true //reconnect if working connection breaks; false by default
// 'logopath' : 'yourlogo.gif', //url of your logo; not set by default
// 'ownerlink' : 'http://www.yoursite.com', //where to go when logo is clicked; not set by default
// 'poster': 'yourposter.jpg' //path to your poster, for non-autoplay mode; not set by default
},
size : { width: 640, height: 360 },
playerStyle : 'quick'
});
</script>
</body>
********************************************************************************************************************************************************************************