authentication + live streaming to Android devices

Supported devices, issues and experience

authentication + live streaming to Android devices

Postby rtrimarchi » Mon Feb 28, 2011 5:47 am

Hello,

I already read the Admin info regarding the way to go if we wont to stream to an Android device: RTMP protocol Apps....

But now I need one of you guys to gimme an idea on how to have User authentication and live streaming to an android device....working together.

Authentication is very integrated into the proprietary UREAL MEDIA PLAYER (windows and win mobile 5) which it work fine.

But live streaming to Android is now at least a big problem....

Can you guys point me to have on Android, BOTH options (user auth+Live streaming) available ?

Any idea ???

Any hope to have a future Android Player ..... considering that win mobile is DEAD ???

Thanks for your help in advance :-)
rtrimarchi
 
Posts: 0
Joined: Mon Feb 28, 2011 5:00 am

Re: authentication + live streaming to Android devices

Postby admin » Mon Feb 28, 2011 8:40 pm

Use Session-based authentication.
As an example, see live demo of eLecture on your Android device.
http://www.umediaserver.net/electure/index.html

Our SDK http://www.umediaserver.net/umediaserver/source.html
has sample web apps using Session-based authentication.
admin
Site Admin
 
Posts: 406
Joined: Fri Aug 21, 2009 10:13 am

Re: authentication + live streaming to Android devices

Postby rtrimarchi » Tue Mar 01, 2011 9:08 am

Can a remote client use Authentication (web-based) and FLASH Player ?

In this case IIS is needed ?

Please...I know it might sound a silly question....But I am learning ....

Please help me....
rtrimarchi
 
Posts: 0
Joined: Mon Feb 28, 2011 5:00 am

Re: authentication + live streaming to Android devices

Postby admin » Tue Mar 01, 2011 9:45 am

Yes it can. I already pointed you to samples.
Yes you need a web application, php, ASP.NET or anything else. IIS or any other web server is needed of course.
admin
Site Admin
 
Posts: 406
Joined: Fri Aug 21, 2009 10:13 am

Re: authentication + live streaming to Android devices

Postby 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>
********************************************************************************************************************************************************************************
rtrimarchi
 
Posts: 0
Joined: Mon Feb 28, 2011 5:00 am

Re: authentication + live streaming to Android devices

Postby admin » Thu Apr 14, 2011 7:52 pm

Run eLecture live demo and take a look at the page source.
You will notice that RTMP links have Session IDs at the end.

USessionAuth example also shows RTMP link with Session ID.

You need to understand web programming to make it work.
admin
Site Admin
 
Posts: 406
Joined: Fri Aug 21, 2009 10:13 am


Return to Playing on Mobile Devices

Who is online

Users browsing this forum: No registered users and 1 guest

cron