2013-09-27 5 views
1

Привет, я создаю проект в Windows Phone 7, который будет захватывать видео и переносить его на другое устройство. Вот мой код до сих пор.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. 

     } 

Что я хочу, чтобы сохранить видео, который был захвачен в какой-то буфер, так что я могу отправить его и другое устройство может видеть, что видео (Video Call). Есть идеи?

ответ

0

bsically вы можете пойти для этого образца сюда MSDN

в voip sample

для нормального описания того, как сделать приложение здесь ссылку в SilverLight

вы можете МАПП по крайней мере некоторый код и понимание отсюда.

video call silverlight