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.

Remove audio track and add it again

See original GitHub issue

Expected behavior

Stop playing the previous audio track and play the new track

Observerd behavior

The previous audio track stops listening but the new track does not play

Steps to reproduce the problem

Create conecction with 2 peer Backup audio track const audios = localStream.getAudioTracks(); Remove audio track audios.forEach(t => localStream.removeTrack(t)) Add Audio track audios.forEach(t => localStream.addTrack(t))

From what I could see in the code version 1.69 the addTrack method only triggers an event. and in master if it performs a function. Does it work as expected in master?

Platform information

  • React Native version: 0.59
  • Plugin version: 1.69
  • OS: Android
  • OS version: 9

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
saghulcommented, Aug 3, 2019

Cool!

0reactions
saghulcommented, Aug 4, 2019

@machester4 please open a new issue about the datachannel so we don’t lose track of it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Remove an Audio Track from an MKV File - Movavi
Download and launch Movavi Video Editor. · Add media files to the program. · Select the audio track and click Delete. · Save...
Read more >
7 Easy Ways to Remove Audio From Video (Step-By ... - VEED
To remove audio from your video go to VEED and upload your video. Then mute or lower the audio level to 0.
Read more >
How to Remove Audio from Video – 7 Methods You Should ...
Step 3. In the Open Media window, click on the Add button, then select the video file that you would like to mute...
Read more >
How to Remove Sound from Video – It's Easy, Fast, and Simple
Removing audio from video – here's how! · Open Movie Studio Platinum and drag & drop your video from the Media Pool to...
Read more >
How to Remove Audio from a Video | Free Tool for Windows PC
Essentially, there are two ways to remove sound from a video: by muting it and by deleting the original audio track completely from...
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