i am self-taught and i have pretty good as3 and mxml skills and have worked with Flash Pro and Flex, but only for my own stuff at home. i have only done local AIR stuff that don't require sending and getting data from a server now someone has asked if i could build him a kiosks/server system, and i want to dive into that the kiosks would be deployed in stores and have touchscreens displaying pictures, movies, banners and accept user control and data.i plan to build his remote controlling software in Flex and the kiosk AIR apps in Flex or Flash pro.the kiosks should periodically connect to the server to see if updates are available and download swf, jpeg and movie (mp4? flv?) files to the local filesystem (no live streaming is needed)also, user created data (forms only) should be sent to the server - i guess xml.[code]can all this be in as3 alone or do i need stuff like php also?also, would i be able in the controlling flex app to determine if specific kiosks are offline?
I am trying to set up DVR streaming using FLME. I'm following this tutorial: http:[url]........I'm up to Step 2,
I put in the following information into the FLME: FMS URL: rtmp://222.222.222.222/dvrcast_origin Stream: mp4:sample.f4v
Then click 'Connect' , but I get an error "Failure to connect to primary server verify that your server URL and application name are valid and that your internet connection is working and retry". My server is a 32-bit windows 2007 VPS , with FMS running.I don't know if I set up the DVR Cast application correct. All I did was copy the dvrcast_origin into the installationdirectory/applications, then I started a new instance of dvrcast_origin with _definst_...Also, I am running the trial version of FMS, and DVR needs FMIS. Is there a way I can just run FMIS?
I have inherited a custom application on Flash Media Interactive Server 3.0 that broadcasts audio in real time. The custom app is written using Adobe Flash Professional 8 and actionscript 2.0.
A little background of how the custom app works When a user connects to the media server to join a stream, our custom application calls out to a seperate application server (that is not Flash) to determine if the user is allowed to connect to a broadcast stream and which stream they should join. We use Xml.sendAndLoad() to do this. The application server we call sends back Xml to the custom App on the Flash Media Server.
I try to establich the connection with asc file from applications/videochat $connection_string="rtmp://videochat/"; And I'm getting the result from media server Connecting to the video server...>>The client does not have permission to connect to the application, or the application expected different parameters from those that were passed.>>The connection was closed successfully
I'm trying to troubleshoot a Flash Media Server working with a little video playback application I wrote a few years ago that has suddenly stopped working.I'm using CS3/Actionscript 3.My app uses the FLVPlayback Component, and was working well last time I checked. I recevied a report that the videos stopped working, and have been looking into it.I figured I'd add a bunch of event listeners to the FLVPlayback's ncMgr.netConnection so I could get debug info on things like io errors, net status, etc.The problem I'm running into is that the netConnection is null when I set it to anything on my Flash Media Server, and adding any event listeners to this netConnection throws errors.Here's what I've tried so far:
Playback of a local FLV file works fine.In the FLVPlayback documentation, I found an example and stole the URL of the stream they were using in the example, and that works fine, although it is an HTTP protocol stream rather than RTMP.Any attempt to access FLV files on my Media Server, which has worked fine in the past, basically cause the FLVPlayback object to sit and hang in "buffering" mode and never progresses beyond this point.The netConnection object in this case is null.Here's my code:[code]........
Again the purpose of this is to troubleshoot the video streaming from the Flash Media Server, and it seems like there is no netconnection to the server being created.Does this mean that the server is not working, or is there a problem with the way I'm trying to access the content on the server?This was all working fine before, and I have set up the server-side application .ASC files and such to allow things to work fine on the server end.
I'm trying to connect to an FMS server with a Flex application. I can throw the rtmp URL straight in as the source for a VideoPlayer and it will work, but can't figure out how to get it to work with a NetStream. The pure Flash Video element works as in the FMS Flash demos, but is extremely laggy and lacks all the nice functionality of the built VideoPlayer. Is there any documentation on working with FMS with Flex? We're at a point where we need to decide quickly if FMS will do what we need to do or if we should purse other technologies.
i am working on creating a custom application for FMS 3.0 that calls a webservice to validate the user coming in. I have tested the following sample code from the Server-Side ActionScript Language Ref. (See below) The URL has been changed to protect the innocent.
This codes seems to work fine when going to an unsecured site but the innvocation of the service never seems to go out when attempting it over SSL. The Server documentation says that outgoing calls like this should work over SSL. Is this true? If so what do I need to do to get it to work?
I've been using FMS for a few weeks, and feel relatively comfortable with it, but am currently having some trouble connecting to a live stream in a a video conferencing-type application. I suspect I'm leaving some small step out, but am having trouble seeing what that step is.
I have one client application open the video camera, connect to the FMS, and publish it's live camera stream to the server. Something like this:
I installed FMS 4 on my notebook and I was able to access the console without trouble. I used localhost for the server address. When I installed it on a remote server (Windows 2008), I can't get in. I tried the same thing. I opened it from the file system [URL] and I tried localhost but it didn't work. I've tried other values
[URL]
One problem could be that I installed Apache but there is already a IIS server using the port 80. When I look in the service panel, FMSApache says it is starting but not started.
Suddenly mic not connecting to server. I have FP 10.1. 102.64 Windows XP 32 bit and explorer 8. See link which instructs me to "change" but no response.
I was wondering what the difference is between connecting to 1935 and 80. Does one port have an advantage over the other? I know by default 1935 is blocked and it appears to be the perferred port to use, but does port 80 HTTP slow down the stream?
I have a Flash client that I want to connect to a server. Both are using localhost and port 50000 so there shouldn't be any cross-domain problems. I also set Access Network Only in the publishing settings. When I call the XMLSocket connect, the server seems to get a new connection. But, the XMLSocket.onConnect callback is not called with success=true.[code]...
The ActionScript 3.0 Reference says the following about flash.net.NetConnection:
The NetConnection class creates a two-way connection between a client and a server. The client can be a Flash Player or AIR application. The server can be a web server, Flash Media Server, an application server running Flash Remoting, or the Adobe Stratus service. Call NetConnection.connect() to establish the connection.
Does this mean I make a regular HTTP connection to any web server using an NetConnection object? I am a little confused about this as further down the section on the connect() method says connect(): Creates a two-way connection to an application on Flash Media Server or to Flash Remoting, or creates a two-way network endpoint for RTMFP peer-to-peer group communication....Pass an "http" URL to connect to an application server running Flash Remoting.. So, the application server has to have Flash Remoting?
This is what we have... a new Actionscript developer (Me) and a seasoned Visual Basic/ASP developer. We've also got some SQL Servers... We need to write a web application (Flash) that checks user authentication (User Name and Password) against a SQL Server database before allowing the user to continue through the program. After the user completes various components of the eLearning program, a brief quiz will follow. At the end of the whole eLearning program, a lengthy quiz will be given and those results will be scored and stored in a database.
I need to know what is required to do this... this being the database connectivity? I've been seeing PHP/MySQL tutorials but is there some way to hook up into ASP/SQL Server? Furthermore, how exactly does this work? I've read that with PHP, flash will write and store variables in PHP which is then used to get results from the database. I'm not exactly sure tho. If any one can point me to a great tutorial that explains everything about ASP/SQL Server..
I'm trying to make a little ftp upload app - not a full FTP client, just something to enable image upload with decent performance. I basically took the approach Lee used in his POP3 socket tutorial. The problem I'm having is that I can connect to the FTP server and I can authenticate and log in but as soon as I try to enter passive mode for data transfer I get nothing- not even an error. From looking at the FTP RFCs, FTP requires two TCP connections - a command connection and a data connection - does this mean that I need to open a second socket for the data transfer? Another possible issue is the Flash Player security policy not allowing conection to ports under 1024 - I have not placed a policy file or policy server on the host running the FTP server but as I can successfully login, I appear to be able to connect to port 21 (standard FTP port) anyway. The code I'm using is:
Code: Select allvar s:Socket = new Socket("ftp.actechnology.co.uk",21); var ftp_response:String; s.addEventListener(ProgressEvent.SOCKET_DATA, receiveReply); s.addEventListener(IOErrorEvent.IO_ERROR, showError);
[Code].....
why passive mode kills it or has successfully connected to a FTP server with the socket class
We have installed Flash Media Server on a Linux machine.It has 2GB of RAM,Fedora 9 with kernel 2.6.27.5-41.fc9.i686, the install required a few packages (compat-expat1 was one) to be installed before we saw the sample page. The sample page takes a few minutes to load and opening the page to connect to the admin console is about the same.
This is currently on our internal network while we try and see how it works. Are there any specifc TCP related kernel tuning parameters (eg in sysctl.conf) which need to be put in place over and above the out-of-box configuration. Any troubleshooting hints which might identify the problem. The install seemed ok nothing in /var/log/messages and checking to see what is running (ps aux | grep fms) I see
but when we clear our browser cache and go to a page it is taking forever.It is taking about 5 minutes to open up the initial page, but when it is open the videos all seem to come through fine.The server previously had apache on it but I removed that copy and went with the version included with FMS.
For some reason connecting to Flash Media Server 3.5 takes around 40 seconds. The server is running on Windows Server 2008 (64-bit edition) on a virtual server located in a reliable hosting center and I'm connecting to it over the internet. The server is using built-in Windows Firewall with all the inbound TCP ports required by Flash Media Server opened (80, 1935 and 1111).
If I disable the server's firewall the connection time drops to 20 seconds, but it's still pretty damn long time just for establishing connection. We probably have some company firewall at this end (the client side), but other streaming media services works just fine over this connection.
Can you access the FMS Start Screen to verify installation remotely? We have a new FMS 3.5.4 installation set up by our IS team, but cannot remote directly into the box to verify the installation per the installation guide. Is there a URL that can be used to access the FMS Start Screen if FMS was installed with Apache?
I have access to a flash media server on a CDN.I want to allow people to easily connect to this server. Currenty, they need to an additional software to connect to the FMS.It would be nicer if they could just connect to the server with their browser.So I assume I need to create a SWF file and connect from this file to the FMS (with Actionscript).The end result would look like the demo of the jquery webcam plugin, only that the SWF file would establish a connection to the FMS and stream the video to the FMS
I'm trying to create an app that multiple users would log into a server hosted over the local network. When testing the app in Flash Builder it connects, but when I run it on my phone it does not. I'm using XMLSocket like so:
I'm running FMS 3.5 on RedHat, and have some server side actionscript that is attempting to perform an HTTP GET on a remote URL, e.g:
loadVars.send("http://someurl/");
This works on a Windows XP development server, but not on the RedHat deployment server. Are there any configuration options that I need to be aware of in order to allow my application to perform requests such as these (i.e. HTTP requests to remote servers)?
I am trying to connect to an FMS application without flash (no SWF). To the best of my knowledge,the only way to accomplish this is thru the admin APIs, is that correct? If so, how do I return meaningful values from the admin API? I can call functions and stuff using the broadcastMsg API call but I can't seem to get back any values. All that is returned is a useless "Success" type message. I have tried using shared objects and the getSharedObjects API call, but the call doesn't return any info on the contents of the shared objects, just their names and some info on their persistance.
Is there another way of accomplishing my goal outside of the Admin API? If not how do I return meaningful variables from the Admin API? Is there a way to hack or extend the admin API?
The problem is a weird problem, because I can connect to the application through an RTMP test site, Adobe Flash Server reconginzes the connection and allows it. But when I try to connect from the flash applet (It's called Videowhisper), the connection doesn't go through. I was wondering if anyone knew what the problem is? I host Joomla (open source networking site) on a WAMP server, and Adobe Flash Server on the same machine. Adobe Flash Server is acception connections, just not from Joomla, for some reason.
I am developing an application in Flash that runs locally and it uses FMS 4.01, locally. I have been using adobe FMS 4.01 for months with no problem. Today I cannot connect to my server and I cannot even play the sample video on the Flash Media Server Start Screen. The sample video for the http plays after I changed the permissions for flash, but rtmp does not play. I have reinstalled the server; 3.5, 4.0 and 4.01, none of them will connect to rtmp. I receive this error on the flash media server start screen that says "the connection timed out".
I have Flex/AIR app that connects to a tomcat server via BlazeDS. I'm not finding that I have to integrate an old webapp (struts/jsp) and I'd like to keep that webapp untouched except for login, authentication and session handling. Also a 3rd java app that uses httpclient.
Currently I have some blazeDS remote objects to handle login/logout with a few RPC calls. In turn, FlexSession objects are created and handled. Is there a way to use httpclient and javascript to call those blazeds RPCs so I dont have to recode and have 3 different means to handle logins and sessions?
Does anyone know where can i find tutorials or even examples for connecting to a remote web server via XML-RPC. I want to establish connection with the server and call a remote method ...
I want to create a flash signature and I did it's just a normal text animation but I want to upload to my website and then create a webpage with a textbox Where a user writes his name in that text box and then the text in the swf movie gets replaced by his name I have seen it else where but I can't Recall