question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

enableLocalAudio mute speaker

See original GitHub issue

I want to send like Whatsapp audio (enable/disable Mic) but with a chosen music in the background, I notice that when I call enableLocalAudio the music stops, I’m using this config:

      engine.setChannelProfile(ChannelProfile.LiveBroadcasting);

      engine.setAudioProfile(
        AudioProfile.MusicStandard,
        AudioScenario.GameStreaming
      );

Can anyone help please

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
ysimoocommented, Aug 25, 2021

@LichKing-2234 fixed by adding setParameters("{\"che.audio.keep.audiosession\":true}")

0reactions
ysimoocommented, Aug 25, 2021

I tried setDefaultAudioRoutetoSpeakerphone always the same issue after calling enableLocalAudio(true)

Read more comments on GitHub >

github_iconTop Results From Across the Web

AgoraRtcKit.muteLocalAudioStream not working?
In order to stop/resume publishing the local audio stream (mute/unmute) we need to call AgoraRtcEngineKit.enableLocalAudio(isEnabled).
Read more >
How To Mute Individual Speakers and Microphones - YouTube
In this video, we'll walk you through how to mute individual microphones and speakers on Stem devices from within the ecosystem platform.
Read more >
Tutorial: Dynamically Enabling/Disabling Local Audio/Video
This document describes how to enable and disable local audio and video ... and unmuteVideo() to disable and enable local audio and video...
Read more >
AgoraRtcEngine class - tell_rtc_temp library - Dart API - Pub.dev
onActiveSpeaker ↔ void Function(int uid): Reports which user is the loudest ... bool muted): Occurs when a remote user's audio stream is muted/unmuted....
Read more >
Subscriber - OpenTok.js | Vonage Video API Developer
The Subscriber object includes methods that let you disable and enable local audio playback for the subscribed stream. The subscribe() method of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found