Hey, I have a react-native app,
I get this message:
console.error : "Websocket already in CONNECTED state when receivong a new ONRECONNECTED. ignoring it.
What may cause the problem?
Hey, I have a react-native app,
I get this message:
console.error : "Websocket already in CONNECTED state when receivong a new ONRECONNECTED. ignoring it.
What may cause the problem?
Hello @Timor_Sulimani,
As the message says, openvidu-browser has received a ONRECONNECTED message when the websocket is connected. Just ignore it.
Itâs possible that this log should be replace by a warning log. Which version of openvidu-react-native-adapter are you using?
Hi @CSantosM,
I also have the same error. How can we replace to warning log?
AFAIK this was be replaced. What version are you using?
openvidu-browser version: 2.18.0
âreact-nativeâ: â0.64.1â,
Initially it connect to the server and publish the video. But after few minutes these errors shows and published video disappears.
Which is your openvidu-react-native-adapter version?
openvidu-react-native-adapter-2.18.0
session?.on(âexceptionâ, (event) => {
logger.log(âexceptionâ, event);
});
return,
exception {âcancelableâ: false, âdataâ: undefined, âhasBeenPreventedâ: false, âmessageâ: âIceConnectionState of RTCPeerConnection 6950ee78-bc4b-497f-b19d-2fc879756df4 (str_CAM_Irpq_con_L8yhU7mr5C) change to âdisconnectedâ. Possible network disconnectionâ, ânameâ: âICE_CONNECTION_DISCONNECTEDâ, âoriginâ: {âaudioActiveâ: false, âconnectionâ: {âconnectionIdâ: âcon_L8yhU7mr5Câ, âcreationTimeâ: 1636778818181, âdataâ: â{âclientDataâ:âJosef Wolffâ}%/%{âserverDataâ: " CCDS0000000499 â}â, âdisposedâ: false, âremoteOptionsâ: [Object], âsessionâ: [SessionRN], âstreamâ: [Circular]}, âcreationTimeâ: 1636778819737, âeeâ: {â_events": [Object]}, âframeRateâ: 30, âharkSpeakingEnabledâ: false, âharkSpeakingEnabledOnceâ: false, âharkStoppedSpeakingEnabledâ: false, âharkStoppedSpeakingEnabledOnceâ: false, âharkVolumeChangeEnabledâ: false, âharkVolumeChangeEnabledOnceâ: false, âhasAudioâ: true, âhasVideoâ: true, âinboundStreamOptsâ: {âaudioActiveâ: false, âconnectionâ: [Connection], âcreatedAtâ: 1636778819737, âfilterâ: [Object], âframeRateâ: 30, âhasAudioâ: true, âhasVideoâ: true, âidâ: âstr_CAM_Irpq_con_L8yhU7mr5Câ, âtypeOfVideoâ: âCAMERAâ, âvideoActiveâ: true, âvideoDimensionsâ: [Object]}, âisLocalStreamPublishedâ: false, âisLocalStreamReadyToPublishâ: false, âisSubscribeToRemoteâ: false, âmediaStreamâ: {"_reactTag": â73e7f0ed-b1eb-43f4-8732-1006f2540792â, â_tracksâ: [Array], âactiveâ: true, âidâ: âdefaultâ}, âpublishedOnceâ: false, âsessionâ: {âcapabilitiesâ: [Object], âconnectionâ: [Connection], âeeâ: [EventEmitter], âopenviduâ: [OpenViduRN], âoptionsâ: [Object], âremoteConnectionsâ: [Map], âremoteStreamsCreatedâ: [Map], âsessionIdâ: âb7f3313a-3a0b-4964-aec5-0385c1a70e85â, âstreamManagersâ: [Array], âuserHandlerArrowHandlerâ: WeakMap {}}, âstreamIdâ: âstr_CAM_Irpq_con_L8yhU7mr5Câ, âstreamManagerâ: {âcanPlayListenerâ: [Function anonymous], âeeâ: [EventEmitter], âelementâ: undefined, âlazyLaunchVideoElementCreatedEventâ: false, âpropertiesâ: [Object], âremoteâ: true, âstreamâ: [Circular], âuserHandlerArrowHandlerâ: WeakMap {}, âvideosâ: [Array]}, âtypeOfVideoâ: âCAMERAâ, âvideoActiveâ: true, âvideoDimensionsâ: {âheightâ: 480, âwidthâ: 640}, âwebRtcPeerâ: {âconfigurationâ: [Object], âiceCandidateListâ: [Array], âidâ: â6950ee78-bc4b-497f-b19d-2fc879756df4â, âlocalCandidatesQueueâ: [Array], âpcâ: [RTCPeerConnection], âremoteCandidatesQueueâ: [Array]}, âwebRtcStatsâ: {âSTATS_ITEM_NAMEâ: âwebrtc-stats-configâ, âstatsIntervalâ: 1, âstreamâ: [Circular], âwebRtcStatsEnabledâ: false}}, âtargetâ: {âcapabilitiesâ: {âforceDisconnectâ: true, âforceUnpublishâ: true, âpublishâ: true, âsubscribeâ: true}, âconnectionâ: {âconnectionIdâ: âcon_YupHPgcDBbâ, âcreationTimeâ: 1636779263486, âdataâ: â{âclientDataâ:âVasiliki Krajcikâ}%/%{âserverDataâ: " CCDS0000000273 â}â, âdisposedâ: false, âlocalOptionsâ: [Object], ârecordâ: true, âroleâ: âMODERATORâ, ârpcSessionIdâ: âtm3npfc8nni165782jp4dmlv13â, âsessionâ: [Circular], âstreamâ: [StreamRN]}, âeeâ: {â_events": [Object]}, âopenviduâ: {âadvancedConfigurationâ: [Object], âeeâ: [EventEmitter], âfinalUserIdâ: âB469DEA7931B1E96â, âhttpUriâ: âhttps://server.*******-openvidu-dev.comâ, âiceServersâ: [Array], âjsonRpcClientâ: [JsonRpcClient], âlibraryVersionâ: â2.18.0â, âmasterNodeHasCrashedâ: false, âmediaServerâ: âkurentoâ, âpublishersâ: [Array], ârecorderâ: false, âroleâ: âMODERATORâ, âsecretâ: ââ, âsendBrowserLogsâ: âdisabledâ, âsessionâ: [Circular], âwebrtcStatsIntervalâ: -1, âwsUriâ: âwss://server.odyssey-openvidu-dev.com/openviduâ}, âoptionsâ: {âmetadataâ: â{âclientDataâ:âVasiliki Krajcikâ}â, âparticipantIdâ: âwss://server.odyssey-openvidu-dev.com?sessionId=b7f3313a-3a0b-4964-aec5-0385c1a70e85&token=tok_HzW41AZwXC4ZXR2Jâ, âsessionIdâ: âb7f3313a-3a0b-4964-aec5-0385c1a70e85â}, âremoteConnectionsâ: Map {âcon_L8yhU7mr5Câ => [Connection]}, âremoteStreamsCreatedâ: Map {âstr_CAM_Irpq_con_L8yhU7mr5Câ => true}, âsessionIdâ: âb7f3313a-3a0b-4964-aec5-0385c1a70e85â, âstreamManagersâ: [], âuserHandlerArrowHandlerâ: WeakMap {}}, âtypeâ: âexceptionâ}
Please, send an email to commercial@openvidu.io get the new version of react-native-adapter artifact.
Regards