diff --git a/assets/ztest_apple_developer_forums_getusermedia.html b/assets/ztest_apple_developer_forums_getusermedia.html index f8b260b..fdcc85a 100644 --- a/assets/ztest_apple_developer_forums_getusermedia.html +++ b/assets/ztest_apple_developer_forums_getusermedia.html @@ -106,6 +106,9 @@ div.innerHTML='
'+(new Date().toLocaleTimeString())+' '+msg+'
' reclogs.prepend(div); }; +window.onerror=function(msg){ + log(msg,1); +}; @@ -120,7 +123,7 @@ //request permission, get stream window.recOpen=function(){ if(!Ctx){ - Ctx=new (AudioContext||webkitAudioContext)(); + Ctx=new (window.AudioContext||webkitAudioContext)(); }; recClose();