Java :: Send Data From Red5 To Flex Using Remote Sharedobject

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


Similar Posts:


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

Browse An Image And Then Send It To Data Base Using Flex And Webservice Java

May 4, 2011

want to browse an image and then send it to data base using flex and webservice java

View 2 Replies

Actionscript 3 :: Send Data In AMF Format From Flex To Java Socket Server?

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

Java :: Flex - Max Upload File Size For Java Using Remote Object (BlazDS)?

Jul 16, 2010

I tried with flex and java in the backend. In this, I am able to upload files till 100 MB using remote object (blazeDs) where we will read the file as byte array and send it to the java method. If the file size exceeds after that, then I get the run time error in IE.

View 1 Replies

Actionscript 3 :: Developing Chatroom In Flex / Red5 / Remote Shared Object Based UserList / Serverside?

Mar 29, 2010

We are going to develop a simple chatroom in flex using Red5.Should we store UserList in a Remote Shared Object or Server Side List?Are there any example exit on Red5 or FMS , which uses Server Side programming and Remote Shared Objects? Red5 examples are not documented at all.

View 2 Replies

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

Flash :: Send A Video Stream To A Red5 Server Using Flex?

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

Java :: Flex - Unable To Send MIDI File Name To Java To Playback Music?

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

Java :: Flash Is Java Needed To Use Red5

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

Actionscript 3 :: Send Binary Data From It Through Java To A Filesystem?

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

Java :: Remote Object Flex Not Working?

Feb 8, 2011

I'm building an application using Flex 4 + Spring Blazeds Integration 1.5 + Spring 3.0.5 + Hibernate running on jboss-5.1.0.GA. I create a simple login form, and when a submit a string via remote object it works fine. But when a try to use an Object its simple doesn't work. Funny is that it even don't shows the Alert that a put! Also, if I remove the tag "RemoteClass" it sends to java but an error occur. Bellow is the code and configs.

My java class:

package com.controlefinanceiro.entities;
// imports
@Entity

[Code]....

View 1 Replies

Java :: Flex Session Parameters In Remote Object BlazeDS?

Jun 23, 2011

I have my flex object embedded to JSP page.The JSP page retrieves user information like user name and group from portal profile object and stores in http session parameters. The flex Object makes a remote call to Employee.class to perform persona based operation.

I retrieved the session id in JSP and also in the Employee.class both are same. But I am not able to retrieve the username stored in the http session from FlexSession. I read in the internet that the FelxSession will hold all httpSession information as well. It's always coming as null. Correct me if I am wrong.

[Code]...

View 1 Replies

Java :: Remote Object(flex) And ArrayList Of Custom Objects?

Jan 24, 2012

I have a custom java class which has an ArrayList and corresponding to it have a custom vo class which has ArrayCollection (in Flex).I want to return data from Java to flex.Every variable in java is getting mapped to vo perfectly except for ArrayList.When trying to retrive When trying to retrive exposureUSDList (which is an arrayList) in flex I am getting empty ArrayCollection. It is not getting mapped properlyPlease find my code below:

Flex Code:
package com.example.vo
{

[code].....

View 1 Replies

Flex :: Develop The HTTPS Application Using Java - Remote Objects Or HTTPServices

Feb 8, 2010

I need to develop the HTTPS application using Flex and Java. But i have idea about remote objects or HTTPServices. which one is the best for developing HTTPS application.

View 1 Replies

Flex :: Access A Remote Java Class (on Spring/BlazeDS) From The Cairngorm Application?

Nov 5, 2009

I seem to be getting the following error when I try to access a Remote Java class (on Spring/BlazeDS) from the Flex/Cairngorm application. I am going crazy at the moment trying to see what is wrong

[Code]...

View 2 Replies

Flex :: Use DTOs Or Domain Objects When Connecting To Blazeds/java/jpa Using Remote-services?

Jul 24, 2011

I am working on an Adobe Flex front-end with a Java back-end using JPA for persistence. he protocol I am using is remote objects (AMF) implemented with BlazeDS.I started out with a service-facade and entity DAOs, but without any specific DTOs. The same POJOs, the domain objects, were passed in the service-facade as those used as DTOs passed to the Hibernate DAOs.However, the latest few days I have been thinking whether this is a good approach or not. The latest article on the subject I read was this one:Interesting JPA Pattern blogThe situation:Say I have POJO Book with a unidirection ManyToOne relation with the POJO Category (i.e. each book may only be associated with one category, but the same category may be associated with many books). I see some alternatives:Alternative 1:I expose a method/operation addUpdateBook(Book book). In the implementation of this operation I add/update both the book and the referenced category.

View 1 Replies

Java :: - Merging Several Audio Streams Into One In Red5?

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

Java :: Merging Several Audio Streams Into One In Red5?

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

Media Server :: FMS Remote SharedObject Not Always Updated?

Apr 8, 2011

I'm somewhat new to FMS. We're creating a chat application and using s remote SharedObject to keep everyone in sync about who is in the room. But despite the fact that I use the following:

_sharedObject.setProperty("groupList", groupList);_sharedObject.setDirty("groupList"); to force the shared object to update the list of who's in the room, for some reason it does not always update correctly when someone enters the room and adds themselves to the shared object. The problem seems to be that the SyncEvent.SYNC event does not always get sent all the time.

More troubling it that if the user closes the browser window or navigates to another page, NetStatusEvent NetGroup.Neighbor.Disconnect and NetGroup.MulticastStream.UnpublishNotify are not reliable to use to remove user's from the list. My assumption is that remote shared objects are just not that reliable in some cases. Should I use server side scripts to keep track of users and what groups they are in?

View 9 Replies

Actionscript 3 :: FMS4 : Remote Sharedobject Reading?

Feb 20, 2012

I can create (AC3 and FMS4) remote sharedObject (but it's not listed on FMS admin panel, either on local server running on winXP Pro). When I trace results I see firstame value "myfirstname":

<...>
public var _so:SharedObject;
<...>[code]...

but when I want to get these values from another swf and browser with the same connection details, I don't receive anything. No ideas about returned errors, but i think it should be o.k., as I use like this to receive _so values:

<...>
_so = SharedObject.getRemote("myRemoteData", nc.uri, false);
_so.connect( nc );

View 1 Replies

Java :: Handle Multiple Video Streams In Red5?

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

Java :: Red5 - Streaming Dynamic Content To Client

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

ActionScript 3.0 :: SetProperty Method Only Applicable To Remote SharedObject?

Jan 25, 2011

Is the setProperty method only applicable to remote shared objects and not to local shared objects? The following code works fine:
Code:
web_so.setProperty("web", "someURL");
trace(username_so.data.Name);

Where 'web_so' was earlier declared as a remote shared object. When the above line of code is parsed, the bbc website opens in the browser and the trace statement get's printed in the output cosole. However if I were to replace the web_so...code witht the following:
Code:
username_so.setProperty("web", "someURL");
trace(username_so.data.Name);

Where 'username_so' was earlier declared as a local shared object. The trace statements prints out fine, but the brower dosent fire up at all. Which makes me wonder if the 'setProperty' method is something unique to remote shared objects, but I dont see the API mentioning that.

View 0 Replies

Java :: Saving Two Streams Of One Of Video And Other Audio Using Xuggler And Red5

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

Java :: Send Objects From Flex To Servlet?

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

Java :: Send An Array Of Objects From Flex To Servlet?

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

Flex :: Send Info Using USLStream From Flash Client To JAVA Server?

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

Flex List-controls - Maintain Remote Data?

Aug 29, 2009

I have a TileList which represents some remote data. I also have a form which allows me to change the data. And the data may be changed by someone else too.

What is the best way to maintain data in the list in an up-to-date state? The simplest option I see is the following:

Select an item in the list Edit it in the form Save it. The form submits the data to the server When the server reports success the list re-fetches it's data The very bad thing about this workflow is that the list loses selection (a tree would also loose the nodes' expanded/collapsed state). I would really love to find out another option which would enable the list to maintain it's selection state.

View 1 Replies

Flex :: Cannot Create Project Using Remote Or LiveCycle Data Services

Jun 28, 2009

I'm trying out the FlasBuilder ide with ColdFusion 8 on OS X. When I try to create a new project, I get stuck at the server setup screen that forces you to validate your paths for your ColdFusion root folder and your webroot. Every combination I try says either "LiveCycle Data Services is not installed at the specified location" or "Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml." The flex-config.xml file is sitting in that directory. Is there some trick to getting this to work?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved