Angular Twilio视频通话仅适用于野生动物园

时间:2019-05-24 12:38:43

标签: angular typescript twilio

一直在Angular中进行Twilio视频通话项目。 使用从网上下载的Example Twilio项目进行了集成的视频通话,但是我丢失了下载位置的链接。我目前有代码。 Twilio示例在除Safari 11.1.2之外的所有浏览器上都能正常运行。

我收到一个错误:-

[Error] ERROR – Error: Uncaught (in promise): TypeError: undefined is not an object (evaluating 'this.video.selectedId')
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:740178
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:492888
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:491931
t@https://experttalk.softprodigy.in/polyfills.06d8ebfbbb480cd38b03.js:1:13976
u@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:491723
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:787884
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:492888
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:491931
t@https://experttalk.softprodigy.in/polyfills.06d8ebfbbb480cd38b03.js:1:13976
u@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:491723
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:790850
    pi@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:563186
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:528342
__tryOrUnsub@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:498817
next@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:497994
_next@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:497036
next@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:496708
next@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:502152
emit@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:527818
onAddRoom@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:723    572
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:727210
pi@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:563186
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:640692
onInvokeTask@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:532149
runTask@https://experttalk.softprodigy.in/polyfills.06d8ebfbbb480cd38b03.js:1:2980
invokeTask@https://experttalk.softprodigy.in/polyfills.06d8ebfbbb480cd38b03.js    :1:8878
m@https://experttalk.softprodigy.in/polyfills.06d8ebfbbb480cd38b03.js:1:22323
k@https://experttalk.softprodigy.in/polyfills.06d8ebfbbb480cd38b03.js:1:22548
Error: Uncaught (in promise): TypeError: undefined is not an object (evaluating 'this.video.selectedId')
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:740178
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:492888
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:491931
t@https://experttalk.softprodigy.in/polyfills.06d8ebfbbb480cd38b03.js:1:13976
u@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:491723
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:787884
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:492888
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:491931
t@https://experttalk.softprodigy.in/polyfills.06d8ebfbbb480cd38b03.js:1:13976
u@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:491723
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:790850
pi@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:563186
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:528342
__tryOrUnsub@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:498817
next@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:497994
_next@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:497036
next@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:496708
next@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:502152
emit@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:527818
onAddRoom@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:723572
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:727210
pi@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:563186
https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:640692
    onInvokeTask@https://experttalk.softprodigy.in/main.ca36bd91f9f93196cd42.js:1:532149
runTask@https://experttalk.softprodigy.in/polyfills.06d8ebfbbb480cd38b03.js:1:2980
invokeTask@https://experttalk.softprodigy.in/polyfills.06d8ebfbbb480cd38b03.js:1:8878
m@https://experttalk.softprodigy.in/polyfills.06d8ebfbbb480cd38b03.js:1:22323
k@https://experttalk.softprodigy.in/polyfills.06d8ebfbbb480cd38b03.js:1:22548P     — polyfills.06d8ebfbbb480cd38b03.js:1:13030(anonymous function) —     polyfills.06d8ebfbbb480cd38b03.js:1:12120s —     main.ca36bd91f9f93196cd42.js:1:491827onInvoke —     main.ca36bd91f9f93196cd42.js:1:532234run —     polyfills.06d8ebfbbb480cd38b03.js:1:2314(anonymous function) —     polyfills.06d8ebfbbb480cd38b03.js:1:13775onInvokeTask —     main.ca36bd91f9f93196cd42.js:1:532150runTask —     polyfills.06d8ebfbbb480cd38b03.js:1:2981g —     polyfills.06d8ebfbbb480cd38b03.js:1:10063invokeTask —     polyfills.06d8ebfbbb480cd38b03.js:1:8902m —     polyfills.06d8ebfbbb480cd38b03.js:1:22324k —     polyfills.06d8ebfbbb480cd38b03.js:1:22549
    yn (main.ca36bd91f9f93196cd42.js:1:529138)
handleError (main.ca36bd91f9f93196cd42.js:1:529335)
next (main.ca36bd91f9f93196cd42.js:1:538767)
(anonymous function) (main.ca36bd91f9f93196cd42.js:1:528038)
__tryOrUnsub (main.ca36bd91f9f93196cd42.js:1:498818)
next (main.ca36bd91f9f93196cd42.js:1:497995)
_next (main.ca36bd91f9f93196cd42.js:1:497037)
next (main.ca36bd91f9f93196cd42.js:1:496709)
next (main.ca36bd91f9f93196cd42.js:1:502153)
emit (main.ca36bd91f9f93196cd42.js:1:527819)
run (polyfills.06d8ebfbbb480cd38b03.js:1:2314)
onHandleError (main.ca36bd91f9f93196cd42.js:1:532517)
runGuarded (polyfills.06d8ebfbbb480cd38b03.js:1:2532)
e (polyfills.06d8ebfbbb480cd38b03.js:1:11659)
microtaskDrainDone (polyfills.06d8ebfbbb480cd38b03.js:1:11708)
g (polyfills.06d8ebfbbb480cd38b03.js:1:10130)
invokeTask (polyfills.06d8ebfbbb480cd38b03.js:1:8902)
m (polyfills.06d8ebfbbb480cd38b03.js:1:22324)
k (polyfills.06d8ebfbbb480cd38b03.js:1:22549)

Twilio Sample Zip

有人可以帮助并解决示例项目中的错误,以便我可以集成到我的项目中。

0 个答案:

没有答案