Red5

How to buffer stream when the video is paused with flash

跟風遠走 提交于 2019-12-12 03:44:59
问题 I need a feature of allowing buffering the video when it's paused, which I cannot find how to do it directly... I notice that, when I pause the video, the event "NetStream.Buffer.Flush" is triggered. And according to the language reference: "Data has finished streaming, and the remaining buffer will be emptied.", I have to re-buffer it, right? However, also according to the reference, it shouldn't stop buffering: Starting with Flash Player 9.0.115.0, Flash Player no longer clears the buffer

rso between flex and red5. I can create but cant read

落爺英雄遲暮 提交于 2019-12-12 01:46:30
问题 so im still stuck on this that i can create remote shared object but cant read while im notified about changes. im using trunk version of red5, and flex 4.0 with flash builder. in debug i can see that changeLog has name of the changed value of rso, but object itself has undefined value. Currently im working on local windows machine, but tried everything on ubuntu server 10.04 and got the same results. i can connect to the room, create a shared object and all client are notified about that,

How to Identify Publishers and Consumers using Red5 API

醉酒当歌 提交于 2019-12-11 23:00:35
问题 public boolean connect(IConnection conn, IScope scope, Object[] params) { IClient client = conn.getClient(); log.info( "app connect " + conn.getClient().getId() ); client.setAttribute( "stamp", new Long( 0 ) ); return true; } This is the method which is being called every time Client is connected at my Custom Application in Red5 Server ,so is there a way to identify if a Client is Subscriber (Consumer ,Viewer) or Publisher (User which streams at my server). Bests 回答1: To disallow or allow

Red5 demos don't work

放肆的年华 提交于 2019-12-11 16:24:25
问题 I just installed red5 on my server, and the install seems to work fine. As you can see here: http://onelifemedia.com:5080 I got this far by using this walkthrough: http://www.webhostingtalk.com/showthread.php?t=1046590 The /demos page gives me a 404 error. So I logged onto the server, and checked to see if the "demo" directory was already there. It was not. The applications that I installed were a directory up from the root directory. I'm not sure if this is right or not. Either way, my end

red5: how can i send microphone stream?

故事扮演 提交于 2019-12-11 15:32:32
问题 i am using red5 and flex. Actually my objective is to send microphone stream from the server to the client and play it on the client side. Similarly send microphone stream from client to server and play it on the server side. No need to store the live stream. Is this possible? how can i do it in red5 and flex? 回答1: private var nc:NetConnection; private var mic:Microphone; private function init():void { nc=new NetConnection ; nc.connect (your rtmppath,"anchor"); mic=Microphone.getMicrophone();

Flash Builder 4 + Red5 IDE Plugin

寵の児 提交于 2019-12-11 10:01:28
问题 Anybody know how to install Red5 IDE Plugin for Adobe Flash Builder 4? Adobe Flash builder 4 comes with an integrated installation of Eclipse, but If I follow the instructions on Red5 site I get: Cannot complete the install because one or more required items could not be found. Software being installed: Red5 Feature 0.2.0 (org.red5.feature.feature.group 0.2.0) Missing requirement: Red5 Feature 0.2.0 (org.red5.feature.feature.group 0.2.0) requires 'org.eclipse.jst.server.core 0.0.0' but it

Red5 server failing to start up due to java.rmi.server.ExportException: internal error: ObjID already in use

岁酱吖の 提交于 2019-12-11 09:57:54
问题 I have recently started to learn about Red5 server. I am following this tutorial to develop a simple video chat app: http://tharas.wordpress.com/2010/01/19/chat-application-with-red5-and-flex/ . I am able to create the flex client. For the service side, I have created a Dynamic Web Project in Eclipse. Then manually copied the WEB-INF folder files and the Application.java file from the source code zip given in the above tutorial page at the bottom. After that when I am trying to start the Red5

Multiplayer game development in flash

て烟熏妆下的殇ゞ 提交于 2019-12-11 04:32:01
问题 Before you say that it is a repost of this question- Alternatives to Flash Media Server for multiplayer game development, it is slightly different as I am asking for pros and cons. I want to know which server I should use for my specific flash game. I am making a game called mathlympics. The idea is that the player has to answer simple arithmetic questions. The faster he answers the questions, the faster his athlete runs. I am making the game 3d using away3d engine for flash. A similar 2d

Can we stream only flash videos throught RTMP?

青春壹個敷衍的年華 提交于 2019-12-11 03:59:52
问题 I am planning to use Red5 streaming server. The documentation says it uses only RTMP - I am confused if I can stream media in formats other than flash. Is it possible to stream MP4 / RM / AVI files through RTMP - or rather Red5 ? Thanks ! 回答1: Please take a look at the red5 google site, from there you can learn, that Red5 is able to stream not only over RTMP but also RTMPT, RTMPS, and RTMPE protocols, and can stream not only FLV but also F4V, MP4, 3GP, MP3, F4A, M4A and AAC media formats. For

Convert Flex ByteArray in Java byte[]

南楼画角 提交于 2019-12-10 19:19:50
问题 I'm trying to upload file on server which send from Flex GUI with rtmp protocol. I asked yesterday how to send file's data on server: Upload file on server through rtmps+java But now i have problem with how to convert org.red5.io.amf3.ByteArray in something that i can correctly save in file. Cam some one help me? 回答1: To get the array: byte[] bytes = new byte[byteArray.length()]; byteArray.readBytes(bytes); 来源: https://stackoverflow.com/questions/23126842/convert-flex-bytearray-in-java-byte