Actionscript 3 :: Use TCP/IP Connection To Server From Flash?
Jun 13, 2011
How to use TCP/IP connection to server from flash?I use ActionScript 3 and Flash CS4.I want to put module on site, which connects to server and get fresh info from it.
I have Flash Media Streaming Server 3.5 (not Interactive) running on RHEL5.5 x86_64 Linux.All is working well, however how do I prevent unauthorized access to connecting to the live stream and streaming content?How can I setup the server to require a user and password to stream live media to the server?I am new to this product and I have been reading some documentation but I have not found a clear cut answer on how to force a username and password to connect to the server to stream live content only.I am using the Adobe FMS Apache install, what files need changing?[code]I want to lock down a person from connecting to the server on the public internet and starting a live stream?Can this be done with a user name and password?
Is it possible to connect to a SSH server through a Telnet connection?I am trying to connect to an SSH server from Flash, but there is no OpenSSH implementation available in ActionScript. I can successfully connect to a Telnet server and execute commands.
I am not able to make any changes on the machine with the SSH server. The machine I am connecting with is running Windows XP SP3. I am willing to get whatever software for the Windows machine that is necessary.
I'm trying to create a flash mmorpg and I don't know what would be the best way of creating a connection that would handle the movement of people.I was thinking of saving the data on the mySQL server but I don't think that that would be the best way of doing this.
I'm building a Flash-based Facebook game with a Java backend, and I'm planning to use a RESTful approach to connect the two of them (not a persistent socket connection). I'm using the AS3 library to connect the client to Facebook, so that's where I have my session information stored. However, how do I authorize client connections back to the server? I can't leave the callback URLs open since that'd let people manipulate game state without playing the game. I need to make sure that the calls are coming from a valid client and through a valid session.
At the moment, users have no direct login to the backend server -- it's all handled through the client frontend. Can I pass the Facebook OAuth2 access token to the backend in a way that the backend can verify its validity? Should that be enough to trust a valid frontend connection?
I could do a two legged OAuth signed request or just use a simple shared secret, but the keys would have to be packed in with the flash client, which makes that almost useless for this use case.
I've got a swf called checkconnection.swf and basically this runs off and checks to see if it can get info from our online catalogue servers, however this swf is hosted at our IPS and our servers are here at our building on a different network with a different net address. When I run the program from the flash program it works fantastic. When I transfer my swf over to our ISP it fails. Can flash check an external source? So lets say, for example my flash file is hosted at myISP.com and my server is at myServer.com can flash view, post and get things over a different domain? Is there a way to force flash to do this?
We have one application in which we are using flash media server 2.0.5. We dont know why it's stop taking connection occasionally at that time we can't enter into the managment console. We get a white screen. When we try to enter user name and password it's does not accpet the credentials. We are not getting anything in the log.Port number 1935 and 1111 of the particular system where FMS has placed are working fine.
I'm attempting to make it so that when a person fails to fill in blank textboxes in another app that someone else made and I have nothing to do with but affects the XML node Path, my flash file will look instead at DefaultPath if it can't load whatever is in Path..
Is the code I've been trying to use but it won't do what I want. I keep getting this error:
VideoError: 1000: Unable to make connection to server or to find FLV on server
The XML is being properly loaded. Everything else is working. I just need to know that when something is blank it will look at the DefaultPath. I don't seem to be able to get it to do that.
I've spent a lot of time in the past couple of weeks learning Flash. I developed a Flash (swf) file that plays a Flash video (flv) with cue points. It all works very nicely locally, but when I put it on the server and try to access the html file, the Flash control is white (nothing visible) and a popup error message comes up with this error.I've looked all over the web (including non-English sites), tried playing with all the Publish settings I could think of (version check, local/network access, omit trace, enable debugging) and tried adding error handling code to the swf file itself. I've also tried changing the path for the flv file to be relative, absolute and somewhere in between, but nothing works.Does anybody know what can cause this error?
VideoError: 1000: Unable to make connection to server or to find FLV on server at fl.video::VideoPlayer/play() at fl.video::FLVPlayback/http://www.adobe.com/2007/flash/flvplayback
I'm using the RTMFP protocol to publish and play video and audio, but i'm with a little problem. I installed the FMS 4 Development Server in a Windows Server machine located in our local network and it works perfectly. In order to deploy our application, we have a remote server with a fresh install of the Ubuntu 10.04 Server, and the FMS 4 installed in this server. In other server we have the Java and Flex application, which will be used in the client browser.
The problem is that when trying to change the NetConnection url to the remote FMS server, which is the Ubuntu server, the netconnection can't connect to it. When changing to the RTMP protocol it connects, but with the RTMFP don't. I can't find any information in the log files or anything else.
I managed to make a local streaming (connection) to the server,by seting the FME at rtmp://localhost(or my IP)/live.But now i want to make a non local streaming.
Looking through our windows event viewer application logs, I've noticed alot of these warning listed. What would cause they messages to generated? Anything to be concerned about? It seems they're all created in between live event streams - after a live stream has stopped published and before the next live event stream begins, about a 20 minute break.
i have coded my first xml gallery, it loads jpgs and swf files.the swf files have each a video component on stage that controls the related FLV file.Testing the gallery locally I had no problem at all, but when uploaded to the server the jpgs works fine while the swf files (containing the videos) keep trhowing this error:
VideoError: 1000: Unable to make connection to server or to find FLV on server at fl.video::VideoPlayer/stop() at fl.video::FLVPlayback/stop()[code]....
I Need to Broadcast 20,000 to 40,000 Live Streams.! (Bitrate : 128Kbps / Viewers Per Stream Apprx-10 Server : Adobe FMS Server Amazon EC2 Instance - Bandwidth Apprx 100mbps)My Question is1. How Many Concurrent connections Possible for one Adobe FMS Server? (Amazon EC2 Instance)2. is this possible to use RTMFP for this process? (20,000 Connections Via Amazon Adobe FMS Server EC2 Instance )3. if Possible Over RTMFP then How Many Developer Keys Need for this Operation. (or) Pricing Details for the Developer Key. (or) Any Separate Key[s] Available For Amazon EC2 Instance?
We are getting message "Connection has been rejected due to license limit" in flash media server 2.0.5 at the time of connecting to the server. Previuosly that server works fine but today when we tried got above message. May be some changes occur on the system as we dont have controll for that system. But we can check FMS 2.0.5 on that system through managment console of FMS. Please suggest us in which direction we have to look.
All I can find is this discussion but there is no answer to my case.Our company is developing an application, which connects to https server when a client is joining/leaving the server. Here is a part of main.asc file:
I have instaled FMS 2 on local machine and have a video chatroom. I have used:rtmp//localhost/chat as the string and i can connect using this same machine from the chat interface. However, when i try to connect to the server ffrom my laptop or any other machine i get a connection fail
My client is in Flash/Flex (game with chat) and it will be talking to a Java server. What is the best way (protocol / interface) for my Flash client to talk to my server? I heard about Flash Remoting MX, but it is a request / response mechanism. I could always request something and wait for asynchronous notifications from server. Then request again, implementing something like a Comet server.Anyways, what is the industry standard for this type of communication: Flash Client talking to Java server, supporting asynchronous "push" notifications from server.
First,i am in project for creating some website with streaming video.The connection to the host is bad and i need to know if Flash media server can reconnect if connection is lost during playback and second,is there some kind of plugin for subtitles,this is very important,If there is a positive answers on those two questions,the third would be "where can i buy it and how"?
We have two servers - one stores the media files and runs FMS. The other creates dynamic webpages. I have edited the 'dynamic stream' SMIL example on the media server, to include a full URL:
[code]...
If I open the standard FMS index page, the 'dynamic stream' example works fine. However, if I copy that code over to a page on my webpage server (linking back to the media server of course), I get a 'connection error'. The weird part though is that if I limit the 'switches' in the SMIL file to just one video, it works again, eg:
[code]...
It makes no difference which file I choose, as long as there is just one.I am using the same video player that all the examples use (FMS 3.5), so my thought is that something in that player is causing a cross domain security exception when it has more than one stream to choose from. I tried disabling the firewall, so it's not that, and I updated server.xml to point to a custom crossdomain.xml file:
<?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"><cross-domain-policy><allow-access-from domain="*.mywebpageserver.com" /></cross-domain-policy>
i'm here because i'm discovering FMS right now and i'm starting to ask myself question I'm thinking about create a Web-TV :I want to stream video with a playlist playing server/side, and sometimes live video with a camera.i will not be the developper, i want to hire someone but what about the price.I'm aiming to have like 50000/100k visitor by month, i'm considering buyin Flash Media Interactive Server Licence, but what type of server i need for this kind of traffic, i'm not a professional, i will hire a agency or someone, but i need information first, to be aware about what its going on.What range of price should i expected ? FMS is a good choice for this type of web-tv ?