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

MyPlayerObserver 参数 不存在,是故意这样的吗? #9

Open
TianyaHelp opened this issue Dec 31, 2021 · 0 comments
Open

MyPlayerObserver 参数 不存在,是故意这样的吗? #9

TianyaHelp opened this issue Dec 31, 2021 · 0 comments

Comments

@TianyaHelp
Copy link

@Override
    public void onVideoPlayStatusUpdate(V2TXLivePlayer player, V2TXLiveDef.V2TXLivePlayStatus status, V2TXLiveDef.V2TXLiveStatusChangeReason reason, Bundle bundle) {
        TXCLog.i(TAG, "[Player] onVideoPlayStatusUpdate: player-" + player + ", status-" + status + ", reason-" + reason);
        onPlayStatusUpdate(player, status, reason, bundle, false);
    }

    @Override
    public void onAudioPlayStatusUpdate(V2TXLivePlayer player, V2TXLiveDef.V2TXLivePlayStatus status, V2TXLiveDef.V2TXLiveStatusChangeReason reason, Bundle bundle) {
        TXCLog.i(TAG, "[Player] onAudioPlayStatusUpdate: player-" + player + ", status-" + status + ", reason-" + reason);
        onPlayStatusUpdate(player, status, reason, bundle, true);
    }

V2TXLiveDef.V2TXLivePlayStatus 未定义

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