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

set the audio mode to voip #8

Merged
merged 1 commit into from
Jan 29, 2019

Conversation

danjenkins
Copy link
Collaborator

this seems to make two way audio happen on my s8

fixes #7

this seems to make two way audio happen on my s8
@manuquentin manuquentin merged commit bdfd5de into react-native-webrtc:master Jan 29, 2019
@manuquentin
Copy link
Contributor

Thanks !

@geraintwhite
Copy link
Contributor

This works for inbound calls but not outbound.

@danjenkins
Copy link
Collaborator Author

danjenkins commented Jan 29, 2019 via email

@geraintwhite
Copy link
Contributor

Calling setAudioModeIsVoip(true) after setDialing() in onCreateOutgoingConnection works for outgoing calls.

@geraintwhite
Copy link
Contributor

NB: outgoing calls are only possible with this library after #5 is merged.

@danjenkins
Copy link
Collaborator Author

danjenkins commented Jan 29, 2019

AHHH, yes I'm not using connection manager for outgoing calls as I'm not using the PR in #5

So this PR is good for now (as in the current state of master), and PR #5 needs to make it work for outgoing

@geraintwhite
Copy link
Contributor

So shall I add setAudioModeIsVoip(true) in #5 too?

@danjenkins
Copy link
Collaborator Author

@grit96 yeah in my mind, my PR fixed things for the current state of the master branch

If you're adding outgoing in #5 then your fix needs to go into #5 - make sense?

danjenkins pushed a commit to nimbleape/react-native-callkeep-1 that referenced this pull request Jun 28, 2019
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

Successfully merging this pull request may close these issues.

Mic audio isn't given to the app when answered using connection service
3 participants