Chromium cannot detect CSI Camera on Jetson Nano B01

I have a Jetson Nano B01 + CSI Camera connected to cam0

Problem: http://test.webrtc.org cannot detect the camera. Test run using stock Chromium browser
Setup:

  1. Chromium verison = 80.0.3987.149 (Official Build) Built on Ubuntu , running on Ubuntu 18.04 (64-bit)
  2. OS version = Linux jetnano 4.9.140-tegra #1 SMP PREEMPT Mon Dec 9 22:47:42 PST 2019 aarch64 aarch64 aarch64 GNU/Linux

Other tests:

  1. gst-launch and v4l2-ctl works. Output here:

    jetsonnano@jetnano:~$ v4l2-ctl --list-formats-ext
    ioctl: VIDIOC_ENUM_FMT
    Index : 0
    Type : Video Capture
    Pixel Format: ‘RG10’
    Name : 10-bit Bayer RGRG/GBGB
    Size: Discrete 3264x2464
    Interval: Discrete 0.048s (21.000 fps)
    Size: Discrete 3264x1848
    Interval: Discrete 0.036s (28.000 fps)
    Size: Discrete 1920x1080
    Interval: Discrete 0.033s (30.000 fps)
    Size: Discrete 1280x720
    Interval: Discrete 0.017s (60.000 fps)
    Size: Discrete 1280x720
    Interval: Discrete 0.017s (60.000 fps)

Hi,
WebRTC is a 3rdparty frameworks. Per our understanding, it only works with USB cameras or YUV sensors. Bayer sensors do not work. Your camera is a Bayer sensor and does not supported.

That is sad. Are there no work arrounds?

Hi,
We support gstreamer frameworks. There is a solution called Gstreamer WebRTC:

You may take a look and try. For using Bayer sensors, the source plugin is nvarguscamerasrc.

For others who land here, YES - CSI Camera does work on Chromium using gStreamer. However, using a USB camera is probably a simpler, better option.

Hey Dane : The same camera works with Chromium out-of-the-box on a Raspberry Pi 4. What is different in the Jetson Nano that prevents this from working ?

Hi,

The software frameworks for Bayer sensor is Argus on Jetson platforms. We support gstreamer and tegra_multimedia_api. If you have Raspberri camera V2, you can try

$ gst-launch-1.0 nvarguscamerasrc ! nvoverlaysink

We don’t integrate Argus with Chromium. Currently we don’t have plan to support this. May see if other users can contribute on this and share experience.