javascript - How to cancel getUserMedia indicator after recording -


i'm using recorder.js , getusermedia audio recording in browser. when starting recording, user given "allow site use microphone" prompt, , once click allow, chrome adds indicator onto tab's favicon show recording:

recording indicator http://ubuntuone.com/1nbkbmc9va313wewtv03kz

my issue indicator never goes away, after application has stopped recording. basically, i'd revoke own recording permissions. possible?

when generate new mediastream object getusermedia call, contains mediastreamtrack object.

calling mediastream.getaudiotracks() should return sequence represents snapshot of mediastreamtrack objects in stream kind "audio". same thing applies when calling mediastream.getvideotracks() retrieve video track objects.

according spec, looks can revoke given permissions app calling mediastreamtrack.stop() on audio track object.

source: media capture , stream api spec


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -