Hey Brian.  Can you give a little more info?  Are you passing a smil xml
file to the flv player or are you trying to detect based on the bandwidth
profile being returned from the server?



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Weil
Sent: Tuesday, October 03, 2006 10:38 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] VitalStream Bandwidth detection

Does anybody have code to detect users bandwidth on VitalStream? I'm using
the custom player source provided by vitalstream but it only works with
single bitrate streams. When I try to use a multi bitrate stream as the
sname parameter in the m_XMLURI string the player fails. Looking through
the
source code I found some clues as to why it is not working, but don't have
a
lot of time to debug the code and find the solution. I've been working with
VitalStream support on this and they are no help at all. They sent me links
to an irrelevent adobe tutorial as their solution.

Here is a fragment of code from that player that hints about bandwith
detection but also says it is not used?!!?

[code]
//the server calls this object to continue (auto bandwidth detection is
complete)
                this["nc"+i].onBWDone = function(p_bw) {
                        trace("onBWDone: "+p_bw);
                        //we pass the successful netConnection and the
calculated bandwidth speed to
                        // the onconnected function to continue
                        this.mc.onConnected(this, p_bw);
                };
                m_payload = 0;
                //this function is not currently used; it is for checking
bandwidth speed
                // initiated by the server
                this["nc"+i].onBWCheck = function() {
                        trace("onBWCheck returning:
"+(this.mc.m_payload+1));
                        return ++this.mc.m_payload;
                };
[/code]

So my question is: Does anybody have a working (multi-bitrate streams)
example of a video player for the VitalStream content delivery system? They
have players that work with multi-bitrate streams in .swf format but do not
release the flv source for those players. 

Any help would be appreciated. A working .fla example would be priceless!

Thanks,
Brian


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to