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

engine.muteLocalAudioStream(true), it doesn't work. #369

Open
Hyun-Jegal opened this issue Dec 28, 2023 · 1 comment
Open

engine.muteLocalAudioStream(true), it doesn't work. #369

Hyun-Jegal opened this issue Dec 28, 2023 · 1 comment

Comments

@Hyun-Jegal
Copy link

Hyun-Jegal commented Dec 28, 2023

When reading an audio file and sending audio data using engine.pushExternalAudioFrame(...), audio is played from the speaker.
What should I do to prevent sound from the speaker at this time?
Even if you use engine.muteLocalAudioStream(true), it doesn't work.

@Hyun-Jegal Hyun-Jegal changed the title engine.muteLocalAudioStream(false), it doesn't work. engine.muteLocalAudioStream(true), it doesn't work. Dec 28, 2023
@plutoless
Copy link
Contributor

if you just would like to play audio file and share it across channel, you may choose to use our mediaplayer apis to open and play it. you don't need to use pushExternalAudioFrame to do this yourself.

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

2 participants