... a MediaStream is always an input to another browser API
WebRTC: peer-to-peer browser connection to exchange, video, audio, or other abritrary data among users
For technical details, see requestData and ondataavailable
MediaRecorder can give you the data as it's recorded, rather than waiting until the end to upload everything.