VBR and Flash Media Server stream length detection could be the source of
this problem. I have done work for VitalStream before and seen this issue
come up with MP3 streaming at least. To get a more detailed answer, this is
a question better asked on the Flash Media Server forums: FlashMedia
[EMAIL PROTECTED]


- rob sandie




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Weil
Sent: Tuesday, October 03, 2006 12:38 PM
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