I want to test getUserMedia on an insecure origin on Chrome on Windows. I am starting Chrome in this way as instructed on goo.gl/rStTGz, a link that shows up in the
getUserMedia
You need to specify the port in the flag as well. Try
start chrome "http://my-ip:8000/index.html" --unsafely-treat-insecure-origin-as-secure="http://my-ip:8000" --user-data-dir=/tmp
Note that --user-data-dir is no longer required. See the note in point #3 here.
--user-data-dir