private void StartMediaStreamer() { if (mediaStreamer == null) { mediaStreamer = MediaStreamerFactory.CreateMediaStreamer(123); } // Using default resolution of 640x480 mediaStreamSource = new VideoMediaStreamSource(null, 640, 480); mediaStreamer.SetSource(mediaStreamSource); }