opentok-web-samples
opentok-web-samples copied to clipboard
MediaRecorder API sample
We already have an Archiving sample which shows you how to use the OpenTok Archiving API. But there is a new MediaRecorder API available in some browsers that lets you record streams to your local machine. 👍 this if you would like to see a sample of how to do that with OpenTok. Similar to this one here https://webrtc.github.io/samples/src/content/getusermedia/record/
Hi @aullman , do you still plan to create a sample for mediarecorder local recording?
Thanks, D.
I wasn't working on it yet, I have registered your vote for it though. In the meantime the StreamFilter sample shows you how to get access to a MediaStream in opentok and the WebRTC MediaRecorder sample shows you how to record a MediaStream.
Thank you @aullman ! 👍
@aullman Sorry if this is tangential, but we have use case for recording with MediaRecorder, but from the subscriber side.
I see you commented here on a method to get access to the stream from a subscriber, and also mentioned that the <Subscriber>._. webRtcStream()
is available but not part of the public api.
Are you guys planning to expose a documented function to access this?