Skip to main content
Inspiring
May 17, 2007
Answered

FMS/FLVPlayback

  • May 17, 2007
  • 22 replies
  • 3303 views
FMS is installed. I have my .flv file under my directory for the application. Trying to use the FLVPlayback in Flash 8 to call it using rtmp://myserver/myapp/_definst_/myvideo.flv. Publish and it just brings up a blank screen. never plays. I know the .flv file works ok. I can see it connecting to the FMS so I know that is working ok. My application does use UC/LC combination and i read something that says it might be a problem. Any help??? I have the main.asc file from the Flash8 components sample (although that does say it is for the old 1.5 server).
    This topic has been closed for replies.
    Correct answer hml398
    OK - for anyone doing research - first try a sample .flv from somewhere if you are having problems. The connection string that works:

    rtmp://servername/applicationname/flvfile

    22 replies

    May 17, 2007
    The FLVPlayback component connects to FMS when you specify an rtmp path in the contentPath. The FLVPlayback component calls a remote procedure to check the bandwidth before it starts to stream the flv. If it does not get a onBWDone result, it does not play.

    put this in you onConnect method of your main.asc to ensure it receives the result.

    application.onConnect = function(p_client)
    {
    p_client.call("onBWDone");
    }

    hml398Author
    Inspiring
    May 17, 2007
    that is in there as well. Sigh - any other ideas on why it just opens a blank screen>? I put another layer in the flash with some text and that shows up!
    May 17, 2007
    hml398,
    Two things u need check for in the FLVPlayback component is the isLive setting (true fro streaming the FLV from FMS) and drop the flv extension in the contentPath param.

    Make sure your flv is stored under you streams/_definst_ direcotry for the conenction. Also, the FLVPlayback component expects a return from FMS called onBWdone, which is located in the sample main.asc file.

    Regards,
    Shack
    hml398Author
    Inspiring
    May 17, 2007
    I have those things - is live is set to true and I have removed the flv extension. No dice. what does this mean??

    Also, the FLVPlayback component expects a return from FMS called onBWdone, which is located in the sample main.asc file.