Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with datatracks React - Sometimes participants new are not subcribed #2040

Open
leandrobaez4 opened this issue Jan 8, 2024 · 0 comments

Comments

@leandrobaez4
Copy link

I have noticed that sometimes the participants who enter a room have the property isSubscribed set to false in the data track. Honestly, I can't find the reason. I am sharing what the participant's context returns to me
{
"videoTracks": {
"MT117ab5ee3f04e5ec497551f58a1986e5": {
"track": {
"sid": "MT117ab5ee3f04e5ec497551f58a1986e5",
"priority": null,
"isSwitchedOff": false,
"isEnabled": true,
"processor": null,
"dimensions": {
"height": 180,
"width": 320
},
"processedTrack": null,
"mediaStreamTrack": {},
"isStarted": true,
"name": "camera-1704741327923",
"kind": "video"
},
"publishPriority": "low",
"kind": "video",
"isTrackEnabled": true,
"isSubscribed": true,
"trackSid": "MT117ab5ee3f04e5ec497551f58a1986e5",
"trackName": "camera-1704741327923"
}
},
"tracks": {
"MT24b9e983bc98ce403e6d8847c616f0dc": {
"track": null,
"publishPriority": "standard",
"kind": "data",
"isTrackEnabled": true,
"isSubscribed": false,
"trackSid": "MT24b9e983bc98ce403e6d8847c616f0dc",
"trackName": "cfcf2eaf-11d9-4163-b9bc-014e5a3983b2"
},
"MT2bed13e0e5895ad5fae86327317066a8": {
"track": {
"sid": "MT2bed13e0e5895ad5fae86327317066a8",
"priority": null,
"isSwitchedOff": false,
"isEnabled": true,
"processedTrack": null,
"mediaStreamTrack": {},
"isStarted": true,
"name": "857ad7c9-da5e-410a-854f-42db77e61b92",
"kind": "audio"
},
"publishPriority": "standard",
"kind": "audio",
"isTrackEnabled": true,
"isSubscribed": true,
"trackSid": "MT2bed13e0e5895ad5fae86327317066a8",
"trackName": "857ad7c9-da5e-410a-854f-42db77e61b92"
},
"MT117ab5ee3f04e5ec497551f58a1986e5": {
"track": {
"sid": "MT117ab5ee3f04e5ec497551f58a1986e5",
"priority": null,
"isSwitchedOff": false,
"isEnabled": true,
"processor": null,
"dimensions": {
"height": 180,
"width": 320
},
"processedTrack": null,
"mediaStreamTrack": {},
"isStarted": true,
"name": "camera-1704741327923",
"kind": "video"
},
"publishPriority": "low",
"kind": "video",
"isTrackEnabled": true,
"isSubscribed": true,
"trackSid": "MT117ab5ee3f04e5ec497551f58a1986e5",
"trackName": "camera-1704741327923"
}
},
"state": "connected",
"sid": "PAfb35f2b5b9d6f87123086877f548415d",
"networkQualityStats": null,
"networkQualityLevel": 2,
"identity": "[email protected]",
"dataTracks": {
"MT24b9e983bc98ce403e6d8847c616f0dc": {
"track": null,
"publishPriority": "standard",
"kind": "data",
"isTrackEnabled": true,
"isSubscribed": false,
"trackSid": "MT24b9e983bc98ce403e6d8847c616f0dc",
"trackName": "cfcf2eaf-11d9-4163-b9bc-014e5a3983b2"
}
},
"audioTracks": {
"MT2bed13e0e5895ad5fae86327317066a8": {
"track": {
"sid": "MT2bed13e0e5895ad5fae86327317066a8",
"priority": null,
"isSwitchedOff": false,
"isEnabled": true,
"processedTrack": null,
"mediaStreamTrack": {},
"isStarted": true,
"name": "857ad7c9-da5e-410a-854f-42db77e61b92",
"kind": "audio"
},
"publishPriority": "standard",
"kind": "audio",
"isTrackEnabled": true,
"isSubscribed": true,
"trackSid": "MT2bed13e0e5895ad5fae86327317066a8",
"trackName": "857ad7c9-da5e-410a-854f-42db77e61b92"
}
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant