Home » Archive

Articles tagged with: 1935

Code Samples, Flash, FMS, Tutorials »

[29 Oct 2008 | 3 Comments | 15,675 views]
Flash Bandwidth & Port Detection

Being able to detect a users bandwidth can be an important part of serving them streaming video. Using their bandwidth you can stream a video that will play well using their connection speeds.
The first step is to create our NetConnection.as file. This is used by our bandwidth checking script to connect to our Flash Media Server via RTMP, select an available port, and talk with our bw_check.asc to report the users available bandwidth.
The second step is to create our FMS server side code. The bwcheck.asc file sends packets at a …