1

こんにちは、ビデオをキャプチャして他のデバイスに転送するプロジェクトを 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.

        }

私が欲しいのは、キャプチャしたビデオをある種のバッファに保存して、それを送信して他のデバイスがそのビデオを見ることができるようにすることです(ビデオ通話)。何か案は?

4

1 に答える 1

0

基本的に、msdn からこのサンプルを入手できます。

ボイスサンプル

アプリケーションの作成方法の通常の説明については、ここに Silverlight のリンクがあります

ここから少なくともいくつかのコードと理解をマッピングできます..

ビデオ通話シルバーライト

于 2013-09-27T09:51:24.860 に答える