Macromedia Flash Server - RE: Dynamically setting FLVPlayback _contentpath at

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > January 2006 > RE: Dynamically setting FLVPlayback _contentpath at





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RE: Dynamically setting FLVPlayback _contentpath at
Ritesh Jariwala

2006-01-07, 2:45 am

Hi Bill,

You had posted following code that you using flv playback component.

video_holder.FLVpb._contentPath =
"rtmp://"+myServerIP+"/ITAVIDEO/abcdefg.flv"
video_holder.FLVpb._contentPath =
"rtmp://"+myServerIP+"/ITAVIDEO/streams/_definst_/abcdefg.flv"
video_holder.FLVpb._contentPath = "rtmp://"+myServerIP+"/ITAVIDEO/abcdefg"
video_holder.FLVpb._contentPath =
"rtmp://"+myServerIP+"/ITAVIDEO/streams/_definst_/abcdefg"

Look at path _contentPath you are using please make this to contentPath so
your path location will be
video_holder.FLVpb.contentPath = "rtmp://"+mySeverIP+"/ITVIDEO/abcdefg.flv";

Try to remove _ from contentPath then try.

If still having problem post again.


With Regards,

Ritesh Jariwala (Actkid)
Freelance Developer
www.actkid.com
Company: www.synonymic.com



-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Bill Pickard
Sent: 07 January 2006 04:06
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: [FlashComm] Dynamically setting FLVPlayback _contentpath at
runtimeusing RTMP

Hi,

Here's the scenario (which is rather simple but I can't seem to find any
good info on the problem). I hope someone's come across this before and can
offer some good advice.


Using: Flash 8 Professional
Server: FCS 1.5 (updated)

User connects to FCS.
User records video.
User can playback, pause, seek, video after recording, save FLV name to
Remote Shared Object, playback at a later date.

I have it working fine with my own home-rolled version, but I'd like to use
the FLVPlayback component for it's seeking and buffering (my seek method
seems a bit inaccurate).

I've followed the MM docs, installed the main.asc from the sample directory
(according to the directions in the docs), reloaded my app, and tried
setting the _contentPath variable to
"rtmp://123.45.67.89/ITAVIDEO/"+videoName , but I keep getting:

1000: Unable to make connection to server or to find FLV on server

All of my other apps are working fine, so the problem isn't with the server.
I'm probably just using the wrong syntax, or missing something else simple,
but it's driving me up the wall.

I've searched the web, posted to MM forums, searched the chattyfig archives
(found one similar prob that was solved, but that was using the
mediaPlayback component), tried a variety of paths.. but still to no avail.


Thanks in advance,

Bill Pickard (bill_pickard[at]sfu.ca)







=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm



=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com