Closed D4rWiNSS closed 11 months ago
Hey, it seems like your trying to access the Track when it is not subscribed/published, so the track should be null in that case. (The track member is only valid if you're subscribed to the publication)
Can you try to directly access the sid from the publication: publication.sid
Yes that solved the issue. Thanks! I was subscribed to the publication but seems like when the track stops it is null
Hi there!
Imagine that there is 2 users in the same room. They are user A and user B
If the user B quit the platform, the user A received that the tracks form user B has been unpublished, however those tracks comes with the Track.Sid as null or the parcicipant.Identity as null as well.
So I can't clean all the things related to the tracks cince I don't know which track to dispose
The log No track id will be shown in the following sniped
Code to create the room and connect