host in my webpage an swf, and through Cirrus I could establish a connection between two different users, that worked like a charm, BUT, I had to pass through msn the peer ID in order to establish that connection.I know that this part must be resolved by a webservice.. but, how can I make one, and, more important, how does it work?
to create a flash-application that works like this example:Combobox1 provide some country namesCombobox2 provide some city namesThe data should be provided with webservices (like .asmx).I want them to work together and when i choose country in Combobox1 all cities related to that country will be shown on the second Combobox2.I've searched alot for an answer but couldn't find any for AS2 and please now i need your support
First off I am new to flash, actionscript, java script, ..., and I need server side to interact with a database. I have developed the below code that through trace statements seems to work, but when I try to access variable(s) they are still in their initial state. The trace statements in "Results.onResult = function(result)" are called and printed out to the Administration console. In main.asc there is an interval that checks the variable(s) and prints trace statement. app.MyDataManager.initCalled is always false. I'm not sure if this is the right terminology, but the call back from the web service seems to be in different memory or scope.What am I missing here. I know the function setInterval(...) you have to pass this. But I have been unable to find an equivalent for WebService. Is it possible to do what I'm trying to do?
Ok so from all my research I'm fairly positive P2P is not possible in Silverlight 4 (in browser). Flash can do P2P using Stratus/RTMFP which I believe uses UDP hole punching and a Stratus server to initialize the connection. Is there any plans for Microsoft to add some kind of p2p rendezvous service in the future? Can we get a definitive yes/no on whether or not p2p is possible in SL4.
I am using Adobe Citrus and Air. The goal is to make a voice chat application with low latency. I take the sound samples that I get from the Microphone SAMPLE_DATA_EVENT encode them in using Native Process and speexenc.exe.
The question with method should I use for the sending of the samples. I tried object repication and the latency is to big.
I would like to use Flash's RTMFP peer protocol but I am wondering if its worth developing for a mainstream audience? From what I understand it uses UDP and unless firewalls/routers of the users are configured correctly it becomes useless.
I see that the new Flash Media Servers were released. Looking over the information on the product pages, Flash Media Enterprise Server 4 is the only available product that supports RTMFP connections?
We currently have Flash Media Server 3.5 and our product utilizes RTMP connections, but I've been working with your Stratus Server and RTMFP and have found that the new protocol better fits our needs. However, the price for Flash Media Enterprise Server 4 is beyond our budget. Is there any possibility that RTMFP support are/will be available in the lower levels of Flash Media Server?
I need to create a simple video streaming without using Flash comunicator server or other streaming server.So I am thinking to use RTMFP but I haven' t found any good RTMFP tutorial for this issue.
Do you know tutorial for Video Streaming using RTMFP ?
Only the Flash Media Enterprise Server(FMES) has the "RTMFP peer introduction services" [URL] influxis created SmartMesh which enables p2p in Flash Media Interactive Server(FMiS). [URL] I couldn't find info on what does the peer introduction service do, what is the difference in capabilities of FMiS and FMES and what is the difference between RTMFP unicast and RMTFP multicast. Is it possible to create a p2p rtmfp connection between two clients with FMiS assuming I have a webservice that help clients exchange FarID?
I use RTMFP with NetGroup and Adobe Cirrus. Broadcasting settings are 320x240 with 5 fps.
However, in some cases it takes a long time for the webcam stream to appear (10-20 seconds, even if having a 1:1 connection). If the stream appears eventually, it looks like this:
I think this comes from a high keyframe interval and the subscribers needs to wait for the next keyframe, so that the stream appears properly. This happens in contrast to streaming servers, where the server caches the last keyframes from the publisher stream.
how I am able to tune the broadcasting, e.g. set the keyframe interval and other settings. Can you recommend a good setup? And, why is this issue not popular (I haven't found much information about it)?
Is it possible to use webservice with actionscript 3.0 and flash? know it was possible with actionscript 2.0 and actionscript 3.0 with flex, but under flash..
I'm developing an online meeting system with audio/video sharing, using Adobe Flex 4 and Flash Media Server 4. I'm using the RTMFP protocol to make the transmission of audio/video which increases considerably the performance. The trouble now is that i must record the audio/video transmitted, but i figured out that when using the RTMFP protocol the FMS doesn't operate in the channels. So, how could i make FMS record this channels?
I would like to serve high quality video (H.264) between a server and a single Flash Player client with low latency (RTMFP). The single client will be controlling a robotic device and seeing the results through the video stream, so low latency is important.
Option A: The Flash Player supports low latency streaming of video between two P2P nodes via the RTMFP protocol in Flash Player 10. It uses the Spark codec to encode the video and as far as I know it is not possible to encode using any other codec in the player.
Option B: Flash Media Live Encoder does support live encoding using other codecs (On2 and H.264) but cannot act as an RTMFP peer - this option would require Flash Media Server in the middle.It seems I cannot stream video to a single client over RTMFP with anything other than Spark.
I have Flex application - it connects to FMS and joins to NetGroup named "default".So I have for example 4 clients connected to the same server in the same group. And looks like not all clients are connected to each other! Client1 sees Client2's streams and messages but doesn't see others. Same for Client3 and 4. I know UDP must not be blocked in networks in order to P2P connections work, and this can be a reason why not all members of group see each other.My question is - if there any ways to make all clients see each other? For example - if no P2P connection can be established - connect client via Flash Media Server or some proxy?
i'm trying to invoke a webservice written in nuSoap from a AS3 Flash app; i've read that,starting from AS3, webservice support has been removed in Flash (really don't understand why...); i've tried thid party solutions (be.wellconsidered, carlo alducente) but they don't work with the wsdl that nusoap generates.
I would like to extend the WebService class in order to add a couple of functions to it. The problem is, when I use the subclass, I get the following message: 'Error opening URL "file:///<PATH WHERE FLA IS SAVED>/undefined"'
The subclass looks like this: Code: import mx.services.*; class com.testing.TestWebService extends WebService{ var foo:String; //constructor function TestWebService(){ [Code] .....
The strange thing is, if I extend the MovieClip class instead of the WebService class, everything is peachy. This makes me think there is something that I am missing, or do not know about the WebService class. The code above is the "I want to get it to load without errors" example. My reasons for extending the class go beyond adding a "foo" property. The WSDL path is to my local machine and therefore not accessible to the masses. Any WSDL should recreate the same results.
How can I consume a webservice that hasn't explicitely created a crossdomain.xml? I understand it's for security and to prevent cross-site scripting, but it does seem like a major limitation to the Flex framework. For example, if I want to consume a webservice, which is suppose to be language agnostic, then I can't with Flex. The webservice/server has to be specifically prepared for Flex/Flash. If it's not, then it cannot be consumed.
I have a Flash Movie (SWF) that is consuming a .NET WebService (located on the same domain) and in my Test environment everything works perfectly (Test env is all HTTP).
When deployed to production (All HTTPS) an issue occurs when trying to access the WebService from the Flash movie.
A new WebService object is created with the HTTPS url passed to it.
myWS = new WebService("https://mydomain/path/to/webservice")
As I watch the HTTP traffic in FireBug I can see the Flash movie making a POST request (passing along the SOAP data) as HTTP (not HTTPS as I would expect). This HTTP requests hits the firewall which forces a 302 Redirect to HTTPS. After this redirect occurs, Flash/Firefox re-sends the request to the HTTPS version of the URL, but as a GET request (thus losing all the SOAP data and making the call to the WebService invalid).
I am trying to figure out how/why a Flash WebService would call a WebService using HTTP even though I am specifically passing it a HTTPS url.
I've heard a couple of people say only 50% succeed, but that sounds suspiciously low and the people saying that are probably all repeating the same rumor. My own very limited tests with various friends & colleagues work 100% of the time, as long as they have Flash Player 10, but that's obviously not right either.
Do you have some data from a largish test or deployment of home/corporate users?
I'm finding little info out there on using Flash and remoting services. Currently I'm starting out using AMFPHP which works pretty well for sending back simple sets of data but I'd like to send back complex query types which translate to RecordSets. I have two problems:
1) Is this the way it's currently done? PHP backend with AMFPHP for webservices so my Flash program can access it? Or should I be using a different setup?
2) How do I add the mx.remoting services in CS5? The only docs I find say to add it under Other Panels but I don't have the next area under that in CS5.
I have a swc plugin embedded in my product to stream live video to a group of recipients.The plugin uses the NetStream, NetGroup and NetConnection objects, the server I use to handle the RTMFP session is Influxis.One client creates a group as a publisher, and stream a live video.His Camera is enabled and I can see the video on the screen as well. The others connect to his group and play the video.Peer assisted Networking is enabled for both the publisher and the recipients.The plugin worked well in all 10.x versions (10.1/10.2/10.3)However, when upgrading to flash player 11.x, it stopped working.
-11.x to 11.x isn't working. -10.x with 11.x isn't working. -only 10.x to 10.x is working.
The server I use to handle the RTMFP protocol is Influxis.com I sent them the same question as well.The weirdest fact is that I'm using flash builder 4.6 with 4.6 sdk, which is aimed for flash player 11.1, and it is only working with 10.x flash players.
We are building a live RTMFP voice chat application with Cumulus. While the basic voice transfer works pretty easy using NetStreams, we have one big problem:There does not seem to be a way to manipulate the microphone data that the NetStream sends, and also not a way to manipulate the data the listening NetStream receives before it is played.However, this is exactly what we need. We do not want to transfer the normal microphone recorded audio, but first pitch it, then send it, then play it. Or first send it, then pitch it, then play it. But it seems that the whole audio recording, speex encoding, speex decoding and audio playback is completely encapsuled within the NetStream class.The only ways to achieve what we want (and all of them removing NetStream completely) seem to be:Send raw pitched audio data. That does work, but is of course a lot of data to send and will likely not work fast enough outside of our local LAN testing.
Pitch audio data, convert to ogg/mp3 using existing encoders for flash, send, decode ogg/mp3 and play. But this would mean encoding each and every sample packet that is received from the microphone, adding header stuff, etc. So this would likely not even yield that much of a benefit compared to raw audio data.2.1. This would actually be a good way if there was a Speex encoder/decoder for flash. But ironically, there is none other than the built in one (which is used for encoding/decoding audio in NetStreams) that cannot be explicitly used. ot offering it, Adobe...Send the data to the Cumulus server, pitch (and probably convert) there and send to the recipient. This would likely not even be that much faster than 1. and also throw away the exact benefit of RTMFP, P2P communication.
In Flash user can give permission to localhost and even local html file to access remote webservice.I fail to see the same thing for Silverlight which is a nightmare for testing on local pc.
I built a simple rtmfp app using flash builder (I tested using the cirrus dev key to make sure it connects) but I cant seem to use the rtmfp service on my fms development server. Ive modified the index.html (in the webroot dir on the fms computer) to provide a link to a folder containing the html file and the swf file generated from my flash builder project. When I type in "rtmfp://localhost/" on my app I receive a "NetConnection.Connect.Failed" or a "NetConnection.Connect.Rejected" (if i do it directly on the fms computer).
Do I need to place my app in the "applications" directory to run properly? Ive checed the adaptor.xml file and everthing seems correct, I even added my public ip to the host port field, is there some confguration I missed?
Im not sure what Im doing wrong, Ive double checked my router and the fms computer's firewall thorugh a port scan and found the ports to be allowing traffic through.