Re: [Red5] Problems with AMF3 types in RED5 (ByteArray)

2007-08-29 Thread Stanislaw Fiedor
Hello Dominik,

thanks for your response;)

I hoped that what you have written is gonna help me.. but unfortunately I 
guess that it won't.
When sending a ByteArray to RED5 I get a:

[INFO] 2007-08-29 17:46:49,125 SocketAcceptorIoProcessor-0.0:( 
org.red5.io.amf3.Input.readDataType ) Unknown datatype: 12

so as you can see it uses the correct amf version but it can't find the 12 
datatype.. - take a look at the org.red5.io.amf3;  Class.

It seems that there is NO handling for this type of a data:


/**

* Object start marker

*/

public static final byte TYPE_OBJECT = 0x0A;


/**

* XML start marker

*/

public static final byte TYPE_XML = 0x0B;


//public final static byte TYPE_YYY = 0x0C; 


//public final static byte TYPE_ZZZ = 0x0D; 




So

Therefore I guess that first of all the ByteArray type needs to be 
implemented into the AMF3 Class to get it working.. unfortunately I'm rather 
a java newbie therefore I hope that some RED5 DEV's will  be able to add it.

stf


- Original Message - 
From: Dominik Willers [EMAIL PROTECTED]
To: red5@osflash.org
Sent: Wednesday, August 29, 2007 11:54 AM
Subject: Re: [Red5] Problems with AMF3 types in RED5 (ByteArray)


 Hello Stanislaw,

 sounds like the problem I had before as well. I solved it
 for me by forcing Red5 to use AMF3 in server code.

 I also created a ticket for that issue in JIRA:
 http://jira.red5.org/browse/APPSERVER-188

 The ticket also describes my very minor changes
 to the server code.

 Hope this helps until the issue is solved...

 Dominik

 Date: Tue, 28 Aug 2007 23:22:21 +0200
 From: Stanislaw Fiedor [EMAIL PROTECTED]
 Subject: [Red5] Problems with AMF3 types in RED5 (ByteArray)
 To: red5@osflash.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; format=flowed; charset=iso-8859-1;
 reply-type=original

 Hello,
 I'm working right now with ByteArrays and I've got some problems:
 - When sending an ByteArray to RED5 I get a decoding error on RED5
 - When sending an ByteArray from RED5 to my Flex client I'm getting an :
 Type Coercion failed: cannot convert [EMAIL PROTECTED] to 
 flash.utils.ByteArray.
 which means that I get an Array of Arrays with Numbers and NOT an 
 ByteArray
 Therefore I'm assuming that RED5 uses the AMF0 and not AMF3 - please
 compare:
 http://livedocs.adobe.com/flex/2/fds2javadoc/flex/messaging/io/amf/ActionMessageInput.html
 and
 http://livedocs.adobe.com/flex/2/fds2javadoc/flex/messaging/io/amf/ActionMessageOutput.html

 So my question is: Is there a setting for choosing AMF type on the server
 side? Cause my clientside objectencoding is AMF3 and everything should be
 ok..

 Anybody else experienced problems with ByteArrays?
 I will be glad for any help or suggestions.
 BR
 stf


 ___
 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 AMF3 types in RED5 (ByteArray)

2007-08-29 Thread Stanislaw Fiedor
Hello,
you can find the issue and a source file under:
http://jira.red5.org/browse/APPSERVER-189

I keep my fingers crossed ;)

- Original Message - 
From: Joachim Bauch [EMAIL PROTECTED]
To: red5@osflash.org
Sent: Wednesday, August 29, 2007 6:20 PM
Subject: Re: [Red5] Problems with AMF3 types in RED5 (ByteArray)


 ___
 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] wrapper starting problems

2007-08-20 Thread Stanislaw Fiedor
Hi, I was running red successfully many times, but today when starting the 
service I got this error:
does anybody know how to fix it?

STATUS | wrapper  | 2007/08/20 19:31:10 | -- Wrapper Started as Console
STATUS | wrapper  | 2007/08/20 19:31:10 | Launching a JVM...
INFO   | jvm 1| 2007/08/20 19:31:11 | Wrapper (Version 3.1.2) 
http://wrapper.tanukisoftware.org
INFO   | jvm 1| 2007/08/20 19:31:11 |
INFO   | jvm 1| 2007/08/20 19:31:11 | [INFO] 0 WrapperSimpleAppMain:( 
org.red5.server.Standalone.main ) RED5 Server (http://www.osflash.org/red5)
INFO   | jvm 1| 2007/08/20 19:31:11 | [INFO] 0 WrapperSimpleAppMain:( 
org.red5.server.Standalone.main ) Loading red5 global context from: red5.xml
INFO   | jvm 1| 2007/08/20 19:31:11 | [INFO] 15 WrapperSimpleAppMain:( 
org.red5.server.Standalone.main ) Setting configuation root to C:/Program 
Files/Red5/conf
INFO   | jvm 1| 2007/08/20 19:31:11 | [INFO] 15 WrapperSimpleAppMain:( 
org.red5.server.Standalone.main ) Setting Red5 root to C:/Program Files/Red5
INFO   | jvm 1| 2007/08/20 19:31:11 | [INFO] 15 WrapperSimpleAppMain:( 
org.red5.server.Standalone.main ) Setting webapp root to C:/Program 
Files/Red5
INFO   | jvm 1| 2007/08/20 19:31:11 | [INFO] 140 
WrapperSimpleAppMain:( 
org.springframework.context.support.ClassPathXmlApplicationContext.prepareRefresh
 
 ) Refreshing 
[EMAIL PROTECTED]: 
display name 
[EMAIL PROTECTED]; 
startup date [Mon Aug 20 19:31:11 CEST 2007]; root of context hierarchy
INFO   | jvm 1| 2007/08/20 19:31:13 | [INFO] 1734 
WrapperSimpleAppMain:( 
org.springframework.context.support.ClassPathXmlApplicationContext.obtainFreshBeanFactory
 
 ) Bean factory for application context 
[EMAIL PROTECTED]: 
[EMAIL PROTECTED]
INFO   | jvm 1| 2007/08/20 19:31:13 | [INFO] 1765 
WrapperSimpleAppMain:( 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons
 
 ) Pre-instantiating singletons in 
[EMAIL PROTECTED]: 
defining beans [red5.common,red5.core,context.loader,jetty6.server]; root of 
factory hierarchy
INFO   | jvm 1| 2007/08/20 19:31:13 | [INFO] 1875 
WrapperSimpleAppMain:( 
org.springframework.context.support.FileSystemXmlApplicationContext.prepareRefresh
 
 ) Refreshing 
[EMAIL PROTECTED]: 
display name 
[EMAIL PROTECTED]; 
startup date [Mon Aug 20 19:31:13 CEST 2007]; root of context hierarchy
INFO   | jvm 1| 2007/08/20 19:31:13 | [INFO] 2000 
WrapperSimpleAppMain:( 
org.springframework.context.support.FileSystemXmlApplicationContext.obtainFreshBeanFactory
 
 ) Bean factory for application context 
[EMAIL PROTECTED]: 
[EMAIL PROTECTED]
INFO   | jvm 1| 2007/08/20 19:31:13 | [INFO] 2218 
WrapperSimpleAppMain:( 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons
 
 ) Pre-instantiating singletons in 
[EMAIL PROTECTED]: 
defining beans 
[placeholderConfig,red5.server,jmxFactory,jmxAgent,serializer,deserializer,statusObjectService,rtmpCodecFactory,remotingCodecFactory,videoCodecFactory,streamableFileFactory,sharedObjectService,streamService,providerService,consumerService,BWControlService,schedulingService,threadFactory,remotingPool,remotingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,mp3reader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBean,org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,streamExecutor,playlistSubscriberStream,clientBroadcastStream];
 
root of factory hierarchy
INFO   | jvm 1| 2007/08/20 19:31:13 | [INFO] 2390 
WrapperSimpleAppMain:( 
org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons
 
 ) Destroying singletons in 
[EMAIL PROTECTED]: 
defining beans 
[placeholderConfig,red5.server,jmxFactory,jmxAgent,serializer,deserializer,statusObjectService,rtmpCodecFactory,remotingCodecFactory,videoCodecFactory,streamableFileFactory,sharedObjectService,streamService,providerService,consumerService,BWControlService,schedulingService,threadFactory,remotingPool,remotingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,mp3reader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBean,org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,streamExecutor,playlistSubscriberStream,clientBroadcastStream];
 
root of factory hierarchy
INFO   | jvm 1| 2007/08/20 19:31:13 | [INFO] 2390 
WrapperSimpleAppMain:( 
org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons
 
 ) Destroying singletons in 
[EMAIL PROTECTED]: 
defining beans [red5.common,red5.core,context.loader,jetty6.server]; root of 
factory hierarchy
INFO   | jvm 1| 2007/08/20 19:31:13 |
INFO   | jvm 1| 2007/08/20 19:31:13 | WrapperSimpleApp: Encountered an 
error running main: java.lang.Error: Unresolved compilation problems:
INFO   | jvm 1| 2007/08/20 19:31:13 |  The import com.sun.jdmk cannot be 
resolved
INFO   | jvm 1| 2007/08/20 19:31:13 |  HtmlAdaptorServer cannot be 
resolved 

Re: [Red5] Gapless Stream Change

2007-08-18 Thread Stanislaw Fiedor
I've also been trying to switch streams without re-buffering, but I guess 
that its the case of the red5... that it doesn't work like in FMS..
I think that maybe Steven gong could say something more about this issue and 
even create a fix for that;)
BR
stf

- Original Message - 
From: Hannu Leinonen [EMAIL PROTECTED]
To: Red5 Mailinglist Red5@osflash.org
Sent: Saturday, August 18, 2007 5:01 PM
Subject: [Red5] Gapless Stream Change


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hello everyone!

 I'm doing a server-side stream which source can be changed by a flash
 client. When playing it, I'm facing an issue when changing the source.
 It doesn't play the old stream's buffer to the end, but flushes it and
 starts buffering the new stream. So the change of streams is not gapless.

 Here's how I do the changing of streams:

 SimplePlayItem sourcePlayItem = new SimplePlayItem();
 sourcePlayItem.setName(sourceStreamName);
 sourcePlayItem.setStart(-1);
 IServerStream oldStream = StreamUtils.getServerStream(scope, 
 newStreamName);
 // Remove everything from the stream
 oldStream.removeAllItems();
 // Add the playitem to the stream
 attachSourceToStream(oldStream, sourcePlayItem);


 Is this an issue on Red5 or am I missing something?

 Yours,
 Hannu Leinonen
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (MingW32)

 iD8DBQFGxwnPlKdTOEGZkhgRAmnNAJ41+EpCMWNnqjpeYNP2bC/5oDxYUwCeKCwO
 aQwwTIQan2AKYbZRIIjbLxQ=
 =Z8kH
 -END PGP SIGNATURE-

 ___
 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] Connecting from Red5 to FMS

2007-07-18 Thread Stanislaw Fiedor
Hi,
has anybody of you already connected from within RED5 to FMS ? 
Because I've been asking myself whether it is possile that a red5 server is a 
client of a FMS and streams something to it and that FMS can record it?
If it was possible then it would be great.
BR
stf___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] Live stream TEST

2007-05-13 Thread Stanislaw Fiedor
Hi,
I'm testing right now a live stream streaming app: http://flexis.pl/sb/
There is one stream with a view on the street ;) from time to time some audio 
too...
the stream is 320x240, 15 fps, mode: (quality: 0, bandwith: 30kB) buffer set to 
1 second
cpu 1,4ghz Athlon
512 mb RAM
100mb/s

I get some issues with the stream like:
- the buffer is growing with time and because of this a big lag occurs.. 
and also I get a lot of these:
NetStream.onStatus called: (304328 ms)
 level: status
 code: NetStream.Buffer.Empty
NetStream.onStatus called: (305344 ms)
 level: status
 code: NetStream.Buffer.Full
NetStream.onStatus called: (356311 ms)
 clientid: 1
 details: kam1
 description: Data is playing behind the normal speed.
 code: NetStream.Play.InsufficientBW
 level: warning
NetStream.onStatus called: (407608 ms)
 clientid: 1
 details: kam1
 description: Data is playing behind the normal speed.
 code: NetStream.Play.InsufficientBW
 level: warning

I would be very glad if you could join and tell me why can be the thing with 
these warnings happening...
Thanks in advance
Stanislaw___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] adobe flash media encoder red5

2007-05-13 Thread Stanislaw Fiedor
Hi!
I'm trying to stream something with the FME but I get this problem:
from time to time suddenly the FPS rate falls to 0 and after a while it 
starts again with normal FPS and then again slows to 0...
The buffer is all the time full. But I get lots of:

NetStream.onStatus called: (75732 ms)
 clientid: 2
 details: kam2
 description: Data is playing behind the normal speed.
 code: NetStream.Play.InsufficientBW
 level: warning

Anybody knows why does it happen?

In my opinion it has something to do with the KeyFrame Frequency Setting 
in FME. (when it's 1second the fps drops aren't some cruel ;) but if you set 
it to 10 then you can't watch the stream at all..)


BR
stf 


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


Re: [Red5] live stream

2007-05-05 Thread Stanislaw Fiedor
Hi Daniela!
Yes, it happens with 0.6final. You should update to the newest trunk version 
(with rev 1945 it works correct)
BR
stf
  - Original Message - 
  From: Daniela Remogna 
  To: Red5@osflash.org 
  Sent: Saturday, May 05, 2007 6:20 PM
  Subject: [Red5] live stream


  Hi :-)

  I've updated my red5 server from 0.6rc2 to 0.6 final version but the live 
stream doesn't work correctly.
  When I start the videoconference, the audio stream works well instead  the 
video stream is very slow and it stops frequently. (Also from localhost!!!)
  Is it a known issue? Can I modify something on the configuration of the 
server?

  Thanks for help,
  Daniela Remogna




--


  ___
  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] adding a live stream to the PlayList (on the server-side) - how??

2007-05-03 Thread Stanislaw Fiedor
Hi!
I need to add a live stream (that is not being recorded) to a playlist on 
the server-side - but there is a problem with it..
When it comes  to prerecorded streams there is no problem when I do it like 
that:

   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();

But if I try to add a live stream:

item = new SimplePlayItem();
   //item.setStart(2);
   //item.setLength(1);
   
item.setName(the_name_of_the_live_stream_which_is_the_same_as_the_publish_name_of_the_stream);
   serverStream.addItem(item);

Then red5 can't find the stream and doesn't add it to the playlist.

But if i publish the live stream and record it then it works.

Of course I would like to add the stream also when it's not being recorded.

So if you know how to manage it I would be very thankful for your help.
(It is very urgent :/)

Best Regards
stf



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


Re: [Red5] adding a live stream to the PlayList (on theserver-side) - how??

2007-05-03 Thread Stanislaw Fiedor
Hi Steven,
I already add the live stream to the playlist after the live stream is 
published.. but it doesn't work (with 0.6rc2).

With 0.6final while playing the VOD stream from the playlist the audio is there 
but the video looks like some snapshots :/ you can't even call it video, it 
looked MUCH better with 0.6rc2.

(adding the live stream to the playlist doesn't work on 0.6final)

There are also some problems when broadcastig from Flex - the video is also 
crappy...

Any idea why?


 
  - Original Message - 
  From: Steven Gong 
  To: Red5@osflash.org 
  Sent: Thursday, May 03, 2007 2:06 PM
  Subject: Re: [Red5] adding a live stream to the PlayList (on theserver-side) 
- how??


  stf,
  I think you'd better add the live stream when it's been published. To achieve 
that, you can put the serverStream.addItem() call in streamPublishStart() 
callback from IStreamAwareScopeHandler. This interface can be implemented by 
your Application class. 


  On 5/3/07, Stanislaw Fiedor [EMAIL PROTECTED] wrote:
Hi!
I need to add a live stream (that is not being recorded) to a playlist on
the server-side - but there is a problem with it..
When it comes  to prerecorded streams there is no problem when I do it like
that: 

   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();

But if I try to add a live stream:

item = new SimplePlayItem();
   //item.setStart(2);
   //item.setLength(1);
   
item.setName(the_name_of_the_live_stream_which_is_the_same_as_the_publish_name_of_the_stream);
 
   serverStream.addItem(item);

Then red5 can't find the stream and doesn't add it to the playlist.

But if i publish the live stream and record it then it works.

Of course I would like to add the stream also when it's not being recorded. 

So if you know how to manage it I would be very thankful for your help.
(It is very urgent :/)

Best Regards
stf



___
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] adding a live stream to the PlayList (on theserver-side)- how??

2007-05-03 Thread Stanislaw Fiedor
I mean the VOD in ServerStream
  - Original Message - 
  From: Steven Gong 
  To: Red5@osflash.org 
  Sent: Thursday, May 03, 2007 4:58 PM
  Subject: Re: [Red5] adding a live stream to the PlayList (on theserver-side)- 
how??





  On 5/3/07, Stanislaw Fiedor [EMAIL PROTECTED] wrote:
Hi Steven,
I already add the live stream to the playlist after the live stream is 
published.. but it doesn't work (with 0.6rc2).

With 0.6final while playing the VOD stream from the playlist the audio is 
there but the video looks like some snapshots :/ you can't even call it video, 
it looked MUCH better with 0.6rc2.

  You mean the VOD in ServerStream or VOD in a normal subscriber stream?



(adding the live stream to the playlist doesn't work on 0.6final)

There are also some problems when broadcastig from Flex - the video is also 
crappy...

Any idea why?



  - Original Message - 
  From: Steven Gong 
  To: Red5@osflash.org 
  Sent: Thursday, May 03, 2007 2:06 PM
  Subject: Re: [Red5] adding a live stream to the PlayList (on 
theserver-side) - how??


  stf,
  I think you'd better add the live stream when it's been published. To 
achieve that, you can put the serverStream.addItem() call in 
streamPublishStart() callback from IStreamAwareScopeHandler. This interface can 
be implemented by your Application class. 


  On 5/3/07, Stanislaw Fiedor [EMAIL PROTECTED] wrote: 
Hi!
I need to add a live stream (that is not being recorded) to a playlist 
on
the server-side - but there is a problem with it..
When it comes  to prerecorded streams there is no problem when I do it 
like
that: 

   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();

But if I try to add a live stream:

item = new SimplePlayItem();
   //item.setStart(2);
   //item.setLength(1);
   
item.setName(the_name_of_the_live_stream_which_is_the_same_as_the_publish_name_of_the_stream);
 
   serverStream.addItem(item);

Then red5 can't find the stream and doesn't add it to the playlist.

But if i publish the live stream and record it then it works.

Of course I would like to add the stream also when it's not being 
recorded. 

So if you know how to manage it I would be very thankful for your help.
(It is very urgent :/)

Best Regards
stf



___
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





  -- 
  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


[Red5] Warnings when livestreaming

2007-03-27 Thread Stanislaw Fiedor
Hi!
I get warnings when a live stream is streaming for a longer time...
Anybody knows why?
It not so critical but I'd like to know why can it happen..
Here are the errors:

jvm 1| [WARN] 9285719 SocketAcceptorIoProcessor-0.2:( 
org.red5.server.stream
.consumer.ConnectionConsumer.warn ) Skipping message with negative 
timestamp.
jvm 1| [WARN] 9285719 SocketAcceptorIoProcessor-0.2:( 
org.red5.server.stream
.consumer.ConnectionConsumer.warn ) Skipping message with negative 
timestamp.
jvm 1| [WARN] 9556282 SocketAcceptorIoProcessor-0.2:( 
org.red5.server.stream
.consumer.ConnectionConsumer.warn ) Skipping message with negative 
timestamp.
jvm 1| [WARN] 9556282 SocketAcceptorIoProcessor-0.2:( 
org.red5.server.stream
.consumer.ConnectionConsumer.warn ) Skipping message with negative 
timestamp.
jvm 1| [WARN] 10097375 SocketAcceptorIoProcessor-0.2:( 
org.red5.server.strea
m.consumer.ConnectionConsumer.warn ) Skipping message with negative 
timestamp.
jvm 1| [WARN] 10097375 SocketAcceptorIoProcessor-0.2:( 
org.red5.server.strea
m.consumer.ConnectionConsumer.warn ) Skipping message with negative 
timestamp.
jvm 1| [WARN] 10368563 SocketAcceptorIoProcessor-0.2:( 
org.red5.server.strea
m.consumer.ConnectionConsumer.warn ) Skipping message with negative 
timestamp.
jvm 1| [WARN] 10368563 SocketAcceptorIoProcessor-0.2:( 
org.red5.server.strea
m.consumer.ConnectionConsumer.warn ) Skipping message with negative 
timestamp.
jvm 1| [WARN] 10449891 SocketAcceptorIoProcessor-0.2:( 
org.red5.server.strea
m.consumer.ConnectionConsumer.warn ) Skipping message with negative 
timestamp.
jvm 1| [WARN] 10449891 SocketAcceptorIoProcessor-0.2:( 
org.red5.server.strea
m.consumer.ConnectionConsumer.warn ) Skipping message with negative 
timestamp.
jvm 1| [WARN] 10529813 SocketAcceptorIoProcessor-0.2:( 
org.red5.server.strea
m.consumer.ConnectionConsumer.warn ) Skipping message with negative 
timestamp.
jvm 1| [WARN] 10529813 SocketAcceptorIoProcessor-0.2:( 
org.red5.server.strea
m.consumer.ConnectionConsumer.warn ) Skipping message with negative 
timestamp.
jvm 1| [WARN] 10639141 SocketAcceptorIoProcessor-0.2:( 
org.red5.server.strea
m.consumer.ConnectionConsumer.warn ) Skipping message with negative 
timestamp.
jvm 1| [WARN] 10639141 SocketAcceptorIoProcessor-0.2:( 
org.red5.server.strea
m.consumer.ConnectionConsumer.warn ) Skipping message with negative 
timestamp.


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


Re: [Red5] NullPointerException on SharedObject.java

2007-03-25 Thread Stanislaw Fiedor
Hi!
It is exactly as you say: when using persistent SO this problem doesn't occur.

  - Original Message - 
  From: joseph wamicha 
  To: Red5@osflash.org 
  Sent: Sunday, March 25, 2007 9:44 AM
  Subject: Re: [Red5] NullPointerException on SharedObject.java


  Hi,

  Are you using transient or persistent shared objects. I think if you use 
persistent shared objects you will not get this problem.


  On 3/25/07, Stanislaw Fiedor [EMAIL PROTECTED] wrote:
Hi!
Currently I'm getting a simillar NullPointerException problem. It happens, 
after all the users have already disconnected from the room to which the SO
belongs, and a new a client tries to connect to the room.
It is a very critical error now for me so I hope somebody of you will be
able to help me;) 
I'm using: rev 1754
and here is the error I'm getting:

jvm 1| [ERROR] 283062 SocketAcceptorIoProcessor-0.3:(
org.red5.server.net.rt
mp.RTMPHandler.error ) Error connecting
jvm 1| java.lang.NullPointerException 
jvm 1|  at


  -- 
  C is forever. 


--


  ___
  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] NullPointerException on SharedObject.java

2007-03-25 Thread Stanislaw Fiedor
Hi Joachim!
I know that such (org.red5.demos.fitc.Application.roomConnect) method 
doesn't exist in the samples... because it was added by myself to my app...
But the problem is caused by the transient SOs and as I see not only I get 
these kind of errors with the SO.
stf

- Original Message - 
From: Joachim Bauch [EMAIL PROTECTED]
To: Red5@osflash.org
Sent: Sunday, March 25, 2007 4:12 PM
Subject: Re: [Red5] NullPointerException on SharedObject.java


 Hi,

 Stanislaw Fiedor schrieb:
 [...]
 jvm 1| java.lang.NullPointerException
 jvm 1|  at
 org.red5.demos.fitc.Application.roomConnect(Application.java:
 681)
 [...]

 there doesn't exist such a method in the regular Application.java that is
 shipped with the Red5 examples.
 Please add a ticket to http://jira.red5.org and include all that is
 necessary to trigger this bug.

 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] NullPointerException on SharedObject.java

2007-03-24 Thread Stanislaw Fiedor
Hi!
Currently I'm getting a simillar NullPointerException problem. It happens, 
after all the users have already disconnected from the room to which the SO 
belongs, and a new a client tries to connect to the room.
It is a very critical error now for me so I hope somebody of you will be 
able to help me;)
I'm using: rev 1754
and here is the error I'm getting:

jvm 1| [ERROR] 283062 SocketAcceptorIoProcessor-0.3:( 
org.red5.server.net.rt
mp.RTMPHandler.error ) Error connecting
jvm 1| java.lang.NullPointerException
jvm 1|  at 
org.red5.demos.fitc.Application.roomConnect(Application.java:
681)
jvm 1|  at 
org.red5.server.adapter.ApplicationAdapter.connect(Applicatio
nAdapter.java:276)
jvm 1|  at org.red5.server.Scope.connect(Scope.java:466)
jvm 1|  at 
org.red5.server.BaseConnection.connect(BaseConnection.java:23
2)
jvm 1|  at 
org.red5.server.net.rtmp.RTMPConnection.connect(RTMPConnectio
n.java:192)
jvm 1|  at 
org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.jav
a:263)
jvm 1|  at 
org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(Base
RTMPHandler.java:126)
jvm 1|  at 
org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RT
MPMinaIoHandler.java:117)
jvm 1|  at 
org.apache.mina.common.support.AbstractIoFilterChain$TailFilt
er.messageReceived(AbstractIoFilterChain.java:700)
jvm 1|  at 
org.apache.mina.common.support.AbstractIoFilterChain.callNext
MessageReceived(AbstractIoFilterChain.java:361)
jvm 1|  at 
org.apache.mina.common.support.AbstractIoFilterChain.access$1
100(AbstractIoFilterChain.java:53)
jvm 1|  at 
org.apache.mina.common.support.AbstractIoFilterChain$EntryImp
l$1.messageReceived(AbstractIoFilterChain.java:785)
jvm 1|  at 
org.apache.mina.filter.codec.support.SimpleProtocolDecoderOut
put.flush(SimpleProtocolDecoderOutput.java:62)
jvm 1|  at 
org.apache.mina.filter.codec.ProtocolCodecFilter.messageRecei
ved(ProtocolCodecFilter.java:187)
jvm 1|  at 
org.apache.mina.common.support.AbstractIoFilterChain.callNext
MessageReceived(AbstractIoFilterChain.java:361)
jvm 1|  at 
org.apache.mina.common.support.AbstractIoFilterChain.access$1
100(AbstractIoFilterChain.java:53)
jvm 1|  at 
org.apache.mina.common.support.AbstractIoFilterChain$EntryImp
l$1.messageReceived(AbstractIoFilterChain.java:785)
jvm 1|  at 
org.apache.mina.common.support.AbstractIoFilterChain$HeadFilt
er.messageReceived(AbstractIoFilterChain.java:616)
jvm 1|  at 
org.apache.mina.common.support.AbstractIoFilterChain.callNext
MessageReceived(AbstractIoFilterChain.java:361)
jvm 1|  at 
org.apache.mina.common.support.AbstractIoFilterChain.fireMess
ageReceived(AbstractIoFilterChain.java:352)
jvm 1|  at 
org.apache.mina.transport.socket.nio.SocketIoProcessor.read(S
ocketIoProcessor.java:288)
jvm 1|  at 
org.apache.mina.transport.socket.nio.SocketIoProcessor.proces
s(SocketIoProcessor.java:248)
jvm 1|  at 
org.apache.mina.transport.socket.nio.SocketIoProcessor.access
$500(SocketIoProcessor.java:49)
jvm 1|  at 
org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker
.run(SocketIoProcessor.java:540)
jvm 1|  at 
org.apache.mina.util.NamePreservingRunnable.run(NamePreservin
gRunnable.java:43)
jvm 1|  at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknow
n Source)
jvm 1|  at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown So
urce)
jvm 1|  at java.lang.Thread.run(Unknown Source)

 Hi there i have the latest trunk with a bunch of features and bug
 fixes.  I am starting to receive these errors, any ideas ?



 [ERROR] 1474063 SocketAcceptorIoProcessor-0.0:(
 org.red5.server.net.rtmp.BaseRTM
 PHandler.error ) Exception
 java.lang.NullPointerException
at org.red5.server.so.SharedObject.register(SharedObject.java:538)
at
 org.red5.server.so.SharedObjectScope.addEventListener(SharedObjectSco
 pe.java:280)
at
 org.red5.server.BaseConnection.registerBasicScope(BaseConnection.java
 :329)
at
 org.red5.server.so.SharedObjectScope.dispatchEvent(SharedObjectScope.
 java:352)
at
 org.red5.server.net.rtmp.RTMPHandler.onSharedObject(RTMPHandler.java:
 472)
at
 org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHand
 ler.java:167)
at
 org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIo
 Handler.java:117)
at
 org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messa
 geReceived(AbstractIoFilterChain.java:700)
at
 org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageR
 eceived(AbstractIoFilterChain.java:361)
at
 org.apache.mina.common.support.AbstractIoFilterChain.access$1100(Abst
 ractIoFilterChain.java:53)
at
 org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.mess
 ageReceived(AbstractIoFilterChain.java:785)
at
 

[Red5] Binding a SharedObject to a userlist (Flex)

2007-03-16 Thread Stanislaw Fiedor
Hi!
Actually it's not really a Red5 question but maybe somebody of you has got an 
answer for me...

Has anybody of you tried to bind a SO to a List or DataGrid in Flex?
I'm trying to bind the userlist SO which looks like:

userList_so = SharedObject.get(userList);
...
userList_so.setProperty(blesser, {cn: Brian Lesser, status: Offline});
userList_so.setProperty(peldi, {cn: Giacomo Guilizzoni, status: Offline});
userList_so.setProperty(reinhardt, {cn: Robert Reinhardt, status: 
Offline});
...

But bindings don't work with SO as they should.. and actually I don't get 
anything to see in the List ;/

Any ideas how to manage it?

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


Re: [Red5] Problems with connecting to MySQL DB

2007-03-13 Thread Stanislaw Fiedor
Thanks,
It fixed the problemm when I'm launching red5 with the wrapper - but with 
ANT I still get this issue. :/

- Original Message - 
From: Ruben Waitz [EMAIL PROTECTED]
To: Red5@osflash.org
Sent: Tuesday, March 13, 2007 1:23 AM
Subject: Re: [Red5] Problems with connecting to MySQL DB


 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 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] Problems with connecting to MySQL DB

2007-03-12 Thread Stanislaw Fiedor
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


Re: [Red5] server testing

2007-03-11 Thread Stanislaw Fiedor
Hi!
It freezes after about every 20 seconds for a about 1 second. 
Besides the stream looks as if some of the frames would be cut - I mean it 
looks like 12 fps or something.
I'm testing from Warsaw, Poland - 2Mb/s
BR
stfurca___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


Re: [Red5] connecting to multiple scopes/rooms over one netConnection

2007-02-16 Thread Stanislaw Fiedor
Hi!
I didn't get a answer before so I'll ask again:
Can a single FlashClient be connected to multiple rooms over a single 
NetConnecton Object, because in the Red5 API in the IClient Interface there is 
the getScopes() method - so Scopes would mean to me that:
1. it is possible (but if - then how?)
or
2. Red5 can recognize that the connecting Client over a new NetConnection 
Object with the path to another room, is the same and so he adds the Scope to 
the getScopes Collection.
Hoping for your help..
stfurca
  - Original Message - 
  From: Stanislaw Fiedor 
  To: Red5@osflash.org 
  Sent: Thursday, February 15, 2007 12:57 PM
  Subject: [Red5] connecting to multiple scopes/rooms over one netConnection


  Hello,
  is it possible to simultaneously be connected to multiple rooms/scopes over 
only one NetConnection ?? If yes then how...?
  BR
  stfurca 


--


  ___
  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] connecting to multiple scopes/rooms over onenetConnection

2007-02-16 Thread Stanislaw Fiedor
OK, so.. does Red5 know that even if connected to two different scopes it is 
the same client? Because when I connect to two different scopes the client gets 
two different ID's. So I'm not sure whether it is possible - but I'll try to 
check this out.
  - Original Message - 
  From: Storm 
  To: Red5@osflash.org 
  Sent: Friday, February 16, 2007 6:22 PM
  Subject: Re: [Red5] connecting to multiple scopes/rooms over onenetConnection


  AFAIK a client can be conected to several scopes BUT through different 
NetConnection instances.


  On 2/16/07, Stanislaw Fiedor  [EMAIL PROTECTED] wrote:
Hi!
I didn't get a answer before so I'll ask again:
Can a single FlashClient be connected to multiple rooms over a single 
NetConnecton Object, because in the Red5 API in the IClient Interface there is 
the getScopes() method - so Scopes would mean to me that:
1. it is possible (but if - then how?)
or
2. Red5 can recognize that the connecting Client over a new NetConnection 
Object with the path to another room, is the same and so he adds the Scope to 
the getScopes Collection.
Hoping for your help..
stfurca
  - Original Message - 
  From: Stanislaw Fiedor 
  To: Red5@osflash.org 
  Sent: Thursday, February 15, 2007 12:57 PM
  Subject: [Red5] connecting to multiple scopes/rooms over one netConnection


  Hello,
  is it possible to simultaneously be connected to multiple rooms/scopes 
over only one NetConnection ?? If yes then how...?
  BR
  stfurca 


--


  ___
  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





  -- 
  ---
  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
___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] connecting to multiple scopes/rooms over one netConnection

2007-02-15 Thread Stanislaw Fiedor
Hello,
is it possible to simultaneously be connected to multiple rooms/scopes over 
only one NetConnection ?? If yes then how...?
BR
stfurca ___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] NetStream.Publish.BadName when user tries to create a stream with the same name

2007-02-13 Thread Stanislaw Fiedor
Hi!
I get the:Error #2044: Unhandled NetStatusEvent:. level=error, 
code=NetStream.Publish.BadName
error when trying to publish a stream with the same name.
I understand that this error should occur when an other client tries to create 
a stream with the same name, but IMHO it shouldn't occur when the old publisher 
of the stream publishes a new stream under the same name. I'm not sure but as I 
remember this error didn't occur in FMS2.
BR
stfurca___
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org


[Red5] Error while unregistering basic scopes.

2007-02-13 Thread Stanislaw Fiedor
Hi there!
When a user disconnects (actually closes his window with the videoapp) I get 
the error message mentioned below.
I guess it is something wrong with my app because when I close an other app 
window like oflaDemo there is no such error.
Anybody has got an idea why does it happen?

 [java] [ERROR] 416922 SocketAcceptorIoProcessor-0.0:( org.red5.server.BaseC
onnection.error ) Error while unregistering basic scopes.
 [java] java.lang.NullPointerException
 [java] at org.red5.server.so.SharedObjectScope.removeEventListener(Shar
edObjectScope.java:292)
 [java] at org.red5.server.BaseConnection.unregisterBasicScope(BaseConne
ction.java:339)
 [java] at org.red5.server.BaseConnection.close(BaseConnection.java:264)

 [java] at org.red5.server.net.rtmp.RTMPConnection.close(RTMPConnection.
java:467)
 [java] at org.red5.server.net.rtmp.RTMPMinaConnection.close(RTMPMinaCon
nection.java:115)
 [java] at org.red5.server.net.rtmp.BaseRTMPHandler.connectionClosed(Bas
eRTMPHandler.java:212)
 [java] at org.red5.server.net.rtmp.RTMPMinaIoHandler.sessionClosed(RTMP
MinaIoHandler.java:216)
 [java] at org.apache.mina.common.support.AbstractIoFilterChain$TailFilt
er.sessionClosed(AbstractIoFilterChain.java:676)
 [java] at org.apache.mina.common.support.AbstractIoFilterChain.callNext
SessionClosed(AbstractIoFilterChain.java:320)
 [java] at org.apache.mina.common.support.AbstractIoFilterChain.access$8
00(AbstractIoFilterChain.java:53)
 [java] at org.apache.mina.common.support.AbstractIoFilterChain$EntryImp
l$1.sessionClosed(AbstractIoFilterChain.java:766)
 [java] at org.apache.mina.filter.codec.ProtocolCodecFilter.sessionClose
d(ProtocolCodecFilter.java:277)
 [java] at org.apache.mina.common.support.AbstractIoFilterChain.callNext
SessionClosed(AbstractIoFilterChain.java:320)
 [java] at org.apache.mina.common.support.AbstractIoFilterChain.access$8
00(AbstractIoFilterChain.java:53)
 [java] at org.apache.mina.common.support.AbstractIoFilterChain$EntryImp
l$1.sessionClosed(AbstractIoFilterChain.java:766)
 [java] at org.apache.mina.common.support.AbstractIoFilterChain$HeadFilt
er.sessionClosed(AbstractIoFilterChain.java:598)
 [java] at org.apache.mina.common.support.AbstractIoFilterChain.callNext
SessionClosed(AbstractIoFilterChain.java:320)
 [java] at org.apache.mina.common.support.AbstractIoFilterChain.fireSess
ionClosed(AbstractIoFilterChain.java:312)
 [java] at org.apache.mina.common.support.IoServiceListenerSupport.fireS
essionDestroyed(IoServiceListenerSupport.java:227)
 [java] at org.apache.mina.transport.socket.nio.SocketIoProcessor.doRemo
ve(SocketIoProcessor.java:232)
 [java] at org.apache.mina.transport.socket.nio.SocketIoProcessor.access
$700(SocketIoProcessor.java:49)
 [java] at org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker
.run(SocketIoProcessor.java:544)
 [java] at org.apache.mina.util.NamePreservingRunnable.run(NamePreservin
gRunnable.java:43)
 [java] at java.lang.Thread.run(Thread.java:619)
 [java] [INFO] 416922 SocketAcceptorIoProcessor-0.0:( org.red5.demos.fitc.Ap
plication.info ) ROOM Leave: Client: 2
 [java] [ERROR] 416922 SocketAcceptorIoProcessor-0.0:( org.red5.server.Scope
.error ) Error while executing leave for client Client: 2 on handler org.red5.
[EMAIL PROTECTED]
 [java] java.lang.NullPointerException
 [java] at org.red5.server.so.SharedObject.removeAttribute(SharedObject.
java:463)
 [java] at org.red5.server.so.SharedObjectScope.removeAttribute(SharedOb
jectScope.java:247)
 [java] at org.red5.demos.fitc.Application.roomLeave(Application.java:17
3)
 [java] at org.red5.server.adapter.ApplicationAdapter.leave(ApplicationA
dapter.java:380)
 [java] at org.red5.server.Scope.disconnect(Scope.java:517)
 [java] at org.red5.server.BaseConnection.close(BaseConnection.java:272)

 [java] at org.red5.server.net.rtmp.RTMPConnection.close(RTMPConnection.
java:467)
 [java] at org.red5.server.net.rtmp.RTMPMinaConnection.close(RTMPMinaCon
nection.java:115)
 [java] at org.red5.server.net.rtmp.BaseRTMPHandler.connectionClosed(Bas
eRTMPHandler.java:212)
 [java] at org.red5.server.net.rtmp.RTMPMinaIoHandler.sessionClosed(RTMP
MinaIoHandler.java:216)
 [java] at org.apache.mina.common.support.AbstractIoFilterChain$TailFilt
er.sessionClosed(AbstractIoFilterChain.java:676)
 [java] at org.apache.mina.common.support.AbstractIoFilterChain.callNext
SessionClosed(AbstractIoFilterChain.java:320)
 [java] at org.apache.mina.common.support.AbstractIoFilterChain.access$8
00(AbstractIoFilterChain.java:53)
 [java] at org.apache.mina.common.support.AbstractIoFilterChain$EntryImp
l$1.sessionClosed(AbstractIoFilterChain.java:766)
 [java] at org.apache.mina.filter.codec.ProtocolCodecFilter.sessionClose

[Red5] how to determine SS whether stream has audio?

2007-01-24 Thread Stanislaw Fiedor
Hi!
I've got a question just like in the topic: How to determine on the 
server-side whether the stream has audio or not ? (the same with video)
stf 


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


Re: [Red5] New Flash Media Encoder vs. Flix Live - using Red5

2007-01-24 Thread Stanislaw Fiedor
Hi!
I can connect to Red5 from FME without any problems, but when I start 
broadcasting from FME i get these errors:  
 [java] [ERROR] 42735 pool-1-thread-6:( 
org.red5.server.service.ServiceInvoker.error ) Method releaseStream not found 
in [EMAIL PROTECTED]
 [java] [ERROR] 42735 pool-1-thread-6:( 
org.red5.server.service.ServiceInvoker.error ) Method FCPublish not found in 
[EMAIL PROTECTED]
 [java] [ERROR] 2258578 pool-1-thread-4:( 
org.red5.server.service.ServiceInvoker.error ) Method FCUnpublish not found in 
[EMAIL PROTECTED]

And I can't connect to the broadcasted stream.
So maybe it would be not so difficult to implement it on the server side... 
  - Original Message - 
  From: Cosmin Stanciu 
  To: Red5@osflash.org 
  Sent: Wednesday, January 24, 2007 4:33 PM
  Subject: [Red5] New Flash Media Encoder vs. Flix Live - using Red5


  Hello all!

  I think you've all seen that Adobe is testing the new Flash Media Encoder 
which can broadcast live feeds using the VP6 codec for best internet quality. 
The only product that could do that untill now was the Flix live software 
produced by the On2 group.

  My question is: 
  - Will it be possible to use FME(Flash Media Encoder) with the Red5 server in 
the future? 
  What needs to be implemented? Why do I get an fatal error when trying to 
connect to Red5 from FME now?

  Thanks in advance,
  Cosmin



--
  Now that's room service! Choose from over 150,000 hotels 
  in 45,000 destinations on Yahoo! Travel to find your fit.


--


  ___
  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] List of Bugs

2007-01-09 Thread Stanislaw Fiedor
Hi!
I'm working on a video app and found some bugs:
(I'm working on the newest code from the trunk, win XP, AS 3.0)

1 - When a publisher publishes the stream with the  record parameter (that 
means that the server should record it but also simultaneously stream it - 
that's how does FMS2 work) the stream is being recorded, but the subscribers 
when strarting to play (with: subscriberNS.play(streamName)) the stream 
connect to the recorded stream and not to the live stream
when subscribers subscribe with: subscriberNS.play(streamName,-1) where 
-1 means that it should only connect to live streams no stream is being 
played.

2 - I also get a Asynchroneus onMetaData error

3- when not recording the stream but only streaming it the client after 
about 5-10 seconds doesn't show the video anymore, and when i'm trying to 
start the stream by the publisher again I get the message: Error #2044: 
Unhandled NetStatusEvent:. level=error, code=NetStream.Publish.BadName

In the 0.5 version there was no onMD problem but the problem with the 
recording and simultaneously streaming it existed.

I hope my feedback will help you and the bugs will be fast fixed (cause i 
really need these features in red5)

Best Regards
stfurca
Best regards 


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


[Red5] List of Bugs - part 2

2007-01-09 Thread Stanislaw Fiedor
Hi there again,

I was now playing with the with red5 provided swf files: simplebroadcaster 
and simplesubscriber. I modified the broadcaster to record the stream. And 
tested the app I don't know why but with this files the subscriber plays the 
right stream (the live one and not the recorded) but I found such bug:
when the broadcaster disconnects while streaming and while the subscriber is 
still connected - after the Broadcaster connects again and tries to record 
the stream with the same streamName:
1) the stream doesn't record
2) the subscriber can't see the stream
3) after a while the broadcaster disconnects automatically

When I'm not wrong somebody has already mentioned this bug. What is the case 
and how can I fix it??

BR
stfurca 


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


[Red5] the difference between appJoin appConnect

2006-09-11 Thread Stanislaw Fiedor
Hi!
What's the difference between appJoin and appConnect and similirarly 
roomJoin and roomConnect? and leave and disconnect
I mean which is called when and why?

@Joachim thanks for the help with the SO;)

stfurca 


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


[Red5] SharedObject Problem

2006-09-09 Thread Stanislaw Fiedor



Hi!
I've got a problem with the SO. When Iadd a 
propertyto the SO on the client side, for example:
myRemote_so.data["client_2"]=new 
Array();
...
Then when I call mySO.getAttributeNames() on the 
server side I don't get the property added on the client side.. 
why

I think that maybeI've created the SO on the 
SS in a bad way.. [I'm quite new to Red5..] I do it like that:
mySO = new SharedObject(new HashMapString, 
Object(), "users", "/default/fitcDemo/room",true);
on the CS I connect to the SO "users"

I think thatI could just simply call a CS 
function which calls a remote funciton on the SS and adds the property with the 
SS function to the SO and soit should work... but I don't know if I need 
it to do it like that..

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


[Red5] first frame of a flv video

2006-07-23 Thread Stanislaw Fiedor
Hi!

Is there a possibility to 'extract the first frame from a stream into a .jpg 
image?
Because I want a user to have the possibility to see the beginning of a 
movie without starting the film, and it would be were good to have such 
possibility.

Thanks,
stfurca 


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


Re: [Red5] first frame of a flv video

2006-07-23 Thread Stanislaw Fiedor
It will be a file

- Original Message - 
From: Michael Klishin [EMAIL PROTECTED]
To: Red5@osflash.org
Sent: Sunday, July 23, 2006 12:15 PM
Subject: Re: [Red5] first frame of a flv video


 Stanislaw Fiedor wrote:
 Hi!

 Is there a possibility to 'extract the first frame from a stream into a 
 .jpg
 image?
 Because I want a user to have the possibility to see the beginning of a
 movie without starting the film, and it would be were good to have such
 possibility.

 You can pause the stream at server side. Do you broadcast a live stream
 or is it a file?

 -- 
 Michael Antares Klishin,

 http://www.novemberain.com |  mailto:[EMAIL PROTECTED]

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


 __ NOD32 Informacje 1.1671 (20060720) __

 Wiadomosc zostala sprawdzona przez System Antywirusowy NOD32
 http://www.nod32.com lub http://www.nod32.pl

 


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