[Red5] Lenny Having Fun

Lenny Sorey lrsorey at gmail.com
Wed Sep 12 15:19:22 PDT 2007


Sean and Carl,

Sorry for the late response. Just got in from a client's office.

Yep, Carl did a very good job on this example.

The lighting was not really good at time for this webcam,
but I was also pleasantly surprised with the server side recording of the
Broadcast
as well as the view (subscriber) portion.

Hey, did you guys see Bill's live Red5 Broadcast from Germany back through
their server here in the US
this morning using a consumer DV Camera. Man that was nice. : )

I made a couple of small changes to accommodate my webcam:

In the BroadcastController.as I made the following changes / additions

// Attach the camera & Microphone to the video window.
  cam = Camera.get();
  cam.setQuality(0, 80);
  cam.setMode(320, 240, 15);
  cam.setKeyFrameInterval(30);
  // setup mic
  mic = Microphone.get();
  mic.setRate(22);
  video.embeddedVideo.attachVideo(cam);

****************************************************************

/**
  * Creates the NetStream, attaches the camera and publishes the stream.
  */
 private function publish():Void {
  if (conn.isConnected) {
   // Create the stream.
   stream = conn.getNetStream ();
   // Attach the camera to the stream.
   stream.attachVideo(cam);
   stream.attachAudio(mic);
   // And publish it to the server.
   stream.setBufferTime (5);
   stream.publish("hostStream", "live");
  }
 }

Carl, I really like the RED5 / Spring / Hibernate example you did.

Have you done anything with Flex yet?

I have been playing around quite a bit lately with Shared Objects and really
beginning to see the power of Shared Objects.

Carl, I have a Flex 2 / RED5 / Java Sources video conference example (no
Chat yet) if you would like a copy.

Shared Objects is use heavily throughout the project.

I also have xPanel logging embedded into it as well.

Regards,

Lenny


On 9/12/07, Sean Newman <sean_new at hotmail.com> wrote:
>
> Thanks a lot Carl for all the examples and tutorials you've contributed.
>
> Sean
>
> > Date: Wed, 12 Sep 2007 09:57:00 -0700
> > From: carlsz at gmail.com
> > To: red5 at osflash.org
> > Subject: Re: [Red5] Lenny Having Fun
> >
> > Hey Sean:
> >
> > Unless Lenny altered my broadcast flash application, the camera
> > settings are as follows:
> >
> > cam = Camera.get ();
> > cam.setQuality(144000, 85);
> > cam.setMode(320, 240, 15);
> > cam.setKeyFrameInterval(60);
> >
> > If you'd like more information on configuring your camera and encoding
> > video for better bandwidth utilization, I'd suggest you read through
> > the following articles:
> >
> > http://www.adobe.com/devnet/flash/articles/flv_live.html
> > http://www.adobe.com/devnet/flash/articles/flv_encoding.html
> >
> > Carl
> >
> > _______________________________________________
> > Red5 mailing list
> > Red5 at osflash.org
> > http://osflash.org/mailman/listinfo/red5_osflash.org
>
> ------------------------------
> Invite your mail contacts to join your friends list with Windows Live
> Spaces. It's easy! Try it!<http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20070912/63d60f0d/attachment-0001.html 


More information about the Red5 mailing list