Red5

java: printing current backtrace [duplicate]

陌路散爱 提交于 2019-12-10 15:48:29
问题 This question already has answers here : How can I get the current stack trace in Java? (22 answers) Closed 6 years ago . is there a way to add a command in Java to add the current backtrace ? I'm writing a red5 application and the appDisconnect function is being called twice. whenever a user changes room. I want to add a function at the beginning of the appDisconnect function that shows the current backtrace and then I can see what called it. thanks 回答1: You can output the stack trace to the

Application for Live video streaming using red5 server

左心房为你撑大大i 提交于 2019-12-10 11:47:54
问题 I am new to flex & first time using red5 server . can someone help me in streaming a live cam using red5 server on a web page. Also how to install application on server running on ubuntu 11.04. 回答1: For streaming Live web cam on Web page. First create a flash which will display the web cam video on its stage. Then embed the flash onto a div in the web page. Use the code for showing the video on the screen and simultaneously publishing it to red5 server _camera = Camera.getCamera(); _camera

Need help transcoding Red5 RTMP stream to MPEG2-TS

爷,独闯天下 提交于 2019-12-10 11:28:31
问题 Me and my friend are going to make live shows and for that purpose I have set up a Red5 server on my old 2006 Intel Core Duo Mac mini running Mac OS X Snow Leopard Server 10.6.8. I use Flash Media Live Encoder to broadcast to Red5's oflaDemo application and the stream works great, except for the fact that I want the stream to work with iOS. I am developing an app for it, but I still need to convert my stream to Apple's HTTP Live Streaming protocol for it to work. Can anybody help me convert

Red5 Pro: Unexpected response code: 400 & WebSocketException - Handshake failed

社会主义新天地 提交于 2019-12-10 10:32:16
问题 I set Red5 Pro server on developer licence locally, then I ran red5pro/streaming-android application (I ran app from Android Studio). I saw on http://localhost:5080/live/subscribe.jsp my stream from application, and when I clicked http://[my IP]/live/viewer.jsp?host=192.168.1.103&stream=Radek[Stream name in Android app] to subscribe it opens, but in log on page I saw: [Red5ProSubscriber] Connect.Failure. And in Chrome Developer Tools: WebSocket connection to 'ws://[my IP]:8081/live?id

FFmpeg streaming using H.264 (with audio) - Red5 media server (Ubuntu OS)

依然范特西╮ 提交于 2019-12-09 20:05:38
问题 I'm trying to stream my webcam with FFmpeg to my Red5 server using RTMP. I've done this successfully using FLV format with the following line: ffmpeg -f video4linux2 -i /dev/video0 -f flv rtmp://localhost/live/livestream I'm new to FFmpeg and live streaming, and I've tried to stream using H.264/MPEG-4. But my knowledge is a bit limited with the FFmpeg options (which I did find here: http://man.cx/ffmpeg%281%29). So, my questions would be: How can I use H.264/MPEG-4 to stream to my Red5 server

Publish webcam feed to Flash Media Server

家住魔仙堡 提交于 2019-12-09 04:31:27
I have a fairly high-end webcam (snc-rz25n) that I need to rebroadcast using the Flash Media Server. I can get the picture as MPEG-4 (not h.264). So I need to transcode to h.264 and publish at multiple bitrates to FMS. The only solution I have been able to come up with thus far is to transcode the stream using ffmpeg and then also use ffmpeg to downconvert the stream (for the multiple bitrates) and then publish all of these transcoded streams to FMS via custom Java code (using Red5). Surely there is a better way. Flash Live Media Encoder is not going to work. The camera is on the network, not

Video recording web app

有些话、适合烂在心里 提交于 2019-12-08 11:53:21
问题 I have a website requirement , users can able to record video (with sound) and upload to server. First i think about flash and red5(media server) but found that flash does not support IPAD or iphone. Now am think about HTML5 video recording, but somebody told me that html5 video recording still in beta and not stable and it does not support all browsers. Please advice which is best , help is highly appreciable. Thanks, 回答1: To upload a video from an iPhone to a web server, you can use an

streaming with red5 server

梦想与她 提交于 2019-12-08 10:01:01
问题 I want to stream with red5 server and I did the following code ffmpeg -i /var/lib/red5/webapps/test/1.flv -f flv rtmp://127.0.0.1:1935/live/livestream But when i try to capture the stream it did not give anything. 回答1: red5 can read flv files directly and convert it to an rtmp stream on port 1935 by default. No need for ffmpeg. Moreover, port 1935 is used by red5 for connecting a flash client, not for pumping in an rtmp stream. 来源: https://stackoverflow.com/questions/15025436/streaming-with

Video Recording from Browser using Flash, PHP, Red5

天涯浪子 提交于 2019-12-07 10:05:07
问题 I wish to build an application using which I can record video (along with audio) and also audio (only audio preferably in mp3 format). From some research I did, I found I need a client app in flash or flex, a RTMP Server (RED5 preferable as its free) This is the code which I used to get cam working flash. var camera:Camera = Camera.getCamera(); var video:Video = new Video(); video.attachCamera(camera); addChild(video); The problem is, I don't know how to send the stream to RED5. Also, what do

multi threading in red5

我是研究僧i 提交于 2019-12-07 08:45:54
问题 I have a working red5 application and I am using MultiThreadedApplicationAdapter but the multi threading doesn't really work. Here is the example, what I want it to do is to have multiple clients call test() and returns without blocking other clients. However what happened is the second client has to wait for the first client finish then execute test(). Any idea how to make this work? Thanks. public class Application extends MultiThreadedApplicationAdapter { public void test() { System.out