1

连接到现有会话并尝试在其上发布时出现空白屏幕。出现 Flash 的“允许”/“拒绝”屏幕,但在按下允许后,发布者 div 中只有一个带有设置图标的黑屏。可能是什么问题?另一个浏览器实例也已打开,并且可以正常发布。

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

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)  
4

1 回答 1

0

想通了,希望它可以帮助某人。在较旧版本的 Flash 中,如果一个浏览器可以访问网络摄像头,则其他浏览器无法访问,因此一个浏览器上会出现黑屏,而另一个浏览器上会出现视频。

将闪存更新到最新版本似乎解决了我的问题。

于 2013-03-26T17:59:21.970 回答