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 Dec 2, 2023. It is now read-only.
Recently, when testing the sfu function, I found that ontrack and ontrackevent events are not in sequence. Therefore, ontrack is not bound with uid when used in business, only trackevent has a uid binding, which is a bit troublesome to handle the business. Currently, I use streamid to compare and obtain uid information. I don't know if there is a better way to solve this problem.
My current considered
Currently, if is ontrackevent event first trigger, I'll use variable save uid and video stream binding information, but if is video stream ontrack first, currently, I use the audio trackid saved by ontrackevent to compare the audio track id obtained by the track to obtain the uid corresponding to the current video stream.
The text was updated successfully, but these errors were encountered:
Summary
about the uid binding in ontrackevent and ontrack
Motivation
Recently, when testing the sfu function, I found that ontrack and ontrackevent events are not in sequence. Therefore, ontrack is not bound with uid when used in business, only trackevent has a uid binding, which is a bit troublesome to handle the business. Currently, I use streamid to compare and obtain uid information. I don't know if there is a better way to solve this problem.
My current considered
Currently, if is ontrackevent event first trigger, I'll use variable save uid and video stream binding information, but if is video stream ontrack first, currently, I use the audio trackid saved by ontrackevent to compare the audio track id obtained by the track to obtain the uid corresponding to the current video stream.
The text was updated successfully, but these errors were encountered: