This project has moved. For the latest updates, please go here.
1
Vote

Error Windows Phone 8

description

Hi all,

I set camera and mobile the same network.
But not receive image. And return _mjpeg Error
I tried success on Firefox web browser.

Help me. Thanks!
My code
  public partial class ShowImage : PhoneApplicationPage
    {
        MjpegDecoder _mjpeg;
     
        public ShowImage()
        {
            InitializeComponent();

            _mjpeg = new MjpegDecoder();
            _mjpeg.FrameReady += mjpeg_FrameReady;
            _mjpeg.Error += _mjpeg_Error;
        }

        private void _mjpeg_Error(object sender, ErrorEventArgs e)
        {
            MessageBox.Show(e.Message);
        }

      
        private void mjpeg_FrameReady(object sender, FrameReadyEventArgs e)
        {
            imageStream.Source = e.BitmapImage;
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            _mjpeg.ParseStream(new Uri("http://192.168.137.253:8081/mjpg/video.mjpg"));
        
           
        }
     

       
     }

comments