Skip to main content
Participant
September 20, 2011
Question

Screen share with online user

  • September 20, 2011
  • 1 reply
  • 613 views

Hi,

  I'm working on e-learning project using ASP.NET,C#,SQL Server and Windows XP.I'm developing an interactive videoconferrencing using WebCam and at the same time i want to share the user desktop screen. Through FMS videoconferrencing(WebCam) is working fine. But i'm unable to share screen to online user.Actually i can't understand how will i send streaming of desktop screen to the FMS,  For WebCam I've used Flash 8 and Action Script2.

Plz assist me.

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    September 20, 2011

    You can try installing ScreenCapture softwares available for free and see if Flash Player can detect them as video drivers - in simple words if FP can detect them as Camera. If that is done i think you should be able to capture the screen and publish the same.

    Participant
    September 21, 2011

    Hi SE_0208,

      Thanks for ur response.My webcam streaming code is ---

    var RTMP:String = "rtmp://flashwebtown.com/live";

    var camLive:Camera = Camera.get();

    var micLive:Microphone = Microphone.get();

    oVideo1.attachVideo(camLive);

    oVideo1.attachAudio(micLive);

    var nc:NetConnection = new NetConnection()

    1. nc.connect(RTMP);

    //now create NetStream object

    var ns:NetStream = new NetStream(nc);

    var streamfile:String=_root.filename;

    Play.onRelease = function():Void{

                    ns.attachVideo(camLive);

                    ns.attachAudio(micLive);

                    ns.publish(streamfile, "live");

                    Stop._visible = true;

                    Play._visible = false;

    }

    Stop.onRelease = function():Void{

                    ns.close();

                   Stop._visible = false;

                    Play._visible = true;

    }

    This's working fine. But i want to replace code for screen sharing instead of WebCam.

    Plz help me.

    Participating Frequently
    September 21, 2011

    You dont have to change your code. You just need to install one of screen capture software - i use few but i dont know whether it can capture whole screen or if there are configurations to change area of capture. What you basically need to do is

    1. First install screen capture of your choice.

    2. When you open your recording client (the compiled swf having above code), just right click on client to open up pop-up menu of Flash Player. Click on Settings and then click on Camera icon. Apart from your webcam you should see you screencapture driver listed. Select that and you are done.