Re: [Red5] When I add the port number to the connection string theconnection fails

2007-08-23 Thread Ruben Waitz
For a while I'm also struggling with the port issues Nauman describes.



At the following page 
(http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16631sliceId=2) 
Adobe says:

By default, the Macromedia Flash Player communicates with the Flash 
Communication Server using RTMP protocol over port 1935. If that fails, it will 
try again over ports 443 and 80 in an attempt to workaround firewall settings 
within a company, which prevents TCP/IP connections over non-standard ports. 
The above approach allows approximately 96% of all users to access publicly 
accessible Flash Communication servers.

To support closer to 100% of the users we need the Macromedia Flash Player to 
negotiate connection to the external Flash Communication server though a proxy 
server (if there is one), or use HTTP protocol to transmit RTMP packets (HTTP 
tunneling) if there is a firewall (which allows only HTTP content to be sent 
out to public servers).

If I understand it correctly one need to program the Flash player to choose 
port 443 and 80 as an alternative (keeping in mind the reserved 0-1023 
portrange makes life harder for non-root tomcat users). But if those ports are 
already in use for normal the http protocol (e.g. serving webpages) the RTMP 
packets needs to be wrapped in the http protocol resulting in RTMPT.



But the if that fails, it will try again over ports 443 and 80 
confuses me.



Does this make any sense or am I missing something?



ruben







 -Oorspronkelijk bericht-

 Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens

 Luke Scott

 Verzonden: donderdag 23 augustus 2007 16:33

 Aan: red5@osflash.org

 Onderwerp: Re: [Red5] When I add the port number to the connection string

 theconnection fails

 

 RTMPT not RTMP.

 

 I'm not sure if you can change it to 80.

 

 First, are you running Red5 as root or another user? If another user,

 check Red5's console as only the root user can bind to ports 0 -

 1023. Ports above 1023 can be bound by other users.

 

 Second, which port does flash use for RTMPT by default? I'm not quite

 sure, but is it 80?

 

 -Luke

 

 On Aug 23, 2007, at 12:44 AM, Nauman Nasir wrote:

 

  no i think that rtmp port is 1935 by default

 

  On 8/23/07, Steven Gong [EMAIL PROTECTED] wrote:

  Just curious. Why you add the redundant '80' to the url?

 

  On 8/23/07, Naicu Octavian [EMAIL PROTECTED] wrote:

 

  I have a Red5 server set up on Fedora Core with port 80 set up

  for rtmpt

  in red5.properties .

 

  My issue comes from trying to connect over rtmpt

 

  Whenever I use rtmpt://subdomain.server.com/myapp the connection

  succeeds

  aand my chat app works just fine

  Whenever I use rtmpt://subdomain.server.com:80/myapp the

  connection fails

  with the below onStatus message:

 

  description:No scope chatapp/avcdr on this server.

  code:NetConnection.Connect.InvalidApp

  level:error

 

 

  The default port for rtmpt is 80 so I do not see why I get the

  isssue

  above!

 

  ___

  Red5 mailing list

  Red5@osflash.org

  http://osflash.org/mailman/listinfo/red5_osflash.org

 

 

 

 

  --

  Best Regards

  Steven Gong

 

  InfraRed5 Red5 Consultant: http://www.infrared5.com,

  [EMAIL PROTECTED]

 

  Red5 Developer: http://osflash.org/red5,

  http://jira.red5.org/confluence/display/~steven/Home

 

  Modesty is an overrated quality in men of no great

  accomplishment.  -- Ricky

  Jay

 

 

 

  --

  *

  The life is too short to Love.

I donot know how people manage to hate

  *

   Ch. Nauman Bin Nasir

 

  ___

  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


Re: [Red5] Shutdown not work..

2007-08-02 Thread Ruben Waitz
Hi prt,



I had the same problem on Linux. I solved it by using an init script 
(/etc/init.d/tomcat) which creates a `pid` file. On a tomcat restart the 
script makes sure that the process(es) of the pid is being killed before 
restarting tomcat.



ruben





 -Oorspronkelijk bericht-

 Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens prt

 Verzonden: donderdag 2 augustus 2007 13:25

 Aan: Red5@osflash.org

 Onderwerp: [Red5] Shutdown not work..





 Hi to all,



 I have red5 under Tomcat 5.5.

 When i start the tomcat at first time after i add the red5.war it was work

 fine.

 But when i shutdown the tomcat the port  and 1935 didn't close.

 So i have to kill the process that hold the open ports by my self.

 If not so when i start the tomcat again the red5 is not work, because the

 port 1935 is hold by other process.



 Anybody can help ?



 Thank you.

 --

 View this message in context: http://www.nabble.com/Shutdown-not-work..-

 tf4205573.html#a11962696

 Sent from the Red5 - English mailing list archive at Nabble.com.





 ___

 Red5 mailing list

 Red5@osflash.org

 http://osflash.org/mailman/listinfo/red5_osflash.org



www.red5tutorials.net: Tutorials - How tos - FAQ 


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


Re: [Red5] Send an event to flash client

2007-07-13 Thread Ruben Waitz
Hi Pham Ngoc Hai,

Yes.
Instead of shared objects I fire events from Red5 to the flash client.

This is a little code snippet to invoke the method svr2flaLobbyMessage on 
all connected flash clients. You can add some if-then-else logic to invoke 
on a single client.

  IConnection conn = Red5.getConnectionLocal();

  // Walk through all connections and 'message' them all
  IteratorIConnection it = conn.getScope().getConnections();
  while (it.hasNext()) {
   IConnection conn2 = it.next();
   if (conn2 instanceof IServiceCapableConnection) {
IServiceCapableConnection service = (IServiceCapableConnection) conn2;
service.invoke(svr2flaLobbyMessage, new Object[] { oReturn });
   }
  }

gr,
Ruben






www.red5tutorials.net: Tutorials - How tos - FAQ



 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens
 Pham Ngoc Hai
 Verzonden: vrijdag 13 juli 2007 13:39
 Aan: red5@osflash.org
 Onderwerp: Re: [Red5] Send an event to flash client

 Thank you Rob,
 Is there a way to notify only one client?




 --- Rob Schoenaker [EMAIL PROTECTED] wrote:

  Use a shared object maybe? You can update values in SOs
  from the Red5
  side which will be propagated to every client.
 
  /Rob
 
  ___
  Red5 mailing list
  Red5@osflash.org
  http://osflash.org/mailman/listinfo/red5_osflash.org
 




 __
 __
 Get the free Yahoo! toolbar and rest assured with the added security of
 spyware protection.
 http://new.toolbar.yahoo.com/toolbar/features/norton/index.php

 ___
 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


Re: [Red5] Send an event to flash client

2007-07-13 Thread Ruben Waitz
Hi Pham,

These are snippets of my as2 classfile which is attached to the movieclip.
I hope this will help you.

You can also download Storm's famous videoconf app from 
http://www.red5tutorials.net/download/videoconf-storm/
The structure of his code (flash8 + as2 classes is the same).

ruben





/*
  This class takes care of the lobby chat functions/events
*/
import org.red5.net.Connection;
import com.gskinner.events.GDispatcher;
import org.red5.utils.Delegate;
import mx.controls.Button;
import mx.controls.TextArea;

class LsdLobby extends MovieClip {
 public static var CLASS_REF = LsdLobby;
 public static var LINKAGE_ID:String = LsdLobby;

 // Public Properties:
 public var addEventListener:Function;
 public var removeEventListener:Function;
 public var nc:Connection;

 // Private Properties:
 private var dispatchEvent:Function;

 // Initialization:
 public function LsdLobby()
 {
  super();
  GDispatcher.initialize(this);
 }


 private function onLoad() {
  nc = new Connection(); // connection for red5
  nc.svr2flaLobbyMessage = Delegate.create( this, svr2flaLobbyMessage );

  // _uri = rtmp://localhost/fitcDemo;
  trace(Now connecting:  + _uri);
  nc.connect(_uri, _my_member_id, 1, !eventPassword!); // member_id, 
event_id, eventpass
 }


 // All messages from server (e.g. announcements and user's chatmessages)
 public function svr2flaLobbyMessage(evtObj:Object):Void {
  // _global.Xray.xrayLogger.debug(svr2flaLobbyMessage, evtObj);
  lobby_output_txt.text = lobby_output_txt.text + b + evtObj['roomUser'] 
+ /b:  + evtObj['textline'] + \n;
 }

}





 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens
 Pham Ngoc Hai
 Verzonden: vrijdag 13 juli 2007 16:50
 Aan: red5@osflash.org
 Onderwerp: Re: [Red5] Send an event to flash client

 Hi, Ruben Waitz

 What do you have in your svr2flaLobbyMessage?

 In flash I have a simple function:

 function myABC() {
 myTextbox.text = OK
 }

 I call that flash function from my Red5 app:

 service.invoke(myABC, new Object[] {null});

 but myABC is never called.




 --- Ruben Waitz [EMAIL PROTECTED] wrote:

  Hi Pham Ngoc Hai,
 
  Yes.
  Instead of shared objects I fire events from Red5 to the
  flash client.
 
  This is a little code snippet to invoke the method
  svr2flaLobbyMessage on
  all connected flash clients. You can add some
  if-then-else logic to invoke
  on a single client.
 
IConnection conn = Red5.getConnectionLocal();
 
// Walk through all connections and 'message' them all
IteratorIConnection it =
  conn.getScope().getConnections();
while (it.hasNext()) {
 IConnection conn2 = it.next();
 if (conn2 instanceof IServiceCapableConnection) {
  IServiceCapableConnection service =
  (IServiceCapableConnection) conn2;
  service.invoke(svr2flaLobbyMessage, new Object[] {
  oReturn });
 }
}
 
  gr,
  Ruben
 
 
 
 
 
  
  www.red5tutorials.net: Tutorials - How tos - FAQ
 
 
 
   -Oorspronkelijk bericht-
   Van: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Namens
   Pham Ngoc Hai
   Verzonden: vrijdag 13 juli 2007 13:39
   Aan: red5@osflash.org
   Onderwerp: Re: [Red5] Send an event to flash client
  
   Thank you Rob,
   Is there a way to notify only one client?
  
  
  
  
   --- Rob Schoenaker [EMAIL PROTECTED]
  wrote:
  
Use a shared object maybe? You can update values in
  SOs
from the Red5
side which will be propagated to every client.
   
/Rob
   
___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
   
  
  
  
  
  
 
 __
   __
   Get the free Yahoo! toolbar and rest assured with the
  added security of
   spyware protection.
  
 
 http://new.toolbar.yahoo.com/toolbar/features/norton/index.php
  
   ___
   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
 




 __
 __
 Looking for a deal? Find great prices on flights and hotels with Yahoo!
 FareChase.
 http://farechase.yahoo.com/

 ___
 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


Re: [Red5] Red5 in a OpenVZ virtual environment

2007-06-20 Thread Ruben Waitz
Thank you for answering Tony.



The firewall is turned off but after a reinstall of the hardware node I 
got Red5 running in a virtual environment!

I think I missed a setting earlier in /etc/sysctl.conf but I'm not sure.



The other good news is that it's possible to make a snapshot/backup with 
'vzdump' while clients are connected to the Red5 server. OpenVZ 'pauses' for 
a few secs for this process but Transformers.flv keeps streaming. I'm 
curious what happens in a videoconference environment (no buffering)...

On the other hand, OpenVZ doesn't pause at all if LVM2 (logical volume 
management) is used.









 -Oorspronkelijk bericht-

 Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens

 Tony Langdon (ATC)

 Verzonden: woensdag 20 juni 2007 5:21

 Aan: 'Red5@osflash.org'

 Onderwerp: Re: [Red5] Red5 in a OpenVZ virtual environment



  Does anyone have experience with openvz and knowing how to

  open port 1935?



 Are you running the CentOS firewall by any chance?  Try it with the

 firewall

 turned off.  If that works, try opening that port in the CentOS firewall

 admin tool.



 I haven't dealt with OpenVZ at this level, but I do know that Red 5 works

 fine under Virtuozzo (the commercial version).


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


[Red5] Red5 in a OpenVZ virtual environment

2007-06-19 Thread Ruben Waitz
Hi,

I'm trying to get Red5 going in Virtual Environment 1 (VE 1) on OpenVZ 
(www.openvz.org - OS Server Virtualization).

My configuration:
- Host operating system OpenVZ = CentOS 5
- VE 1 / Guest operating system = CentOS 5 (running JDK 6 / Tomcat 6 / Red5)

Everything works except for one key element: port 1935 is not exposed 
through the Host operating system! From within the VE-1server it works fine 
(nmap localhost returns 1935).

Does anyone have experience with openvz and knowing how to open port 1935?

My wild guess is to add (yet have to try):
options ip_conntrack ports=1935
to /etc/modprobe.conf on the host operating system, but probably that 
doesn't make sense.

Any help / hints is welcome!

Ruben



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


Re: [Red5] Taking photos with Red5 (use ByteArray)

2007-04-25 Thread Ruben Waitz
Maybe the following helps.

For Flash 8/AS2 I use the following pixelscanning  sending method:


my_loadvars = new LoadVars();

// Array containing hex values (2x3=6 bytes/chars per pixel)
 my_loadvars.width = 320;
 my_loadvars.height = 240;
 my_loadvars.px = new Array(); // Array of hex values (RGB)
 for (i=0; i240; i++) {
  for (j=0; j320; j++) {
   my_loadvars.px.push(bitmap.getPixel(j, i).toString(16)); // hex values 
(RGB)
  }
 }
my_loadvars.send(http://yourprocessingscript.php;, _self, POST);


OR.

my_loadvars = new LoadVars();

// Pure byte-array (3 bytes per pixel)
 my_loadvars.width = 320;
 my_loadvars.height = 240;
 my_loadvars.px2 = new String(); // RGB-byte string
 for (i=0; i240; i++) {
  for (j=0; j320; j++) {
   var pixValue:Number=myBitmapData.getPixel(j, i);
   my_loadvars.px2+= String.fromCharCode(pixValue16  0xFF, pixValue8  
0xFF, pixValue  0xFF);
  }
 }
my_loadvars.send(http://yourprocessingscript.php;, _self, POST);


The latter method is untested. The first method is succesfully implemented 
in a project.
If you just use it for small areas like 320x240 the image is transfered to 
the server within a couple of seconds on ADSL.

Regards,
Ruben




 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens
 Claudius Ceteras
 Verzonden: dinsdag 24 april 2007 23:54
 Aan: Red5@osflash.org
 Onderwerp: Re: [Red5] Taking photos with Red5 (use ByteArray)

 Hi,

  Looks like in ActionScript 3 there is a new ByteArray class
  that makes it
  much easier to do this sort of thing.  I guess now I'll have
  to download
  the Flex 2 SDK and start learning how to play with that.  :)

 From a quick i would say the real magic is done by the JPGEncoder
 class(included here: http://code.google.com/p/as3corelib/) which relies on
 ByteArray, but just for the output, not for encoding to JPG, so i guess -
 from a first look - that this could be portable to AS2.

 I'll probably have time next week to take a closer look. If this doesn't
 work out, i guess i will do something stream-based.

 With kind regards

 Claudius


 ___
 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


Re: [Red5] red5 silverlight

2007-04-18 Thread Ruben Waitz
A bit off-topic.

If I understand it correctly the silverlight-plugin will be developed for 
Safari, Firefox and IE.
Silverlight's video and audiostreams can be protected by DRM 
(http://en.wikipedia.org/wiki/Digital_Rights_Management).
This is a nice feature for contentproviders (and probably unwanted by 
illegal content consumers). Because DRM is built in the Windows Vista 
kernel this makes great sense to me. (According to a Dutch article on the 
net Adobe is working on Media Player also with DRM.)

If the technology is cheaper than FMS conentproviders like YouTube (and 
ofcourse MySpace) might switch to Silverlight.

I think 2 players on this market is a good thing and will result in great 
products en competition.

Lastly I'm quite interested in what's the opinion of the Red5-dev team about 
this (forever) ongoing development of mediastreaming players like Flash and 
Silverlight. In my opinion Adobe, Microsoft and Codec companies take the 
initiative and opensource-community (aka Red5) follows.
In other words will the Red5-team deconstruct and inplement future codecs of 
the Flash player?

Ruben






www.red5tutorials.net: Tutorials - How tos - FAQ 


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


[Red5] red5 silverlight

2007-04-16 Thread Ruben Waitz
What about a cross-technology (multiple runtimes) Red5 server, also 
capable of streaming Silverlight?

http://www.microsoft.com/silverlight
Silverlight is a cross-browser, cross-platform plug-in for delivering the 
next generation of media experiences and rich interactive applications 
(RIAs) for the Web.

Microsoft: LAS VEGAS - April 16, 2007 - Today at the National Association of 
Broadcasters (NAB) conference, 2007, Microsoft Corp. unveiled Microsoft 
Silverlight®, a new cross-browser, cross-platform plug-in for delivering the 
next generation of media experiences and rich interactive applications (RIA) 
for the Web. Early supporters of the new platform include Akamai, 
Brightcove, Eyeblaster, Limelight, Major League Baseball, Navisite, Netflix, 
Skinkers, Sonic Solutions, SyncCast, Tarari, Telestream, Winnov, and more.


Ruben




www.red5tutorials.net: Tutorials - How tos - FAQ 


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


Re: [Red5] Installing Red5

2007-04-06 Thread Ruben Waitz
Hi Rajesh,

Please try it on JVM Version 1.6.
In that configuration it's running quite fine on my CentOS test config.

I don't know the status of the 0.6RC2-war supporting version 1.5.

The tutorial was written for the old 0.6RC1-java1.5 thingy.


Ruben



-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens 
Rajesh GS
Verzonden: vrijdag 6 april 2007 15:38
Aan: red5@osflash.org
Onderwerp: [Red5] Installing Red5

Hi

I followed this tutorial: 
http://www.red5tutorials.net/index.php/Tutorials:TomcatLaszloRed5 to install
Tomcat, OpenLaszlo and Red5 on my local pc.
I used war to deploy the apps on the tomcat server. Although I was able to 
start openlaszlo, red5 doesnt start at all.

In tomcat manager, I get this error:
FAIL - Application at context path /red5 could not be started
In catalina log, I have these info
Apr 6, 2007 5:26:41 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive red5.war
Apr 6, 2007 5:26:44 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Apr 6, 2007 5:26:44 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/red5] startup failed due to previous errors
please let me know what is the problem. I am totally clueless. I havent 
changed any config settings.
Server information:

Tomcat Version  -   Apache Tomcat/5.5.23
JVM Version-   1.5.0_11-b03
JVM Vendor -   Sun Microsystems Inc.
OS Name-   Windows XP
OS Version -   5.1
OS Architecture -   x86
cheers




i'm making a difference. Make every IM count for the cause of your choice. 
Join Now. 


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


[Red5] number of subscriptions?

2007-04-02 Thread Ruben Waitz
just curious. how many subscribers are there on this list?


ruben




www.red5tutorials.net: Tutorials - How tos - FAQ

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


Re: [Red5] adobe flash media encoder

2007-03-16 Thread Ruben Waitz
This is the agreement we're taling about..





Adobe Flash Media Encoder
SOFTWARE LICENSE AGREEMENT


NOTICE TO USER: PLEASE READ THIS CONTRACT CAREFULLY. BY USING ALL OR ANY 
PORTION OF THE SOFTWARE YOU ACCEPT ALL THE TERMS AND CONDITIONS OF THIS 
AGREEMENT, INCLUDING, IN PARTICULAR THE LIMITATIONS ON: USE CONTAINED IN 
SECTIONS 2, 3 AND 4; WARRANTY IN SECTION 7; LIABILITY IN SECTION 8, AND 
SPECIFIC LIMITATIONS IN SECTION 14. YOU AGREE THAT THIS AGREEMENT IS 
ENFORCEABLE LIKE ANY WRITTEN NEGOTIATED AGREEMENT SIGNED BY YOU. IF YOU DO NOT 
AGREE, DO NOT USE THIS SOFTWARE. IF YOU ACQUIRED THE SOFTWARE ON TANGIBLE MEDIA 
(e.g., CD-ROM) WITHOUT AN OPPORTUNITY TO REVIEW THIS LICENSE, AND YOU DO NOT 
ACCEPT THIS AGREEMENT, YOU MAY NOT USE THE SOFTWARE.

Adobe and its suppliers own all intellectual property in the Software. Adobe 
permits Developer to Use the Software only in accordance with the terms of this 
Agreement. Use of some third party materials included in the Software may be 
subject to other terms and conditions typically found in a separate license 
agreement or Read Me file located near such materials.

  1.. DEFINITIONS 
1.. Adobe means Adobe Systems Incorporated, a Delaware corporation, 345 
Park Avenue, San Jose, California 95110, if Section 11(a) of this Agreement 
applies; otherwise it means Adobe Systems Software Ireland Limited, Unit 3100, 
Lake Drive, City West Campus, Saggart D24, Republic of Ireland, a company 
organized under the laws of Ireland and an affiliate and licensee of Adobe 
Systems Incorporated.
2.. Adobe Enterprise Software means the generally commercially available 
versions of Adobe software branded as LiveCycle, ColdFusion or Flex.
3.. Adobe Form Software means the generally commercially available 
versions of Adobe LiveCycle Forms, Adobe LiveCycle Reader Extensions, Adobe 
Acrobat Professional and Adobe Acrobat Standard.
4.. Developer refers to any person or entity Using the Software, or any 
component thereof.
5.. Developer Programs means Developer's application programs that are 
designed to extract data from electronic documents that have been processed 
with Adobe LiveCycle Forms software and at least one other Adobe Forms Software 
product and delivered to Developer by Developer's Transaction Partner.
6.. Documentation means explanatory materials supplied with the Software 
or made available online on Adobe web pages related to the Software.
7.. Software means all of the contents of the files, disk(s), CD-ROM(s) 
or other media with which this Agreement is provided, including but not limited 
to Documentation and any upgrades, modified versions, updates, and/or additions 
thereto, if any, provided to Developer by Adobe.
8.. Transaction Partner means a licensee of Adobe Form Software that has 
identified Developer to Adobe as a prospective recipient of the Software.
9.. Use, Used or Using means to access, install, download, copy or 
otherwise benefit from using the Software.
  2.. LICENSE
  Subject to the terms and conditions of this Software License Agreement (this 
Agreement), Adobe grants Developer a non-exclusive, nontransferable, 
royalty-free license to Use the Software subject to the following limitations: 
(a) if Developer has a valid license to Adobe Enterprise Software, then 
Developer may Use the Software only in connection with such licensed Adobe 
Enterprise Software for Developer's own internal business purposes; and (b) if 
Developer does not have a valid license to Adobe Enterprise Software, then 
Developer may Use the Software for the sole purpose of developing Developer 
Programs and use such Developer Programs internally for Developer's own benefit 
to facilitate the extraction of data from Portable Document Format files 
delivered to Developer by a Transaction Partner. Use of the Software and 
development and use of Developer Programs for any purpose not explicitly 
permitted in this Agreement, including but not limited to using such Software 
and Developer Programs as a substitute to obtaining a valid license to Adobe 
software applications, is expressly prohibited. Adobe is under no obligation to 
provide any support under this Agreement, including upgrades or future versions 
of the Software and/or any component thereof, to any other party.
  3.. RESTRICTIONS
  Developer may not distribute, sell, sublicense, rent, loan, or lease the 
Software or Developer Programs and/or any component thereof to any third party. 
Developer agrees not to reverse engineer, decompile, disassemble or otherwise 
attempt to discover the source code of the Software and/or any component 
thereof except to the extent (i) Developer may be expressly permitted to 
decompile under applicable law, (ii) it is essential to do so in order to 
achieve operability of the Software with another software program, and (iii) 
Developer has first asked Adobe to provide the information necessary to achieve 
such operability and Adobe has not made 

Re: [Red5] Problem with Storm's Videoconference

2007-03-15 Thread Ruben Waitz
Hi Florencio,



Find it explained in the readme.txt in the zip.



regards,

Ruben





 -Oorspronkelijk bericht-

 Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens

 Florencio Cano

 Verzonden: donderdag 15 maart 2007 11:42

 Aan: Red5@osflash.org

 Onderwerp: [Red5] Problem with Storm's Videoconference



 Hello,



 I have tried to publish Pruebas.fla from Storm's Videoconference and

 after adding the classes path I get these errors:





 **Error** C:\Archivos de

 programa\Red5\swf\DEV_Source\classes\org\red5\samples\livestream\videoconf

 erence\Contenedor.as:

 Line 102: Type mismatch.

 this.miStream = new Stream(conn);



 **Error** C:\Archivos de

 programa\Red5\swf\DEV_Source\classes\org\red5\samples\livestream\videoconf

 erence\Conector.as:

 Line 95: Type mismatch.

 stream=new Stream(this.conexion);



 Total ActionScript Errors: 2  Reported Errors: 2





 I have seen the type of stream and it is declared as private var

 stream:Stream;



 Do you see where is the problem? Thanks.



 ___

 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


Re: [Red5] mysql results

2007-03-14 Thread Ruben Waitz
I agree with Storm to call a client method from the server.



For example you can build a list or an array of objects of your mysql 
resultset and return that to the client.

Great examples are in the red5 distro. Find it in EchoService.java



Regards,

Ruben





-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Storm
Verzonden: donderdag 15 maart 2007 0:09
Aan: Red5@osflash.org
Onderwerp: Re: [Red5] mysql results



not quite sure but i suppose you can set data in a Shared object from server 
so if clients are connected to it they'll be notified and could access to 
that.
However you can always call a client method (method that should be in your 
netconnection class) from server and pass the result as an argument in an 
array or something.

good luck

On 3/14/07, Donald [EMAIL PROTECTED] wrote:

I finally got java talking to my DB server and working correctly.
Inserting data is no problem. however i can find anything on how to
loop through the results of a select query and send the results back to
the client side
i have the following code looping through the results and printing it
back to the system but i need
it to go to the client side

  queryresult = stmt.executeQuery(SELECT *  +
  from test123 ORDER BY id);
   System.out.println(results are );
  while(queryresult.next()){
  int idnum= queryresult.getInt(id);
  System.out.println ( idnum);
  }

any ideas?

Donald



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




-- 
---
Nos gusta los domingos ir al parque a pinchar los globos de los niños para 
verlos llorar .- Eskorbuto


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


Re: [Red5] Port Magic? localhost/oflaDemo

2007-03-13 Thread Ruben Waitz
Correct, red5 uses port 1935 for the rtmp protocol.

rtmp:// - maps to 1935

just like

http:// - maps to 80

and https:// maps to 443



(Look at: 
http://www.red5tutorials.net/index.php/Red5Tutorials:FAQ#What_ports_are_used_by_Red5_server.3F
 for more info)



ruben



-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Travis McCauley
Verzonden: dinsdag 13 maart 2007 15:36
Aan: Red5@osflash.org
Onderwerp: [Red5] Port Magic? localhost/oflaDemo

 

Hi,

 

I'm running the war version of  red5 0.6rc2 in tomcat 5.5. I'm using oflaDemo 
and everything is working well. But I don't understand how my flash player is 
able to connect to red5 inside of tomcat *without* explicitly asking for port 
8080. 

 

The url I'm providing is rtmp://localhost/oflaDemo. Tomcat is running on 8080. 
When red5 starts inside of tomcat does it create a server inside of a server 
that is listening on another port?  If so, then the flash player must use a 
default port (other than 80) for rtmp requests?

 

I'm happy that it's working but I'm confused. 

 

Thanks very much for any clarification on this issue. Eventually I want to run 
red5 on port 80 so I need to figure this out.

 

-Travis McCauley

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


[Red5] who can run a FMS2 vs Red5 benchmark?

2007-03-13 Thread Ruben Waitz
Hello,

Just wondering if somebody has FMS2 and Red5 both installed on a single 
system.
I'm curious about the server load and performance differences in both 
situations (benchmarking). Maybe a dedicated stresstest SWF can act as a 
client.

I don't know whether such a client is already developed by someone but I 
think benchmarking results are quite interesting for everyone.

Ruben


www.red5tutorials.net: Tutorials - How tos - FAQ 


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


[Red5] war version: telnet to server to catch debug and error logs?

2007-03-13 Thread Ruben Waitz
I'am not so familiar with log4j but can it be configured in such a way it's 
possible to setup a telnet session to a remote red5 webwar(!) deployment 
(e.g. on tomcat) to view all logging output?

That way it's easier to monitor (recently) production deployed red5-apps.
(I mean something like Xray, but for the server)

Ruben 


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


[Red5] Storm's videoconference example

2007-03-12 Thread Ruben Waitz
To everyone interested,

With Storm's permission I've published the sources of his great 
videoconference example he made last year. You can find it at at 
http://www.red5tutorials.net/download/
Make sure to check the readme.txt for instructions.

I was planning to write a tutorial for it but hadn't the time for it, yet.

Hope this helps.

Regards,
Ruben

p.s. On the list visioconference is mentioned. I don't know what that is 
and I hope this source isn't the same.



www.red5tutorials.net: Tutorials - How tos - FAQ 


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


Re: [Red5] Next update for WebWar building in trunk

2007-03-12 Thread Ruben Waitz
The latest revision I tried is rev. 1570 on Tomcat 5.5.20 and Java 6.
You can download it here: http://www.red5tutorials.net/download/war_dist/

Ruben


 -Oorspronkelijk bericht-

 Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens

 Interalab

 Verzonden: maandag 12 maart 2007 22:00

 Aan: Red5@osflash.org

 Onderwerp: Re: [Red5] Next update for WebWar building in trunk



 Any word on this working yet?  I tried it on Tomcat today and it doesn't

 start up. Just before saying it's started up, the log says:  [ERROR]

 2182 main:( MainServlet.contextInitialized )

 org.springframework.beans.factory.BeanDefinitionStoreException: . . .



 Matthew Smith wrote:

  Hi,

 

  I have the same probleme. Since I only use Red5 in Tomcat I would also

 be

  interested when a WAR will be available again. If I build the standalone

 Red5

  server and manually copy the files into the Tomcat webapps folder, it

 breaks

  the program.

 

  Regards

 

  Matthew

 

  PS @Red5 Developers: Thanks for the great software it is really usefull!

 

  On Monday 05 March 2007 19:56, Lenny Sorey wrote:

 

  Anyone know when the next update for the webwar build will take place

  in the current Trunk?

 

  As of Trunk build 1749, I still cannot get the webwar ant build to work

  in Tomcat 5.5. I am using java 1.6 for this build.

 

  However, I can get the native RED5 server trunk build 1749 to build and

 run

  with all the included demos.

 

  Platform:

 

  Win2K server

  Tomcat 5.5.17

  Java 1.6

  ANT 1.70

  RED5 Trunk 1749

 

  Any suggestions?

 

  Thanks,

 

  Lenny

 



 ___

 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


Re: [Red5] Problems with connecting to MySQL DB

2007-03-12 Thread Ruben Waitz
Hi,

If Red5 uses the wrapper-method to run, add the mysql jar to the list in 
{RED5_HOME}\conf\wrapper.conf.

Furthermore to avoid a hardcoded login/pass please check this page: 
http://www.red5tutorials.net/index.php/Howtos:Tomcat. Method 1b also works 
for Jetty and probably other java servers.

Ruben


 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens
 Stanislaw Fiedor
 Verzonden: dinsdag 13 maart 2007 0:11
 Aan: Red5@osflash.org
 Onderwerp: [Red5] Problems with connecting to MySQL DB

 Hi!
 I've got a problem while connecting from the fitcDemo application to a
 MySQL
 DB...
 private Connection getConnection() throws Exception {

 Class.forName(com.mysql.jdbc.Driver);

 return
 DriverManager.getConnection(jdbc:mysql://127.0.0.1/red5,user,pass);

 }

 I guess there is a problem with the DBconnector because I get this error:
  [java] java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  [java] at java.security.AccessController.doPrivileged(Native
 Method)
  [java] at
 java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  [java] at
 org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppCl
 assLoader.java:354)
  [java] at
 org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppCl
 assLoader.java:325)
  [java] at
 java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

  [java] at java.lang.Class.forName0(Native Method)
  [java] at java.lang.Class.forName(Class.java:169)

 I've got in the build path of the fitcDemo the
 Red5\lib\mysql-connector-java-5.0.5-bin.jar
 so everything should work fine - but it doesn't - why?!
 I've got the 1700 revision
 I hope somebody will be able to help me;)

 BR
 stf


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


www.red5tutorials.net: Tutorials - How tos - FAQ 


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


[Red5] Working WAR version of 0.6rc2

2007-03-06 Thread Ruben Waitz
Hi,

Ppl (including me) have problems running the WAR version 0.6rc2.
Well, the revision of 2007/2/24 did work. Earlier and some later revisions 
don't.
I'm not a red5 server developer, so I don't know why later revisions lack to 
work.

To get it compiled do the following (this example is taken from my linux 
box):
$ svn checkout -r {2007-02-24} 
http://svn1.cvsdude.com/osflash/red5/java/server/trunk/ war_r1742
$ cd war_r1742
$ ant webwar

Find red5.war in the dist dir.

I've tested it on:
- Centos 4.4
- Java 6 (required)
- Tomcat 5.5.20

Ruben



www.red5tutorials.net: Tutorials - How tos - FAQ 


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


Re: [Red5] How many connections can red5 support?

2007-02-27 Thread Ruben Waitz
Maybe someone has benchmarked between FMS and Red5 with the same app on the 
same hardware?

Ruben



www.red5tutorials.net: Tutorials - How tos - FAQ 


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


Re: [Red5] Red5 Stopped

2007-02-13 Thread Ruben Waitz
Hi,

Your red5 app stops because it probably runs on your actual SSH shell.

You can solve this by using a start-stop script. (E.g. /etc/init.d/red5 
start)
Install something like: 
http://svn1.cvsdude.com/osflash/red5/redhat/trunk/red5.init

Regards,
Ruben


-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens David 
Fellous
Verzonden: dinsdag 13 februari 2007 12:10
Aan: Red5@osflash.org
Onderwerp: [Red5] Red5 Stopped

In my research about this problem i discover my main problem :

I logged on my server with SSH as root and  launch red5 with this command 
line  :
./red5.sh 

When i disconnect from SSH, red5 stopped... (red5 0.5 = red5 0.6 RC2)

Have you got any idea on this problem ?

David

Le 13 févr. 07 à 09:45, Steven Gong a écrit :




On 2/13/07, Storm [EMAIL PROTECTED] wrote:

On 2/13/07, Steven Gong  [EMAIL PROTECTED] wrote:
Well, I have a way to reproduce it following specific steps. :-)


lol, sorry guys for the interruption but how perverted are we that finding 
a way to reproduce a bug induces us a feeling of happiness?

Maybe that's a habit of  a bug fixer like me. :-)

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



-- 
I cannot tell why this heart languishes in silence. It is for small needs it 
never asks, or knows or remembers.  -- Tagore

Best Regards
Steven Gong
___
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


Re: [Red5] Guide to create new applications in Tomcat

2007-02-13 Thread Ruben Waitz
I could be wrong but if I understood the maillist correctly the trunk 
sources need to be migrated to the War repository by hand by the dev. 
team.
So downloading and compiling the latest WAR sources doesn't make any sense.
Furthermore, yesterday Paul Mondain mentioned a new app. structure which 
will impact the WAR version.

That's probably the reason that 0.6RC2-WAR doesn't exist (yet).

Ruben


 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens
 Interalab
 Verzonden: dinsdag 13 februari 2007 13:02
 Aan: Red5@osflash.org
 Onderwerp: Re: [Red5] Guide to create new applications in Tomcat

 Does anyone know if the RTMPT issue has been resolved in the WAR
 version?  Last I tried it, tunneling didn't work.

 Bill

 muthu kumaran wrote:
  Friends...
 
  I have uploaded a simple guide to develop  deploy applications
  for Tomcat from RED5..
 
http://muthuar.aboutus.vg/Develop.htm
 
   let me know if there are something needs to changed
 
 
  Muthu
 
  
 
  ___
  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] Congratulations!

2007-02-12 Thread Ruben Waitz
Congratulations to the whole Red5 team and everyone involved!

Thank you for the hard work the last 1.5 years. It's a big achievement!
I'll hope the current results will firmly pull the project to its goals.

Cheers
Ruben



www.red5tutorials.net: Tutorials - How tos - FAQ

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


[Red5] sub interfacing between servlets

2007-02-09 Thread Ruben Waitz
Hello,

I am not so familiar with Java (but trying). So I was wondering

Picture this, there is a Tomcat server running 3 servlets:
- Red5 servlet;
- PHP servlet version;
- Railo servlet (=ColdFusion branch);
- .. servlet

Is there a way to share data between those servlets?
- I'am thinking of client management (J2EE cookies?) such a login-credentials;
- Server variables like the amount of connected Red5-clients;

Why am I asking this?
Well, that way it's possible to make a webapp in PHP which arranges user 
authentication. That way the Red5 servlet can easily use this 
authentication-state. Another advantage is that PHP can have access to Red5's 
getClients().size().

Thanks!

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


Re: [Red5] server invoke method with Object argument

2007-02-05 Thread Ruben Waitz
For everybody who's interested.

Passing objects to the client with the invoke method can be done this way:

SERVER:
===
import java.util.HashMap;
import java.util.Map;


public void invokeAtClient() {
  IConnection conn = Red5.getConnectionLocal();
  IServiceCapableConnection service = (IServiceCapableConnection) conn;

  MapString, String oReturn = new HashMapString, String();
  oReturn.put(key1, test);
  oReturn.put(key2, test 2);
  oReturn.put(key3, test 3);

  service.invoke(svr2swfCall, new Object[] { oReturn },this);
}


FLASH:
==
In flash bind the method to the Netconnection object and access the 
dataobject (evtObj) as follows:

public function svr2swfCall(evtObj:Object):Void {
trace(evtObj[key1]);
trace(evtObj[key2]);
trace(evtObj[key3]);
 }



Ruben






 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens
 Ruben Waitz
 Verzonden: zaterdag 3 februari 2007 10:58
 Aan: Red5@osflash.org
 Onderwerp: [Red5] server invoke method with Object argument

 Hello,

 When I invoke an client-function from a server-app with an Object
 containing three strings only the first array-position is received by the
 client. In my example below it's string1.

 Does anyone know how to fix this?

 (I'am using Red5_0.6_rc1-WAR with Tomcat 5)

 Thanks!

 Ruben



 Code snippets:

 SERVER CODE (e.g. Application.java):
 ===
 @Override
 public boolean appConnect(IConnection conn, Object[] params) {
   ((IServiceCapableConnection) conn).invoke (svr2swfCall, new Object[] {
 string1, string2, string3 }, this);
   return true;
 }


 CLIENT CODE (AS):
 
 import org.red5.net.Connection;
 .
 nc = new Connection();
 nc.svr2swfCall= Delegate.create(this, svr2swfCall);
 nc.connect( uri ); // etc
 .
 public function svr2swfCall(evtObj:Array):Void {
   // _global.Xray.xrayLogger.debug(svr2swfCall, evtObj);
   trace (evtObj[0] + \n + evtObj[1] + \n + evtObj[2]); // Problem:
 only
 data for evtObj[0] is received..!
 }



 
 www.red5tutorials.net: Tutorials - How tos - FAQ


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

www.red5tutorials.net: Tutorials - How tos - FAQ 


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


[Red5] server invoke method with Object argument

2007-02-03 Thread Ruben Waitz
Hello,

When I invoke an client-function from a server-app with an Object 
containing three strings only the first array-position is received by the 
client. In my example below it's string1.

Does anyone know how to fix this?

(I'am using Red5_0.6_rc1-WAR with Tomcat 5)

Thanks!

Ruben



Code snippets:

SERVER CODE (e.g. Application.java):
===
@Override
public boolean appConnect(IConnection conn, Object[] params) {
  ((IServiceCapableConnection) conn).invoke (svr2swfCall, new Object[] { 
string1, string2, string3 }, this);
  return true;
}


CLIENT CODE (AS):

import org.red5.net.Connection;
.
nc = new Connection();
nc.svr2swfCall= Delegate.create(this, svr2swfCall);
nc.connect( uri ); // etc
.
public function svr2swfCall(evtObj:Array):Void {
  // _global.Xray.xrayLogger.debug(svr2swfCall, evtObj);
  trace (evtObj[0] + \n + evtObj[1] + \n + evtObj[2]); // Problem: only 
data for evtObj[0] is received..!
}




www.red5tutorials.net: Tutorials - How tos - FAQ 


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


Re: [Red5] Nightly build 1660 war version doesn't support AMF3?

2007-01-26 Thread Ruben Waitz
Hai Jalmari,

 

Please take a loot at www.red5tutorials.net

I have it explained there with compiled wars in the download section.

 

Greets,

Ruben



www.red5tutorials.net: Tutorials - How tos - FAQ

 -Oorspronkelijk bericht-

 Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens

 Jalmari Raippalinna

 Verzonden: vrijdag 26 januari 2007 13:33

 Aan: Red5@osflash.org

 Onderwerp: [Red5] Nightly build 1660 war version doesn't support AMF3?

 

 Hey,

 

 I just quit trying to get the amf3 connections to work with the latest

 nigthly build (I also tried to include new channel.class from later

 revision with no success).

 

 With nc.objectEncoding = ObjectEncoding.AMF0 connection gets up just

 fine but with AMF3 I'm just receiving:

 netStatus: NetConnection.Connect.Failed

 

 Any idea where to look next?

 

 Also instructions on building war version by yourself would be nice, I

 noticed that webwar option is commented out from current build.xml

 

  - Jalmari

 

 ___

 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] nightly builds of war version

2007-01-19 Thread Ruben Waitz
In the download section of http://www.red5tutorials.net I've published 
nightly builds of the WAR-version of the latest CVS revision.

If there's enough demand I can also setup a nightly build for a JAR version 
likewise.

Regards,
Ruben

ps. The nightly builds are still a bit experimental. Comments are welcome.


www.red5tutorials.net: Tutorials - How tos - FAQ 


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


Re: [Red5] nightly builds of war version

2007-01-19 Thread Ruben Waitz
A while ago I've tried RTMPT with r1600 or r1607 and unfortunately it didn't 
work
I don't know whether this is fixed.


 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens
 Interalab Sales
 Verzonden: vrijdag 19 januari 2007 15:37
 Aan: Red5@osflash.org
 Onderwerp: Re: [Red5] nightly builds of war version

 Is RTMPT working in the war yet?

 Ruben Waitz wrote:
  In the download section of http://www.red5tutorials.net I've published
  nightly builds of the WAR-version of the latest CVS revision.
 
  If there's enough demand I can also setup a nightly build for a JAR
 version
  likewise.
 
  Regards,
  Ruben
 
  ps. The nightly builds are still a bit experimental. Comments are
 welcome.
 
  
  www.red5tutorials.net: Tutorials - How tos - FAQ
 
 
  ___
  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] openlaszlo + railo + red5 + tomcat

2006-11-16 Thread Ruben Waitz
Hello list,

This is general information I like to share.

I've done some (more) tests on Tomcat 5.5 and managed to integrate 
openlaszlo 3.4 (free flex), railo (www.railo.ch - inexpensive coldfusion) 
and red5 in a tomcat 5.5. configuration.

It's even possible to dynamically generate .lzx files from within 
Railo-ColdFusion!
An example URL would be: 
http://localhost:8080/lps-3.3.3/examples/hello.cfm.lzx
(Note the double .cfm.lzx extension)

End of information.

Ruben Waitz
Amtex

p.s. the community edition of Railo ColdFusion is even free of charge! 


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


Re: [Red5] openlaszlo + railo + red5 + tomcat

2006-11-16 Thread Ruben Waitz
  openlaszlo 3.4 (free flex)



 OT : Flex is free. Don't confuse people.

 --

 Michael,


I meant the $ 6000,- Flex server called Adobe Flex Data Services 2, not 
the SDK.


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


[Red5] serverside javascript

2006-11-09 Thread Ruben Waitz




Hello 
list,
Probably a stupid 
question, but.
I noticed serverside 
_javascript_ at the red5 server is supported.Do I need to compile 
that into class files (how do I do that?) or is it 
interpreted?
regards,Ruben

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


[Red5] Install guide tomcat 5.5 + red5 war + openlaszlo

2006-11-07 Thread Ruben Waitz
Hello,

I've made a quick guide (PDF) for installing Red5 and OpenLaszlo on top of 
Tomcat 5.5.

Please let me know whether this has any value to you (or others).

Link to guide: http://weblogs.amtex.nl/index.php?blog=2

Regards,
Ruben



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


Re: [Red5] Install guide tomcat 5.5 + red5 war + openlaszlo

2006-11-07 Thread Ruben Waitz
Dear Sebastian,



Thank you for your comment.



To be honest with you, it's you who raised my interest in OpenLaszlo. I am 
familiar with URL's you mentioned, and your demo+sourcecode at your blog got 
my excited. So I've downloaded laszlo and integrated it with our hosting 
services (as a tryout).



Regarding rtmpT, I don't know. I've read on this list that there are 
differences between the stand-alone and war version of Red5.



Let's stay in touch to swap knowledge/findings also on the red5 list.



regards,

Ruben







-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens 
Sebastian Wagner
Verzonden: dinsdag 7 november 2006 15:20
Aan: Red5@osflash.org
Onderwerp: Re: [Red5] Install guide tomcat 5.5 + red5 war + openlaszlo



*this has any value to you (or others).*

== very big value!!

I'm working on a VideoConferencing with OL+Red5 including whiteboard and 
alos tried to integrate red5 with OL.. but it Jetty 6.0 and OL-servlet 
dislike each other (cause of some JARs i think)

Hope you have seen the Video-API in OpenLaszlo:
http://wiki.openlaszlo.org/Video
Me is contributing to it and I am the only red5 user there (yet i hope).
or made a simple Recorder/Viewer with Red5+OL:
http://wagner-sebastian.com/wordpress/2006/08/18/laszlo-video-api-and-red5-05/
(its not 0.5 its already 0.6 rc1 now ;-) )
As soon as the VideoConference + whiteboard is stable and delivered to the 
customer i'll puplish the sources completely. It is made for 
dokeos-Elearnign plattform.

Some question:
Is rtmpT working in this installation you made?

regards
sebastian wagner

2006/11/7, Ruben Waitz [EMAIL PROTECTED]:

Hello,

I've made a quick guide (PDF) for installing Red5 and OpenLaszlo on top of
Tomcat 5.5.

Please let me know whether this has any value to you (or others).

Link to guide: http://weblogs.amtex.nl/index.php?blog=2

Regards,
Ruben



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




-- 
Sebastian Wagner
http://www.webbase-design.de
http://www.laszlo-forum.de
Bleichstraße 92
75173 Pforzheim
Tel.: 0177-7341829
Home: 07231-417456
[EMAIL PROTECTED]


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


Re: [Red5] RES: Problems in Test

2006-06-26 Thread Ruben Waitz / Amtex
Great!

If you can crack my earlier post with subject 'WEB-INF/classes + WEB-INF/lib
not loaded' I can hug you too!


 -Oorspronkelijk bericht-
 Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens
 Marlos Carmo
 Verzonden: maandag 26 juni 2006 12:07
 Aan: Red5@osflash.org
 Onderwerp: [Red5] RES: Problems in Test
 
 Thankyou Ruben! I was running the Red5 Service and Ant Server together. I
 stop Red5 service and restart Ant Server and now is running correctly.
 
 Hugs
 Marlos Carmo
 
 -Mensagem original-
 De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de
 Ruben Waitz
 Enviada em: Monday, June 26, 2006 4:24 AM
 Para: Red5@osflash.org
 Assunto: Re: [Red5] Problems in Test
 
 Hi Marlos,
 
 If you carefully follow all steps and start Red5 server with ant server
 without another Red5 server already running (e.g. NT red5 service), it
 should work.
 
 I followed all steps myself without modifications resulting in a
 working 'demo' app.
 
 regards,
 Ruben
 
 
 On Sun, 25 Jun 2006 21:40:21 -0300, Marlos Carmo wrote
  Hi All,
 
  I follow the steps of Red5 videos in http://www.flashextensions.com/
  and all steps is ok, but when I test demo application in Flash is
 returning
  NetConnection.Connect.Failed.
 
  If I use rtmp://localhost/demo return correctly.
 
  What can be wrong?
 
  Hugs,
 
  Marlos Carmo
 
  ___
  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


Re: [Red5] about version 0.6 / my current experiences

2006-06-25 Thread Ruben Waitz
Hi Joachim,

I'm pulling my hair out to get apps working without adding classes to 
red5.jar. Ofcourse with a server restart each attempt.

It seems that webapps/myapp/WEB-INF/classes/myapp/Application.class is 
simply ignored or skipped.

I connected it from webapps/myapp/WEB-INF/red5-web.xml in the following way:
bean id=web.handler 
  class=myapp.Application 
  singleton=true /

Also I made all neccessary changes red5-web.properties (webapp.contextPath) 
and web.xml (webrootkey)

Also, for insurance, I copied 'Application.class' to webapps/myapp/WEB-
INF/classes/ but had no success either.

Finally tried it on Linux to avoid 'wrapper.exe' but this was unsuccessful 
also.

Am I forgetting something to let it work...?

(Furthermore I noticed that all 'shipped' application-examples make use of 
classes in the red5.jar. That's why they do always work I think...)


Ruben





On Sat, 24 Jun 2006 02:06:54 +0200, Joachim Bauch wrote
 Hi Ruben,
 
 Ruben Waitz wrote:
  I'll have to test the 'WEB-INF/classes/*.jar' method.
  In the courses at 'http://www.flashextensions.com/index.php?page=free' 
(20+ 
  tutorials) the teacher (Fred?) explicitly said that you'll have to add 
your 
  own class file in the jar file to let it work.
  I think that it only works if you register the app in build.xml and 
  recompile Red5 with Ant completely.
 
 You surely don't have to add your classes to the red5.jar file!  
 It's okay to have them either somewhere
 1. in the classpath
 2. in WEB-INF/classes/*.class
 3. in WEB-INF/lib/*.jar
 
 Of course you can add your app to the build.xml to generate a 
 red5.jar that contains all classes, but it's not required.
 
  So you are saying if I turn helloWorld.class into helloWorld.jar and put 
it 
  into WEB-INF/classes it should work?
 
 You don't need to put it in a .jar file, the .class is sufficient.
 
  And also leave red5.jar untouched? That would be very nice...! That way 
I 
  could reside mysql-connector-java.*.jar there too.
 
 Yep.
 
  Continuing on that, it should also be possible to 
enable 'log4j.properties' 
  for each individual application (in its own log file).
 
 Yep, just put such a file in the WEB-INF directory of your application.
 
  You asked me how I would like to deploy an application.
  Let's say there's a production Linux server and a Windows XP development 
  desktop both running Red5.
  I think of the following scene:
 [...]
 
 Okay, this is all sounds like a good way to deploy applications, but
 I think this will be done in a second step after Red5 is mostly
 feature-complete ;)
 
 Joachim
 
 ___
 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


Re: [Red5] about version 0.6 / my current experiences

2006-06-23 Thread Ruben Waitz
Thanks answerering Joachim.

I'll have to test the 'WEB-INF/classes/*.jar' method.
In the courses at 'http://www.flashextensions.com/index.php?page=free' (20+ 
tutorials) the teacher (Fred?) explicitly said that you'll have to add your 
own class file in the jar file to let it work.
I think that it only works if you register the app in build.xml and 
recompile Red5 with Ant completely.  

So you are saying if I turn helloWorld.class into helloWorld.jar and put it 
into WEB-INF/classes it should work? 
And also leave red5.jar untouched? That would be very nice...! That way I 
could reside mysql-connector-java.*.jar there too.
Continuing on that, it should also be possible to enable 'log4j.properties' 
for each individual application (in its own log file).

You asked me how I would like to deploy an application.
Let's say there's a production Linux server and a Windows XP development 
desktop both running Red5.
I think of the following scene:
- On the desktop I create an app (helloWorld.class). I run and test it from 
Eclipse.
- When satisfied I decide to take it in production
- Via a webinterface (e.g. port 5080) I log into 'Red5 Administrator'
- A Wizard starts and asks me several questions: 
* name of app
* virtual host name to run at
* rtmp:// address
* class file to deploy (fileupload)
* dependent jar files of class file (fileupload)
- Finally the wizard uploads and deploys the application
- A scheduled or immediate red5 server restart will take place. (Dynamically 
adding/removing new apps 
without server restart would be very nice, but impossible I bet)

The possibilities of such an administrator interface are plenty like:
- monitoring/limiting bandwidth;
- reading/flushing logfiles;
- server 'health' detection;
- changing java setttings (e.g. memory)
- starting/stopping/reloading the server;
- etc.

Ruben



On Fri, 23 Jun 2006 21:31:18 +0200, Joachim Bauch wrote
 Hi Ruben,
 
 First of all thanks for your input!
 
 Ruben Waitz / Amtex wrote:
  I've played around with red5 and gained some experience with java package
  development for Red5 (Application.class).
  
  First of all Red5 is a great product but I'm very curious about the ease 
of
  general usage with it in production environments:
  - for the server: installing/configuring/updating/etc;
  - for applications: deploying/configuring/updating;
 
 Well, Red5 currently is mainly targeted for developers, so there 
 might be a few rough edges in productive use.
 
  I noticed that it's quite a job to deploy a new application with mysql
  support in a (remote) Red5 production environment:
  - add the application class (helloWorld.class) to red5.jar
  - configure all settings (xml/properties files)
  - add mysql-connector-java.*.jar to the server to get MySQL access
  - add mysql jar to wrapper.conf (windows) or pass classpath option with
  mysql jar to the java executable
  - restart the server.
 
 You can actually deploy your application but adding a new folder to the
 webapps directory with the following sub-folders:
 
 WEB-INF- configuration files
|-- lib - *.jar files
|-- classes - compiled classes
 
 Of course you will have to adjust the configuration files depending
 on the database you are using, but the .class and .jar files should
 be used automatically during startup of your application.
 There should be no need to change any Red5 files (besides network
 settings).  Note to self: this needs to be documented better!
 
 Restarting is required as Red5 doesn't load new applications when
 already running.
 
 What would you like to improve here?  Or better: how would you like
 to deploy your application?
 
  Will there be a management interface (e.g. webinterface) available in the
  future to configure Red5? (A kind of 'webmin' solution to make life a 
little
  easier?)
 
 Some sort of management interface is planned, but we currently don't 
 know how this will look like.  Ideas welcome ;)
 
  I think version 0.6 (ref: roadmap) might deal with some of my notices, 
but
  maybe you can do something with my findings.
 
 Yep, we will add a lot of administrator supporting tools and documentation
 in later versions.  For easier application development, scripting support
 will also help a lot.
 
  (P.s. Joachim, I agree with you that shared objects are supported from 
the
  trunk v0.5. I didn't know that...)
 
 SharedObjects are supported in 0.4.* as well, however the support for
 serverside listeners is new and will only be available starting in 0.5.
 
 Joachim
 
 ___
 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] SharedObjectListener, anyone succesfully implemented?

2006-06-21 Thread Ruben Waitz / Amtex
Hi,

Based on Joachim's tutorial
(http://www.joachim-bauch.de/tutorials/red5/MigrationGuide.txt#serverside-ch
ange-listeners) I've tried to implement a SharedObjectListener.

I'am trying the same as Edmond did on 29/05/06 but without any success.

I think it's a small issue somewhere. Any ideas?

Regards,
Ruben

P.s. I will publish all working code snippets on my weblog.
(http://weblogs.amtex.nl)





package sampleSharedObjectListener;

import org.red5.server.adapter.*;
import org.red5.server.api.so.*;
import org.red5.server.api.IScope;
import java.util.List;

public class Application extends ApplicationAdapter  {

public class SampleSharedObjectListener implements
ISharedObjectListener {
public void onSharedObjectUpdate(ISharedObject so, String
key, Object value) {
// The attribute key of the shared object so
// was changed to value.
System.out.println(SO changes detected!);
}

public void onSharedObjectDelete(ISharedObject so, String
key) {
// The attribute key of the shared object so was
deleted.
}

public void onSharedObjectSend(ISharedObject so, String
method, List params) {
// The handler method of the shared object so
was called
// with the parameters params.
}

public void onSharedObjectConnect(ISharedObject so) {
// TODO Auto-generated method stub

}

public void onSharedObjectSend(ISharedObject arg0, String
arg1, Object[] arg2) {
// TODO Auto-generated method stub  
}

}

public boolean appStart(IScope scope) {
// Original code:
ISharedObject so = getSharedObject(scope, sampleSO);
so.addSharedObjectListener(new
SampleSharedObjectListener());
/*
Eclipse says:
-The method getSharedObject(String) in the type
ApplicationAdapter is not applicable for the arguments (IScope, String)
Application.java
-The method
addSharedObjectListener(Application.SampleSharedObjectListener) is undefined
for the type ISharedObject  Application.java
*/


// My code (doesn't work either):
// ISharedObject so = getSharedObject(sampleSO);
// so.addEventListener(new SampleSharedObjectListener());

return true;
}

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.2/370 - Release Date: 20-06-2006
 
  


sampleSharedObjectListener.java
Description: Binary data
___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] global var pointing to conf dir?

2006-06-20 Thread Ruben Waitz / Amtex
Hi,

I'am wondering if there exists a (global) variable pointing to the conf
dir of the red5 server available in
webapps/{myapp}/WEB-INF/{a_package}/Application.class

If not, is there any way to detect it?

Thanks in advance,
Ruben


Background info:
I've built a chat app which should log into MySQL all chat-textlines. The DB
connection params are stored in a database.properties file which I read
with load() and getProperty() from java.util.Properties



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


[Red5] massive virtual hosting / no service restarts

2006-05-18 Thread Ruben Waitz / Amtex
Hi,

As a hostingprovider we host many domains on a single box. To decrease
individual configuration time we use Apache's mod_vhost to dynamically
configure name based virtual hosts.
My main concern is that we'll have to restart Red5 - and loose all
connections - in order to take a new virtual host in effect.

I am wondering whether Red5 is (or will be) capable of these features:
- adding a new virtual host in production without restarting the Red5
service;
- supporting mass virtual hosting in a Apache mod_vhost or mod_rewrite (with
regular expressions) style.


Thanks in advance.

Regards,
Ruben



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


Re: [Red5] Linux RUN

2006-05-14 Thread Ruben Waitz / Amtex








Hi Tom,



Ive made this notes for myself.
Hope this helps.



Install Apache Ant version 1.6.5

$ tar zxf apache-ant-1.6.5-bin.tar.gz -C
/opt 

$ ln -s /opt/apache-ant-1.6.5/bin/ant .



Install JDK

$ sh jdk-1_5_0_06-linux-i586-rpm.bin



Add to /etc/profile:

JAVA_HOME=/usr/java/jdk1.5.0_06

export JAVA_HOME





Fire up server!

cd /usr/local/src/red5_04

./ant

pico
/webapps/defaultApp/WEB-INF/red5-web.properties

./red5.sh







-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Tom
Krcha
Verzonden: donderdag 4 mei 2006
11:45
Aan: Red5@osflash.org
Onderwerp: [Red5] Linux RUN



Hi,



have anybody tested Red5 on Linux?

How to make it run on Linux?



Thanks



Tom








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