Toss for one weeks, today finally will PC and Android audio, video all get through. So far, the interoperability between Android and ANDROID,PC and Pc,android and PC has been resolved and audio video is available.
Some time ago to get through the PC and PC audio, video, this part is still very simple, after all, Windows debugging what is still very convenient, and then there is the basis of the call example.
Then get through the Android and Android, but the audio did not, think for a long time, tried how long to test the official apprtcdemo.apk, but suffering from mobile phone can not turn, eventually give up this road, take the first to get through the PC to Android. PC to Android is also very simple to get through, after all, Apprtcdemo just a few lines of code, moved to XMPP very convenient. But after getting through, found that the Android voice or not, but the PC to Android is good!
Google for a long time, no one has encountered such a problem, it is estimated that I changed when the error. So once again grabbed the SDP package, observed after the discovery of Android issued by the SDP package is recvonly or sendonly, Dizzy dead, no wonder no sound!
Continue Google, it was mentioned, is not really added to the stream audiotrack. See this, I suddenly think of myself as if I really did not pay much attention to the changes, so look at the code, and really did not add in, there is an if judgment is null, resulting in audiotrack not added to the stream!!
So modified the next, a test, all can be!
This experience: Have a good network, work can continue.