Skip to content

How to add a music background in the video chat? #710

Open

Description

@sshvaiko

🪲 Description

Hello guys, thank you very much for this great module! I have a question about the setMode and setCategory methods.
So, basically, I have a video chat between two users and I want to play music as a background for them. I tried to use the "PlayAndRecord" value for the setCategory, but in that case, the music will be recorded and send together with the voice to the partner.

I think that I'm looking for a way to play music but do not record it, so each partner will be listening to its own music.

Is your issue with...

  • iOS
  • Android
  • Windows

Are you using...

  • React Native CLI (e.g. react-native run-android)
  • Expo
  • Other: (please specify)

Which versions are you using?

  • React Native Sound: 0.11.0
  • React Native: 0.63.2
  • iOS: 14.2

Does the problem occur on...

  • Simulator
  • Device

If your problem is happening on a device, which device?

  • Device: iPhone XS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions