Skip to content

回调设置方面的疑问 #356

@axojhf

Description

@axojhf

像switchBitrate这种需要设置回调的接口,需要传递一个SwitchBitrateCallback,其中cb和opaque都是指针,那么我想安全取消回调情况下,是设置opaque为空之后cb不再被调用么。
也就是我想问一下现有C接口里安全取消回调是怎么个写法。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions