Re: [Red5] One-time ticket authentication through MySQL

2007-03-16 Thread John Kirby



Dan Rossi said the following:
That sounds like a killa plan or just use AMF via the app.  However our 
video servers are in one DC and sites in another, so thedb conns are 
over the wire. 

Derby.

http://db.apache.org/derby
 So an embedded db in red5 if there is an embedded java 
solution ? 


And connecting to the app via AMF3 !  thats the plan to test. 
I use mysql exclusively but on the php nix end. The  video servers are 
on windows, so if someone has an embedded db suggestion let me know.


Storm wrote:
  
Thanks for sharing, Jason. This piece could be useful for me in near 
future

;)

Cheers

On 2/28/07, Jason Jensen [EMAIL PROTECTED] wrote:


 I'm not a Java developer but I have created VERY simple authentication
for my oflaDemo webapp.  I got the idea from reading the 'Programming 
Flash

Communication Server' book (published by O'reilly), chaper 18 'Securing
Applications'.

1. Flash movie passes username and password to web server(via SSL
   using AMFPHP)
   2. Web server/application server returns a one-time ticket(through
   two hashed strings, tid and ticket) to the flash movie
   3. Flash movie connects to Red5 using the tid and ticket(instead of
   username and password...)
   4. Red5 checks the tid and ticket against a MySQL db and accepts or
   rejects the connection

In step one I also create a timestamp representing the creation time, 
and
a 'stale' datetime a couple minutes after the creation time.  So my 
simple
'tickets' table has five columns: tid, ticket, uid(linking the ticket 
to a
user table), created(timestamp) and staleDateTime.  The ticket is 
only valid

if it is used between the creation time and stale time.

You'll need to install the MySQL JDBC driver and add it's jar to your
classpath.  Here's my oflaDemo Application.java, but please remember 
this

is temporary authentication...  and VERY simple!!!

Hope this helps someone :-)

code follows...
package org.red5.server.webapp.oflaDemo;

import org.red5.server.adapter.ApplicationAdapter;
import org.red5.server.api.IConnection;
import org.red5.server.api.IScope;
import org.red5.server.api.stream.IServerStream;
import org.red5.server.api.stream.IStreamCapableConnection;
import org.red5.server.api.stream.support.SimpleBandwidthConfigure;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
//import sql classes
import java.sql.*;

public class Application extends ApplicationAdapter {

 //logging
 private static final Log log = LogFactory.getLog(Application.class);

 private IScope appScope;

 private IServerStream serverStream;

 /** [EMAIL PROTECTED] [EMAIL PROTECTED]} */
@Override
 public boolean appStart(IScope app) {
  appScope = app;
  return true;
 }

 /** [EMAIL PROTECTED] [EMAIL PROTECTED]} */
@Override
 public boolean appConnect(IConnection conn, Object[] params) {

  // Trigger calling of onBWDone, required for some FLV players
  measureBandwidth(conn);
  if (conn instanceof IStreamCapableConnection) {
   IStreamCapableConnection streamConn = (IStreamCapableConnection) 
conn;

   SimpleBandwidthConfigure sbc = new SimpleBandwidthConfigure();
   sbc.setMaxBurst(8 * 1024 * 1024);
   sbc.setBurst(8 * 1024 * 1024);
   sbc.setOverallBandwidth(2 * 1024 * 1024);
   streamConn.setBandwidthConfigure(sbc);
  }

//  if (appScope == conn.getScope()) {
//   serverStream = StreamUtils.createServerStream(appScope, live0);
//   SimplePlayItem item = new SimplePlayItem();
//   item.setStart(0);
//   item.setLength(1);
//   item.setName(on2_flash8_w_audio);
//   serverStream.addItem(item);
//   item = new SimplePlayItem();
//   item.setStart(2);
//   item.setLength(1);
//   item.setName(on2_flash8_w_audio);
//   serverStream.addItem(item);
//   serverStream.start();
//   try {
//serverStream.saveAs(aaa, false);
//serverStream.saveAs(bbb, false);
//   } catch (Exception e) {}
//  }
//**START AUTHENTICATION CODE**

  //here we go...
  boolean authenticated = false;

  authenticated = authenticate(params);

  if(authenticated){
   log.info(Come on in friend!);
   return super.appConnect(conn, params);
  }else{
   log.info(Yikes! A LEACH!!);
  }
  rejectClient();
  return false;
 }

private boolean authenticate(Object[] params){

   String authTicketID = (String)params[0];
   String authTicket = (String)params[1];
   //convert the third parameter from a string that represents a
timestamp, to a java timestamp data type
   java.sql.Timestamp authTimestamp = java.sql.Timestamp.valueOf
((String)params[2]);

 //the connection paremeters...
   log.info(authTicketID +authTicketID);
 log.info(authTicket +authTicket);
 log.info(authTimestamp +authTimestamp);

ResultSet rs = null;
Connection conn = null;
PreparedStatement pstmt = null;
String dbTID = null;
String dbTicket = null;
java.sql.Timestamp dbCreated = null;
java.sql.Timestamp dbStaleDateTime = null;

try {
  

Re: [Red5] Encoding Recommendations

2007-01-31 Thread John Kirby

No with Flash 8 for encoding.

I just got FCP HD... fairly intimidating piece of software.  I went 
with iMovie because I know it so well.  Doing HD interlaced fore DVDs is 
one thing... getting the same content to run smoothly on the web is another?


Lots to learn.

.j

Alexander Bethke said the following:
Like often with encoding. But I can't really tell anything about iMovie, 
at work we use Final Cut. Always a good idea to take an even ratio for 
the resizing like 1:2 (50%), smarter from a mathematical point of view.

You are encoding as Flash 7 right?

Perhaps you just need this: Good luck experimenting.



John Kirby wrote:
  

Alexander -

I think you might be right about the interlacing.  When I run the 
original from iMovie HD in 1080 it looks OK... no Ghosts.


So I'm in expert mode in iMovie while exporting... and using the 
deinterlace switch.  The question is what best compression to  use for 
a  700/800 wide picture when the original is 1900 pixels?


This appears to be a trial and error process

Alexander Bethke said the following:

You might try deinterlacing your material before the encoding. At 
least I can see two movement phases when looking at a still from your 
material. This will increase the efficiency of the encoding process 
and make a sharper picture. ffmpeg for instance has a -deinterlace 
parameter. Deinterlacing is usually recommended when showing material 
on a computers screen only.


Otherwise I might be wrong and you did actually deinterlace. Then it 
is not really a good one, or the ghoust image problem comes from 
something else. Then I do not want to have said anything.


Regards, Alex




John Kirby wrote:
 
  
I have been shooting 1080i and have been playing with format 
(down-size to 720p) via Compressor to get a suite spot for good 
performance/quality.


Right now my large format in a flv is 720 x420 with either 30 FPS or 
24 FPS.  The file is around 55-- 60 mb (compressed from the 
original 5.7 Gb!).


So are there any rules of thumb for frame rates, compression flv 
encodings to take the high end 1080i and get good quality/performance.


What I'm seeing is occasional blurring of the image in the 720 x 420 
format.


You can see what I'm talking about at 
http://infinitymedialabs.com/copper/choppers/2007  Click on videos 
tab.  Hit connect and select Week1_Large.flv


I'm running 0.5 version of Red5.

This could be because I'm streaming a large file?

.j
 



___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org

  
  



___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org

  


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford
___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Encoding Recommendations

2007-01-29 Thread John Kirby

Alexander -

I think you might be right about the interlacing.  When I run the 
original from iMovie HD in 1080 it looks OK... no Ghosts.


So I'm in expert mode in iMovie while exporting... and using the 
deinterlace switch.  The question is what best compression to  use for 
a  700/800 wide picture when the original is 1900 pixels?


This appears to be a trial and error process

Alexander Bethke said the following:
You might try deinterlacing your material before the encoding. At least 
I can see two movement phases when looking at a still from your 
material. This will increase the efficiency of the encoding process and 
make a sharper picture. ffmpeg for instance has a -deinterlace 
parameter. Deinterlacing is usually recommended when showing material on 
a computers screen only.


Otherwise I might be wrong and you did actually deinterlace. Then it is 
not really a good one, or the ghoust image problem comes from 
something else. Then I do not want to have said anything.


Regards, Alex




John Kirby wrote:
  
I have been shooting 1080i and have been playing with format 
(down-size to 720p) via Compressor to get a suite spot for good 
performance/quality.


Right now my large format in a flv is 720 x420 with either 30 FPS or 
24 FPS.  The file is around 55-- 60 mb (compressed from the original 
5.7 Gb!).


So are there any rules of thumb for frame rates, compression flv 
encodings to take the high end 1080i and get good quality/performance.


What I'm seeing is occasional blurring of the image in the 720 x 420 
format.


You can see what I'm talking about at 
http://infinitymedialabs.com/copper/choppers/2007  Click on videos 
tab.  Hit connect and select Week1_Large.flv


I'm running 0.5 version of Red5.

This could be because I'm streaming a large file?

.j


___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org

  


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford
___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] serverStream stops after 5 sec play

2006-11-28 Thread John Kirby



Sloopy Mike Gyamfi said the following:

Hi everybody,
I have succeeded in creating an application which acts more like a switcher.
It gets the list of all connected clients and resources.
You can preview and select a stream you'll like to send to the end
viewer. Acts more like a TV, the unicast approch


With red5  0.5   it works well and the serverStream sometimes plays till the end

With red5 0.6 the serverSttream stops after 5 secs. It buffers till
100% but starts falling. ofcource when it starts playing. Around 43%
buffer it stops and doesn't play no more.

The other problem I have is that, In red5 0.5,  if I press the button
to make the switch, the current video plays till the end before the
new video switch takes place.

Here is the code at the serverside

public void switchStream(String streamName){
currentStreamName = streamName;
item.setStart(0);
item.setLength(1);
item.setName(currentStreamName);
serverStream.addItem(item);
serverStream.start();
}   


this code is called from the client side.
My question here is, is it a bug in the version 0.6 that makes the
video stop or is there something new I have to take care of ?
  
I assume you have an event handler  on the button which could call a 
method like below.


You essentially need to check if there is a current NetStream and if so 
close it.  Then create a new NetStream.  I use this method allot whether 
its the first time a stream is played or the user has switched to 
another stream.


private function playStream():void {
 
   var streamVideoURL:String = connectionUrl + / + videoURL;

   streamVideoURL =videoURL;

   if (stream != null){
   stream.close();
   }
   stream = new NetStream(nc);
   
  videoHolder = new UIComponent();

  videoHolder.setActualSize(defaultWidth, defaultHeight);
  video = new Video(defaultWidth, defaultHeight);
 
  video.attachNetStream(stream);
 
  stream.play(streamVideoURL);
 
   stream.addEventListener(NetStatusEvent.NET_STATUS, 
streamStatusHandler);

   var client:Object = new Object();
   client.onMetaData = onMetaData;
   stream.client = client
   
   }

How can I make the switch take place soon as I press the button
without the current stream first playing till the end ?

Help here will very much be appreciated. Thanks in adavance.

Sloopy

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org

  


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford
___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] Red5 Application Ideas

2006-11-25 Thread John Kirby
After playing with Red5 I have been thinking of some more 
out-of-the-box ideas to utilize its' capabilities.


I wanted to throw some of these ideas out there.

There seems to be a growth in Web based TV programing like ManiaTV 
(http://www.maniatv.com) which has regularly scheduled broadcasts of  
shows.


So I was thinking of creating (in a prototype) a fictitious Web TV 
station with regularly scheduled Red5 based streams of different 
shows.  The idea is one could create their content, then put it out on 
a Red5 server for consumption on a scheduled basis.  I was going to use 
opensymphony's Quartz to build a server side dynamic scheduler of content.


The kicker here would be building a client based DVR or Flash scheduler 
that a user could pick their shows to watch them later .  This seems 
like a great application that fits into Red5 sweet spot?


Am I reinventing the wheel?   Thoughts?

.j
--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford
___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Red5 Application Ideas

2006-11-25 Thread John Kirby

Hank -

I was thinking more than just VOD.  I was thinking more of a way to 
mark certain shows (episodes) then either store the custom playlist 
(ie. my favorites) or yah right a DVR solution.  I've got EyeTv along 
with Titan TV and Toast (Mac)  where I can pick a list of regular 
broadcast TV shows and have them written to my Mac by a schedule I 
create.  Toast in this case works like a DVR.


So I'm brainstorming here on combining BOTH VOD and/or DVR capabilities 
to a Content Machine like Red5.  A DVR solution might be not a good 
idea, but creating a my favorite list (custom personalized playlist) 
so that when you revisit a site... your content of VOD is pre-selected?


hank williams said the following:
But why not just do VOD? If you have scheduled programming then you 
have to have a DVR type recorder, but if you have VOD then people can 
watch when they want, right? Or am I missing something?


Hank

On 11/25/06, *John Kirby* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


After playing with Red5 I have been thinking of some more
out-of-the-box ideas to utilize its' capabilities.

I wanted to throw some of these ideas out there.

There seems to be a growth in Web based TV programing like
ManiaTV (http://www.maniatv.com) which has regularly scheduled
broadcasts of  shows.

So I was thinking of creating (in a prototype) a fictitious Web TV
station with regularly scheduled Red5 based streams of different
shows.  The idea is one could create their content, then put it
out on a Red5 server for consumption on a scheduled basis.  I was
going to use opensymphony's Quartz to build a server side dynamic
scheduler of content.

The kicker here would be building a client based DVR or Flash
scheduler that a user could pick their shows to watch them later
.  This seems like a great application that fits into Red5 sweet spot?

Am I reinventing the wheel?   Thoughts?

.j
-- 
/Whether you think that you can, or that you can't, you are

usually right./
 - Henry Ford

___
Red5 mailing list
Red5@osflash.org mailto:Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org





___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford
___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Live stream based on a playlist

2006-11-23 Thread John Kirby

Daniel -

For the scheduler part, look at Quartz 
(http://www.opensymphony.com/quartz).  Based upon the scheduler 
firing... you could load/create different playlists for users to select 
at custom time intervals.


I do something similar where the scheduler fires and creates an xml 
based playlist based upon some rules.  The playlist xml is generated via 
the Java XMLEncoder/XMLDecoder classes 
(http://java.sun.com/products/jfc/tsc/articles/persistence4) which get 
built via business rules to produce a bean containing playlist 
attributes.   The encoder/decoder class are nice and simple.  You create 
a bean and pass it to the Java XMLEncoder method which takes the content 
to generate an XML file on the fly. Then when you need data (i.e 
playlist request) you can fetch as native XML or simply return the 
content back to its' original bean state via the decoder for further 
processing.  This easily provides a dynamic state on the server 
managed by a scheduler without the need of a database for handling 
transient data.


.j

Paul Dhaliwal said the following:

Daniel,

I can provide some direction on how to do it using playlists. This 
might not be the best way. You should be able to just add all of your 
items to the playlist and play them. From what I can see, each person 
who connects gets a new playlist. You can add whatever you want to the 
playlist.


For example, if someone asks for a web-tv stream, your logic can add 
remaining programs of the day, and start the current one at whatever 
time it shoudl start at.


Here is more information about how you can implement your own playlist 
and plug it in.


http://mirror1.cvsdude.com/trac/osflash/red5/ticket/223

HTH,
Paul Dhaliwal


On 11/21/06, * Daniel Dupont* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Another Hi to Red5 team,

I'm working on a WebTV project.

I want to provide a pseudo-live stream based on a list of FLV.
Each FLV
must be play at a defined time in a day to produce a continuous
program.

Example of the program for 1 day:
00:00 FLV-1 duration 52mn
00:52 FLV-2 duration 3mn
00:55 FLV-3 duration 2mn
00:57 FLV-4 duration 3mn
01:00 FLV-5 duration 13mn
01:13 FLV-6 duration 26mn
01:29 FLV-7 duration 1mn
...
23:55 FLV-100 duration 3mn
23:58 FLV-101 duration 2mn

All videao files are already in FLV format.

I suppose I have to make a playlist and play it according to the
timeline (how?).

Then I think I have to make a connection to this stream?

Is it the right direction?
How can I do that?
I there another way to do that?

Thanks in advance.

--
Daniel Dupont

___
Red5 mailing list
Red5@osflash.org mailto:Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


--
/Whether you think that you can, or that you can't, you are usually right./
- Henry Ford
___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] New tutorial: custom directories for streams

2006-11-14 Thread John Kirby
Title: quote




Joachim -

Great thank you.

What about extending this to allow only a specific file or group of
files. In otherwords create a filter?


Joachim Bauch said the following:

  Hi,

I just finished another tutorial that describes how custom
directories can be used for streams in Red5. Read it online at
http://www.joachim-bauch.de/tutorials/red5/HOWTO-StreamCustomDirectories.txt
or in the "docs" directory inside the repository.

As usual, feedback is welcome...

Joachim

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org

  


-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] Video vs. VideoDisplay

2006-11-11 Thread John Kirby




I built my first Red5 player using the Video class. After looking at
the VideoDisplay class it appears to be more robust.

What are the pro/cons of using one over the other... specifically when
connecting to a Red5 server?

Thanks.

.j
-- 
quote

Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Red5 Flex Demo Up!

2006-11-10 Thread John Kirby




Are you behind a firewall and/or use a proxy server?

does this work?

http://www.infinitymedialabs.com/red5/flvdemo.html

Zrate said the following:

  I couldn't connect either : (

"Connection:netStatusHandler:Failed: connected:  - NetConnection.Connect.Failed"

On 11/10/06, Carl Welch [EMAIL PROTECTED] wrote:
  
  
Looks great! Streamed wonderfully... Viva Le Red5!!!

On 11/9/06, Dan Rossi [EMAIL PROTECTED] wrote:

    
  John Kirby wrote:


Dan Rossi said the following:

 mx:DateFormatter id="playHeadTimeFormat" formatString="NN:SS"/

private function updatePlayHead(event:TimerEvent):void
{
playHeadTime.setMinutes(0,ns.time,0);
preloadBar.playHeadTime.text =
playHeadTimeFormat.format(playHeadTime).toString();
}

Yup  it doesn't work with hours... or I couldn't make it work


maybe playing with this format, theoretically im setting it as minutes, and
then it formats the hours from minutes

  mx:DateFormatter id="playHeadTimeFormat" formatString="HH:NN:SS"/



___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org



  


--
Carl Welch
http://www.carlwelch.com
[EMAIL PROTECTED]
805.403.4819

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


  
  

  


-- 
quote

Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Red5 Flex Demo Up!

2006-11-10 Thread John Kirby
Title: quote




Zrate -

The next release will have a setting for adding a proxy server. I'll
post it for you to try?

Thanks.

.j

Zrate said the following:

  Nope, so probably is the proxy. I'll try it at home and let you know.

Cheers!

On 11/10/06, John Kirby [EMAIL PROTECTED] wrote:
  
  
 Are you behind a firewall and/or use a proxy server?

 does this work?

 http://www.infinitymedialabs.com/red5/flvdemo.html

 Zrate said the following:
 I couldn't connect either : (

"Connection:netStatusHandler:Failed: connected: -
NetConnection.Connect.Failed"

On 11/10/06, Carl Welch [EMAIL PROTECTED] wrote:


 Looks great! Streamed wonderfully... Viva Le Red5!!!

On 11/9/06, Dan Rossi [EMAIL PROTECTED] wrote:


 John Kirby wrote:


Dan Rossi said the following:

 mx:DateFormatter id="playHeadTimeFormat" formatString="NN:SS"/

private function updatePlayHead(event:TimerEvent):void
{
 playHeadTime.setMinutes(0,ns.time,0);
 preloadBar.playHeadTime.text =
playHeadTimeFormat.format(playHeadTime).toString();
}

Yup it doesn't work with hours... or I couldn't make it work


maybe playing with this format, theoretically im setting it as minutes, and
then it formats the hours from minutes

 mx:DateFormatter id="playHeadTimeFormat" formatString="HH:NN:SS"/



___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org




 --
Carl Welch
http://www.carlwelch.com
[EMAIL PROTECTED]
805.403.4819

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org






--
 Whether you think that you can, or that you can't, you are usually right.
  - Henry Ford

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org




  
  

  


-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] Mod to oflademo

2006-11-10 Thread John Kirby
Title: quote




I was thinking of making a slight mod to the oflademo to instead of
fetching a directory list, create an xml file with additional
attributes like a descriptive title of a movie vs. the file name...
more user friendly.

Would you guys find this useful? This way you can add whatever
metadata you want to the content?

.j


-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] Error In Toggling Pause/Play

2006-11-09 Thread John Kirby
Title: quote




I'm get this Error #2006 when I try and resume a video on pause.
Anyone seen this before?

public function resume():void{
  if(rFlex.playBtn.label == "Pause"){
  
   rFlex.msgs.text = "Video Paused ";
   stream.togglePause()
   myTimer.stop(); 
rFlex.rewindBtn.enabled=false;
   rFlex.playBtn.label = "Play"
 }else{
   rFlex.playBtn.label = "Pause"
   rFlex.msgs.text = "Now Playing: " +
rFlex.videoListContainer.selectedItem.valueOf().label
  
   myTimer.start();
   
   stream.togglePause()
   
   rFlex.rewindBtn.enabled=true;
   rFlex.closeBtn.enabled=true;
   
 }
  
 }

Error #2006: The supplied index is out of bounds.
 at flash.display::DisplayObjectContainer/getChildAt()
 at mx.core::Container/getChildAt()
 at mx.containers.utilityClasses::CanvasLayout/updateDisplayList()
 at mx.containers::Canvas/mx.containers:Canvas::updateDisplayList()
 at mx.core::UIComponent/validateDisplayList()
 at mx.core::Container/validateDisplayList()
 at mx.managers::LayoutManager/::validateDisplayList()
 at mx.managers::LayoutManager/::doPhasedInstantiation()
 at Function/http://adobe.com/AS3/2006/builtin::apply()
 at mx.core::UIComponent/::callLaterDispatcher2()
 at mx.core::UIComponent/::callLaterDispatcher()
-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Error In Toggling Pause/Play

2006-11-09 Thread John Kirby
Title: quote




Yup... tried that no effect... I'm wonder if the timer can cause this?

Dan Rossi said the following:

  
try commenting out this
  
rFlex.msgs.text = "Now Playing: " +
rFlex.videoListContainer.selectedItem.valueOf().label
  
are you on the flex list at all ? its ok they, tend to not reply alot
though.
  
John Kirby wrote:
  

I'm get this Error #2006 when I try and resume a video on pause.
Anyone seen this before?

public function resume():void{
  if(rFlex.playBtn.label == "Pause"){
  
   rFlex.msgs.text = "Video Paused ";
   stream.togglePause()
   myTimer.stop(); 
rFlex.rewindBtn.enabled=false;
   rFlex.playBtn.label = "Play"
 }else{
   rFlex.playBtn.label = "Pause"
   rFlex.msgs.text = "Now Playing: " +
rFlex.videoListContainer.selectedItem.valueOf().label
  
   myTimer.start();
   
   stream.togglePause()
   
   rFlex.rewindBtn.enabled=true;
   rFlex.closeBtn.enabled=true;
   
 }
  
 }

Error #2006: The supplied index is out of bounds.
 at flash.display::DisplayObjectContainer/getChildAt()
 at mx.core::Container/getChildAt()
 at mx.containers.utilityClasses::CanvasLayout/updateDisplayList()
 at mx.containers::Canvas/mx.containers:Canvas::updateDisplayList()
 at mx.core::UIComponent/validateDisplayList()
 at mx.core::Container/validateDisplayList()
 at mx.managers::LayoutManager/::validateDisplayList()
 at mx.managers::LayoutManager/::doPhasedInstantiation()
 at Function/http://adobe.com/AS3/2006/builtin::apply()
 at mx.core::UIComponent/::callLaterDispatcher2()
 at mx.core::UIComponent/::callLaterDispatcher()
-- 


Whether you think that you can, or that
you
can't, you are usually right.
- Henry Ford 
 

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  
  
  
  

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 
quote

Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] Red5 Flex Demo Up!

2006-11-09 Thread John Kirby
Title: quote




Guys -

Here's my first attempt:

http://infinitymedialabs.com/red5/Red5FlexPlayer.html

First what is not here (yet):

1.) Sound Control
2,) Proxy Server settings
3.) Preference Panel

Know problems:

The pause/play is causing errors.
Sometimes resizing gets goofy where you hear the video but can't see it.

Cool Stuff:

I have three different video sizes:

848x352 (HD 480P original)
400x300
320x300

I'm using a 10 second buffer for all videos... not sure what is a good
number.

Enjoy... I'll post the code later once I add the remaining features.

.j
-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Red5 Flex Demo Up!

2006-11-09 Thread John Kirby
Title: quote




Did you play the HD 480 P Deja Vu Trailer... that looks awesome on my
Apple 23" Cinema Display!

John Grden said the following:
that looks great man!
  
  On 11/9/06, John Kirby [EMAIL PROTECTED] wrote:
  
Guys -

Here's my first attempt:

http://infinitymedialabs.com/red5/Red5FlexPlayer.html

First what is not here (yet):

1.) Sound Control
2,) Proxy Server settings
3.) Preference Panel

Know problems:

The pause/play is causing errors.
Sometimes resizing gets goofy where you hear the video but can't see it.

Cool Stuff:

I have three different video sizes:

848x352 (HD 480P original)
400x300
320x300

I'm using a 10 second buffer for all videos... not sure what is a good
number.

Enjoy... I'll post the code later once I add the remaining features.

.j
-- 
Whether you think that you can, or that
you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


  
  
  
  
  
-- 
[JPG]
  

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Red5 Flex Demo Up!

2006-11-09 Thread John Kirby
Title: quote




Thanks.

I used high quality 700kbps with 128kbps on audio MPEG III On 2 VP6
codec

This was done using the Flash 8 Video Encoder

l u c h y x said the following:
DejaVu video looks awesome. The quality is excellent W
Screen 21".
How is your encoding settings. for it? 
  
-- offtopic Q: The week_7.flv video has coldplay audio.?? ... woow
men I open me refrigerator and coldplay start playing.-.!!
  
  
Bests
  
  
-- 
l u c h y x
r i a e v o l u t i o n 
  [EMAIL PROTECTED]
  http://www.riaevolution.com
  
Phone: +54 (11) 4931-7006
  

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Red5 Flex Demo Up!

2006-11-09 Thread John Kirby
Title: quote




Are you behind a firewall? 

Paul Dhaliwal said the following:
not connecting is the demo.
  
  On 11/9/06, John Kirby [EMAIL PROTECTED] wrote:
  
Thanks.

I used high quality 700kbps with 128kbps on audio MPEG III On 2 VP6
codec

This was done using the Flash 8 Video Encoder

l u c h y x said the following:

  DejaVu video looks
awesome. The quality is excellent W
Screen 21".
How is your encoding settings. for it? 
  
-- offtopic Q: The week_7.flv video has coldplay audio.?? ... woow
men I open me refrigerator and coldplay start playing.-.!! 
  
Bests
  
  
-- 
l u c h y x
r i a e v o l u t i o n 
  [EMAIL PROTECTED]
  http://www.riaevolution.com
  
Phone: +54 (11) 4931-7006 
  

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 
Whether you think that you can, or that
you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


  
  
  
  

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Red5 Flex Demo Up!

2006-11-09 Thread John Kirby
Title: quote




Dan 

It's not a HSlider but a progress bar set to increment via
Netstream.time

This handler is triggered via a NetStatusEvent

public function timeHandler(event:TimerEvent):void{
  this.elapsedTime = stream.time
  rFlex.bar.setProgress(new
Number(this.elapsedTime),uint(mmd.duration));
  if(this.elapsedTime = uint(mmd.duration)){
   this.elapsedTime = 0;
   dispatchEvent(new Event(TimerEvent.TIMER_COMPLETE));
  }
 }

Here is the code for formating

private function formatTimeString(sTime:String):String{
  var hours:String;
  var mins:String;
  var secs:String;
  var formatter:NumberFormatter = new NumberFormatter();
  formatter.rounding = NumberBaseRoundType.DOWN;
  formatter.precision = -1;
  
  var iDuration:int = uint(sTime)
  var iHours:int = iDuration/3600;
  var iMinutes:int = iDuration/60;
  
  // Do hours string
  if (iHours  1){
   hours = "00";
  }else if(iHours = 10){
   hours = formatter.format(iHours);
  }else{
   hours = "0" + formatter.format(iHours);
  }
  
  // Do minutes String
  if(iMinutes  1){
   mins = "00";
  }else if(iMinutes = 10){
   mins = formatter.format(iMinutes);
  }else{
   mins = "0" + formatter.format(iMinutes);
  }
  var iSeconds:int = iDuration - (iMinutes * 60);
  
  if (iSeconds  10){
   secs = "0" + formatter.format(iSeconds);
  }else{
   secs = formatter.format(iSeconds);
  }
  
  return hours + ":" + mins + ":" + secs;
  
 }
 
 private function formatSize(sSize:int):String{
  
  var formatter:NumberFormatter = new NumberFormatter();
  formatter.rounding = NumberBaseRoundType.NEAREST;
  formatter.precision = 2;

  if (sSize  1000){
   return sSize.toString() + " Bytes";
  }else if ((sSize = 1000)  (sSize 
10)){
   return formatter.format(sSize/1000) + " Kb";
  }else{
   return formatter.format(sSize/100) + " Mb";
  }
 }
 
 private function formatFPS(fps:String):String{
  var formatter:NumberFormatter = new NumberFormatter();
  formatter.rounding = NumberBaseRoundType.NEAREST;
  formatter.precision = -1;
  
  return formatter.format(fps) + " FPS";
  
 }

Took forever? Hmmm... what type of pipe do you have?

Dan Rossi said the following:

  
I like how you styled the hslider, curious how this is done. its not
draggable though and doesnt completely end at the end. Im also curious
to know if you have managed to work out how to format the duration in
hours minuts seconds from the netstream time, i tried using the date
formatter class, it seems to increase the memory usage and noone on the
flex list helped !
  
  
dejavu took forever too buffer and didnt switch.
  
  
Paul Dhaliwal wrote:
  not connecting is the demo.

On 11/9/06, John Kirby [EMAIL PROTECTED] wrote:

  Thanks.
  
I used high quality 700kbps with 128kbps on audio MPEG III On 2 VP6
codec
  
This was done using the Flash 8 Video Encoder
  
l u c h y x said the following:
  
DejaVu video
looks
awesome. The quality is excellent W
Screen 21".
How is your encoding settings. for it? 

-- offtopic Q: The week_7.flv video has coldplay audio.?? ... woow
men I open me refrigerator and coldplay start playing.-.!! 

Bests


-- 
l u c h y x
r i a e v o l u t i o n 
[EMAIL PROTECTED]
http://www.riaevolution.com

Phone: +54 (11) 4931-7006 


___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  
  
  
  -- 
  Whether you think that you can, or that
you
can't, you are usually right.
- Henry Ford 
   
  
  
___
Red5 mailing list
  Red5@osflash.org
  http://osflash.org/mailman/listinfo/red5_osflash.org
  
  




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  
  
  
  

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Red5 Flex Demo Up!

2006-11-09 Thread John Kirby
Title: quote






Dan Rossi said the following:

  
John Kirby wrote:
  


public function timeHandler(event:TimerEvent):void{
  this.elapsedTime = stream.time
  rFlex.bar.setProgress(new
Number(this.elapsedTime),uint(mmd.duration));
  if(this.elapsedTime = uint(mmd.duration)){
   this.elapsedTime = 0;
   dispatchEvent(new Event(TimerEvent.TIMER_COMPLETE));
  }
 }

  
  

mx:ProgressBar
Ok
wow, i didnt know flex had a progress bar component ?? where is this
rFlex.bar.
  
  Here
is
the code for formating

private function formatTimeString(sTime:String):String{
  var hours:String;
  var mins:String;
  var secs:String;
  var formatter:NumberFormatter = new NumberFormatter();
  formatter.rounding = NumberBaseRoundType.DOWN;
  formatter.precision = -1;
  
  var iDuration:int = uint(sTime)
  var iHours:int = iDuration/3600;
  var iMinutes:int = iDuration/60;
  
  // Do hours string
  if (iHours  1){
   hours = "00";
  }else if(iHours = 10){
   hours = formatter.format(iHours);
  }else{
   hours = "0" + formatter.format(iHours);
  }
  
  // Do minutes String
  if(iMinutes  1){
   mins = "00";
  }else if(iMinutes = 10){
   mins = formatter.format(iMinutes);
  }else{
   mins = "0" + formatter.format(iMinutes);
  }
  var iSeconds:int = iDuration - (iMinutes * 60);
  
  if (iSeconds  10){
   secs = "0" + formatter.format(iSeconds);
  }else{
   secs = formatter.format(iSeconds);
  }
  
  return hours + ":" + mins + ":" + secs;
  
 }
  
  

I looked at DateFormatter and I couldn't figure how to take just
seconds and convert it to the string (00:00:00). If there is a
simpler way ... someone please show me.

Thanks, that seems alot of code, the dateformatter does it all in one
line i think :)
  
  
Took forever? Hmmm... what type of pipe do you have?
  
  
I left it alone for about 1 minute. We have crap aussie internet here
mate a 1MB down adsl connection. 
  
  

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Red5 Flex Demo Up!

2006-11-09 Thread John Kirby
Title: quote






Dan Rossi said the following:

  
  
mx:DateFormatter id="playHeadTimeFormat" formatString="NN:SS"/
  
private function updatePlayHead(event:TimerEvent):void
{
 playHeadTime.setMinutes(0,ns.time,0);
 preloadBar.playHeadTime.text =
playHeadTimeFormat.format(playHeadTime).toString();
}
  

Yup it doesn't work with hours... or I couldn't make it work
this
is what i have, it seems to do funky stuff with ram, u can monitor
that with the System.totelMemory setting, im not sure if it will show
hours. 
  
statusBar.statsMemoryUsed.text =
Math.round(flash.system.System.totalMemory / 100).toString();
  
  

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] AS3 (Flex) Version ofla_demo

2006-11-08 Thread John Kirby
Title: quote




I am almost done with a Flex 2 version of oflademo. I looked at the
flash version (AS2) and I'm stuck on how to invoke the demoService
getListOfAvailableFLVs to return the array?

This is what I'm trying with not result? 


private function fetchVideos():void{
  //res = new Responder(listResponder);
  aResult = new Array();
  trace("Making call");
  SharedObject.defaultObjectEncoding =
ObjectEncoding.AMF0; 
  /*
  trace ("URI: " + nc.uri);
  soVideoList = SharedObject.getRemote(
"demoService.getListOfAvailableFLVs", nc.uri);
  soVideoList.addEventListener( NetStatusEvent.NET_STATUS,
netStatusHandler );
   soVideoList.addEventListener( AsyncErrorEvent.ASYNC_ERROR,
asyncErrorHandler );
   soVideoList.addEventListener( SyncEvent.SYNC,
sharedObjectSyncHandler );
   soVideoList.client = this;
   soVideoList.connect( nc );
   soVideoList.send(aResult);
   */
  nc.call("demoService.getListOfAvailableFLVs", null,
aResult); 
  trace ("RESPONSE2: " + aResult.length);
  
 }

As soon as this works I'll post. I 'm adding a proxy server
configuration as well as a "auto sizing" video display to show wide HD
format (does it automatically). 

Thanks.

.j


-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] AS3 (Flex) Version ofla_demo

2006-11-08 Thread John Kirby
Title: quote




Yes...

Here is what I get for the connection:

Not sure what the async error is about?

about to connect to: rtmp://infinitymedialabs.com:873/oflaDemo
asyncErrorHandler:code: ReferenceError: Error #1069: Property onBWDone
not found on flash.net.NetConnection and there is no default value.
Connection:netStatusHandler:Success: connected: 

Here's my connection logic.

public function connectVideoSession():void{
NetConnection.defaultObjectEncoding =
ObjectEncoding.AMF0;
SharedObject.defaultObjectEncoding =
ObjectEncoding.AMF0;

nc = new NetConnection();

nc.addEventListener( "success",
connectionSuccessHandler );
nc.addEventListener( AsyncErrorEvent.ASYNC_ERROR,
asyncErrorHandler );
nc .addEventListener( IOErrorEvent.IO_ERROR,
ioErrorHandler );
nc.addEventListener(NetStatusEvent.NET_STATUS,
connectionStatusHandler);
trace("about to connect to: " + connectionUrl);
nc.connect( connectionUrl);

}

In the connectionStatusHandler() I call fetchVideos() (below) but
don't get anything back?

Dan Rossi said the following:

  
Interesting, thats awesome. 
  
im assuming you did this for the netconnect aswell ?
  
SharedObject.defaultObjectEncoding =
ObjectEncoding.AMF0; 
  
I posted ages ago a helper class for netconnect which may be helpful
dont know. 
  
John Kirby wrote:
  

I am almost done with a Flex 2 version of oflademo. I looked at the
flash version (AS2) and I'm stuck on how to invoke the demoService
getListOfAvailableFLVs to return the array?

This is what I'm trying with not result? 


private function fetchVideos():void{
  //res = new Responder(listResponder);
  aResult = new Array();
  trace("Making call");
  SharedObject.defaultObjectEncoding =
ObjectEncoding.AMF0; 
  /*
  trace ("URI: " + nc.uri);
  soVideoList = SharedObject.getRemote(
"demoService.getListOfAvailableFLVs", nc.uri);
  soVideoList.addEventListener( NetStatusEvent.NET_STATUS,
netStatusHandler );
   soVideoList.addEventListener( AsyncErrorEvent.ASYNC_ERROR,
asyncErrorHandler );
   soVideoList.addEventListener( SyncEvent.SYNC,
sharedObjectSyncHandler );
   soVideoList.client = this;
   soVideoList.connect( nc );
   soVideoList.send(aResult);
   */
  nc.call("demoService.getListOfAvailableFLVs", null,
aResult); 
  trace ("RESPONSE2: " + aResult.length);
  
 }

As soon as this works I'll post. I 'm adding a proxy server
configuration as well as a "auto sizing" video display to show wide HD
format (does it automatically). 

Thanks.

.j


-- 


Whether you think that you can, or that
you
can't, you are usually right.
- Henry Ford 
 

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  
  
  
  

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 
quote

Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] AS3 (Flex) Version ofla_demo Photos

2006-11-08 Thread John Kirby
Title: quote




Intro/Startup Screen
http://www.infinitymedialabs.com/images/screen1.png

HD video encoded from 480P. Wide format
http://www.infinitymedialabs.com/images/screen2.png

Standard 400x300
http://www.infinitymedialabs.com/images/screen3.png


Like I said once I get the retrieval of the directory list I will
release (with code)

-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] AS3 (Flex) Version ofla_demo

2006-11-08 Thread John Kirby
Title: quote




Whooo Hooo! Thijs ... I owe you beer man! Thanks

Thijs Triemstra said the following:
This should work..
  
  
  private function setupStreaming():void
  {
   //

   nc.client
= this;
   nc.connect("rtmp://localhost/oflaDemo");
  }
  
  
  public function catchVideos():void
  {
   //
call server-side method
   var
nc_responder:Responder = new Responder(getMediaList, null);
   nc.call("demoService.getListOfAvailableFLVs",
nc_responder); 
  }
  
  
  public function getMediaList (list:Object):void
  {
   //
   for(var
items:String in list) {
   if
(typeof(list[items]) == "object") {
   mediaList.push(list[items]);
   for
(var d:String in list[items]) {
   trace(d
+ " - " + list[items][d]);
   }
   }
   }
  }
  
  
  public function onBWDone():void
  {
   
  }
  
  
  Thijs
  
  
  Op 9-nov-2006, om 1:52 heeft John Kirby het volgende geschreven:
  
   Yes...

Here is what I get for the connection:

Not sure what the async error is about?

about to connect to: rtmp://infinitymedialabs.com:873/oflaDemo
asyncErrorHandler:code: ReferenceError: Error #1069: Property onBWDone
not found on flash.net.NetConnection and there is no default value.
Connection:netStatusHandler:Success: connected: 

Here's my connection logic.

public function connectVideoSession():void{
NetConnection.defaultObjectEncoding =
ObjectEncoding.AMF0;
SharedObject.defaultObjectEncoding =
ObjectEncoding.AMF0;

nc = new NetConnection();

nc.addEventListener( "success",
connectionSuccessHandler );
nc.addEventListener( AsyncErrorEvent.ASYNC_ERROR,
asyncErrorHandler );
nc .addEventListener( IOErrorEvent.IO_ERROR,
ioErrorHandler );
nc.addEventListener(NetStatusEvent.NET_STATUS,
connectionStatusHandler);
trace("about to connect to: " + connectionUrl);
nc.connect( connectionUrl);

}

In the connectionStatusHandler() I call fetchVideos() (below) but
don't get anything back?

Dan Rossi said the following:

Interesting, thats awesome. 
  
im assuming you did this for the netconnect aswell ?
  
SharedObject.defaultObjectEncoding = ObjectEncoding.AMF0; 
  
I posted ages ago a helper class for netconnect which may be helpful
dont know. 
  
John Kirby wrote:
   I
am almost done with a Flex 2 version of oflademo. I looked at the
flash version (AS2) and I'm stuck on how to invoke the demoService
getListOfAvailableFLVs to return the array?

This is what I'm trying with not result? 


private function fetchVideos():void{
  //res = new Responder(listResponder);
  aResult = new Array();
  trace("Making call");
  SharedObject.defaultObjectEncoding =
ObjectEncoding.AMF0; 
  /*
  trace ("URI: " + nc.uri);
  soVideoList = SharedObject.getRemote(
"demoService.getListOfAvailableFLVs", nc.uri);
  soVideoList.addEventListener( NetStatusEvent.NET_STATUS,
netStatusHandler );
   soVideoList.addEventListener( AsyncErrorEvent.ASYNC_ERROR,
asyncErrorHandler );
   soVideoList.addEventListener( SyncEvent.SYNC,
sharedObjectSyncHandler );
   soVideoList.client = this;
   soVideoList.connect( nc );
   soVideoList.send(aResult);
   */
  nc.call("demoService.getListOfAvailableFLVs", null,
aResult); 
  trace ("RESPONSE2: " + aResult.length);
  
 }

As soon as this works I'll post. I 'm adding a proxy server
configuration as well as a "auto sizing" video display to show wide HD
format (does it automatically). 

Thanks.

.j


-- 
Whether you think that you can, or
that you can't, you are usually right.
- Henry Ford 
 
___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  
  
  
  ___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 
Whether you think that you can, or that
you can't, you are usually right.
- Henry Ford 
 
___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  
  
  
  
  

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Finally Got It To Work!

2006-11-02 Thread John Kirby




John -

Any way to tweak the buffer time? Or is that totally ISP dependent?

Also, some of my colleagues behind firewalls use a proxy server. I'm
assuming the port I'm using using and the rtmp protocol are the reason
they can't connect?

I assume AS2 supports proxy configurations on NetConnections?

If so do you have any examples so I can add it to the demo?

BTW you might want to add some spec 2.3 web.xml snippets to the
distribution example so folks like me can use it?

.j

John Grden said the following:
works great! yeah the buffer is 9-10 seconds, but it's
working ;)
  
  On 11/2/06, Thijs Triemstra [EMAIL PROTECTED] wrote:
  
  
It takes a long time before the video's start
playing. The buffer fills until 9 seconds and during playback it
sometimes pauses for 4 seconds before it continues playback, maybe this
has something to do with the high buffertime. Watching it from the
Netherlands..


Thijs




Op 2-nov-2006, om 7:04 heeft John Kirby het volgende
geschreven:


   I hate my ISP...
I thought I was going crazy. The ports that were suppose to be open
weren't... AAGH. Got them to open them and now it works fine.
  
  
It only took 3 days to get this figured out??? 
  
Here's the demo:
  
  http://infinitymedialabs.com/red5/flvdemo.html
  
It is running on flavor of Linux with Resin 2.1.13 with a modified 
web.xml to work with Servlet spec 2.3 on JDK 1.5
  
I'd be interested in how it performs?
  
I added some poor quality video from last year's ski class. Spidy is
much more enjoyable.
  
Thanks.
  
.j
  
  

  -- 
  Whether you think that you can, or that
you can't, you are usually right.
- Henry Ford 
   
  
  
  ___
  Red5 mailing list
  Red5@osflash.org
  http://osflash.org/mailman/listinfo/red5_osflash.org
  
  





___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


  
  
  
  
  
-- 
[JPG]
  

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 
quote

Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] AS3 (Flex) Version ofla_demo

2006-11-02 Thread John Kirby
Title: quote




Has anyone built a Flex version of the ofla_demo yet?
-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] Finally Got It To Work!

2006-11-02 Thread John Kirby
Title: quote




Lenny -

The mp3's and flv are fine. I have not tried the video conferencing.

I am also trying to migrate these SWF examples to Flex (AS3). So if
you come across any let me know?

.j

Lenny Sorey said the following:

  Hey John
  
  Enjoyed your videos.
  
  I currently have RED5 running under Tomcat 5.5.
  
  Tomcat is actually handling very good so far. Am able to record,
broadcast,
  subscribe, etc.
  
  Question, Is audio available for the video conferencing
swf'svia the trunk?
  
  Would appreciate some feedback as to response time.
  
  I will leave it up for today.
  
  This site has a supposely 1 mb up and down.
  
  http://www.fatdot.com:8080/stream/index.html
  
  Oh, the mp3's streaming are from my son's Christian Rock Band.
  
  Thanks,
  
  Lenny
  

  On 11/2/06, John Grden [EMAIL PROTECTED] wrote:
  works
great! yeah the buffer is 9-10 seconds, but it's working ;)


On 11/2/06, Thijs Triemstra [EMAIL PROTECTED]
wrote: 

  It takes a long time before the video's start playing. The
buffer fills until 9 seconds and during playback it sometimes pauses
for 4 seconds before it continues playback, maybe this has something to
do with the high buffertime. Watching it from the Netherlands..
  

  Thijs
  

  
  
  Op 2-nov-2006, om 7:04 heeft John Kirby het volgende
geschreven:
  
  
I hate my ISP... I thought I was going crazy. The
ports that were suppose to be open weren't... AAGH. Got them to open
them and now it works fine. 

It only took 3 days to get this figured out??? 

Here's the demo:

http://infinitymedialabs.com/red5/flvdemo.html

It is running on flavor of Linux with Resin 2.1.13 with a modified web.xml to work with
Servlet spec 2.3 on JDK 1.5

I'd be interested in how it performs?

I added some poor quality video from last year's ski class. Spidy is
much more enjoyable.

Thanks.

.j



-- 
Whether you think that you can, or
that you can't, you are usually right.
- Henry Ford 



___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org 

  
  

  
  
___
Red5 mailing list
  Red5@osflash.org
  http://osflash.org/mailman/listinfo/red5_osflash.org
  
  






-- 
[JPG] 
___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


  
  
  
  

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] AS3 (Flex) Version ofla_demo

2006-11-02 Thread John Kirby
Title: quote




Well I'm trying to build one now... going through the AS2--AS3
translations

John Grden said the following:
no,but it's been something I've wanted to do ;)
  
  On 11/2/06, John Kirby [EMAIL PROTECTED] wrote:
  
Has anyone built a Flex
version of the ofla_demo yet?
-- 
Whether you think that you can, or that
you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


  
  
  
  
  
-- 
[JPG]
  

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] Loading RequestContextListner in a Servlet 2.3 Container

2006-11-01 Thread John Kirby
Title: quote




I'm having a class not found problem which was an attempt to get this
to work in a Servlet 2.3 container.

The problem is here:

listener
listener-classorg.springframework.web.context.request.RequestContextListener/listener-class
 /listener 

Not familar with springs... how can you load this class in a servlet
2.3 spec container? Is there a trick here?


-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] Finally Got It To Work!

2006-11-01 Thread John Kirby
Title: quote




I hate my ISP... I thought I was going crazy. The ports that were
suppose to be open weren't... AAGH. Got them to open them and now it
works fine.

It only took 3 days to get this figured out??? 

Here's the demo:

http://infinitymedialabs.com/red5/flvdemo.html

It is running on flavor of Linux with Resin 2.1.13 with a modified
web.xml to work with Servlet spec 2.3 on JDK 1.5

I'd be interested in how it performs?

I added some poor quality video from last year's ski class. Spidy is
much more enjoyable.

Thanks.

.j



-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] [ANN] Red5 WAR version available

2006-10-31 Thread John Kirby
Title: quote




Just ran the war on Mac OSX with Tomcat... great. Now to deploy on my
ISP linux/Resin. I'll post a URL when it is up and running!

sub paul said the following:
Thank you very much.
  
Just tested BallControl and OlfaDemo on resin 3, in windows. Works like
a charm. Can't wait to play with red5 more.
  
Paul Dhaliwal
  
  
  On 10/30/06, 
Mondain [EMAIL PROTECTED]
wrote:
  All,

I have made some updates to the WAR version and have now tested with an
additional container (Resin). This version has been tested on Tomcat
5.5, Jetty 6.01, JBoss 4, Sun Enterprise 9, and Resin 3.0.21. Please
note that some features have been left out so that this release could
co-inside with the server release; the features that did not make it or
are not available are RTMPT and Scripting. In addition only a couple of
the web application demos have been included oflaDemo and SOSample due
to the difference in runtime environments (Standalone server vs. Web
application).


Go to: http://www.osflash.org/red5/06rc1

Enjoy,
Paul
-- 
The early bird may get the worm, but the second mouse gets the cheese.

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


  
  
  
  

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] [ANN] Red5 WAR version available

2006-10-31 Thread John Kirby
Title: quote




I'm having some difficulty with my ISP. I'm on resin 2.1.13 which
looks like servlet spec 2.3. So I had to change the web.xml header to
point to the 2.3 spec DTD.

Now the server gives me:

javax.servlet.ServletException:
/home/infin7/public_html/webapps/red5/WEB-INF/web.xml:51:
java.lang.ClassNotFoundException:
org.springframework.web.context.request.RequestContextListener
[java.lang.ClassNotFoundException:
org.springframework.web.context.request.RequestContextListener
[java.lang.NoClassDefFoundError: javax/servlet/ServletRequestListener]]
 at com.caucho.server.http.Application.error(Application.java:3966)
 at
com.caucho.server.http.Application.configureServlets(Application.java:849)
 at
com.caucho.server.http.Application.configure(Application.java:578)
 at
com.caucho.server.http.Application.init(Application.java:326)
 at
com.caucho.server.http.WebAppMap$Entry.createApplication(WebAppMap.java:599)
 at
com.caucho.server.http.VirtualHost.startApplication(VirtualHost.java:1206)
 at
com.caucho.server.http.VirtualHost.getInvocation(VirtualHost.java:1007)
 at
com.caucho.server.http.ServletServer.getInvocation(ServletServer.java:1249)
 at
com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:343)
 at
com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:274)
 at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
 at java.lang.Thread.run(Thread.java:595)

This is on:

listener

listener-classorg.springframework.web.context.request.RequestContextListener/listener-class
 /listener 

What jar file is this class in? Spec 2.3 supports this tag?

I have raised a ticket to move me to a 2.4 or 2.5 compliant instance.
Can you mix servlet spec 2.3 with JDK 1.5?

Hopefully when/if I get moved this problem will disappear?

.j

John Grden said the following:
yeah please do John!
  
  On 10/31/06, John Kirby [EMAIL PROTECTED] wrote:
  
Just ran the war on Mac OSX
with Tomcat... great. Now to deploy on my
ISP linux/Resin. I'll post a URL when it is up and running!

sub paul said the following:

  Thank you very
much.
  
Just tested BallControl and OlfaDemo on resin 3, in windows. Works like
a charm. Can't wait to play with red5 more.
  
Paul Dhaliwal
  
  
  On 10/30/06, 
Mondain [EMAIL PROTECTED]
wrote:
  All,

I have made some updates to the WAR version and have now tested with an
additional container (Resin). This version has been tested on Tomcat
5.5, Jetty 6.01, JBoss 4, Sun Enterprise 9, and Resin 3.0.21. Please
note that some features have been left out so that this release could
co-inside with the server release; the features that did not make it or
are not available are RTMPT and Scripting. In addition only a couple of
the web application demos have been included oflaDemo and SOSample due
to the difference in runtime environments (Standalone server vs. Web
application). 

Go to: http://www.osflash.org/red5/06rc1

Enjoy,
Paul
-- 
The early bird may get the worm, but the second mouse gets the cheese. 
___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


  
  
  
  
  
___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 
Whether you think that you can, or that
you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


  
  
  
  
  
-- 
[JPG]
  

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] Port Setups On ISP

2006-10-31 Thread John Kirby
Title: quote




My ISP has a limited set of open ports. In the red5.properties that
comes with Paul's latest war... they are set to the following:

rtmp.host_port = 0.0.0.0:1935

debug_proxy.host_port = 0.0.0.0:1936

proxy_forward.host_port = 127.0.0.1:1935

rtmps.host_port = 127.0.0.1:1945

http.host=0.0.0.0

http.port=5080

webapp.contextPath=/

webapp.virtualHosts=*,localhost, localhost:5080, 127.0.0.1:5080

I assume I can set these values to anything I want? If I'm using my
ISP's webserver... do I change the 5080 port to 80? Does the
rtmp.host_port and the proxy_forward.host_port have to be the same?

Thanks.

.j

BTW I'm also going to try this on Solaris 10 (x86) with SunONE
Appserver 8... I'll let you know how it works.


-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] [ANN] Red5 WAR version available

2006-10-31 Thread John Kirby
Title: quote




Here it is:

http://infinitymedialabs.com/red5/demos/ofla_demo.swf

This is with a servlet 2.3 spec web.xml on Resin 2.1.13 running Linux
(no sure what flavor)

John Grden said the following:
yeah please do John!
  
  On 10/31/06, John Kirby [EMAIL PROTECTED] wrote:
  
Just ran the war on Mac OSX
with Tomcat... great. Now to deploy on my
ISP linux/Resin. I'll post a URL when it is up and running!

sub paul said the following:

  Thank you very
much.
  
Just tested BallControl and OlfaDemo on resin 3, in windows. Works like
a charm. Can't wait to play with red5 more.
  
Paul Dhaliwal
  
  
  On 10/30/06, 
Mondain [EMAIL PROTECTED]
wrote:
  All,

I have made some updates to the WAR version and have now tested with an
additional container (Resin). This version has been tested on Tomcat
5.5, Jetty 6.01, JBoss 4, Sun Enterprise 9, and Resin 3.0.21. Please
note that some features have been left out so that this release could
co-inside with the server release; the features that did not make it or
are not available are RTMPT and Scripting. In addition only a couple of
the web application demos have been included oflaDemo and SOSample due
to the difference in runtime environments (Standalone server vs. Web
application). 

Go to: http://www.osflash.org/red5/06rc1

Enjoy,
Paul
-- 
The early bird may get the worm, but the second mouse gets the cheese. 
___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


  
  
  
  
  
___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 
Whether you think that you can, or that
you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


  
  
  
  
  
-- 
[JPG]
  

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] Red5 Fine on Mac... Not Windows

2006-10-31 Thread John Kirby
Title: quote




It runs great on my mac on four different browsers (9.0.18 Flash).
However my 2 different windows machines (9.0.16 Flash) it has a
connection error? What's the best way to debug this?

Can anyone confirm if it works for them... and what config you are
using?

http://infinitymedialabs.com/red5/flvdemo.html

Thanks

John Kirby said the following:

  
Here it is:
  
  http://infinitymedialabs.com/red5/demos/ofla_demo.swf
  
This is with a servlet 2.3 spec web.xml on Resin 2.1.13 running Linux
(no sure what flavor)
  
John Grden said the following:
  yeah please do John!

On 10/31/06, John Kirby [EMAIL PROTECTED] wrote:

  Just ran the war on Mac OSX
with Tomcat... great. Now to deploy on my
ISP linux/Resin. I'll post a URL when it is up and running!
  
sub paul said the following:
  
Thank you very
much.

Just tested BallControl and OlfaDemo on resin 3, in windows. Works like
a charm. Can't wait to play with red5 more.

Paul Dhaliwal


On 10/30/06, 
Mondain [EMAIL PROTECTED]
wrote:
All,
  
I have made some updates to the WAR version and have now tested with an
additional container (Resin). This version has been tested on Tomcat
5.5, Jetty 6.01, JBoss 4, Sun Enterprise 9, and Resin 3.0.21. Please
note that some features have been left out so that this release could
co-inside with the server release; the features that did not make it or
are not available are RTMPT and Scripting. In addition only a couple of
the web application demos have been included oflaDemo and SOSample due
to the difference in runtime environments (Standalone server vs. Web
application). 
  
Go to: http://www.osflash.org/red5/06rc1
  
Enjoy,
Paul
  -- 
The early bird may get the worm, but the second mouse gets the cheese. 
___
Red5 mailing list
  Red5@osflash.org
  http://osflash.org/mailman/listinfo/red5_osflash.org
  
  





___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  
  
  
  -- 
  Whether you think that you can, or that
you
can't, you are usually right.
- Henry Ford 
   
  
  
___
Red5 mailing list
  Red5@osflash.org
  http://osflash.org/mailman/listinfo/red5_osflash.org
  
  





-- 
[JPG]

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  
  
  
  -- 
  
  
  Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 
  
  
  

___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
  


-- 
quote

Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] Servlet 2.3 Spec With JDK 1.5

2006-10-31 Thread John Kirby
Title: quote




In an odd configuration by my ISP... I have JDK 1.5 , but it only
supports 2.3. I'm not sure why they didn't move to a configuration for
2.4/2.5?

So I got it to work with the following changes to the web.xml:

Header Change:

?xml version="1.0" encoding="UTF-8"?
!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"
web-app

Replaced the listeners. This solved the problem of ClassNotFound on
org.springframework.web.context.request.RequestContextListener error.

Not sure if this is the "correct" hack... but it worked by adding the
load-on-startup

!--
 listener
  
 
listener-classorg.red5.server.MainServlet/listener-class
 /listener
--
!--
 listener
listener-classorg.springframework.web.context.request.RequestContextListener/listener-class
 /listener 
--

 servlet
 servlet-namefoo/servlet-name
 servlet-class

org.springframework.web.context.request.RequestContextListener
 /servlet-class
 load-on-startup1/load-on-startup
 /servlet

 servlet
 servlet-namemainServlet/servlet-name
 servlet-class
 org.red5.server.MainServlet
 /servlet-class
 load-on-startup1/load-on-startup
 /servlet

..
-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] Setting up on Remote Host

2006-10-31 Thread John Kirby
Title: quote




I'm running the flv demo on my ISP

I have "rtmp://infinitymedialabs.com:2086/red5/oflaDemo"

The red5 install is webapps/red5

Here are my red5.properties settings :

rtmp.host_port = 0.0.0.0:2086
debug_proxy.host_port = 0.0.0.0:1936
proxy_forward.host_port = 127.0.0.1:2086
rtmps.host_port = 127.0.0.1:1945
http.host=0.0.0.0
http.port=80
webapp.contextPath=/
webapp.virtualHosts=*,localhost, localhost:80, 127.0.0.1:80

ofla-context.xml:

bean id="ofla.scope" class="org.red5.server.WebScope"
  init-method="register"
  property name="server" ref="red5.server" /
  property name="parent" ref="global.scope" /
  property name="context" ref="ofla.context" /
  property name="handler" ref="ofla.handler" /
  property name="contextPath" value="/oflaDemo" /
  property name="virtualHosts"
   value="*,localhost, localhost:80, 127.0.0.1:80" /
 
 /bean

So my first point of confusion is the virtualHosts. What port should
that be? The same as my ISP web server... different? If different
should I use an inbound or outbound available port?

I can connect... but the movie list doesn't have anything in it.

Thanks.

.j

-- 


Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] Run Red5 in A Servlet Container

2006-10-30 Thread John Kirby




I'm a newbie. So I want to run red5 on my ISP server which has Java
1.5 on a Resin webserver.

My type of account doesn't allow shells to be run, telnet, or even
runtime.exec() via servlet :-(

So my only option (other than upgrading by $20/month to a new plan)
would be taking the source and trying to make it run within a servlet
container.

Something tells me this is possible but a real pain? Can anyone save
me the agony if this has been tried and doesn't work?

Thanks.

.j
-- 
quote

Whether you think that you can, or that you
can't, you are usually right.
- Henry Ford 




___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org