Hello from following link I came to know about some interesting logic.
Please read it and guide me how to achieve that.
3. I heard FMS can control the output of the stream to various clients. I.e. if a user connects with a 56k modem, the quality will be lower. If a user connects with DSL, the quality of the same video will look better. Is this fact or fiction? How is this done?
FMS can't dynamically recompress streams... it's bits in, bits out. To target different connection speeds, you would make several encodings of the same media at various bitrates, detect client bandwidth when the connection is made, and serve the appropriate version of the video. In the case of live broadcasts, you can set the client to receive the video at a lower framerate than the source (the rate the video is being pubslihed at), but it makes the video jerky and laggy. If you must target varied connection speeds, I suggest broadcasting separate live streams at different bitrates.
Please atleast some hint would be appriciated.