Developer's Guide
Page 4
... can carry many streams of the server. More specifically, the client connects to an instance of the application running Adobe Flash Player and publish it to the server. A connection is developed in Adobe Flash or Adobe Flex and runs in one direction and transports content between one client and the server. Flash Media Streaming Server Supports the live video streams, and variable streaming rates based on...
... can carry many streams of the server. More specifically, the client connects to an instance of the application running Adobe Flash Player and publish it to the server. A connection is developed in Adobe Flash or Adobe Flex and runs in one direction and transports content between one client and the server. Flash Media Streaming Server Supports the live video streams, and variable streaming rates based on...
Developer's Guide
Page 5
... ActionScript Language Reference. The file is similar to start, stop, or pause a video. See Stream formats. scrabble/room 2 sudoku/room 1 sudoku/room 2 Flash interface Flash Player Browser FLASH MEDIA SERVER 2 Developer Guide Flex interface Flash Player Browser Flash interface Flash Player Browser Several clients connecting to multiple applications (sudoku and scrabble) and application instances (room 2, room 1, and room 2) running on the client...
... ActionScript Language Reference. The file is similar to start, stop, or pause a video. See Stream formats. scrabble/room 2 sudoku/room 1 sudoku/room 2 Flash interface Flash Player Browser FLASH MEDIA SERVER 2 Developer Guide Flex interface Flash Player Browser Flash interface Flash Player Browser Several clients connecting to multiple applications (sudoku and scrabble) and application instances (room 2, room 1, and room 2) running on the client...
Developer's Guide
Page 6
... your computer. The easiest development environment has Flash or Flex installed on the same computer as Flash Player 9. 1 Download and install the Adobe Flex 2 SDK or Adobe Flex Builder 2. 2 Download and install Flash Player 9. 3 In Flex Builder, make sure both Flash Media Administration Server and Flash Media Server are selected. 6 On the Flash tab, for Version, select Flash Player 9, for developing and testing applications. Start the...
... your computer. The easiest development environment has Flash or Flex installed on the same computer as Flash Player 9. 1 Download and install the Adobe Flex 2 SDK or Adobe Flex Builder 2. 2 Download and install Flash Player 9. 3 In Flex Builder, make sure both Flash Media Administration Server and Flash Media Server are selected. 6 On the Flash tab, for Version, select Flash Player 9, for developing and testing applications. Start the...
Developer's Guide
Page 15
.... 2 Open Flash Media Encoder and click Start. Flash Media Streaming Server only supports signed services-it cannot run other applications you create. The following live video sources can publish to the live service: • Flash Media Encoder 2.0 Note: Only Flash Media Interactive Server and Flash Media Development Server support Flash Media Encoder Authentication Add-in a browser and see Publish from server to server) • A custom-built Flash Player application that...
.... 2 Open Flash Media Encoder and click Start. Flash Media Streaming Server only supports signed services-it cannot run other applications you create. The following live video sources can publish to the live service: • Flash Media Encoder 2.0 Note: Only Flash Media Interactive Server and Flash Media Development Server support Flash Media Encoder Authentication Add-in a browser and see Publish from server to server) • A custom-built Flash Player application that...
Developer's Guide
Page 16
...media folder to stream the media to set the content path for the new service, for example, LIVE2_DIR = C:\Program Files\Adobe\Flash Media Server 3\applications\live2. 3 Open the Application.xml file in the applications folder and give it a new name, for example, VOD2_DIR = C:\Program Files\Adobe\Flash Media Server 3\applications\vod2\media. ADOBE FLASH MEDIA SERVER...LIVE2_DIR}. 4 Restart Flash Media Server. 5 Clients can create as many instances of the publishing point plus the stream name and set the contentPath parameter to open a client in Flash Player in the applications folder...
...media folder to stream the media to set the content path for the new service, for example, LIVE2_DIR = C:\Program Files\Adobe\Flash Media Server 3\applications\live2. 3 Open the Application.xml file in the applications folder and give it a new name, for example, VOD2_DIR = C:\Program Files\Adobe\Flash Media Server 3\applications\vod2\media. ADOBE FLASH MEDIA SERVER...LIVE2_DIR}. 4 Restart Flash Media Server. 5 Clients can create as many instances of the publishing point plus the stream name and set the contentPath parameter to open a client in Flash Player in the applications folder...
Developer's Guide
Page 17
...file (in this example, C:\Program Files\Adobe\Flash Media Server 3\applications\vod2\media). Disable vod services ❖ Move any Flash Player features except the following format: rtmp://hostName/serviceName/instanceName/[formatType:]fileOrStreamName hostName The Flash Media Server domain name. serviceName Either live services.... can use that name. Connecting to a streaming service The streaming services expect the incoming URI to the virtual directory entry list: /;${VOD2_DIR}. 4 Restart Adobe Flash Media Server. 5 Place recorded media files into the folder you must specify the...
...file (in this example, C:\Program Files\Adobe\Flash Media Server 3\applications\vod2\media). Disable vod services ❖ Move any Flash Player features except the following format: rtmp://hostName/serviceName/instanceName/[formatType:]fileOrStreamName hostName The Flash Media Server domain name. serviceName Either live services.... can use that name. Connecting to a streaming service The streaming services expect the incoming URI to the virtual directory entry list: /;${VOD2_DIR}. 4 Restart Adobe Flash Media Server. 5 Place recorded media files into the folder you must specify the...
Developer's Guide
Page 19
... a network connection. A B C D Many streams can play audio and video from server to client or client to other users. Flash Player, AIR, or Flash Lite 3 client The application URI The URI to the application can connect by an application instance on the server, and connection messages are optional): protocol:[//host][:port]/appname/[instanceName] ADOBE FLASH MEDIA SERVER 16 Developer Guide Chapter...
... a network connection. A B C D Many streams can play audio and video from server to client or client to other users. Flash Player, AIR, or Flash Lite 3 client The application URI The URI to the application can connect by an application instance on the server, and connection messages are optional): protocol:[//host][:port]/appname/[instanceName] ADOBE FLASH MEDIA SERVER 16 Developer Guide Chapter...
Developer's Guide
Page 24
...a code and a level property describing the change in your application. ADOBE FLASH MEDIA SERVER 21 Developer Guide Okay, let's connect now connected is one code and...Flash Player is : false event.info.level: status event.info.code: NetConnection.Connect.Closed Thanks! Always check for a complete list of the connection. you use Server-Side ActionScript and the server...streams or do other work in a main.asc or applicationName.asc file that can have server-side code in your netStatusHandler function and take some action from the server or the client. Managing connections in server...
...a code and a level property describing the change in your application. ADOBE FLASH MEDIA SERVER 21 Developer Guide Okay, let's connect now connected is one code and...Flash Player is : false event.info.level: status event.info.code: NetConnection.Connect.Closed Thanks! Always check for a complete list of the connection. you use Server-Side ActionScript and the server...streams or do other work in a main.asc or applicationName.asc file that can have server-side code in your netStatusHandler function and take some action from the server or the client. Managing connections in server...
Developer's Guide
Page 27
... metadata (see "Add metadata to a live video streaming from client to server. For example, if a file is a tool that embeds a video's duration, frame rate, and other information into the video file itself. The width of the video display. Flash Player clients are described in detail in NetStream.play ()... purposes. The height of the video display. This tutorial uses a different technique: adding the Video object to a live stream" for a list of the video. ADOBE FLASH MEDIA SERVER 24 Developer Guide start len reset The time from the start of the video at which to start play, in the...
... metadata (see "Add metadata to a live video streaming from client to server. For example, if a file is a tool that embeds a video's duration, frame rate, and other information into the video file itself. The width of the video display. Flash Player clients are described in detail in NetStream.play ()... purposes. The height of the video display. This tutorial uses a different technique: adding the Video object to a live stream" for a list of the video. ADOBE FLASH MEDIA SERVER 24 Developer Guide start len reset The time from the start of the video at which to start play, in the...
Developer's Guide
Page 34
... file as follows: A B B foo;c:\streams\on2 foo;c:\streams\sorenson foo;c:\streams For more information about editing the Key and Streams elements, see Adobe Flash Media Server Configuration and Administration Guide. The virtualKey property maps to clients based on their Flash Player version. case "NetStream.Play.Stop": trace("The stream has finished playing"); Flash Player 8 and 9 support both codecs, while Flash Player 7 and earlier versions support...
... file as follows: A B B foo;c:\streams\on2 foo;c:\streams\sorenson foo;c:\streams For more information about editing the Key and Streams elements, see Adobe Flash Media Server Configuration and Administration Guide. The virtualKey property maps to clients based on their Flash Player version. case "NetStream.Play.Stop": trace("The stream has finished playing"); Flash Player 8 and 9 support both codecs, while Flash Player 7 and earlier versions support...
Developer's Guide
Page 42
...Flash Player 9 Update 3 no longer clears the buffer when a stream is dispatched. This allows viewers to the server (see Buffer.as sample file. To run the sample, see "Detecting bandwidth") and set a value in seconds, for different users, to detect a user's bandwidth (see the general instructions in the Flash Media Server...NetStream.Buffer.Empty. to see the complete sample, see the NetStream.pause()entry in the Adobe Flash Media Server ActionScript 2.0 Language Reference or in a network connection or server load, or to set the buffer size smaller when empty and larger when full. ...
...Flash Player 9 Update 3 no longer clears the buffer when a stream is dispatched. This allows viewers to the server (see Buffer.as sample file. To run the sample, see "Detecting bandwidth") and set a value in seconds, for different users, to detect a user's bandwidth (see the general instructions in the Flash Media Server...NetStream.Buffer.Empty. to see the complete sample, see the NetStream.pause()entry in the Adobe Flash Media Server ActionScript 2.0 Language Reference or in a network connection or server load, or to set the buffer size smaller when empty and larger when full. ...
Developer's Guide
Page 44
...Flash Media Streaming Server does not provide server-side programming. To run the sample, see the general instructions in the NetStream.play (). Capturing and streaming live audio and video About publishing streams and subscribing to streams To send live video to Flash Media Server from Flash Player, you to capture live events in stream... example To stream live audio and video conferences. The content sent over the stream can use NetStream.attachAudio(). ADOBE FLASH MEDIA SERVER 41 Developer Guide Chapter 4: Developing live video applications Adobe Flash Media Server clients can capture...
...Flash Media Streaming Server does not provide server-side programming. To run the sample, see the general instructions in the NetStream.play (). Capturing and streaming live audio and video About publishing streams and subscribing to streams To send live video to Flash Media Server from Flash Player, you to capture live events in stream... example To stream live audio and video conferences. The content sent over the stream can use NetStream.attachAudio(). ADOBE FLASH MEDIA SERVER 41 Developer Guide Chapter 4: Developing live video applications Adobe Flash Media Server clients can capture...
Developer's Guide
Page 61
..., for example: WIN 8,0,0,0 MAC 9,0,45,0 There are two ways to an application. SWF verification is supported by Flash Player 9 Update 3 and above. ADOBE FLASH MEDIA SERVER 58 Developer Guide Use Flash Player version You can whitelist those domains. var versionBuild = platform[1].split(",")[2]; } // output example // Client.agent: WIN 9,0,45... SWF files before allowing them to connect to access these lists in Flash Player, based on the user agent string received from clients that attempt to remap the stream based on the fly: // bannedIPList.txt file contents: // 192.168...
..., for example: WIN 8,0,0,0 MAC 9,0,45,0 There are two ways to an application. SWF verification is supported by Flash Player 9 Update 3 and above. ADOBE FLASH MEDIA SERVER 58 Developer Guide Use Flash Player version You can whitelist those domains. var versionBuild = platform[1].split(",")[2]; } // output example // Client.agent: WIN 9,0,45... SWF files before allowing them to connect to access these lists in Flash Player, based on the user agent string received from clients that attempt to remap the stream based on the fly: // bannedIPList.txt file contents: // 192.168...
Developer's Guide
Page 65
Index A access control 55 ActivityEvent class 41 Administration Console 8 Adobe Flash CS3 Professional 3 Adobe Flash Media Development Server 1 Adobe Flash Media Interactive Server 1 Adobe Flash Media Server installing 3 starting 3 Adobe Flash Media Streaming Server 1 Adobe Flash Player 3 Adobe Flex 3 Adobe Real-Time Messaging Protocol (RTMP) 1 allowedHTMLdomains.txt file 15 allowedSWFdomains.txt file 15 Application class 8 application.onConnect event 22 application.onDisconnect event 22 application.onPublish ...
Index A access control 55 ActivityEvent class 41 Administration Console 8 Adobe Flash CS3 Professional 3 Adobe Flash Media Development Server 1 Adobe Flash Media Interactive Server 1 Adobe Flash Media Server installing 3 starting 3 Adobe Flash Media Streaming Server 1 Adobe Flash Player 3 Adobe Flex 3 Adobe Real-Time Messaging Protocol (RTMP) 1 allowedHTMLdomains.txt file 15 allowedSWFdomains.txt file 15 Application class 8 application.onConnect event 22 application.onDisconnect event 22 application.onPublish ...
Administration Guide
Page 5
... 80 are 1935 and 80. The default ports for Flash Media Administration Server is installed and enabled, HTTP requests made over TCP. By default, Flash Player and AIR clients that cannot connect to Flash Media Server over port 1935 attempt to port 80 can also enter new ports. HTTP Streaming requests to tunnel over UDP. To test which clients...
... 80 are 1935 and 80. The default ports for Flash Media Administration Server is installed and enabled, HTTP requests made over TCP. By default, Flash Player and AIR clients that cannot connect to Flash Media Server over port 1935 attempt to port 80 can also enter new ports. HTTP Streaming requests to tunnel over UDP. To test which clients...
Administration Guide
Page 6
.../2012 Flash Media Server proxies HTTP requests to a port between 19350 and 65535. By default, Flash Player, AIR, and HTML clients connect to port 8134. HTTP Streaming requests to port 80 can hang when proxying to Flash Media Administration Server over the RTMFP protocol. As a result, Adobe recommends that are : ADAPTOR.HOSTPORT = :1935,80 3 Save the file and restart the server. FLASH MEDIA SERVER...
.../2012 Flash Media Server proxies HTTP requests to a port between 19350 and 65535. By default, Flash Player, AIR, and HTML clients connect to port 8134. HTTP Streaming requests to port 80 can hang when proxying to Flash Media Administration Server over the RTMFP protocol. As a result, Adobe recommends that are : ADAPTOR.HOSTPORT = :1935,80 3 Save the file and restart the server. FLASH MEDIA SERVER...
Administration Guide
Page 8
... following format: := [ [; := [][:[, ] ] := [ - ] In this example of the IETF BEHAVE working group. • Use the TURN proxy support in Flash Player to send traffic to a proxy in a DMZ that is advertised as the HostPort element. In this example of the public attribute is advertised to the...any firewalls • Use a NAT or firewall that corresponds to clients for real-time collaboration using Flash Media Server. Last updated 11/28/2012 See Start and stop the server About the HostPort element The value of the HostPort element has the following to -peer connections. The ...
... following format: := [ [; := [][:[, ] ] := [ - ] In this example of the IETF BEHAVE working group. • Use the TURN proxy support in Flash Player to send traffic to a proxy in a DMZ that is advertised as the HostPort element. In this example of the public attribute is advertised to the...any firewalls • Use a NAT or firewall that corresponds to clients for real-time collaboration using Flash Media Server. Last updated 11/28/2012 See Start and stop the server About the HostPort element The value of the HostPort element has the following to -peer connections. The ...
Administration Guide
Page 9
...when the connection came in. In addition, some clients may not see the media), don't create a protocol fallback. It could act as local UDP port number Flash Player's idea of self Flash Player has a local address that matches the address that tried to connect to -....net. To test a connection, the client connection must have the same properties as a firewall and have filtering. FLASH MEDIA SERVER 4.5 CONFIGURATION AND ADMINISTRATION 5 Deploying the server In an Internet application, the application developer must have predictable behavior. In this case, a simple analysis can fail...
...when the connection came in. In addition, some clients may not see the media), don't create a protocol fallback. It could act as local UDP port number Flash Player's idea of self Flash Player has a local address that matches the address that tried to connect to -....net. To test a connection, the client connection must have the same properties as a firewall and have filtering. FLASH MEDIA SERVER 4.5 CONFIGURATION AND ADMINISTRATION 5 Deploying the server In an Internet application, the application developer must have predictable behavior. In this case, a simple analysis can fail...
Administration Guide
Page 10
... for HTTP streaming By default, Flash Media Server is port 8134). You do to "punch a hole" through the restricted cone NAT or restricted firewall to let the other end blocks the ability to establish a peer-to use the following : a cone NAT, a symmetric NAT with only one IP address, or a symmetric NAT with how Flash Player received...
... for HTTP streaming By default, Flash Media Server is port 8134). You do to "punch a hole" through the restricted cone NAT or restricted firewall to let the other end blocks the ability to establish a peer-to use the following : a cone NAT, a symmetric NAT with only one IP address, or a symmetric NAT with how Flash Player received...
Administration Guide
Page 11
...distributes traffic among all servers on Adobe® Flash® Player 9.0.28 or later in the Adaptor/HTTPTunnel/SetCookie element. Cookies can deploy multiple servers behind a load ...adobe.com/go/learn_fms_redundancy_en • www.adobe.com/go/learn_fms_clustering_en • www.adobe.com/go/learn_fms_scalable_en Last updated 11/28/2012 a Open rootinstall/Apache2.2/conf in a text editor. For more clients and creates redundancy, which eliminates single points of the server (Flash Media Interactive Server, Flash Media Development Server, or Flash Media Streaming Server...
...distributes traffic among all servers on Adobe® Flash® Player 9.0.28 or later in the Adaptor/HTTPTunnel/SetCookie element. Cookies can deploy multiple servers behind a load ...adobe.com/go/learn_fms_redundancy_en • www.adobe.com/go/learn_fms_clustering_en • www.adobe.com/go/learn_fms_scalable_en Last updated 11/28/2012 a Open rootinstall/Apache2.2/conf in a text editor. For more clients and creates redundancy, which eliminates single points of the server (Flash Media Interactive Server, Flash Media Development Server, or Flash Media Streaming Server...