gpt4 book ai didi

javascript - 在多个浏览器上测试 OpenTok flash,一个浏览器可以正常发布视频,但另一个浏览器显示黑屏

转载 作者:行者123 更新时间:2023-11-28 09:16:28 25 4
gpt4 key购买 nike

连接到现有 session 时出现黑屏并且尝试发布该内容。出现 Flash“允许”/“拒绝”屏幕,但是按允许后,只有黑屏,其中有设置图标出版商部门。可能是什么问题?另一个浏览器实例也已打开并且发布正常。

如果您需要,这里是日志详细信息:

Connected [DEBUG] opentok: OpenTok JavaScript library v1.1.4  
[DEBUG] opentok: Release notes: http://www.tokbox.com/opentok/api/tools/js/documentation/overview/releaseNotes.html
[DEBUG] opentok: Known issues: http://www.tokbox.com/opentok/api/tools/js/documentation/overview/releaseNotes.html#knownIssues
[DEBUG] opentok: TB.setLogLevel(4)
[DEBUG] opentok: TB.checkSystemRequirements()
[DEBUG] opentok: TB.initSession(...sessionId...)
[DEBUG] opentok: TB.addEventListener(sessionConnected)
[DEBUG] opentok: TB.addEventListener(sessionDisconnected)
[DEBUG] opentok: TB.addEventListener(connectionCreated)
[DEBUG] opentok: TB.addEventListener(connectionDestroyed)
[DEBUG] opentok: TB.addEventListener(streamCreated)
[DEBUG] opentok: TB.addEventListener(streamDestroyed)
[DEBUG] opentok: Session.connect(22055202)
[DEBUG] opentok: TB.checkSystemRequirements()
[DEBUG] opentok: TB.sessionConnected: ...sessionId... - 7626c1323c18263598e3f7661151a79a97a43bda
[DEBUG] opentok: TB.dispatchEvent(sessionConnected)
[DEBUG] opentok: TB.streamCreated
[DEBUG] opentok: TB.dispatchEvent(streamCreated)
[DEBUG] opentok: Session.subscribe(1695484121)
[DEBUG] opentok: TB.dispatchEvent(loaded)
[DEBUG] opentok: TB.streamPropertyChangedHandler
[DEBUG] opentok: TB.dispatchEvent(streamPropertyChanged)
[DEBUG] opentok: TB.initPublisher(opentok_publisher)
[DEBUG] opentok: Session.publish([object Object]):undefined
[DEBUG] opentok: Pending: publishToSession(...sessionId...,7626c1323c18263598e3f7661151a79a97a43bda,T1==cGFydG5lcl9pZD0yMjA1NTIwMiZzaWc9ZmEyNjkxYzA0OGY1MTA3ZDFjZDVmYWQ2Yjc5MzVkNjdiMDUyMDNjMzpzZX) on component publisher_1
[DEBUG] opentok: TB.resize
[DEBUG] opentok: Component loaded: publisher_1
[DEBUG] opentok: callFlash: publishToSession(...sessionId... ,7626c1323c18263598e3f7661151a79a97a43bda,T1==lPS0xMzc1OTg2NzE5JnJvbGU9cHVibGlzaGVyJmNvbm5lY3Rpb25fZGF0YT11c2VybmFtZSUzRG9uZSUyQ3VzZXJMZXZlbCUzRDE=,22055202) on component publisher_1
[DEBUG] opentok: TB.dispatchEvent(loaded)
[DEBUG] opentok: TB.deviceAccessHandler: accessDialogOpened
[DEBUG] opentok: TB.dispatchEvent(accessDialogOpened)
[DEBUG] opentok: TB.resize
[DEBUG] opentok: TB.deviceAccessHandler: accessDialogClosed
[DEBUG] opentok: TB.dispatchEvent(accessDialogClosed)
[DEBUG] opentok: TB.deviceAccessHandler: accessAllowed
[DEBUG] opentok: TB.dispatchEvent(accessAllowed)
[DEBUG] opentok: TB.micGainChangedHandler:50
[DEBUG] opentok: TB.dispatchEvent(microphoneGainChanged)
[DEBUG] opentok: TB.echoCancellationModeChangedHandler
[DEBUG] opentok: TB.dispatchEvent(echoCancellationModeChanged)
[DEBUG] opentok: TB.streamCreated
[DEBUG] opentok: TB.dispatchEvent(streamCreated)
[DEBUG] opentok: TB.deviceInactiveHandler
[DEBUG] opentok: TB.dispatchEvent(deviceInactive)
[DEBUG] opentok: TB.streamPropertyChangedHandler
[DEBUG] opentok: TB.dispatchEvent(streamPropertyChanged)
[DEBUG] opentok: TB.streamPropertyChangedHandler
[DEBUG] opentok: TB.dispatchEvent(streamPropertyChanged)
[DEBUG] opentok: Session.disconnect()
[DEBUG] opentok: TB.sessionDisconnected(clientDisconnected)
[DEBUG] opentok: Session.disconnectComponents() - disconnecting publishers and subscribers
[DEBUG] opentok: Pending: unpublishFromSession(...sessionId...) on component publisher_1
[DEBUG] opentok: callFlash: unpublishFromSession(...sessionId...) on component publisher_1
[DEBUG] opentok: Session.cleanupConnection() - removing controller
[DEBUG] opentok: TB.dispatchEvent(sessionDisconnected)
[DEBUG] opentok: Session.cleanup()
[DEBUG] opentok: Pending: cleanupView() on component publisher_1
[DEBUG] opentok: callFlash: cleanupView() on component publisher_1
[DEBUG] opentok: Session.unsubscribe(subscriber_1695484121_1)

最佳答案

自己搞清楚了,希望对大家有帮助。在旧版本的 Flash 中,如果一个浏览器可以访问网络摄像头,其他浏览器将无法访问,因此一个浏览器上会出现黑屏,而另一个浏览器上会出现视频。

将 flash 更新到最新版本似乎已经解决了我的问题。

关于javascript - 在多个浏览器上测试 OpenTok flash,一个浏览器可以正常发布视频,但另一个浏览器显示黑屏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15582224/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com