String createObjectUrlFromStream(MediaStream stream)

Source

static String createObjectUrlFromStream(MediaStream stream) =>
    JS('String', '(self.URL || self.webkitURL).createObjectURL(#)', stream);