I have tried to publish a webcam source to Flash Media Server as two netstreams with different bitrates(28Kbps and 128Kbps).
But I am getting both the netstreams in same bitrate(128Kbps).
This is the way I have written the code:
1.Created two camera objects (cam1,cam2)
2.Attach same camera device to both camera objects
3.Set different bandwidth values to the camera objects
cam1.setQuality(28672, 80); //28Kbps
cam2.setQuality(131072, 90); //128Kbps
4.Created two netstream objects(ns1,ns2) and attach to a netconnection
5.Attach cam1 to ns1 & cam2 to ns2
6.Publish both the streams
Please help me to solve this issue.
Retrieving data ...