Search code examples
google-chromevideo-streamingwebrtcvideo-capture

video.captureStream not supported chrome 54


When i try to run example code from: https://webrtc.github.io/samples/src/content/capture/video-pc/

on Google chrome Version 54.0.2840.90 (64-bit) on Linux Mint, it's not working. Firefox works fine.

What's the problem?


Solution

  • I noticed the same issue and it seems like you have to enable "Experimental Web Platform features" in Chrome in order for the demo to work.

    1. Go to chrome://flags
    2. search for "Experimental Web Platform features"
    3. Enable and relaunch.

    Unfortunately it still doesn't work properly, at least when loading the page initially. If I drag the player location though, it seems to work.