- Code: Select all
Archived Post
with the html tutorial using devtoken and staging server I had no problem to
make it work. It actually also works after replacing all vars and shifting
to production mode the problem is as it was that there is no watchers or
publishers recognized in diferent computers/browsers. Each browser
recognizes only one watcher/publisher.
here the full log of for TB object
thanks
ONE BROWSER LOG
ACTIVE"active"BASIC_STREAM"basic"CLOSE_BUTTON_CLICK"closeButtonClick"
CONNECTION_CREATED"connectionCreated"CONNECTION_DESTROYED
"connectionDestroyed"DEBUG4DEVICES_DETECTED"devicesDetected"DEVICES_SELECTE D
"devicesSelected"DEVICE_INACTIVE"deviceInactive"EXCEPTION"exception"
GLOBAL_GROUP"global"GROUP_PROPERTIES_UPDATED"groupPropertiesUpdated"
HAS_REQUIREMENTS1INACTIVE"inactive"INFO3LOG5MULTIPLEXED_STREAM"multiplexed"
MULTIPLEXER_ACTIVITY_BASED_SWITCH1MULTIPLEXER_TIMEOUT_BASED_SWITCH0NONE0
OLD_FLASH_VERSION0SESSION_CONNECTED"sessionConnected"SESSION_DISCONNECTED
"sessionDisconnected"SETTINGS_BUTTON_CLICK"settingsButtonClick"
SIGNAL_RECEIVED"signalReceived"STREAM_CREATED"streamCreated"STREAM_DESTROYE D
"streamDestroyed"UNKNOWN"unknown"WARN2groups
Object {...}
13ddf99c54e784dbec502b37f2719ced4af63a81_global
Object {_listeners=Object groupId="global" ...}
_listeners
Object {}
groupId
"global"
sessionId
"13ddf99c54e784dbec502b37f2719ced4af63a81"
addEventListener
function()
disableEchoSuppression
function()
dispatchEvent
function()
enableEchoSuppression
function()
getGroupProperties
function()
removeEventListener
function()
superClass
function()
sessions
Object {...}
13ddf99c54e784dbec502b37f2719ced4af63a81
Object {_listeners=Object ...}
_listeners
Object {sessionConnected=[1] connectionCreated=[1] ...}
apiKey
??????
connection
Object {...}
connectionId
"6b817d79616d3478e4f9ae465522ede51fc389e2"
publishers
Object {...}
publisher_13ddf99c54e784dbec502b37f2719ced4af63a81_1
Object {...}
_listeners
Object {settingsButtonClick=[1]}
id
"publisher_13ddf99c54e784dbec502b37f2719ced4af63a81_1"
loaded
true
modified
false
properties
Object {width=220 height=165 ...}
cameraSelected
false
connectionId
"6b817d79616d3478e4f9ae465522ede51fc389e2"
height
165
publisherId
"publisher_13ddf99c54e784dbec502b37f2719ced4af63a81_1"
sessionId
"13ddf99c54e784dbec502b37f2719ced4af63a81"
token
"T1==cGFydG5lcl9pZD0yODI5OTEmc2RrX3ZlcnNpb249dGJwaHAtdjAuOTEuMjAxMS0wMi0wNy ZzaWc9ZDViYzNiYjZmZTFhYzNiZTU4Yzg4ZTViYmU0YjEwMGRjZTJjOGU5ODpzZXNzaW9uX2lkP SZjcmVhdGVfdGltZT0xMjk3NzI5NjI3JnBlcm1pc3Npb25zPSZub25jZT0xMjk3NzI5NjI3LjQ1 MTQ2MzE1OTU3"
width
220
replacedDivId
"opentok_publisher"
addEventListener
function()
disableMicrophone
function()
dispatchEvent
function()
enableMicrophone
function()
parentClass
function()
removeEventListener
function()
setCamera
function()
setMicrophone
function()
superClass
function()
sessionId
"13ddf99c54e784dbec502b37f2719ced4af63a81"
subscribers
Object {}
token
"T1==cGFydG5lcl9pZD0yODI5OTEmc2RrX3ZlcnNpb249dGJwaHAtdjAuOTEuMjAxMS0wMi0wNy ZzaWc9ZDViYzNiYjZmZTFhYzNiZTU4Yzg4ZTViYmU0YjEwMGRjZTJjOGU5ODpzZXNzaW9uX2lkP SZjcmVhdGVfdGltZT0xMjk3NzI5NjI3JnBlcm1pc3Npb25zPSZub25jZT0xMjk3NzI5NjI3LjQ1 MTQ2MzE1OTU3"
addEventListener
function()
cleanup
function()
cleanupConnection
function()
connect
function()
disconnect
function()
disconnectComponents
function()
dispatchEvent
function()
forceDisconnect
function()
forceUnpublish
function()
getPublisherForStream
function()
getSubscribersForStream
function()
publish
function()
removeEventListener
function()
signal
function()
subscribe
function()
superClass
function()
unpublish
function()
unsubscribe
function()
addEventListener
function()
checkSystemRequirements
function()
closeButtonClickHandler
function()
connectionCreatedHandler
function()
connectionDestroyedHandler
function()
deviceInactiveHandler
function()
devicesDetectedHandler
function()
devicesSelectedHandler
function()
dispatchEvent
function()
exceptionHandler
function()
groupPropertiesUpdatedHandler
function()
initDeviceManager
function()
initSession
function()
removeEventListener
function()
resizePublisherToShowSecurity
function()
resizePublisherToTarget
function()
sessionConnectedHandler
function()
sessionDisconnectedHandler
function()
setLogLevel
function()
settingsButtonClickHandler
function()
signalHandler
function()
streamCreatedHandler
function()
streamDestroyedHandler
function()
videoComponentLoadedHandler
function()
ERROR
1
RESIZE
"resize"
NEXT BROWSER LOG
ACTIVE"active"
BASIC_STREAM"basic"
CLOSE_BUTTON_CLICK"closeButtonClick"
CONNECTION_CREATED"connectionCreated"
CONNECTION_DESTROYED"connectionDestroyed"
DEBUG4
DEVICES_DETECTED"devicesDetected"
DEVICES_SELECTED"devicesSelected"
DEVICE_INACTIVE"deviceInactive"
ERROR1
EXCEPTION"exception"
GLOBAL_GROUP"global"
GROUP_PROPERTIES_UPDATED"groupPropertiesUpdated"
HAS_REQUIREMENTS1
INACTIVE"inactive"
INFO3
LOG5
MULTIPLEXED_STREAM"multiplexed"
MULTIPLEXER_ACTIVITY_BASED_SWITCH1
MULTIPLEXER_TIMEOUT_BASED_SWITCH0
NONE0
OLD_FLASH_VERSION0
RESIZE"resize"
SESSION_CONNECTED"sessionConnected"
SESSION_DISCONNECTED"sessionDisconnected"
SETTINGS_BUTTON_CLICK"settingsButtonClick"
SIGNAL_RECEIVED"signalReceived"
STREAM_CREATED"streamCreated"
STREAM_DESTROYED"streamDestroyed"
UNKNOWN"unknown"
WARN2
groupsObject { 190fbcc07315ad7c4836785ec0c415bca7f6b049_global={...}}
190fbcc07315ad7c4836785ec0c415bca7f6b049_globalObject { _listeners={...}
groupId="global" sessionId="190fbcc07315ad7c4836785ec0c415bca7f6b049"}
_listenersObject {}
groupId"global"
sessionId"190fbcc07315ad7c4836785ec0c415bca7f6b049"
addEventListenerfunction()
disableEchoSuppressionfunction()
dispatchEventfunction()
enableEchoSuppressionfunction()
getGroupPropertiesfunction()
removeEventListenerfunction()
superClassT()
sessionsObject { 190fbcc07315ad7c4836785ec0c415bca7f6b049={...}}
190fbcc07315ad7c4836785ec0c415bca7f6b049Object { _listeners={...}
sessionId="190fbcc07315ad7c4836785ec0c415bca7f6b049" more...}
_listenersObject { sessionConnected= connectionCreated= more...}
apiKey??????
connectionObject { connectionId="07d333086557507219fc500be6d721a90588174f"}
connectionId"07d333086557507219fc500be6d721a90588174f"
publishersObject {
publisher_190fbcc07315ad7c4836785ec0c415bca7f6b049_1={...}}
publisher_190fbcc07315ad7c4836785ec0c415bca7f6b049_1Object {
id="publisher_190fbcc07315a...6785ec0c415bca7f6b049_1"
replacedDivId="opentok_publisher" more...}
_listenersObject { settingsButtonClick=}
id"publisher_190fbcc07315ad7c4836785ec0c415bca7f6b049_1"
loadedtrue
modifiedfalse
propertiesObject { width=220 height=165 more...}
cameraSelectedfalse
connectionId"07d333086557507219fc500be6d721a90588174f"
height165
publisherId"publisher_190fbcc07315ad7c4836785ec0c415bca7f6b049_1"
sessionId"190fbcc07315ad7c4836785ec0c415bca7f6b049"
token
"T1==cGFydG5lcl9pZD0yODI5OTEmc2RrX3ZlcnNpb249dGJwaHAtdjAuOTEuMjAxMS0wMi0wNy ZzaWc9MTRiZWVlZTZkNDhmZDM5OTk1MDY2ZDVjZDU4MDg5NTg0NjAxNmI4NzpzZXNzaW9uX2lkP SZjcmVhdGVfdGltZT0xMjk3NzMxNzg1JnBlcm1pc3Npb25zPSZub25jZT0xMjk3NzMxNzg1LjE2 NTY4Nzg2OTIz"
width220
replacedDivId"opentok_publisher"
addEventListenerfunction()
disableMicrophonefunction()
dispatchEventfunction()
enableMicrophonefunction()
parentClassT()
removeEventListenerfunction()
setCamerafunction()
setMicrophonefunction()
superClassB(ae ad)
sessionId"190fbcc07315ad7c4836785ec0c415bca7f6b049"
subscribersObject {}
token"T1==cGFydG5lcl9pZD0yODI...zMxNzg1LjE2NTY4Nzg2OTIz"
addEventListenerfunction()
cleanupfunction()
cleanupConnectionfunction()
connectfunction()
disconnectfunction()
disconnectComponentsfunction()
dispatchEventfunction()
forceDisconnectfunction()
forceUnpublishfunction()
getPublisherForStreamfunction()
getSubscribersForStreamfunction()
publishfunction()
removeEventListenerfunction()
signalfunction()
subscribefunction()
superClassT()
unpublishfunction()
unsubscribefunction()
addEventListenerfunction()
checkSystemRequirementsfunction()
closeButtonClickHandlerfunction()
connectionCreatedHandlerfunction()
connectionDestroyedHandlerfunction()
deviceInactiveHandlerfunction()
devicesDetectedHandlerfunction()
devicesSelectedHandlerfunction()
dispatchEventfunction()
exceptionHandlerfunction()
groupPropertiesUpdatedHandlerfunction()
initDeviceManagerfunction()
initSessionfunction()
removeEventListenerfunction()
resizePublisherToShowSecurityfunction()
resizePublisherToTargetfunction()
sessionConnectedHandlerfunction()
sessionDisconnectedHandlerfunction()
setLogLevelfunction()
settingsButtonClickHandlerfunction()
signalHandlerfunction()
streamCreatedHandlerfunction()
streamDestroyedHandlerfunction()
videoComponentLoadedHandlerfunction()