Some usages of the MediaRecorder data require access to the timecode that is included with dataavailable events. To avoid an API change, I have added a timecode property to the stream class. This will contain the most recently emitted timecode value, and can be used to approximate the current timestamp for data being read from the stream, if the stream is read in realtime.
Some usages of the MediaRecorder data require access to the
timecode
that is included withdataavailable
events. To avoid an API change, I have added atimecode
property to the stream class. This will contain the most recently emittedtimecode
value, and can be used to approximate the current timestamp for data being read from the stream, if the stream is read in realtime.