the newest webrtc for android has no audio

775 views
Skip to first unread message

lanqiul...@gmail.com

unread,
Dec 18, 2013, 5:03:49 AM12/18/13
to discuss...@googlegroups.com
Hi, everybody:

     today,  I sync the whole webrtc for android ,and had build the AppRTCDemo-debug.apk.  when run on two device, it can see the video ,but  has no voice. 
     see the eclipse logcat ,it shows below:

     does anyone know what happens, and how to solve this?
     thanks in advance
     Note that  the old webrtc before i sync today, it work fine..

12-18 17:33:41.153: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:41.153: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:41.427: V/AudioRecord(17869): stop
12-18 17:33:41.517: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:41.518: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:41.795: V/AudioRecord(17869): stop
12-18 17:33:41.885: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:41.885: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:42.160: V/AudioRecord(17869): stop
12-18 17:33:42.251: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:42.251: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:42.530: V/AudioRecord(17869): stop
12-18 17:33:42.617: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:42.617: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:42.931: V/AudioRecord(17869): stop
12-18 17:33:43.033: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:43.033: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:43.307: V/AudioRecord(17869): stop
12-18 17:33:43.399: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:43.399: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:43.679: V/AudioRecord(17869): stop
12-18 17:33:43.765: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:43.765: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:44.048: V/AudioRecord(17869): stop
12-18 17:33:44.130: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:44.130: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:44.404: V/AudioRecord(17869): stop
12-18 17:33:44.496: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:44.496: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:44.798: V/AudioRecord(17869): stop

jordi domenech flores

unread,
Dec 19, 2013, 7:24:56 PM12/19/13
to discuss...@googlegroups.com
i found the same issue in my samsung nexus s 4.1 but not happening in my nexus 4. I've removed the AudioManager block in the OnCreate method of the main activity and it solved the issue. Hope that helps!

lanqiul...@gmail.com

unread,
Dec 19, 2013, 8:13:18 PM12/19/13
to discuss...@googlegroups.com
thanks for your reply, i will try it.

在 2013年12月20日星期五UTC+8上午8时24分56秒,jordi domenech flores写道:

lanqiul...@gmail.com

unread,
Dec 19, 2013, 9:40:22 PM12/19/13
to discuss...@googlegroups.com
Hi jordi:
    I've removed the AudioManager block  in the onCreate from the AppRTCDemoActivity.java (below), but i alse has no voice 

//    AudioManager audioManager =
//        ((AudioManager) getSystemService(AUDIO_SERVICE));
//    // TODO(fischman): figure out how to do this Right(tm) and remove the
//    // suppression.
//    @SuppressWarnings("deprecation")
//    boolean isWiredHeadsetOn = audioManager.isWiredHeadsetOn();
//    audioManager.setMode(isWiredHeadsetOn ?
//        AudioManager.MODE_IN_CALL : AudioManager.MODE_IN_COMMUNICATION);
//    audioManager.setSpeakerphoneOn(!isWiredHeadsetOn);

Here is the logcat info:

12-20 10:35:03.798: V/AudioRecord(397): stop
12-20 10:35:03.850: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:03.850: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:04.119: V/AudioRecord(397): stop
12-20 10:35:04.232: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:04.232: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:04.555: V/AudioRecord(397): stop
12-20 10:35:04.655: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:04.655: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:04.925: V/AudioRecord(397): stop
12-20 10:35:05.022: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:05.022: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:05.106: D/AudioTrack(397): audiotrack 0x5ec9df40 stop done
12-20 10:35:05.106: D/AudioTrack(397): start 0x5ec9df40
12-20 10:35:05.321: V/AudioRecord(397): stop
12-20 10:35:05.385: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:05.385: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:05.662: V/AudioRecord(397): stop
12-20 10:35:05.754: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:05.754: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:06.018: V/AudioRecord(397): stop
12-20 10:35:06.089: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:06.090: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:06.373: V/AudioRecord(397): stop
12-20 10:35:06.457: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:06.457: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:06.734: V/AudioRecord(397): stop
12-20 10:35:06.820: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:06.820: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:07.085: V/AudioRecord(397): stop
12-20 10:35:07.149: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:07.149: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:07.419: V/AudioRecord(397): stop
12-20 10:35:07.516: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:07.516: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:07.831: V/AudioRecord(397): stop
12-20 10:35:07.935: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:07.935: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:08.222: V/AudioRecord(397): stop
12-20 10:35:08.301: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:08.301: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:08.598: V/AudioRecord(397): stop
12-20 10:35:08.664: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:08.664: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:09.179: V/AudioRecord(397): stop
12-20 10:35:09.277: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:09.278: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:09.546: V/AudioRecord(397): stop
12-20 10:35:09.590: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:09.590: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:09.861: V/AudioRecord(397): stop
12-20 10:35:09.965: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:09.965: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:10.237: V/AudioRecord(397): stop
12-20 10:35:10.330: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:10.330: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:10.605: V/AudioRecord(397): stop
12-20 10:35:10.698: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:10.698: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:10.783: D/AppRTCDemoActivity(397): Stats: id: Channel-audio-1, type: googComponent, timestamp: 1.387506910760746E12, values: [googComponent: 1], [googLocalCertificateId: googCertificate_20:BA:A9:81:C1:7B:01:0F:97:F0:91:89:49:47:B7:0A:81:BF:9B:8B], [googRemoteCertificateId: googCertificate_02:5A:3E:8D:6F:0A:16:01:85:3D:19:6B:BC:54:45:32:29:F5:85:0B], 
12-20 10:35:10.784: D/AppRTCDemoActivity(397): Stats: id: Channel-audio-2, type: googComponent, timestamp: 1.387506760609344E12, values: [googComponent: 2], [googLocalCertificateId: googCertificate_20:BA:A9:81:C1:7B:01:0F:97:F0:91:89:49:47:B7:0A:81:BF:9B:8B], 
12-20 10:35:10.784: D/AppRTCDemoActivity(397): Stats: id: Channel-data-1, type: googComponent, timestamp: 1.387506760609344E12, values: [googComponent: 1], [googLocalCertificateId: googCertificate_20:BA:A9:81:C1:7B:01:0F:97:F0:91:89:49:47:B7:0A:81:BF:9B:8B], 
12-20 10:35:10.784: D/AppRTCDemoActivity(397): Stats: id: Channel-data-2, type: googComponent, timestamp: 1.387506760609344E12, values: [googComponent: 2], [googLocalCertificateId: googCertificate_20:BA:A9:81:C1:7B:01:0F:97:F0:91:89:49:47:B7:0A:81:BF:9B:8B], 
12-20 10:35:10.786: D/AppRTCDemoActivity(397): Stats: id: Channel-video-1, type: googComponent, timestamp: 1.387506760609344E12, values: [googComponent: 1], [googLocalCertificateId: googCertificate_20:BA:A9:81:C1:7B:01:0F:97:F0:91:89:49:47:B7:0A:81:BF:9B:8B], 
12-20 10:35:10.786: D/AppRTCDemoActivity(397): Stats: id: Channel-video-2, type: googComponent, timestamp: 1.387506760609344E12, values: [googComponent: 2], [googLocalCertificateId: googCertificate_20:BA:A9:81:C1:7B:01:0F:97:F0:91:89:49:47:B7:0A:81:BF:9B:8B], 
12-20 10:35:10.786: D/AppRTCDemoActivity(397): Stats: id: Conn-audio-1-0, type: googCandidatePair, timestamp: 1.387506910760746E12, values: [googChannelId: Channel-audio-1], [bytesSent: 20393569], [bytesReceived: 8806356], [googWritable: true], [googReadable: true], [googActiveConnection: true], [googLocalAddress: 192.168.0.3:49174], [googRemoteAddress: 192.168.0.4:47283], [googRtt: 3601], [googTransportType: udp], [googLocalCandidateType: local], [googRemoteCandidateType: local], 
12-20 10:35:10.786: D/AppRTCDemoActivity(397): Stats: id: Conn-audio-1-1, type: googCandidatePair, timestamp: 1.387506910760746E12, values: [googChannelId: Channel-audio-1], [bytesSent: 0], [bytesReceived: 0], [googWritable: false], [googReadable: true], [googActiveConnection: false], [googLocalAddress: 192.168.0.3:49174], [googRemoteAddress: 10.75.235.77:35100], [googRtt: 3000], [googTransportType: udp], [googLocalCandidateType: local], [googRemoteCandidateType: local], 
12-20 10:35:10.786: D/AppRTCDemoActivity(397): Stats: id: Conn-audio-1-2, type: googCandidatePair, timestamp: 1.387506910760746E12, values: [googChannelId: Channel-audio-1], [bytesSent: 0], [bytesReceived: 0], [googWritable: false], [googReadable: true], [googActiveConnection: false], [googLocalAddress: 192.168.0.3:37293], [googRemoteAddress: 192.168.0.4:58595], [googRtt: 3000], [googTransportType: tcp], [googLocalCandidateType: local], [googRemoteCandidateType: prflx], 
12-20 10:35:10.787: D/AppRTCDemoActivity(397): Stats: id: bweforvideo, type: VideoBwe, timestamp: 1.387506910760746E12, values: [googAvailableSendBandwidth: 1844477], [googAvailableReceiveBandwidth: 0], [googTargetEncBitrate: 922239], [googActualEncBitrate: 1095383], [googRetransmitBitrate: 0], [googTransmitBitrate: 2059940], [googBucketDelay: 0], 
12-20 10:35:10.788: D/AppRTCDemoActivity(397): Stats: id: googCertificate_02:5A:3E:8D:6F:0A:16:01:85:3D:19:6B:BC:54:45:32:29:F5:85:0B, type: googCertificate, timestamp: 1.387506910760746E12, values: [googFingerprint: 02:5A:3E:8D:6F:0A:16:01:85:3D:19:6B:BC:54:45:32:29:F5:85:0B], [googFingerprintAlgorithm: sha-1], [googDerBase64: MIIBnjCCAQegAwIBAAIJALpujqBNhr/OMA0GCSqGSIb3DQEBBQUAMBExDzANBgNVBAMTBldlYlJUQzAeFw0xMzEyMTkwMjMxNTFaFw0xNDEyMjAwMjMxNTFaMBExDzANBgNVBAMTBldlYlJUQzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA3iLVN9hepxhQIIBMXqGmHQPiPar7a6Z8N4E3HihfML1Au0zUP8tyOlZaABNOQEvnCcttt7C13rJFS5DtPyF/1Q/9hmIuxr1ZEP3+sBaWktY9kCaL++Qas2OPasWpS77c476z1AP412u8fraPu9f631qh+dQp91mGNMO+SdsEKVECAwEAATANBgkqhkiG9w0BAQUFAAOBgQCjIycgb2qf1XVcS4S6+sbNq+EJAY6RmF8JUCZ3QD3Xnt5t72D2J4mgYB0X0Bjp2wpEiID5IjjuXlnjilnqDjOn9eFlobWoNqezwjJ9K8ntBtq32CGlaRIB4fp/2CiZrtYUZOUdZs3i/M0nI4+uHJYoEzC18Au91YxEW2eOglM2fw==], 
12-20 10:35:10.788: D/AppRTCDemoActivity(397): Stats: id: googCertificate_20:BA:A9:81:C1:7B:01:0F:97:F0:91:89:49:47:B7:0A:81:BF:9B:8B, type: googCertificate, timestamp: 1.387506910760746E12, values: [googFingerprint: 20:BA:A9:81:C1:7B:01:0F:97:F0:91:89:49:47:B7:0A:81:BF:9B:8B], [googFingerprintAlgorithm: sha-1], [googDerBase64: MIIBnjCCAQegAwIBAAIJAKnsrZzLnKLxMA0GCSqGSIb3DQEBBQUAMBExDzANBgNVBAMTBldlYlJUQzAeFw0xMzEyMTkwMjMyMzBaFw0xNDEyMjAwMjMyMzBaMBExDzANBgNVBAMTBldlYlJUQzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA23nxYKIQHw2ErI6tcp+th6fWj+FtqNMGKG0m5BOdh/rh4pVqc0U70jq/oj6siYA0A1ngiR1buLyd4N+J3gixZnD0aU/GizJikCzpCMP3XdZPeK64HiBJbclw8NPiAB20C503krJlZMEzK6wsr4D75sPaiMIUntJ2p+1iurnmI8cCAwEAATANBgkqhkiG9w0BAQUFAAOBgQCItl+pAEd611TYwzMwHAcs+31MlvJ8ntCWqHwFV/gh5vVoYsHOdi2rEIkB9sRwqrCL/MIJdDWn3VE97y/NpcRic+kEuhRPajLMzOKTZeZY7b0VLXOlT76JZdRhE/7UUWAQ2jKQrkAPjfh8GT3q1GQgUZ3ZZVlkA+fOS34PvsNVyA==], 
12-20 10:35:10.788: D/AppRTCDemoActivity(397): Stats: id: googLibjingleSession_7147609689948105466, type: googLibjingleSession, timestamp: 1.387506910760746E12, values: [googInitiator: true], 
12-20 10:35:10.788: D/AppRTCDemoActivity(397): Stats: id: googTrack_ARDAMSa0, type: googTrack, timestamp: 0.0, values: [googTrackId: ARDAMSa0], 
12-20 10:35:10.788: D/AppRTCDemoActivity(397): Stats: id: googTrack_ARDAMSv0, type: googTrack, timestamp: 0.0, values: [googTrackId: ARDAMSv0], 
12-20 10:35:10.789: D/AppRTCDemoActivity(397): Stats: id: ssrc_1273377447, type: ssrc, timestamp: 1.387506910760746E12, values: [ssrc: 1273377447], [googTrackId: ARDAMSa0], [transportId: Channel-audio-1], [audioInputLevel: 104], [bytesSent: 21414], [packetsSent: 738], [googJitterReceived: 319], [googRtt: 6245], [googEchoCancellationQualityMin: -1], [googEchoCancellationEchoDelayMedian: -1], [googEchoCancellationEchoDelayStdDev: -1], [googEchoCancellationReturnLoss: -100], [googEchoCancellationReturnLossEnhancement: -100], [googCodecName: ISAC], [googTypingNoiseState: false], 
12-20 10:35:10.790: D/AppRTCDemoActivity(397): Stats: id: ssrc_2236369727, type: ssrc, timestamp: 1.387506910760746E12, values: [ssrc: 2236369727], [googTrackId: ARDAMSv0], [transportId: Channel-audio-1], [bytesSent: 24552162], [packetsSent: 22671], [googFirsReceived: -1], [googNacksReceived: -1], [googFrameWidthSent: 352], [googFrameHeightSent: 288], [googFrameRateInput: 6], [googFrameRateSent: 8], [googRtt: 4631], [googCodecName: VP8], [googCpuLimitedResolution: false], [googBandwidthLimitedResolution: false], [googViewLimitedResolution: false], [googAvgEncodeMs: 43], [googCaptureJitterMs: 19], [googCaptureQueueDelayMsPerS: 29], [googEncodeUsagePercent: 28], 
12-20 10:35:10.790: D/AppRTCDemoActivity(397): Stats: id: ssrc_2821130376, type: ssrc, timestamp: 1.387506910760746E12, values: [ssrc: 2821130376], [googTrackId: ARDAMSa0], [transportId: Channel-audio-1], [audioOutputLevel: 1519], [bytesReceived: 355080], [googJitterReceived: 43], [packetsReceived: 3112], [packetsLost: 1401], 
12-20 10:35:10.791: D/AppRTCDemoActivity(397): Stats: id: ssrc_3995183070, type: ssrc, timestamp: 1.387506910760746E12, values: [ssrc: 3995183070], [googTrackId: ARDAMSv0], [transportId: Channel-audio-1], [bytesReceived: 7598122], [packetsReceived: 7687], [packetsLost: 4788], [googFirsSent: 0], [googNacksSent: -1], [googFrameWidthReceived: 240], [googFrameHeightReceived: 180], [googFrameRateReceived: 9], [googFrameRateDecoded: 2], [googFrameRateOutput: 2], [googDecodeMs: 2], [googMaxDecodeMs: 18], [googCurrentDelayMs: 187], [googTargetDelayMs: 187], [googJitterBufferMs: 159], [googMinPlayoutDelayMs: 0], [googRenderDelayMs: 10], 
12-20 10:35:10.987: V/AudioRecord(397): stop
12-20 10:35:11.067: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:11.067: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:11.337: V/AudioRecord(397): stop
12-20 10:35:11.337: V/AudioRecord(397): Overrun user: 89d, server: 189d, flags 0000
12-20 10:35:11.381: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:11.381: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:11.651: V/AudioRecord(397): stop
12-20 10:35:11.748: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:11.748: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:12.018: V/AudioRecord(397): stop
12-20 10:35:12.115: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:12.115: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:12.385: V/AudioRecord(397): stop
12-20 10:35:12.481: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:12.481: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:12.756: V/AudioRecord(397): stop
12-20 10:35:12.845: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:12.845: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:13.107: V/AudioRecord(397): stop
12-20 10:35:13.159: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:13.159: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:13.431: V/AudioRecord(397): stop
12-20 10:35:13.524: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:13.524: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:13.791: V/AudioRecord(397): stop
12-20 10:35:13.896: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:13.896: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:14.171: V/AudioRecord(397): stop
12-20 10:35:14.262: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:14.263: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:14.531: V/AudioRecord(397): stop
12-20 10:35:14.630: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:14.630: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:14.902: V/AudioRecord(397): stop
12-20 10:35:15.017: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:15.017: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:15.036: D/AudioTrack(397): audiotrack 0x5ec9df40 stop done
12-20 10:35:15.037: D/AudioTrack(397): start 0x5ec9df40
12-20 10:35:15.287: V/AudioRecord(397): stop
12-20 10:35:15.381: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:15.381: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:15.676: V/AudioRecord(397): stop
12-20 10:35:15.744: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:15.744: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:16.017: V/AudioRecord(397): stop
12-20 10:35:16.109: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:16.109: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:16.383: V/AudioRecord(397): stop
12-20 10:35:16.489: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:16.489: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:16.774: V/AudioRecord(397): stop
12-20 10:35:16.857: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:16.857: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:17.134: V/AudioRecord(397): stop
12-20 10:35:17.220: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:17.220: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:17.488: V/AudioRecord(397): stop
12-20 10:35:17.583: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:17.583: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:17.894: V/AudioRecord(397): stop
12-20 10:35:17.951: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:17.951: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:18.221: V/AudioRecord(397): stop
12-20 10:35:18.331: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:18.331: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:18.617: V/AudioRecord(397): stop
12-20 10:35:18.698: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:18.698: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:19.060: V/AudioRecord(397): stop
12-20 10:35:19.112: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:19.112: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:19.390: V/AudioRecord(397): stop
12-20 10:35:19.475: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:19.475: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:19.743: V/AudioRecord(397): stop
12-20 10:35:19.844: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:19.844: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:20.161: V/AudioRecord(397): stop
12-20 10:35:20.259: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:20.259: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:20.525: V/AudioRecord(397): stop
12-20 10:35:20.625: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:20.625: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:20.821: D/AppRTCDemoActivity(397): Stats: id: Channel-audio-1, type: googComponent, timestamp: 1.3875069207929028E12, values: [googComponent: 1], [googLocalCertificateId: googCertificate_20:BA:A9:81:C1:7B:01:0F:97:F0:91:89:49:47:B7:0A:81:BF:9B:8B], [googRemoteCertificateId: googCertificate_02:5A:3E:8D:6F:0A:16:01:85:3D:19:6B:BC:54:45:32:29:F5:85:0B], 
12-20 10:35:20.821: D/AppRTCDemoActivity(397): Stats: id: Channel-audio-2, type: googComponent, timestamp: 1.387506760609344E12, values: [googComponent: 2], [googLocalCertificateId: googCertificate_20:BA:A9:81:C1:7B:01:0F:97:F0:91:89:49:47:B7:0A:81:BF:9B:8B], 
12-20 10:35:20.821: D/AppRTCDemoActivity(397): Stats: id: Channel-data-1, type: googComponent, timestamp: 1.387506760609344E12, values: [googComponent: 1], [googLocalCertificateId: googCertificate_20:BA:A9:81:C1:7B:01:0F:97:F0:91:89:49:47:B7:0A:81:BF:9B:8B], 
12-20 10:35:20.822: D/AppRTCDemoActivity(397): Stats: id: Channel-data-2, type: googComponent, timestamp: 1.387506760609344E12, values: [googComponent: 2], [googLocalCertificateId: googCertificate_20:BA:A9:81:C1:7B:01:0F:97:F0:91:89:49:47:B7:0A:81:BF:9B:8B], 
12-20 10:35:20.822: D/AppRTCDemoActivity(397): Stats: id: Channel-video-1, type: googComponent, timestamp: 1.387506760609344E12, values: [googComponent: 1], [googLocalCertificateId: googCertificate_20:BA:A9:81:C1:7B:01:0F:97:F0:91:89:49:47:B7:0A:81:BF:9B:8B], 
12-20 10:35:20.822: D/AppRTCDemoActivity(397): Stats: id: Channel-video-2, type: googComponent, timestamp: 1.387506760609344E12, values: [googComponent: 2], [googLocalCertificateId: googCertificate_20:BA:A9:81:C1:7B:01:0F:97:F0:91:89:49:47:B7:0A:81:BF:9B:8B], 
12-20 10:35:20.822: D/AppRTCDemoActivity(397): Stats: id: Conn-audio-1-0, type: googCandidatePair, timestamp: 1.3875069207929028E12, values: [googChannelId: Channel-audio-1], [bytesSent: 22584286], [bytesReceived: 9344833], [googWritable: true], [googReadable: true], [googActiveConnection: true], [googLocalAddress: 192.168.0.3:49174], [googRemoteAddress: 192.168.0.4:47283], [googRtt: 4414], [googTransportType: udp], [googLocalCandidateType: local], [googRemoteCandidateType: local], 
12-20 10:35:20.823: D/AppRTCDemoActivity(397): Stats: id: Conn-audio-1-1, type: googCandidatePair, timestamp: 1.3875069207929028E12, values: [googChannelId: Channel-audio-1], [bytesSent: 0], [bytesReceived: 0], [googWritable: false], [googReadable: true], [googActiveConnection: false], [googLocalAddress: 192.168.0.3:49174], [googRemoteAddress: 10.75.235.77:35100], [googRtt: 3000], [googTransportType: udp], [googLocalCandidateType: local], [googRemoteCandidateType: local], 
12-20 10:35:20.823: D/AppRTCDemoActivity(397): Stats: id: Conn-audio-1-2, type: googCandidatePair, timestamp: 1.3875069207929028E12, values: [googChannelId: Channel-audio-1], [bytesSent: 0], [bytesReceived: 0], [googWritable: false], [googReadable: true], [googActiveConnection: false], [googLocalAddress: 192.168.0.3:37293], [googRemoteAddress: 192.168.0.4:58595], [googRtt: 3000], [googTransportType: tcp], [googLocalCandidateType: local], [googRemoteCandidateType: prflx], 
12-20 10:35:20.824: D/AppRTCDemoActivity(397): Stats: id: bweforvideo, type: VideoBwe, timestamp: 1.3875069207929028E12, values: [googAvailableSendBandwidth: 3739453], [googAvailableReceiveBandwidth: 0], [googTargetEncBitrate: 1000000], [googActualEncBitrate: 813266], [googRetransmitBitrate: 0], [googTransmitBitrate: 1646425], [googBucketDelay: 0], 
12-20 10:35:20.824: D/AppRTCDemoActivity(397): Stats: id: googCertificate_02:5A:3E:8D:6F:0A:16:01:85:3D:19:6B:BC:54:45:32:29:F5:85:0B, type: googCertificate, timestamp: 1.3875069207929028E12, values: [googFingerprint: 02:5A:3E:8D:6F:0A:16:01:85:3D:19:6B:BC:54:45:32:29:F5:85:0B], [googFingerprintAlgorithm: sha-1], [googDerBase64: MIIBnjCCAQegAwIBAAIJALpujqBNhr/OMA0GCSqGSIb3DQEBBQUAMBExDzANBgNVBAMTBldlYlJUQzAeFw0xMzEyMTkwMjMxNTFaFw0xNDEyMjAwMjMxNTFaMBExDzANBgNVBAMTBldlYlJUQzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA3iLVN9hepxhQIIBMXqGmHQPiPar7a6Z8N4E3HihfML1Au0zUP8tyOlZaABNOQEvnCcttt7C13rJFS5DtPyF/1Q/9hmIuxr1ZEP3+sBaWktY9kCaL++Qas2OPasWpS77c476z1AP412u8fraPu9f631qh+dQp91mGNMO+SdsEKVECAwEAATANBgkqhkiG9w0BAQUFAAOBgQCjIycgb2qf1XVcS4S6+sbNq+EJAY6RmF8JUCZ3QD3Xnt5t72D2J4mgYB0X0Bjp2wpEiID5IjjuXlnjilnqDjOn9eFlobWoNqezwjJ9K8ntBtq32CGlaRIB4fp/2CiZrtYUZOUdZs3i/M0nI4+uHJYoEzC18Au91YxEW2eOglM2fw==], 
12-20 10:35:20.825: D/AppRTCDemoActivity(397): Stats: id: googCertificate_20:BA:A9:81:C1:7B:01:0F:97:F0:91:89:49:47:B7:0A:81:BF:9B:8B, type: googCertificate, timestamp: 1.3875069207929028E12, values: [googFingerprint: 20:BA:A9:81:C1:7B:01:0F:97:F0:91:89:49:47:B7:0A:81:BF:9B:8B], [googFingerprintAlgorithm: sha-1], [googDerBase64: MIIBnjCCAQegAwIBAAIJAKnsrZzLnKLxMA0GCSqGSIb3DQEBBQUAMBExDzANBgNVBAMTBldlYlJUQzAeFw0xMzEyMTkwMjMyMzBaFw0xNDEyMjAwMjMyMzBaMBExDzANBgNVBAMTBldlYlJUQzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA23nxYKIQHw2ErI6tcp+th6fWj+FtqNMGKG0m5BOdh/rh4pVqc0U70jq/oj6siYA0A1ngiR1buLyd4N+J3gixZnD0aU/GizJikCzpCMP3XdZPeK64HiBJbclw8NPiAB20C503krJlZMEzK6wsr4D75sPaiMIUntJ2p+1iurnmI8cCAwEAATANBgkqhkiG9w0BAQUFAAOBgQCItl+pAEd611TYwzMwHAcs+31MlvJ8ntCWqHwFV/gh5vVoYsHOdi2rEIkB9sRwqrCL/MIJdDWn3VE97y/NpcRic+kEuhRPajLMzOKTZeZY7b0VLXOlT76JZdRhE/7UUWAQ2jKQrkAPjfh8GT3q1GQgUZ3ZZVlkA+fOS34PvsNVyA==], 
12-20 10:35:20.825: D/AppRTCDemoActivity(397): Stats: id: googLibjingleSession_7147609689948105466, type: googLibjingleSession, timestamp: 1.3875069207929028E12, values: [googInitiator: true], 
12-20 10:35:20.825: D/AppRTCDemoActivity(397): Stats: id: googTrack_ARDAMSa0, type: googTrack, timestamp: 0.0, values: [googTrackId: ARDAMSa0], 
12-20 10:35:20.826: D/AppRTCDemoActivity(397): Stats: id: googTrack_ARDAMSv0, type: googTrack, timestamp: 0.0, values: [googTrackId: ARDAMSv0], 
12-20 10:35:20.826: D/AppRTCDemoActivity(397): Stats: id: ssrc_1273377447, type: ssrc, timestamp: 1.3875069207929028E12, values: [ssrc: 1273377447], [googTrackId: ARDAMSa0], [transportId: Channel-audio-1], [audioInputLevel: 2], [bytesSent: 22857], [packetsSent: 804], [googJitterReceived: 204], [googRtt: 4829], [googEchoCancellationQualityMin: -1], [googEchoCancellationEchoDelayMedian: -1], [googEchoCancellationEchoDelayStdDev: -1], [googEchoCancellationReturnLoss: -100], [googEchoCancellationReturnLossEnhancement: -100], [googCodecName: ISAC], [googTypingNoiseState: false], 
12-20 10:35:20.827: D/AppRTCDemoActivity(397): Stats: id: ssrc_2236369727, type: ssrc, timestamp: 1.3875069207929028E12, values: [ssrc: 2236369727], [googTrackId: ARDAMSv0], [transportId: Channel-audio-1], [bytesSent: 26590918], [packetsSent: 24526], [googFirsReceived: -1], [googNacksReceived: -1], [googFrameWidthSent: 352], [googFrameHeightSent: 288], [googFrameRateInput: 6], [googFrameRateSent: 6], [googRtt: 4605], [googCodecName: VP8], [googCpuLimitedResolution: false], [googBandwidthLimitedResolution: false], [googViewLimitedResolution: false], [googAvgEncodeMs: 34], [googCaptureJitterMs: 21], [googCaptureQueueDelayMsPerS: 31], [googEncodeUsagePercent: 26], 
12-20 10:35:20.827: D/AppRTCDemoActivity(397): Stats: id: ssrc_2821130376, type: ssrc, timestamp: 1.3875069207929028E12, values: [ssrc: 2821130376], [googTrackId: ARDAMSa0], [transportId: Channel-audio-1], [audioOutputLevel: 3209], [bytesReceived: 381636], [googJitterReceived: 46], [packetsReceived: 3341], [packetsLost: 1431], 
12-20 10:35:20.829: D/AppRTCDemoActivity(397): Stats: id: ssrc_3995183070, type: ssrc, timestamp: 1.3875069207929028E12, values: [ssrc: 3995183070], [googTrackId: ARDAMSv0], [transportId: Channel-audio-1], [bytesReceived: 8031942], [packetsReceived: 8171], [packetsLost: 5209], [googFirsSent: 0], [googNacksSent: -1], [googFrameWidthReceived: 160], [googFrameHeightReceived: 120], [googFrameRateReceived: 15], [googFrameRateDecoded: 5], [googFrameRateOutput: 5], [googDecodeMs: 1], [googMaxDecodeMs: 21], [googCurrentDelayMs: 204], [googTargetDelayMs: 204], [googJitterBufferMs: 173], [googMinPlayoutDelayMs: 0], [googRenderDelayMs: 10], 
12-20 10:35:20.897: V/AudioRecord(397): stop
12-20 10:35:20.997: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:20.998: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:21.320: V/AudioRecord(397): stop
12-20 10:35:21.416: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:21.416: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:21.688: V/AudioRecord(397): stop
12-20 10:35:21.783: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:21.783: V/AudioRecord(397): mAudioRecord->start()
12-20 10:35:22.052: V/AudioRecord(397): stop
12-20 10:35:22.167: V/AudioRecord(397): start, sync event 0 trigger session 0
12-20 10:35:22.167: V/AudioRecord(397): mAudioRecord->start()


在 2013年12月20日星期五UTC+8上午9时13分18秒,lanqiul...@gmail.com写道:

jordi domenech - iamyellow.net

unread,
Dec 20, 2013, 4:36:36 AM12/20/13
to discuss...@googlegroups.com
:( i saw the same logs, well... with some ALSA messages there. how do you build (runhooks)? I currently do this:

GYP_DEFINES="build_with_libjingle=1 build_with_chromium=0 libjingle_java=1 enable_android_opensl=0 enable_tracing=0 include_tests=0 android_webview_build=0 $GYP_DEFINES" gclient runhooks 

notice the 'enable_android_opensl=0'

--
 
---
You received this message because you are subscribed to a topic in the Google Groups "discuss-webrtc" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/discuss-webrtc/MpReIXfK6yk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

lanqiul...@gmail.com

unread,
Dec 20, 2013, 8:25:48 PM12/20/13
to discuss...@googlegroups.com
Hi, jordi:
     I build the AppRtcDemo according to the website steps:

1. Check out as usual:
gclient config https://webrtc.googlecode.com/svn/trunk
echo "target_os = ['android', 'unix']" >> .gclient
gclient sync --nohooks


2. Generate ninja makefiles:
cd trunk
source ./build/android/envsetup.sh
gclient runhooks


3. Build and Install Demo app:
ninja -C out/Release AppRTCDemo
adb install -r out/Debug/AppRTCDemo-debug.apk

BTW:you builid with that, and remove the AudioManager block , has clear voice?

在 2013年12月20日星期五UTC+8下午5时36分36秒,jordi domenech flores写道:

lanqiul...@gmail.com

unread,
Dec 20, 2013, 9:37:48 PM12/20/13
to discuss...@googlegroups.com
Hi  ,jordi:
      according to your parameters :GYP_DEFINES="build_with_libjingle=1 build_with_chromium=0 libjingle_java=1 enable_android_opensl=0 enable_tracing=0 include_tests=0 android_webview_build=0 $GYP_DEFINES" 
      i rebuild the webrtc, and test on my two android device, it still has no voice, but the video woke fine.
     and the logcat shows:

12-21 10:29:42.401: W/AudioTrack(28350): obtainBuffer timed out (is the CPU pegged?) 0x624b9b70 name=0x1user=000044ac, server=00003cac
12-21 10:29:43.391: W/AudioRecord(28350): obtainBuffer timed out (is the CPU pegged?) user=00000000, server=00000000
12-21 10:29:43.411: W/AudioTrack(28350): obtainBuffer timed out (is the CPU pegged?) 0x624b9b70 name=0x1user=000044ac, server=00003cac
12-21 10:29:44.411: W/AudioTrack(28350): obtainBuffer timed out (is the CPU pegged?) 0x624b9b70 name=0x1user=000044ac, server=00003cac
12-21 10:29:44.461: W/AudioRecord(28350): obtainBuffer timed out (is the CPU pegged?) user=00000000, server=00000000
12-21 10:29:45.411: W/AudioTrack(28350): obtainBuffer timed out (is the CPU pegged?) 0x624b9b70 name=0x1user=000044ac, server=00003cac
12-21 10:29:45.531: W/AudioRecord(28350): obtainBuffer timed out (is the CPU pegged?) user=00000000, server=00000000
12-21 10:29:46.411: W/AudioTrack(28350): obtainBuffer timed out (is the CPU pegged?) 0x624b9b70 name=0x1user=000044ac, server=00003cac
12-21 10:29:46.581: W/AudioRecord(28350): obtainBuffer timed out (is the CPU pegged?) user=00000000, server=00000000
12-21 10:29:47.411: W/AudioTrack(28350): obtainBuffer timed out (is the CPU pegged?) 0x624b9b70 name=0x1user=000044ac, server=00003cac
12-21 10:29:47.641: W/AudioRecord(28350): obtainBuffer timed out (is the CPU pegged?) user=00000000, server=00000000
12-21 10:29:48.411: W/AudioTrack(28350): obtainBuffer timed out (is the CPU pegged?) 0x624b9b70 name=0x1user=000044ac, server=00003cac
12-21 10:29:48.681: W/AudioRecord(28350): obtainBuffer timed out (is the CPU pegged?) user=00000000, server=00000000
12-21 10:29:49.411: W/AudioTrack(28350): obtainBuffer timed out (is the CPU pegged?) 0x624b9b70 name=0x1user=000044ac, server=00003cac
12-21 10:29:49.721: W/AudioRecord(28350): obtainBuffer timed out (is the CPU pegged?) user=00000000, server=00000000
12-21 10:29:50.411: W/AudioTrack(28350): obtainBuffer timed out (is the CPU pegged?) 0x624b9b70 name=0x1user=000044ac, server=00003cac
12-21 10:29:50.771: W/AudioRecord(28350): obtainBuffer timed out (is the CPU pegged?) user=00000000, server=00000000
12-21 10:29:51.411: W/AudioTrack(28350): obtainBuffer timed out (is the CPU pegged?) 0x624b9b70 name=0x1user=000044ac, server=00003cac
12-21 10:29:51.811: W/AudioRecord(28350): obtainBuffer timed out (is the CPU pegged?) user=00000000, server=00000000
12-21 10:29:52.411: W/AudioTrack(28350): obtainBuffer timed out (is the CPU pegged?) 0x624b9b70 name=0x1user=000044ac, server=00003cac

在 2013年12月20日星期五UTC+8下午5时36分36秒,jordi domenech flores写道:
:( i saw the same logs, well... with some ALSA messages there. how do you build (runhooks)? I currently do this:

lanqiul...@gmail.com

unread,
Dec 21, 2013, 3:35:45 AM12/21/13
to discuss...@googlegroups.com
But  when i change opus to  isac, it still has no voice ,but the logcat shows :

12-18 17:33:51.717: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:51.991: V/AudioRecord(17869): stop
12-18 17:33:52.082: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:52.082: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:52.360: V/AudioRecord(17869): stop
12-18 17:33:52.446: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:52.446: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:52.723: V/AudioRecord(17869): stop
12-18 17:33:52.813: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:52.813: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:53.086: V/AudioRecord(17869): stop
12-18 17:33:53.180: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:53.180: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:53.481: V/AudioRecord(17869): stop
12-18 17:33:53.547: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:53.547: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:53.825: V/AudioRecord(17869): stop
12-18 17:33:53.915: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:53.915: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:54.189: V/AudioRecord(17869): stop
12-18 17:33:54.279: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:54.279: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:54.559: V/AudioRecord(17869): stop
12-18 17:33:54.647: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:54.648: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:54.931: V/AudioRecord(17869): stop
12-18 17:33:55.014: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:55.014: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:55.287: V/AudioRecord(17869): stop
12-18 17:33:55.388: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:55.388: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:55.664: V/AudioRecord(17869): stop
12-18 17:33:55.755: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:55.755: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:56.030: V/AudioRecord(17869): stop
12-18 17:33:56.118: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:56.118: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:56.393: V/AudioRecord(17869): stop
12-18 17:33:56.487: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:56.487: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:56.767: V/AudioRecord(17869): stop
12-18 17:33:56.855: V/AudioRecord(17869): start, sync event 0 trigger session 0
12-18 17:33:56.855: V/AudioRecord(17869): mAudioRecord->start()
12-18 17:33:57.158: V/AudioRecord(17869): stop

like before.

在 2013年12月21日星期六UTC+8上午10时37分48秒,lanqiul...@gmail.com写道:

Ami Fischman

unread,
Dec 21, 2013, 1:35:22 PM12/21/13
to discuss...@googlegroups.com
What device are you running on?
My guess is that even with ISAC instead of OPUS you're running out of CPU power.  Can you try disabling video (append &video=false to the URL on both ends) and see if that makes audio work?  (it's possible your device is simply not powerful enough to run both audio & video in Debug mode).

Up-thread you said
ninja -C out/Release AppRTCDemo
adb install -r out/Debug/AppRTCDemo-debug.apk
(underline mine) - note that you're installing a different binary from the one you're building (out/Release vs. out/Debug).  Does rm -rf out/ followed by building and installing just the copy from out/Release make a difference?

If things still aren't working for you, please file a bug (https://code.google.com/p/webrtc/issues/entry) and make sure to include: device & OS information, _complete_ logcat (not just snippets), the revision of webrtc you're building from, the exact command-lines used to sync/gyp/build, the exact apprtc URLs used, and anything else you think might be relevant.  
Note that due to US holidays your bug may not get a quick response.

Cheers,
-a (who is about to head out for a 2-week vacation)

--
 
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.

lanqiul...@gmail.com

unread,
Dec 23, 2013, 9:09:40 PM12/23/13
to discuss...@googlegroups.com
Hi  Fischman:
     I'm sorry I didn't say clear in the first place. we modify the AppRTCDemo with openfire(only use openfire as a  signaling server ), because  we can not access apprtc.appsopt.com in china.
     on my android device test,   AppRTCDemo is not out of CPU power by viewing DDMS cpu load, and we also close the video track ,and still has no audio with the newest webrtc version for android. the logcat show errors  as before.

     and we find out another problem , the newest version can not run on android 2.3.6, the logcat shows 

12-24 09:35:35.317: W/dalvikvm(19963): VFY: unable to resolve virtual method 3769: Landroid/view/Display;.getSize (Landroid/graphics/Point;)V
12-24 09:35:36.979: E/====displayInfo======(19963): 480------854
12-24 09:35:38.230: D/WEBRTC-JC(19963): Camera 0, Facing back, Orientation 90
12-24 09:35:38.811: D/WEBRTC-JC(19963): Camera 1, Facing front, Orientation 270
12-24 09:35:38.841: D/*WEBRTCN*(19963): SetRenderAndroidVM
12-24 09:35:39.221: W/dalvikvm(19963): VFY: unable to resolve virtual method 359: Landroid/media/AudioManager;.getProperty (Ljava/lang/String;)Ljava/lang/String;
12-24 09:35:39.251: E/libOpenSLES(19963): slCreateEngine while another engine 0x6fba18 is active
12-24 09:35:39.271: W/dalvikvm(19963): threadid=1: thread exiting with uncaught exception (group=0x4001d560)
12-24 09:35:39.271: W/System.err(19963): java.lang.RuntimeException: Failed to initialize PeerConnectionFactory!
12-24 09:35:39.301: W/System.err(19963): at org.webrtc.PeerConnectionFactory.<init>(PeerConnectionFactory.java:51)
12-24 09:35:39.301: W/System.err(19963): at com.iof.relations.ui.CallingActivity.onIceServers(CallingActivity.java:312)
12-24 09:35:39.301: W/System.err(19963): at com.iof.relations.ui.CallingActivity$1.handleMessage(CallingActivity.java:159)
12-24 09:35:39.301: W/System.err(19963): at android.os.Handler.dispatchMessage(Handler.java:99)
12-24 09:35:39.301: W/System.err(19963): at android.os.Looper.loop(Looper.java:130)
12-24 09:35:39.301: W/System.err(19963): at android.app.ActivityThread.main(ActivityThread.java:3683)
12-24 09:35:39.301: W/System.err(19963): at java.lang.reflect.Method.invokeNative(Native Method)
12-24 09:35:39.301: W/System.err(19963): at java.lang.reflect.Method.invoke(Method.java:507)
12-24 09:35:39.301: W/System.err(19963): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
12-24 09:35:39.301: W/System.err(19963): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
12-24 09:35:39.301: W/System.err(19963): at dalvik.system.NativeStart.main(Native Method)
12-24 09:58:09.298: W/IInputConnectionWrapper(20114): clearMetaKeyStates on inactive InputConnection
12-24 09:58:09.398: W/IInputConnectionWrapper(20114): showStatusIcon on inactive InputConnection



     

在 2013年12月22日星期日UTC+8上午2时35分22秒,Ami Fischman写道:

Ami Fischman

unread,
Dec 24, 2013, 2:25:07 AM12/24/13
to discuss...@googlegroups.com
This latest error (can't find method AudioManager.getProperty()) is unsurprising on 2.3.6 considering the method was added in API level 17 (http://developer.android.com/reference/android/media/AudioManager.html#getProperty(java.lang.String)).  AppRTCDemo doesn't try to be backwards compatible with ancient android versions because it's just a demo app, after all.

I'm on vacation for a couple of weeks.  If you want me to follow up when I get back I strongly urge you to file a bug with the full list of details I described earlier.  Chasing down problems like the above one by one with a cross-hemisphere-timezone-difference is not a recipe for success.

Олексій Мороз

unread,
Apr 15, 2014, 6:59:36 AM4/15/14
to discuss...@googlegroups.com
Hi all!

I am having same problem on my both Lenovo devices A766 & A650.

I can hear voice from other devices (Nexus 4, iPhone, iPod), but can't transmit (record) voice to other party.

Has somebody  solution for this problem?  

Середа, 18 грудня 2013 р. 12:03:49 UTC+2 користувач lanqiul...@gmail.com написав:
Reply all
Reply to author
Forward
0 new messages