onsip / onsip-cordova

Other
48 stars 29 forks source link

Support for Multiple Sessions #3

Open lylepratt opened 9 years ago

lylepratt commented 9 years ago

Howdy!

The latest PhoneRTC 2.0 supports sessions and has a much cleaner API. I'm curious if you have explored migrating to enable Group Chat / Multiple Sessions?

https://github.com/alongubkin/phonertc/pull/75

-Lyle

egreenmachine commented 9 years ago

We currently have no plans to pull in changes from PhoneRTC 2.0.

lylepratt commented 9 years ago

@egreenmachine We have a MediaHandler that is working for inbound and outbound calls with SDP on iOS via PhoneRTC 2.0. It supports multiple sessions. Thoughts/suggestions welcome.

We have a pull request open at PhoneRTC: https://github.com/alongubkin/phonertc/pull/108

And here is our PhoneRTCMediaHandler fork: https://github.com/BetterVoice/PhoneRTCMediaHandler

oleg-ria commented 9 years ago

@lylepratt, it was really helpful you mentioned PhoneRTCMediaHandler fork! My app can make calls now. But i've got a problem getting events from callee. I cannot receive "accepted" or "bye". And sometimes media falls with error:

Warning(port.cc:955): Jingle:Conn[audio:GICA5y7J:1:0:local:udp:192.168.1.102:63406->:1:659136:local:udp:178.54.1.166:25744|CRxI|2830971808005631|66]: Failed to send STUN ping 8zrX45e2mk2h
Error(stunport.cc:271): Jingle:Port[audio:1:0::Net[en0:192.168.1.0/24:Unknown]]: UDP send of 116 bytes failed with error 49