getUserMedia won't work in Chromium on UDOObuntu Quad 12.04

Discussion in 'Troubleshooting' started by lucascarlatta, Jul 29, 2014.

  1. lucascarlatta

    lucascarlatta New Member

    Joined:
    Jul 29, 2014
    Messages:
    2
    Likes Received:
    0
    Hello to all!
    I'm Luca, a media designer from Cagliari, Italy.
    I'm working on an HTML5 interface for UDOO and I need to open the UDOO camera module from Chromium Browser.
    I'm trying to handle it in javascript with getUserMedia API, but seems it won't work. I also enabled the "MediaStream" and the "Media Source API on <video> elements" flags on chrome://flags. I'm trying to test it fastly from this http://www.html5rocks.com/en/tutorials/getusermedia/intro/ .
    Before enabling them, the browser alerts me that getUserMedia wasn't supported.
    After enabling the flags, instead, I didn't receive any alert but I still don't see any camera stream.

    Can someone help me? Does anyone stuck in a similar issue?

    Thank you!
     
  2. dantavious

    dantavious New Member

    Joined:
    Nov 29, 2013
    Messages:
    32
    Likes Received:
    0
    I tried to do this in the past and it did not work either. I did not know that you could turn it on via the chrome flags though.
    Anyway, I installed a newer version via dpkg and it worked. Chromium was able to access the webcam. Installing the newer Chromium required me to install some new libs that broke some stuff, but system was only for testing though. Try that out and see what happens.

    Derrick
     
  3. lucascarlatta

    lucascarlatta New Member

    Joined:
    Jul 29, 2014
    Messages:
    2
    Likes Received:
    0
    Re: getUserMedia won't work in Chromium on UDOObuntu Quad 12

    I tryed a new version and it worked, but download via dpkg failed, i don't know why. However, the most important thing is that now all works!
    Thank you Derrick

    _
    L
     
  4. dantavious

    dantavious New Member

    Joined:
    Nov 29, 2013
    Messages:
    32
    Likes Received:
    0
    How did you get the new version beside dpkg?
     
  5. Diego ZoracKy

    Diego ZoracKy New Member

    Joined:
    Sep 18, 2014
    Messages:
    6
    Likes Received:
    0
    Re: getUserMedia won't work in Chromium on UDOObuntu Quad 12

    Hello @lucascarlatta and @dantavious.

    Question for you two that both tried this already. Would you mind telling me (and to others on the forum) about Chromium performance streaming video from the camera?

    It is the same FPS and delay that we saw on this video from UDOO?
    https://www.youtube.com/watch?v=6aFibpVyBn8

    Thanks in advance
     

Share This Page