It would be useful letting user to choose a media file from the local computer and stream it to other participants in the room. According to the documentation the Stream API supports file as an option:
var stream = Erizo.Stream({video: true, audio: false, url:"file:///path_to_file/movie.mkv"});
But since browsers do not allow to access local file due to security reasons so I assume the file is used by the MCU in the server side not the client.
One idea to create stream in the client is blob that can be generated by URL.createObjectURL()
.
Another approach is MediaElement.captureStream()
that creates a stream from the audio/video element. Then we need the API to support native MediaStream as input.