AS3 :: Linked List - Send LinkedList From Red5(Java) To Flex?
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
Similar Posts:
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
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
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
Oct 27, 2010
I could play MIDI file where "filename" is a String type with "asd.mid" value. However, I tried to sent AIR's nativeprocess command to Java, it shown "could not read" error.
[Code]...
View 1 Replies
Jul 24, 2010
I'm working on a Flash project and someone recommended Red5 as a media streaming server. Do I need to know java to use build applications that use Red5 as their server?
View 2 Replies
Mar 16, 2009
I have several flash clients that send live audio stream to the Red5 server. Is it possible to combine all this audio streams together so that other clients could subscribe only to one audio stream and listen live audio from all publishers?
View 11 Replies
Aug 24, 2010
I have several flash clients that send live audio stream to the Red5 server. Is it possible to combine all this audio streams together so that other clients could subscribe only to one audio stream and listen live audio from all publishers?
View 1 Replies
Apr 15, 2012
I am writing a Red5 application that provides 1-on-1 video chat to a Flash client over RTMP.
Unfortunately most tutorials I was able to find were sketchy at best and the documentation of Red5 itself tends to be vague when it comes to API concepts and intended usage.
In short, I am a bit stuck and looking for hints on Red5 ApplicationAdapter implementation. Gnarly details are as follows:
First of all, the connections come in two flavors: visitors and consultants. A visitor should be able to indicate which consultant it wishes to communicate with. A consultant simply gets connected to the requesting visitor as long as the consultant is not busy servicing another. Obviously, every RTMP connection has two-way traffic: both sending and receiving video. From the standpoint of the server, connections bring in a bunch of video streams that get their receiving endpoints assigned by request. Since several video conversations can be in progress simultaneously, the main task of the application is to handle the mapping of visitor streams to consultants and provide a list indicating each consultant's state (busy/available) via AMF.
So, all in all, I have a pretty good idea what I am aiming for but how to achieve it with Red5 is still a bit of a mystery.
What is the easiest way to establish the connection type (visitor/consultant)? Which API classes should be used to implement a persistent, globally accessible list of active connections for reporting the state of each consultant? How to switch receving endpoints dynamically when the goal is to connect a specific visitor to the selected consultant?
View 1 Replies
Feb 20, 2011
I'm getting to work with with red5 and am trying to make a basic app that will stream a random video to the client. Let's say I have 3 flvs on my server, I'd like a client to connect to my red5 app and have 1 of these 3 videos streamed to them. The only streaming i've been able to figure out so far uses netStream.play("video.flv"), this doesn't work for me, I want the server to decide on the file to stream rather than the client.
View 1 Replies
Dec 21, 2011
I am using a red5 server. I am doing a two way video conference using flex application. My current red5 server is storing both streams as different flv files.
now i have done some editing and have saved these edited files as one with video stream
[Code]...
View 1 Replies
Dec 6, 2010
This is my method in actionscript
var urlVars : URLVariables = new URLVariables();
urlVars.myname = byteArr;
var urlReq : URLRequest = new URLRequest('MyServlet');
[Code].....
How do I recieve the byte array on servlet ?
Also the byteArr above comes from java side,
byte[] byteArr = aMethodWhichReturnsaPDFByteArray();
HttpServletResponse response = FlexContext.getHttpResponse();
ServletOutputStream os = null;
[Code].....
View 3 Replies
Apr 29, 2011
I have a collection of Objects in an ArrayCollection in my flex page.
What is the best approach to send this data to a Java Servlet?
The object in the ArrayCollection is a VO that consists of an id and message for now. I want a solution that is scalable in case more properties are added later on.
View 1 Replies
Jul 18, 2010
I am trying to send info using USLStream from flash client to JAVA server.Some of the info is Chinese so i have to use Unicode.
View 1 Replies
May 4, 2011
want to browse an image and then send it to data base using flex and webservice java
View 2 Replies
May 19, 2011
i want to know how to send data using the AMF format from my flex AIR project to a socket written in Java. I am getting CorruptedStreamException when sending data using writeUTFBytes() methods. Has anyone experienced similar problems? Also can AMF be used only if i am using LCDS only?
private SimpleServer(int port)
{
System.out.println(">> Starting SimpleServer on port " + port);
[code].....
View 2 Replies
Dec 25, 2010
I am using flex with java.
I am fetching data from DB and put in object bean by setter and getter . and make list of beans.
this list i want to show in data grid in flex.
View 1 Replies
Jul 27, 2009
On the mxmlc command line, I can include paths to RSL files. I can choose to link these RSLs at runtime by setting
-static-link-runtime-shared-libraries=false What if I need to link to some rsls and embed (static-link) other rsls? Is there a way to set the link settings for each rsl?
View 1 Replies
Mar 15, 2012
I want to upload recorded audio (bytearray) from flex web client to java servlet. I use UploadPostHelper class from [URL]..The following flex code was used to call java servlet for audio file upload:
private function save():void
{
//File name for the recorded audio wav file
var recordAudioFileName:String = generateRecordAudioFileName();
[Code]...
View 1 Replies
Dec 9, 2009
I am currently making a website in flash for a football team and i would like to make a list of all the players names which link to separate player profiles in the same flash document.
View 4 Replies
Nov 16, 2010
I'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button.
I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.
View 2 Replies
Nov 16, 2010
I'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button. I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.
View 6 Replies
Oct 28, 2009
I know i can access multiply selected options of a list by
var selectedAlgos:Array = algosList.selectedItems;
where algosList is the name of my List.
How to i send this array via HTTPService to a phpfile and how can i then access the elements of this array from the php file?
View 1 Replies
Sep 10, 2011
I tried the benchmark on this site: Array vs. Vector vs. Linked list. It tests the performance of iterating over said sequences.Remarkably, iterating over a linked list is approximately 2.5x faster than a Vector.<int>. What is the reason for this counter-intuitive result?
View 1 Replies
Dec 26, 2009
I know there isn't a built-in linked list in AS3, but one can easily write his own. However, I found it difficult to come up with a good solution for sorting such list.If you didn't know, linked list is a chain of "cell" objects, where each object has a reference to the next object, typically you can write it like this:
Cell1.next = Cell2;
Cell2.next = Cell3;
CellN.next = null;
(Circular linked list and bidi linked lists are out of the scope of my problem, for now at least).
I looked into other languages that do have linked lists or even standard libraries for them, however, I don't seem to be able to either port any of their solutions, or, some of them, if ported to AS3 would not be workable (since they use recursion) or would otherwise have huge overhead because of lots of method calls etc.
I think, I'm focused on 2 possible algorithms: Merge sort and Insertion sort. These two seem to be most applicable to AS3. However, I may be wrong - so, please fill free to correct me.
View 5 Replies
Aug 18, 2011
i need to create objects with a unique name with a loop in a way that i could get this...
var n1:node=new node(12);
var n2:node=new node(22);
var n3:node=new node(32);
[code].......
View 1 Replies
Sep 13, 2010
I was looking at implementing a linked list to use instead of arrays in some areas. But is it really worth it in AS3? I did some speed tests using 10000 objects (ints). Access is about the same as long as you know what node you're on. Removal is of course faster.But adding to the linked list is actually slower than push() by the same amount that it is faster in removal.So is it really worth it to use them?
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
Apr 10, 2012
I've got XML data in AS3 that needs to be compressed, validated on my Java Google App Engine servlet then saved to a file in Google Cloud Storage. Later that file will be opened and decompressed by the AS3 client. The process works if I do it with plain XML or text, but if I ByteArray#compress the data, it dies during ByteArray#uncompress with "There was an error decompressing the data".
I've tried setting the content type and mime type at various points, as well as encoding with Base64, but every attempt seems to break in a different way and I never get the same XML back that I sent in. Do I need to use multipart? Should I compress on the server? [code]...
View 2 Replies