C# Windows Phone 7创建视频流

C# Windows Phone 7创建视频流,c#,windows-phone-7,video,C#,Windows Phone 7,Video,您好,我正在windows phone 7中创建一个项目,该项目将捕获视频并将其传输到其他设备。这是到目前为止我的代码 // Initialize the camera if it exists on the device. if (videoCaptureDevice != null) { captureSource = new CaptureSource(); fileSink = new FileSink()

您好,我正在windows phone 7中创建一个项目,该项目将捕获视频并将其传输到其他设备。这是到目前为止我的代码

// Initialize the camera if it exists on the device.
        if (videoCaptureDevice != null)
        {
            captureSource = new CaptureSource();

            fileSink = new FileSink();
            // Create the VideoBrush for the viewfinder.
            videoRecorderBrush = new VideoBrush();
            CompositeTransform transform = new CompositeTransform();
            transform.CenterX = 0.5;
            transform.CenterY = 0.5;
            transform.Rotation = 90;
            videoRecorderBrush.RelativeTransform = transform;

            videoRecorderBrush.SetSource(captureSource);

            // Display the viewfinder image on the rectangle.
            viewfinderRectangle.Fill = videoRecorderBrush;

            // Start video capture and display it on the viewfinder.
            captureSource.Start();
            // Set the button state and the message.

        }

我想要的是将捕获的视频保存到某种缓冲区,这样我就可以发送它,其他设备就可以看到视频通话。有什么想法吗?

b实际上,您可以从msdn获取此示例

有关如何创建应用程序的一般说明,请参见silverlight中的链接

您可以从这里映射至少一些代码和理解