Code: Select all
sfs2x-api.js:10 Uncaught RangeError: Wrong length!
at X (red5pro-sdk.min.js:11)
at new S (red5pro-sdk.min.js:11)
at SFSDataSerializer.object2binary (sfs2x-api.js:9)
at SFSObject.toBinary (sfs2x-api.js:11)
at SFSProtocolCodec.onPacketWrite (sfs2x-api.js:10)
at SocketEngine.send (sfs2x-api.js:10)
at SmartFox.send (sfs2x-api.js:8)
at SmartFox._onSocketConnect (sfs2x-api.js:8)
at SocketEngine.dispatchEvent (sfs2x-api.js:10)
at WebSocket._onSocketConnect (sfs2x-api.js:10)
X @ red5pro-sdk.min.js:11
S @ red5pro-sdk.min.js:11
object2binary @ sfs2x-api.js:9
toBinary @ sfs2x-api.js:11
onPacketWrite @ sfs2x-api.js:10
send @ sfs2x-api.js:10
send @ sfs2x-api.js:8
_onSocketConnect @ sfs2x-api.js:8
dispatchEvent @ sfs2x-api.js:10
_onSocketConnect @ sfs2x-api.js:10
it is fine when the red5 pro library is not loaded.
It is neither organisation's fault but seeking a solution so we can start to use the binary features from javascript