Flash Media Server 3 Demos

I am about to start the FMS 3 apac tour in 2 days time and I have prepared some demo apps to be used with the tour. Below is the link to the files if anyone is interested. To use the files, you would need to have FMS 3 developer edition and Flash CS3 installed on your machine. You also need to be familiar with AS3 for client-side code and AS1 for server-side code. Enjoy!

http://rapidshare.com/files/91317176/FMS3.zip.html

http://rapidshare.com/files/93297710/Slides.zip.html

Note: If you the FMS server is streaming video from IIS 6, you may need to configure MIME type for flv. Read the technote at: http://www.adobe.com/go/tn_19439

Advertisements

~ by brianchau on February 12, 2008.

53 Responses to “Flash Media Server 3 Demos”

  1. I’ll join the seminar on next week as my company coming will take a project that using Streaming Flash Solution. I’m a newbie in Flash industry and I want to have some reference to learn how to use the Flash Streaming Server. Any Comments?

  2. […] Brian Chau has graciously offered up some sample apps to get you started with FMS3 (they are exercises for his upcoming class). These come set up to run on FMS3 running locally (the free Developer edition would work for this). https://brianchau.wordpress.com/2008/02/12/flash-media-server-3-demos/ […]

  3. I have attended your seminar last week. I looking for License Server for the DRM of flash video which you mentioned during the seminar. I have searched Adobe website but can’t find anything about it. Can you post the URL on that License Server.

  4. sk, the DRM of Adobe Media Player is handled by the Flash Media Rights Management Server. You can get more info by downloading the CDK from the link below:

    http://download.macromedia.com/pub/labs/mediaplayer/adobemediaplayer_cdk.pdf

  5. 謝謝今天下午您在台北的演講。

  6. I am new to flash media server. If i were to develop an application for live video recording, should i use FMIS or FMSS? In our country, the most common bandwidth is 1Mbps, I have calculated my minimum video will be 233kbps, takes around 2 minutes, how many simultaneous client will I have at a time?

  7. Samantha, live video recording is a feature of FMIS, not FMSS.
    As the video is 233kbps, so people with 1 Mbps would have no problem viewing the video stream. As to the number of simultaneous client FMIS can serve, it can serve up to the satuation limit of the bandwidth of the server. Assuming your FMIS server has 1 Gbps network card and bandwidth, you can in theory have 1000000/233 = 4291 clients. In practice, I would multipy by 0.7 to give an approx of 3000 clients.

  8. 我正在學習FMS3,您可以把這些范例文件發給我(tamt.zxc[at]gmail.com嗎?非常感謝。因為不知道為什么沒辦法下載中老是出錯。

  9. Hi, I’ve made all the basic steps to install FMS 3, the encoders is ok, the administration panel shows the connections, but when I launch the livetest.htm I still can’t see the video is there something else that I’m not makig? tks.

  10. J@C, try the following steps:
    1. Start FME. The FMS URL should be: rtmp://localhost/live. Stream name should be “livestream”.
    2. Click “connect” button. The status should read “connected”.
    3. Click the “Start” button to start streaming.
    4. You can check the FMS admin console. The connection should be 1 and there should be bandwidth graph to see data being stream into the FMS.
    5. Then launch the livetest.html page and click the “go” button.
    6. The FMS admin console should now updated to show 2 connections.

  11. Hi Brian,

    I have just installed FMS3 on my server. Everything is working fine on localhost but when I want to point to the file from another computer (where my flash cs3 is installed) I am unable to locate the file via (rtmp://xxx.xx.xx.xxx/vod/sample.flv) using “Import Video”. Am I missing out a step or something here? Please give me some advice.
    Thanks in advance 🙂

  12. can FMS3 do DRM or encryption so that the flash clip cannot be saved by Real Player11?

  13. FMS streams video so there is no physical copy of the video to be saved. The stream can even be enrypted (using rtmpe protocol). For progressive downloaded flash video, Adobe has a new server solution called Flash Media Rights Managemet Server (FMRMS) which can protect downloaded video watched via AIR or AMP.

  14. Hi Brian,

    I have just installed FMS3 on my server. Everything is working fine on localhost but when I want to point to the file from another computer (where my flash cs3 is installed) I am unable to locate the file via (rtmp://xxx.xx.xx.xxx/vod/sample.flv) Its giving connection error. Am I missing out a step or something here? Please give me some advice.
    Thanks in advance

  15. Prem, is xxx.xx.xx.xxx the domain name of server where FMS is installed?

  16. Hi Brian,

    I was wondering if there is a mechanism for limiting bandwith to demonstrate streaming over domestic internet connections.

    Thanks in advance

  17. ocf, you can encode the video at the bitrate based on a target connection speed and let that streamed from FMS. That would give you an idea about the experience is like. Note that FMS has a native bandiwdth detection feature so that it can select the stream based on client bandwidth.

  18. Hello !
    I am trying to develop a real time App in Flash AS 3.0, using FMS 3.
    The app use Voice & Video but is a system with datapush from servers events and data refresh [:D], i read all the documents from adobe about FMS 3, but only comment that we can use Server-Side ActionScript to connect to other systems, including Java 2 Enterprise servers, web services, and Microsoft .NET servers. but the Question is HOW ?
    Using aspx & jsp ? but what about the data push of (.net or j2EE)- FMS 3 – flash client app, almost like LiveCycle DS it’s possible only with using FMS3?
    The other way is using the C++ API Plugin, but not only to check the access of the user or to make simple I/O Files, the question here is, i can use the C++ plugin API and write a component to make a persistent connection to a another server for example MS-SQL Server or a dll-event dispacher, to push the data to FMS and thne to the client flash app,making Real-time App ?

    I hope that GURUS, PROS and any body can help me with this idea!!!

  19. Mandrake, You can use the following classes to make calls from Server-Side ActionScript to external sources: WebService,
    LoadVars, XML classes, NetServices (connects to a Flash Remoting gateway). For more information about these
    classes, see the Server-Side ActionScript Language Reference. For more information about Flash Remoting, see
    http://www.adobe.com/devnet/flashcom/dynamic_flash_remoting.html

    The article was based on FCS but still applies for FMS.

  20. I have FMIS3 and everithing runs nice locally but when I try to connect like a client I don’t see nothing.

    any segestion?

  21. Frankie, sorry no idea. Can you elaborate?

  22. Hey Brian this is helpful

    Like many others everything when I’m using localhost is fine, but when I pass “rtmp://domainname/vod/sample.flv” it doesn’t work.

    Is there a file where I have to setup the domain name of the box its installed on? Or am I missing out on something else?

    Thanks

  23. Dan, the first thing I would test would be to see if I can view a flash movie html page from that web server (via http).

  24. Brian-
    Yes I can view a flash movie html page from that server (via http).

    Everything seemingly works unless I call the rtmp://domainname(non-localhost or local ip)/vod/sample

    Theres nothing obvious (atleast to me) that I need to change to get the domain to work. Each tutorial I read doesn’t mention having to setup anything. Any ideas?

    Thanks

  25. Seems I got it working Brian. All was a port issue on the server

    Thanks !

  26. Hi,

    I am running the Flash Media Server 3 on Red Hat Enterprise Linux 4.

    After installing the server, I tried the sample Video On Demand application remotely (vodtest.html).

    It does not work. I get a “connectionError”

    The server is running. I can check that in the web based Admin console. I do not see the number of connected clients increase at all. It stays at zero.

    The server does not have the firewall enabled.

    How do I test the sample vodtest.html remotely? I do not want to use localhost. Even when I tried localhost, that did not work either.

    How can you tell if it is a port issue? If it is a port issue, how do you fix it?

    Thanks

  27. Sorry FMS Newbie, I am not familiar with Linux. Can’t help.

  28. Hi again Brian,
    I have continuously searching over the net regarding the bandwidth limitations again. Thanks for your previous answer. I am planning to buy a FMIS license on my newly purchase dedicated hosting and my application has been successfully developed. One big question here: I only have a 1Mbps bandwidth from my dedicated hosting. Based on the calculations you’ve made above, does that mean that I can have only 4 simultaneous connections? (my video is approximately 250kbps). If that’s the case, is strange then, because I see that you mentioned 1Gbps (which is extremely costly in our country) unless we are talking about a different bandwidth.

  29. The figures are right. If your host server has a 1 Mbps limit and the video is streaming at 250 kbps, then you wont be able tó stream more than 4 connections simultanously. Now 1 Mbps is typical of a standard ADSL data rate for a computer. For a server serving videos to many computers, you would need more than 1 Mbps.

  30. Hi Brian,

    Is sad isn’t it to have only 1Mbps? And the best we can go by paying a lot is to move up to 155Mbps. (it’s already the best in the country) They are charging USD200 per 1Mbps. I am just wondering what is the Mbps available in your country? You mentioned 1Gbps. Is that the normal bandwidth in a dedicated hosting?

    If so, is it possible to host overseas, and will it affect the connections to FMIS?

  31. Samantha, would you consider using CDN like Akamai who specialised in providing FMS video streaming services. And they have servers located worldwide. Check out the link at:

    http://www.adobe.com/products/flashmediaserver/partners/

  32. Hi Brian:

    I installed Adobe Flash Media Server 3 en my computer and I began to execute the example HelloWorld that give me the documentation of Adobe Flash Media Server. The trouble is that the following error always appears

    Connecting…
    Error #2044: NetStatusEvent no controlado: level=error, code=NetConnection.Connect.Failed
    at HelloWorld/connectHandler()

    I read the information de the manual of the documentation y I do not know that I have me mistaken. I would thank if you could help me

  33. Hi Brian

    I have Flash Media Server installed and using it as vod and it works fine.
    Only when I stream a movie on HD, I see on my player that the stream needs to load very often, althoug my bandwidth on the server is a 5 Gbit line, and my connection is 4Mbit connection.

    thanks

  34. Hi
    Thanks for links, just downloaded

  35. Greetings gentleman,

    As I’ve read, Flash Media Streaming Server offers unlimited number of streams as well as users. As Flash Media Interactive Server can be scaled to handle big loads with clustered servers and distributed content (origin/edge), I wasn’t able to find the differences in number of concurent users supported by these 2 flavours of FMS. Does anyone know (from a experienced deployment scenario) the way to calculate the maximum number of users for FMSS and for FMIS?

  36. Nemesis, FMSS and FMIS have same streaming capability but only FMIS can be configured for Origin/Edge setup. As the software doesn’t have connection limitation, it is really down to hardware configuration. How much bandwidth is supported by the server? The data rate that is to be streamed at peak traffic and the cpu utlilization are all factors to be considered. The FMS whitepaper available at: http://www.adobe.com/products/flashmediaserver/
    has more info.

  37. i want broadcastlive shows code using flash cs3,actionscript3 and flash media server. meaning code for liveshow and clent also.

  38. Error: cannot connect to Flash Media Server! Error code:NetConnection.Connect.Failed

    i receive this error though i edited already fms.ini providing the domain name of the remote server.
    SERVER.ADMINSERVER_HOSTPORT = domainname.com:2082
    ADAPTOR.HOSTPORT = domainname.com:2082

  39. Thank you for sharing these demos.
    It helped me to understand how to organize the SSAS code on the server.

  40. This application demos Flash Player 7’s capabilities of local flv playback without the use of Flash
    _______________________
    tuyen dung | tim viec | viec lam

  41. I will note this
    Thank you very much

  42. Hi Brian, I want to record a FLV with your example, but don’t connect to FMS:

    NetConnection.Connect.Rejected
    NetConnection.Connect.Closed

    I placed your file in folders inside the “applications” folder into the FMS3 applications folder.

    mmm I need other file? for example : main.far, Application.xml…

    And I have other question… I need to change fms.ini?
    VOD_DIR = /opt/adobe/fms/applications/vod/media
    VOD_COMMON_DIR = /opt/adobe/fms/webroot/vod

    I use FMS 3.5 in my server. (no local)

    any sugestion? Thanks in advance

  43. thank you so much for sharing this information with us, it is pretty interesting.

  44. Hi Brian

    I have Flash Media Server installed and using it as vod and it works fine.
    Only when I stream a movie on HD, I see on my player that the stream needs to load very often, althoug my bandwidth on the server is a 5 Gbit line, and my connection is 4Mbit connection.

    thanks

  45. Thank you for sharing these demos.
    It helped me to understand how to organize the SSAS code on the server.

  46. I find the example HelloWorld that give me the documentation of Adobe Flash Media Server. Only when I stream a movie on HD, I see on my player that the stream needs to load very often. Thanks for your sharing.
    __________________
    tim viec lam

  47. Thank you for sharing these demos.

  48. thanks so much for sharing

  49. thank you so much for sharing

  50. The above links expired, can you please upload it again.

    Thanks

  51. thank you so much for sharing, http://hrworld.vn

  52. Everything is very open with a precise description
    of the issues. It was really informative. Your site is very helpful.

    Many thanks for sharing!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: