[Red5] Video Playback issue - need help
Gilbert Mizrahi
mizrahi at aptima.com
Thu Aug 20 16:32:30 PDT 2009
Denis, thanks. However, it doesn't seem to work.
My guess is that before (on the AIR app.) I was using a VideoDisplay Object
not related to the camera (in Flex) with the source file from the full path
(c:/Programm files .) and now with the current approach that VideoDisplay
object cannot find the flv.
Thus, I am playing back the video with
publish_ns.play(fileName);
where publish_ns is the NetStream Object I am using to record. In this case
I can play back the sound, but not the video. I am getting the following
error:
Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095:
flash.net.NetStream was unable to invoke callback onMetaData.
error=ReferenceError: Error #1069: Property onMetaData not found on
flash.net.NetStream and there is no default value.
--------------------------
When streaming from the server, it is the scope that is important, not the
folder
so: rtmp://localhost/oflademo
should be fine
then you just need to know the name of your stream, and you can connect to
it
On Thu, Aug 20, 2009 at 6:23 PM, Gilbert Mizrahi <mizrahi at aptima.com> wrote:
> Hi,
>
>
>
> I developed a little AIR app. to record and playback video a while ago and
> worked as expected.
>
>
>
> Now I am porting it to be web-based, so the Red5 server is not on the
local
> client machine.
>
> I am using Red5 0.7 I am able to record fine, but I cannot play back the
> videos.
>
>
>
> For the netconnection I have:
>
> nc.client = this;
>
> nc.connect( "rtmp://localhost/oflaDemo/" );
>
>
>
> I guess the problem when playing back is the path to the streams folder.
>
> On the AIR app. I had ?c:/Program Files/Red5/webapps/oflaDemo/streams/?
>
>
>
> On the server I cannot point to c:/Program Files?
>
> So, what I should use?
>
>
>
> I have tried: ?rtmp://mydomainName.com/?
>
> ?rtmp://mydomainName.com/olfaDemo/?
>
> ?rtmp://mydomainName.com/olfaDemo/streams/?
>
> ?rtmp://localhost.com/olfaDemo/streams/?
>
>
>
> But nothing works. I try to see what is been used on the demos, but I
> couldn?t find where the path to the videos is referenced.
>
> I am interested in playing back the videos as progressive downloads and
not
> streaming, but any solution will be fine.
>
> Thanks.
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20090820/1fabdc3d/attachment.html>
More information about the Red5
mailing list