| Bill Pickard 2006-01-06, 5:46 pm |
| The videos are located in the streams/_definst_ directory of my app
instance.
The value for the flvname in this instance is abcdefg.flv
I've tried the following:
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"
The thing is that the name of the flv is a variable taken from a list
component, everything traces out fine, no pathing problems etc. It works
when I specify the static path to the FLV in the component inspector, just
not when I'm attempting to set it at runtime. Is this a limitation of the
component or something? Should I be using the mediaplayback component
instead (although it's uglier).
Thanks,
Bill
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Graeme Bull
Sent: Friday, January 06, 2006 3:14 PM
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Dynamically setting FLVPlayback
_contentpathatruntimeusing RTMP
whoops... I should have properly read all the email..
Anyways, what is in the value for the flvname? Are you including the .flv
extension in there?
Where are the videos?
Graeme
-----Original Message-----
From: Bill Pickard [mailto:bill_pickard-z1KUqvL5UUQ@public.gmane.org]
Sent: Saturday, January 07, 2006 8:02 AM
To: graeme.bull-lB/6vUJvybQOPmVbiNFCMNBPR1lH4CV8@public.gmane.org; 'FlashComm Mailing List'
Subject: RE: [FlashComm] Dynamically setting FLVPlayback _contentpath
atruntimeusing RTMP
Hi Graeme,
Yes I installed the required main.asc, put a few of my own functions into
it, reloaded the app. But still to no avail.
Any other suggestions?
Bill
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Graeme Bull
Sent: Friday, January 06, 2006 2:47 PM
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] Dynamically setting FLVPlayback _contentpath
atruntimeusing RTMP
Have you put the required main.asc file in the application directory?
Graeme
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Bill Pickard
Sent: Saturday, January 07, 2006 7:36 AM
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
=-----------------------------------------------------------
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
|