Flex :: Red5: Send The Microphone Stream?
Dec 22, 2011
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.
View 1 Replies
Similar Posts:
Jul 2, 2010
I'm trying to send a video stream to a Red5 server using Flex.
My Red5 setup seems to work for remote method invocations and shared objects, but I've yet to succeed in getting video working.
This is the AS3 code that connects to Red5:
# connect to RTMP server
netConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
netConnection.connect("rtmp://localhost/context_name");
# omitted code for waiting for connection success, and setting up shared
[Code].....
As said, note that the Red5 setup works flawlessly for remote method invocations and shared objects, but not for video which is strange.
View 2 Replies
Jun 12, 2011
I have a linked list of data in Red5server that updating every 8 second. I want to send this linked list to Flex. is it possible using shared object? or any other solution?
View 1 Replies
Jul 3, 2011
I want to send data from Red5 to Flex using remote sharedobject.
my Red5 code :
this.addScheduledJob(5000,new IScheduledJob() {
@Override
public void execute(ISchedulingService jobs0)
[Code].....
it doesn't shows error or warning, but my flex function doesn't work, even Alert in my function not working.
View 2 Replies
Nov 16, 2011
I have created one as3 application to capture and save the mic or web cam in red5 server by streaming.I am also changing the file name by passing argument in publish() function.How I can check whether the any other file with same name already exists in the server or not.I want to maintain the file name sequence in the server... Example: if the file name "xyz.flv" I sent through publish() and the xyz.flv already there in the server, then it should take the sequence of the file name like "xyz-1.flv" or "xyz-2.flv"...like that.
View 1 Replies
Nov 22, 2011
We have a Red5 Server that we use to host a video chat. We are looking for a way to overlay SWF files over the top of a live stream video.For example, we could overlay an SWF animation of snow falling in front of a live stream from a webcam.
View 1 Replies
Jul 9, 2011
How to send a video data stream from one side written by java to another side written by flex and then display it? I just know that on flex one method is to use netstream class get the real-time video stream and bind with a videodisplay to display it. But which class I should use to send this video stream in java and which class I need to use in flex to receive this flow and pass it to the NetStream class?
View 1 Replies
Nov 19, 2009
I wonder how I can stream FLV videos live with Red5 open source flash server.
I've tried most of the methods I know of, but can not get it to.
script that can stream live FLV videos.
View 2 Replies
Mar 15, 2010
I'm using NetStream class to create p2p video conferension. Is it possible to add overlay pictures or animation into video captured from webcam and then send reencoded stream to other user?
View 2 Replies
Jan 14, 2010
I am trying to stream audio from flash app directly to server. We strongly prefer not using Flash Media Server.
I have very little AS3 knowledge. I managed to connect to Mic, speak and hear my voice back. However, I am not sure how to stream this to PHP or rails server side.
View 2 Replies
Sep 6, 2011
Let me first establish what I want to do:My user is able to record voicenotes on my website, add tags to said notes for indexing as well as a title. When the note is saved I save the path of the note along with the other info in my DB.Now, I have 2 choices to do the recording, both involve a .swf embedded in my site:
1) I could use Red5 server to stream the audio to my server and save the file and return the path to said file to my app to do the DB saving, seems rather complicated since I would have to convert the audio and move it to the appropriate folder that belongs to the user in a server side Red5 app, which I'm not very aware of how to build.
2) I could simply record the audio and grab its byte array, do a Base64 encoding on it and send it to PHP along with the rest of the data that is necessary (be it by a simple POST or an AJAX call), decode it on the server and make the file with the appropriate extension, audio conversion would also occur here using ffmpeg, this option seems simpler but I do not know how viable it is.
View 1 Replies
Apr 1, 2012
Is there a way to stream and audio line level feed rather than the audio from a computer's microphone?
View 1 Replies
Oct 7, 2009
I'm setting up an application where I need to record users' voice every so often during the course of the users' interaction with the application. Recording is fine, and the quality is fine, but now my issue is understandng how Flash handles the microphone when it gets attached to a stream for publishing.Basically, the problem is that when I "publish" my stream, the voice gets cut off (clipped) at the beginning. So, I initially thought this may have to do with buffer settings on the FMS server side, but it wasn't. Then I investigated client side stuff. For some reason, my internal mic .activityLevel property is -1 even though I have called Microphone.getMicrophone(). According to Flash's documentation, this shouldn't be the case:
activityLevel propertyactivityLevel:Number [read-only]Language Version : ActionScript 3.0Player Version : Flash Player 9The amount of sound the microphone is detecting. Values range from 0 (no sound is detected) to 100 (very loud sound is detected). The value of this property can help you determine a good value to pass to the Microphone.setSilenceLevel() method.If the microphone is available but is not yet being used because Microphone.getMicrophone() has not been called, this property is set to -1.I am using a timer to investigate the microphone .activityLevel property every 50 milliseconds:
package
{
import fl.controls.Button;
import fl.controls.TextInput;[code].....
View 1 Replies
Jun 13, 2009
I'm trying to implement a flex app that will be able to record a video from a webcam and then upload it to a server. I've only found tutorials and examples that require a media server running such as Red5, Flash Media Server and Wowza and an open rtmp stream to the server. However, I want to know if it's possible to record a video locally and then submit it to the server with a simple HTTP request. Is there a tutorial somewhere that shows how to do this? I'm really new in flex development
View 3 Replies
Aug 11, 2011
I am using Flex for displaying videos streamed using the Red5 server. Basically i have two perspectives - one who relays and one who receives the broadcast. On the Flex side, in the video display, the video quality is good but on the receiver side it appears pixelated. I can't find the cause. Does this have anything to do with Flex encoding of videos or any Red5 server settings?
View 1 Replies
May 20, 2011
I wonder if i can do the following, send a stream to fms from a webcam and then serve it with apache on http x-flv format.
View 6 Replies
Nov 7, 2010
How can i send webcamera stream to FMS4 by UDP. i need the UDP speed and the server ability to save the audio/video confirence
View 3 Replies
Sep 20, 2010
I have performance issues with my test web chat app - video playback is very slow on, around 1 frame per few seconds at 640x480, 15fps, quality: 90. Network usage is low (gigabit LAN), cpu's still have some headroom so it should be the software.
Quick description of my setup:red5 0.9.1; simple flash broadcast and subscribe derived from here [URL] and mr. accattato's videos; using oflaDemo on serverside.
Local image on the broadcaster is good.So far I guess flash broadcaster would be the most likely culprit, but here is my worst since I am new to flex. Red5 should not modify the stream I guess, and it doesn't make much sense for the subscriber to play only 1 frame per second.
View 1 Replies
Feb 7, 2012
I installed red5 successfully, but when I try to connect to red5 to stream a video, the connection fails. If I use netstreaming(null), it works, but when I use red5, it doesn't.
[Code]...
View 1 Replies
May 29, 2009
Is there anyway that i could send a php command to unload a live stream?
For instance i would like to click a logout button that would then tell the server that im logging off that live stream.
Here is what i have in my SWF file now..
[Code]....
I am sending flashvars to fill in the variables. And this is actionscript 2 because i havent ventured to AS3.
View 2 Replies
Mar 10, 2011
I've successfully created an FLVPlayback component using the component library and it's playing the streaming video that I want it to. My question is, if that stream is not online or cannot be found, how would I go about displaying a message on the stage to let the user know, there is no active stream.
UPDATED:
Here's my code -
thestream.addEventListener(NetStatusEvent.NET_STATUS, onNCStatus);
function onNCStatus(event:NetStatusEvent):void {
trace(event.info.code)[code].....
There's no output still. It seems like the function isn't getting invoked. However, if I place a trace outside the function (before it), I get a response: trace(NetStatusEvent.NET_STATUS);
the output:
netStatus
View 3 Replies
Dec 8, 2009
How can I create video conference with flex in client side and using red5 media server on server side?
View 2 Replies
Jan 4, 2010
I'm trying to connect from adobe flash builder 4 beta to red5 v0.9 rc2 (latest svn).
[Code]....
View 1 Replies
Nov 14, 2011
i currently use the above code:
nc = new NetConnection();
nc.connect(null);
ns = new NetStream(nc);
[Code].....
but i cant get the myvideo which i recorded using red5.how can i achieve that? myvideo is stored in red5 folder under webapps/oflaDemo/streams/myvideo how to access that in order to play it?
View 2 Replies
Jan 24, 2010
I am trying to make simple chat program using red5 server using flex builder 3.I am using eclispe galilio 3.5 for server side code.i have installed jdk 1.6 update 14 and apache ant 1.7.1.when i am running demo program already in red5 then its fine!. but my own code is giving
NetConnection.Connect.InvalidApp
NetConnection.Connect.Closed
or
[code].....
View 3 Replies
Dec 11, 2009
I am trying to make simple chat program using red5 server using flex builder 3.I am using eclispe galilio 3.5 for server side code.i have installed jdk 1.6 update 14 and apache ant 1.7.1.when i am running demo program already in red5 then its fine!. but my own code is giving
NetConnection.Connect.InvalidApp
NetConnection.Connect.Closed
or
NetConnection.Connect.Failed
error.when i try (test is red5 demo code )
nc.connect( "rtmp://localhost/test" ,true);
code then its working.but when i put my folder(firstapp) name in place of test then giving same error.
View 1 Replies
Jul 24, 2009
A groups of friends are working on a little game that would listen to the microphone as part of the interaction. We've tinkered with processing and flex. What we'd like to know is if anyone has succeeded in:
recording from the microphone using a web app
performing an FFT on this microphone data
In the case of flex, according to the docs "Because sound data from a microphone...do not pass through the global SoundMixer object, the SoundMixer.computeSpectrum() method will not return data from those sources."[1]
View 2 Replies
Jan 25, 2011
I have an AS3 swf which users can upload jpg images to my EC2 instances which sit behind and Elastic Load Balancer. The jpg images are converted into bytearray data and sent using URLLoader.load(URLRequest)I make 2 calls when uploading, one to upload a large version, then another to upload a thumbnail version. A PHP script to which the bytearray data is uploaded converts this to a file using file_put_contents($destination,$GLOBALS["HTTP_RAW_POST_DATA"])Is it possible to combine these two requests into a single request which contains both the bytearray data for the large and thumbnail images and 'split' the HTTP_RAW_POST_DATA to create 2 files at the server. This would be better than uploading the bytearray for the large version then using something like ImageMagick to resize the resulting image into a thumbnail which I realise is another option.
View 1 Replies
May 5, 2011
I will create a voice chat application with Adobe Flex and I want use the opensource Red5 as a server.But, I confuse how to start it. it's possible just use NetStream and NetConnection?
View 1 Replies
Mar 26, 2012
I'm trying to make a simple video chat using Flex framework and red5 server. It's an application with 2 video displays. With connection to the server more or less figured out. However, I do not understand how to transfer user1 stream to user2.
Here is functions i use to transfer webcam image to the server and to get the stream.
[code]...
View 1 Replies