You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.
On peer left channel i'm expected onUserOffline event to be triggered. RtcEngine.on("userOffline", data => { console.log("[RtcEngine] onUserOffline", data); });
But event not been triggering , onUserJoined event works fine.
RtcEngine.on("userJoined", data => { console.log("[RtcEngine] onUserJoined", data); });
@nitheeshskiploop Could u reproduce it from our agora-rn-quickstart? The userOffline event should be triggered when peer side invoke leaveChannel success
@nitheeshskiploop if you leave the channel via leaveChannel api the userOffline event should be immediately triggered. While if you leave the channel via some other way, there will be a timeout (about 15-30seconds) for you to receive userOffline event. If this is not the case, do let us know.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
On peer left channel i'm expected onUserOffline event to be triggered.
RtcEngine.on("userOffline", data => { console.log("[RtcEngine] onUserOffline", data); });
But event not been triggering , onUserJoined event works fine.
RtcEngine.on("userJoined", data => { console.log("[RtcEngine] onUserJoined", data); });
My package JSON
`{
"name": "IonAssist",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"lodash": "^4.17.11",
"react": "16.8.3",
"react-native": "0.59.3",
"react-native-agora": "^2.4.0-alpha-1",
"react-native-config": "^0.11.7",
"react-native-elements": "^1.1.0",
"react-native-gesture-handler": "^1.1.0",
"react-native-orientation": "^3.1.3",
"react-native-paper": "^2.15.2",
"react-native-vector-icons": "^6.4.2",
"react-navigation": "^3.7.1",
"react-redux": "^6.0.1",
"redux": "^4.0.1",
"redux-persist": "^5.10.0",
"redux-saga": "^1.0.2"
},
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/runtime": "^7.4.3",
"babel-jest": "^24.7.1",
"jest": "^24.7.1",
"metro-react-native-babel-preset": "^0.53.1",
"react-test-renderer": "16.8.3"
},
"jest": {
"preset": "react-native"
}
}`
The text was updated successfully, but these errors were encountered: