Articles tagged with: calculate
Code Samples, Flash, FMS, Tutorials »
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 …