Hello i was like you don't know what to do but finally i could to connect to my
new project Here is what you have to do if you are using windows:
First you have to install java SDK + jdk
then you have to download eclipse program
and setup RED5
some note before you watch the video tutorial about how to create new
application
if you are like me have no knowledge about JAVA here is a small concept about
this program i wasn't know
Red 5 is a project so if you want to add any new project inside it you have to
add it with a program can rebuild the red5 project with the new information
you added
that why you have to use eclipse program
here is the first Tutorial about how to make new Application
http://www.newviewnetworks.com/nvnHome/blog/client/index.cfm/2006/5/12/Video-Demonstration-Creating-a-new-application-with-Red5
and here is the second tutorial the author forget some information in the
first tutorial and the second tutorial is covering it
http://www.newviewnetworks.com/nvnHome/blog/client/index.cfm/2006/5/22/Red5-Creating-a-new-application--correction
about how to connect Yes your code is right
var nc:Netconnection = new NetConnection();
nc.connect("rtmp://host/applicationName");
nc.onStatus = function (info){
trace(code.info);
}
I'm also New with Red5 but after this Tutorial i could make a new application
and connect it and i also streamed a video with the same client code as FMS
nothing change in client side but i think what will chant is the Server side it
will not be SSAS(server side action script)
it will be JAVA
or python
or javascript
or some other language i don't know like ruby I'm not sure what it is may be
someone else can help you with the server side.
Best Regards Mohamed Sabry (Multimedia Developer,Web Designer,software
analyzer) Onlinehorizons Team
> From: [EMAIL PROTECTED]> Subject: Red5 Digest, Vol 17, Issue 16> To:
> [email protected]> Date: Thu, 4 Jan 2007 12:00:17 -0500> > Send Red5 mailing
> list submissions to> [email protected]> > To subscribe or unsubscribe via the
> World Wide Web, visit> http://osflash.org/mailman/listinfo/red5_osflash.org>
> or, via email, send a message with subject or body 'help' to> [EMAIL
> PROTECTED]> > You can reach the person managing the list at> [EMAIL
> PROTECTED]> > When replying, please edit your Subject line so it is more
> specific> than "Re: Contents of Red5 digest..."> > > Today's Topics:> > 1.
> Running red5 on linux (Vishnu Vardhan)> 2. Running red5 on linux (joseph
> wamicha)> 3. Re: Flash8 Pro or Flex client builder? (oke _)> 4. Patch for
> transient fields in Serializer (Sebastian Hartte)> 5. Flash8 Pro or Flex
> client builder? (joseph wamicha)> > >
> ----------------------------------------------------------------------> >
> Message: 1> Date: Thu, 4 Jan 2007 14:27:30 +0900> From: "Vishnu Vardhan"
> <[EMAIL PROTECTED]>> Subject: [Red5] Running red5 on linux> To:
> [email protected]> Message-ID:> <[EMAIL PROTECTED]>> Content-Type: text/plain;
> charset="iso-8859-1"> > Hi,> > I am new to linux, and I need to setup Red5 on
> Linux server so I went and> installed red5(red5-0.6rc1) I have also installed
> Apache Ant (/apache-> ant-1.7.0)> > when I tried to run Ant I get the below
> error> > Exception in thread "main" java.lang.NoClassDefFoundError:>
> org/apache/tools/ant/launch/Launcher> > And when I tried from red5 folder I
> get this error> > $ cd /usr/local/red5-0.6rc1> $ ant> Buildfile: build.xml> >
> BUILD FAILED> file:/usr/local/red5-0.6rc1/build.xml:55: Unexpected element
> "echo"> > Total time: 0 seconds> > I am lost I dont know what to do and where
> to search for it whether the> server is working or not. When i try to connect
> from other system> > nc = new NetConnection();>
> nc.connect("rtmp://912.168.1.180/oflaDemo"); (I am not sure this syntax is>
> correct for red5 I guess for FMS the syntax is like this)> > I get
> NetConnection.Connect.Failed, i guess the server is not up and> running...> >
> I think this looks little stupid but I dont know how to put my problem in>
> correct way...if anybody understood where I am going wrong please put me in>
> the right direction or help me setting up the red5 server on linux.> > Thanks
> in advance for your time and help.> > Best Regards> Vishnu> --------------
> next part --------------> An HTML attachment was scrubbed...> URL:
> http://osflash.org/pipermail/red5_osflash.org/attachments/20070104/0ccb1af9/attachment-0001.htm>
> > ------------------------------> > Message: 2> Date: Thu, 4 Jan 2007
> 11:40:03 +0300> From: "joseph wamicha" <[EMAIL PROTECTED]>> Subject: [Red5]
> Running red5 on linux> To: [email protected]> Message-ID:> <[EMAIL
> PROTECTED]>> Content-Type: text/plain; charset="iso-8859-1"> > Hi Vishnu,> >
> You need to download the jdk from sun and put it in your path. The default>
> jvm normally doesn't work, red5 requires SUN's jdk. Also maybe try to>
> checkout the latest trunk since bugs such as playing large flv files is>
> corrected.> For an example of how to connect to red5 you may use John Grden's
> player.> Please find instructions on how to do all this and set up your red5>
> development environment on the following link:>
> http://jwamicha.wordpress.com/2006/12/14/red-5-beginners-guide/> > >Hi,> > I
> am new to linux, and I need to setup Red5 on Linux server so I went and>
> installed red5(red5-0.6rc1) I have also installed Apache Ant (/apache->
> ant-1.7.0)> > when I tried to run Ant I get the below error> > Exception in
> thread "main" java.lang.NoClassDefFoundError:>
> org/apache/tools/ant/launch/Launcher> > > -- > C is forever.> --------------
> next part --------------> An HTML attachment was scrubbed...> URL:
> http://osflash.org/pipermail/red5_osflash.org/attachments/20070104/4793d967/attachment-0001.htm>
> > ------------------------------> > Message: 3> Date: Thu, 4 Jan 2007
> 04:09:55 -0800 (PST)> From: oke _ <[EMAIL PROTECTED]>> Subject: Re: [Red5]
> Flash8 Pro or Flex client builder?> To: [email protected]> Message-ID: <[EMAIL
> PROTECTED]>> Content-Type: text/plain; charset="iso-8859-1"> > Thanks for the
> info Michael. But it really didn't address my original questions. Still
> looking for specific answers...> > Michael Klishin <[EMAIL PROTECTED]> wrote:
> Flash standart library components are built on top of several classes> like
> Video, NetConnection and NetStream. That's exactly what John> used to create
> his own classes for Red5 demo applications.> > What you are talking about
> looks more like a client-side framework> using, say, Registry design pattern
> for net connections pool that are> accessible from anywhere in your app. But
> that's the question of> application design and can be discussed for years.> >
> There are no "Red5 components" as well as "required components" at>
> client-side in Flex/Flash. You just use several simple classes and> handle
> events. You can build much more complicated frameworks with it> if you wish.>
> > On 04/01/07, oke _ wrote:> > At this point, I'm still missing how to tie a
> Red5 component to my net> > connection. Do you have to explicitly create a
> net connection object? If so,> > how would you make sure all the components
> on the stage "talk" to the> > connection object? And if not, where/how do you
> specify the url of the> > remote server and tie the stage objects to it?> >
> Thanks.> > -- > This was freedom. Losing all hope was freedom.> > Flex wiki
> (russian): flexwiki.novemberain.com> Red5 bug track: jira.red5.org> Red5
> wiki: wiki.red5.org [use JIRA account]> > Chasing the beauty in programming:>
> www.ruby-lang.org | www.rubyonrails.org> >
> _______________________________________________> Red5 mailing list>
> [email protected]> http://osflash.org/mailman/listinfo/red5_osflash.org> > >
> __________________________________________________> Do You Yahoo!?> Tired of
> spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com
> > -------------- next part --------------> An HTML attachment was
> scrubbed...> URL:
> http://osflash.org/pipermail/red5_osflash.org/attachments/20070104/f6867bcf/attachment-0001.htm>
> > ------------------------------> > Message: 4> Date: Thu, 4 Jan 2007
> 13:21:30 +0100> From: "Sebastian Hartte" <[EMAIL PROTECTED]>> Subject: [Red5]
> Patch for transient fields in Serializer> To: [email protected]> Message-ID:>
> <[EMAIL PROTECTED]>> Content-Type: text/plain; charset="iso-8859-1"> >
> Hello,> > i ran into the problem, that Red5 was sending the password field of
> my user> objects to> the flash clients as the result of a NetConnection.call.
> I tried to declare> the user field> of my data objects (so i can prevent the
> user field from being sent at all)> but didn't> have success. So i traced it
> to Serializer.writeBean and implemented it> myself.> > I attached the patch
> file for this. Since the precise number of fields has> to be known> before
> iterating over the set and i wanted to avoid iterating over it twice> i
> simply set> the property value to null before serializing it, which should
> lead to the> intended> result.> > It has been briefly tested and showed no
> abnormalities.> > bye,> Sebastian> > DIFF:> > ---
> C:/Red5/svn_trunk/org/red5/io/object/Serializer.new.java Thu Jan 04> 02:54:07
> 2007> +++ C:/Red5/svn_trunk/org/red5/io/object/Serializer.java Thu Jan 04>
> 02:59:01 2007> @@ -487,14 +487,34 @@> while (it.hasNext()) {> BeanMap.Entry
> entry = (BeanMap.Entry) it.next();> if
> (entry.getKey().toString().equals("class")) {> continue;> }> -> +>
> out.writePropertyName(entry.getKey().toString());> +> + // Read the value
> here so it can be processed first> + Object value = entry.getValue();> +>
> //log.info(entry.getKey().toString()+" = "+entry.getValue());> -
> serialize(out, entry.getValue());> + // Check if the Field corresponding to
> the getter/setter pair> is transient> + try {> + Field field =
> bean.getClass().getDeclaredField(entry.getKey> ().toString());> + int
> modifiers = field.getModifiers();> +> + if (Modifier.isTransient(modifiers))
> {> + if (log.isDebugEnabled()) {> + log.debug("Skipping " + field.getName() +
> " because> its transient");> + }> + value = null; // Serialize null instead
> of the real> value.> + }> + } catch(NoSuchFieldException nfe) {> + // Ignore
> this exception and use the default behaviour> + }> +> + serialize(out,
> value);> +> if (it.hasNext()) {> out.markPropertySeparator();> }> }> // Write
> out end of object mark> -------------- next part --------------> An HTML
> attachment was scrubbed...> URL:
> http://osflash.org/pipermail/red5_osflash.org/attachments/20070104/c7d8e264/attachment-0001.htm>
> > ------------------------------> > Message: 5> Date: Thu, 4 Jan 2007
> 16:12:10 +0300> From: "joseph wamicha" <[EMAIL PROTECTED]>> Subject: [Red5]
> Flash8 Pro or Flex client builder?> To: [email protected]> Message-ID:>
> <[EMAIL PROTECTED]>> Content-Type: text/plain; charset="iso-8859-1"> > Look
> at the examples in the following directory of your red5 server> for examples
> on how to use .fla (AS2) to connect to red5:> swf/DEV_Source/> > An example
> of how to use Flex2 (AS3) using John Grden's player:>
> http://www.rockonflash.com/red5/demos/samples/Red5Samples.zip> > I personally
> prefer flex2 because the UI is defined using XML syntax> and it allows UI dev
> on Linux since MX studio is not supported on> Linux.> > >Thanks for the info
> Michael. But it really didn't address my original> questions. Still looking
> for specific answers...> > Michael Klishin <flash at novemberain.com>
> <http://osflash.org/mailman/listinfo/red5_osflash.org>> wrote: Flash>
> standart library components are built on top of several classes> like Video,
> NetConnection and NetStream. That's exactly what John> used to create his own
> classes for Red5 demo applications.> > What you are talking about looks more
> like a client-side framework> using, say, Registry design pattern for net
> connections pool that are> accessible from anywhere in your app. But that's
> the question of> application design and can be discussed for years.> > There
> are no "Red5 components" as well as "required components" at> client-side in
> Flex/Flash. You just use several simple classes and> handle events. You can
> build much more complicated frameworks with it> if you wish.> > On 04/01/07,
> oke _ wrote:> >* At this point, I'm still missing how to tie a Red5 component
> to my net> *>* connection. Do you have to explicitly create a net connection
> object? If so,> *>* how would you make sure all the components on the stage
> "talk" to the> *>* connection object? And if not, where/how do you specify
> the url of the> *>* remote server and tie the stage objects to it?> *>*
> Thanks.*> > > > -- > C is forever.> -------------- next part -------------->
> An HTML attachment was scrubbed...> URL:
> http://osflash.org/pipermail/red5_osflash.org/attachments/20070104/5e2355a4/attachment-0001.htm>
> > ------------------------------> >
> _______________________________________________> Red5 mailing list>
> [email protected]> http://osflash.org/mailman/listinfo/red5_osflash.org> > >
> End of Red5 Digest, Vol 17, Issue 16> ************************************
_________________________________________________________________
Fixing up the home? Live Search can help.
http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=wlmemailtaglinenov06_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org