Closed seankovacs closed 11 years ago
I did notice in the logs this: Warning(webrtcvoiceengine.cc:1127): webrtc: IncomingRTPPacket received invalid payloadtype Warning(webrtcvoiceengine.cc:1127): webrtc: Channel::IncomingRTPPacket() RTP packet is invalid (error=10034)
Wondering if this means the incoming audio packets are being dropped?
This is a Google Voice/Gmail call btw...if it matters.
I see the available codecs webrtc is saying is this: Setting receive voice codecs: ISAC/16000/1 (103) CN/16000/1 (105) telephone-event/8000/1 (126)
And it's trying to set it to this: Session:173486438 Old state:STATE_RECEIVEDINITIATE_ACK New state:STATE_RECEIVEDACCEPT Type:urn:xmpp:jingle:apps:rtp:1 Transport:http://www.google.com/transport/p2p Setting remote voice description Selected voice codec PCMU/8000/1 (0), bitrate=64000 SRTP reset to init state Setting voice channel options: AudioOptions {}
So the codec Google wants to use is not available, PCMU? Maybe...could coincide with the invalid payloadtype packets above?
Problem solved - I just uncommented the PCMU in the kCodecPrefs array in the webrtcvoiceengine.cc file.
Built the latest from the repo but noticed that the audio output doesn't seem to work. The input is fine (the other end can hear me), but I can't hear them. I'll start digging into it. Same results in simulator and device.