Hi Mike,

There is no MediaDisplay class in Flex 2.0. VideoDisplay is a face-less
component which you can wrap into any UI to do things.


Can you please tell me the directory structure of flashcomm application?
What does "video_app1" corresponds in this url:
rtmp://localhost/video_app/video_app1/myvideo?



I give you an example:

<flash_comm_application_directory>
        video_app
                streams
                        _definst_
                                video.flv

                scripts
                        main.asc



<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml";>
        <mx:VideoDisplay url="rtmp://localhost/video_app/video"
autoPlay="true" />
</mx:Application>

Also you need main.asc on server-side to stream flv to VideoDisplay. I
need to check docs, if it is not documented there. Also we need to
provide proper setup instructions in docs also. I am sorry if it is
missing.

This is the same file which Peldi's provided with his FLVPlayer. This
file does bandwidth detection and returns the stream length etc.

I think, alpha documentations are missing it. So please find the
attached main.asc and place it under "scripts" directory inside your
flashcomm application directory, as shown above.


Let me know, if you still see problem.


-abdul







-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Wall
Sent: Thursday, December 08, 2005 2:59 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Newbie Flex/Media Server problem


Thanks for the link Matt. I tried to build it in my env but I've got 
a problem in that the LiveMediaDisplay class extends the 
mx.controls.MediaDisplay class which I can't access in my flex 
installation (I'm using Flex 2.0 a1). I'm assuming that the code in 
this is written for Flex 1.5?



--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Have you read this article by Christophe?
> http://coenraets.com/viewarticle.jsp?articleId=90
> 
>  
> 
> In the source code for that app is a LiveMediaDisplay class that we 
used
> to work around some issues that we had with playing a Flashcom 
streams.
> It might help you out...
> 
>  
> 
> Matt
> 
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Mike Wall
> Sent: Wednesday, December 07, 2005 5:50 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Newbie Flex/Media Server problem
> 
>  
> 
> 
> Hello all,
> 
> I'd like to ask for some help on streaming FLV's from Media Server 
to 
> a Flex app.
> 
> I've configured a basic app in Media Server based on the component 
> framework. Then tried using the mx:VideoDisplay control in Flex to 
> conect to a named instance of the app by supplying 
> url="rtmp://localhost/video_app/video_app1/myvideo" but in media 
> server console I see a conection to the default instance of the app 
> not the named one.
> 
> I've also tried creating a NetConnection and NetStream then 
> connecting the NetStream to a flash.net.Video with the 
attachNetStream
> () method. The connection to Media Server works ok and I can see a 
> live stream having been create in the Media Server console but I 
> can't get Flex to draw the Video object. 
> 
> Which of these ways is best and could someone please help me to get 
> one method working.
> 
> Hopefully,
> 
> Mike
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> 
> 
> 
> 
> ________________________________
> 
> YAHOO! GROUPS LINKS 
> 
>  
> 
> *      Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>         
> *      To unsubscribe from this group, send an email to:
>        [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> 
>         
> *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> . 
> 
>  
> 
> ________________________________
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Attachment: main.asc
Description: main.asc

Reply via email to