Skip to content
This repository was archived by the owner on Dec 2, 2023. It is now read-only.
This repository was archived by the owner on Dec 2, 2023. It is now read-only.

about the uid binding in ontrackevent and ontrack #595

@clockworkchen

Description

@clockworkchen

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.
solv1
solv2
solv3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions