songz / cordova-plugin-opentok

Cordova Plugin for OpenTok - add webrtc video to your iOS or Android App
Other
162 stars 270 forks source link

Sample App - No sound on ios device #139

Closed cnavarro1109 closed 9 years ago

cnavarro1109 commented 9 years ago

At the moment, I get it even when I run the songz DEMO application from github for the first time. On the iPhone (Latest build), I get video but no sound from the connected PC (Browser). It works find when I use 2 Browser based connections but not with the iPhone. Overall, sending and receiving video works but the sound is not coming in through the iPhone.

cnavarro1109 commented 9 years ago

Is this plugin active? Just seeing if there's a fix or if I possibly need to find another service provider.

kalyanpkumar commented 9 years ago

I am using the same plugin and face the issue too... and i got it resolved by adding subscribetoAudio:true as below..

session.subscribe( event.stream, div.id, {subscribeToAudio: true} );

Let me know if this had fixed this the issue...

aullman commented 9 years ago

@cnavarro1109 does adding subscriberToAudio:true work for you as well?

cnavarro1109 commented 9 years ago

Hi kalyanpkumar and aullman. I apologize for the delay as my account had expired and other project took over my time. To respond: YES. It does work flawlessly and I do thank you for the help.