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

使用过程中出现,设置静音播放,开始播放的瞬间有声音然后立马静音了问题 #1412

Open
xyg00 opened this issue Oct 13, 2023 · 3 comments

Comments

@xyg00
Copy link

xyg00 commented Oct 13, 2023

No description provided.

@1337464054Alex
Copy link

可以通过在playerPrepareToPlay回调中重新设置为静音解决。
self.videoPlayer.playerPrepareToPlay = ^(id _Nonnull asset, NSURL * _Nonnull assetURL) {
playerManager.volume = 0;
playerManager.muted = YES;
};

@MrShiY
Copy link

MrShiY commented May 10, 2024

可以通过在playerPrepareToPlay回调中重新设置为静音解决。 self.videoPlayer.playerPrepareToPlay = ^(id _Nonnull asset, NSURL * _Nonnull assetURL) { playerManager.volume = 0; playerManager.muted = YES; };

不work

@MrShiY
Copy link

MrShiY commented May 10, 2024

+1

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

3 participants