Giter VIP home page Giter VIP logo

androidrtc's People

Contributors

j796160836 avatar pchab avatar ryanramchandar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

androidrtc's Issues

Loading the libjinglepeerconnectio_so.so error

Hi,
Required help in building the .so file to the APP, i have got the code from WebRTC and created a sample app with java files in peerconnection jar and here i have to load a .so file where am failing to load, it gives me the error as
04-24 18:18:40.661: E/dalvikvm(16297): dlopen("/data/app-lib/com.webrtc.peerrtc-2/libjingle_peerconnection_so.so") failed: dlopen failed: "/data/app-lib/com.webrtc.peerrtc-2/libjingle_peerconnection_so.so" has unexpected e_machine: 3.
please help me to resolve this issue

Could not use this with different server

I was trying to use your project with a server of mine. For this, I had made some changes it two of your classes. (just of signalling purposes). Now, the createAnswer() function is not calling the sendMessage function to send messages to other party using my signalling server. I have given details about the problem on the following link:

http://stackoverflow.com/questions/27554912/webrtc-android-library-function-not-getting-called

Please, help in this regards.

This is not an issue. This is just a question. I was trying to give it a label of question but I could not find how to give it label of question.

Do not work with Mozilla browser

Hi,

Is that the app does not work with non-chrome browsers? I have tested on Firefox for Android but it failed. I hear that XWalk can make WebRTC works for some versions of Chrome and FF, but not sure about its performance (fps, audio...) relative to native WebRTC like yours?

Thanks!

AndroidRTC Crash

12-26 19:24:26.360 23340-23662/fr.pchab.androidrtc E/AndroidRuntime﹕ FATAL EXCEPTION: AudioRecordJavaThread
Process: fr.pchab.androidrtc, PID: 23340
java.lang.AssertionError: Expected condition to be true
at org.webrtc.voiceengine.WebRtcAudioRecord.assertTrue(WebRtcAudioRecord.java:278)
at org.webrtc.voiceengine.WebRtcAudioRecord.access$300(WebRtcAudioRecord.java:30)
at org.webrtc.voiceengine.WebRtcAudioRecord$AudioRecordThread.run(WebRtcAudioRecord.java:91)

App Crashes after Stopping Remote Stream

The Android Application is successfully able to connect to the ProjectRTC hosted application.

The application crashes if we hit back button on the application or if the user presses "Stop" button after the call has stated.

unable to hear audio from android client

I am also trying to make only audio calls work (Video calls work without sound).

I followed the steps in #8 already.

still I do not hear anything in web browser but video player time counter runs. Android app runs fine only thing i see is in Logcat.

03-09 16:16:49.725: W/libjingle(16735): Warning(webrtcvoiceengine.cc:747): SetTypingDetectionStatus(0) failed, err=8003
03-09 16:16:49.725: E/libjingle(16735): Error(webrtcvideoengine.cc:1265): webrtc: (voe_audio_processing_impl.cc:990): virtual int webrtc::VoEAudioProcessingImpl::SetTypingDetectionStatus(bool): not supported

I tried this on Note 4 (Running Android 4.4.4), Samsung S5 Running Android 5.0 both shows the same error in Logcat.

This is my code http://pastebin.com/FP8z6kqt Please help.

Not able to hear audio from the caller

Hello,
I am using your Project and its too good.
But I want to make it as only for audio call.
The caller is able to listen my voice on web side but in app I am not able to hear anything.

I have gone through this issue and used all the setting you had provided over there. Still there is something missing.
#8

Guide me with this issue. I am totally new to WebRTC.
Thanks in advance.
Bskania.

No video rendered when resuming

  1. Open the app and don't have to send the invitation to a peer. just ignore that intent
  2. the local video shown.
  3. hide the app
  4. go back (or resume from the recent launch list ) the app
  5. nothing will be rendered .

It seems something goes wrong with the opengl configuration.

Maybe worth taking a look.

TIA.

Socket connection via server authentication

Hi I am new to socket connection and I have test this application and its working .
But Here only mentioned host and port to do socket connection .
Now I have host and port with server credential .
A webrtc is working on web and websocket connection is using following format if you can tell me how to pass user password while connection then please let me know .
Following url is used in websocket in JS

url = host+port

function connect(url, me, password)
{
var protocol = window.location.protocol == "http:" ? "ws" : "wss";
ws = new WebSocket(protocol + "://" + url +"/ws/server?username="+ me +"&password=" + password + "&resource=" + me, "xmpp");
ws.onopen = onOpen;
ws.onmessage = onMessage;
ws.onclose = onConnectionClose;

    webrtc.jid = me + "@" + window.location.hostname + "/" + me;

}

webrtc: Too long processing time of Incoming frame: 20ms

I am getting this warning message "webrtc: Too long processing time of Incoming frame: 20ms" and time gets increasing more and more and finally i got the OutOfMemory issue because it grows heap up to the limit even though i have added "android:largeHeap = true" in manifest.

EGLContext issue

i faced this issue when trying to run the new update of this project :
at org.webrtc.VideoRendererGui.onSurfaceCreated(VideoRendererGui.java:791)
FATAL EXCEPTION: GLThread 16547
The method getEGLContext() is undefined for the type EGLContext
at com.firefly.rtc.RtcActivity.init(RtcActivity.java:97)

client = new WebRtcClient(this, mSocketAddress, params, VideoRendererGui.getEGLContext());
public WebRtcClient(RTCListener listener, String host, PeerConnectionParameters params,EGLContext mEGLcontext);

Release Camera when exit app

When exit app (by press Back button):
The partner still hear my voice.
Wait for about 5 seconds, app crash because of OutOfMemory error.

I think this crash because when exit app, it's not release camera and not close connection.

So please help me to fix this issue.
Thanks in advance!

How to add Audio only call's

Is it possible to make audio only call's. Can you please help me how to add voice only call support.

I tried by adding

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);

lMS.addTrack(factory.createAudioTrack("ARDAMSa0"));
pc.addStream(lMS, new MediaConstraints());

pcConstraints.mandatory.add(new MediaConstraints.KeyValuePair("OfferToReceiveAudio", "true"));
pcConstraints.mandatory.add(new MediaConstraints.KeyValuePair("OfferToReceiveVideo", "false"));

But nothing helped me to make a audio only call.

WebRTC DataChannel

Has the libjingle-lib in this project already support for WebRTC DataChannels, or should I compile the lib for my self? Is it already possible to use pure voice calls instead of video calls?

Sample app force closes when back button pressed

Steps to reproduce:

  1. Open app.
  2. Dismiss "Call Someone" dialog.
  3. Wait for video to show camera input.
  4. Press back button.

Note: I am using a local server based on https://github.com/pchab/ProjectRTC.

05-19 15:46:56.843   25424-5927/? I/HotwordRecognitionRnr﹕ Starting hotword detection.
05-19 15:46:56.943   25424-5927/? D/dalvikvm﹕ GC_FOR_ALLOC freed 1738K, 16% free 12354K/14580K, paused 101ms, total 105ms
05-19 15:46:56.963   25424-5932/? I/MicrophoneInputStream﹕ mic_starting com.google.android.speech.audio.w@424e26a8
05-19 15:46:56.973    2608-2608/fr.pchab.androidrtc E/rtc﹕ #
    # Fatal error in ../../talk/app/webrtc/java/jni/peerconnection_jni.cc, line 926
    # Check failed: 0 == (reinterpret_cast<MediaSourceInterface*>(j_p))->Release() (0 vs. 1)
    # Unexpected refcount.
    #
05-19 15:46:56.973    2608-2608/fr.pchab.androidrtc A/libc﹕ Fatal signal 6 (SIGABRT) at 0x00000a30 (code=-6), thread 2608 (chab.androidrtc)
05-19 15:46:57.033    3937-3953/? I/Icing﹕ Usage reports 1 indexed 0 rejected 0 imm upload true
05-19 15:46:57.073   25424-5932/? I/MicrophoneInputStream﹕ mic_started com.google.android.speech.audio.w@424e26a8
05-19 15:46:57.073  25424-25424/? I/HotwordWorker﹕ onReady
05-19 15:46:57.073      121-121/? I/DEBUG﹕ *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-19 15:46:57.073      121-121/? I/DEBUG﹕ Build fingerprint: 'google/nakasi/grouper:4.4.4/KTU84P/1227136:user/release-keys'
05-19 15:46:57.073      121-121/? I/DEBUG﹕ Revision: '0'
05-19 15:46:57.073      121-121/? I/DEBUG﹕ pid: 2608, tid: 2608, name: chab.androidrtc  >>> fr.pchab.androidrtc <<<
05-19 15:46:57.083      121-121/? I/DEBUG﹕ signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
05-19 15:46:57.223      121-121/? I/DEBUG﹕ r0 00000000  r1 00000a30  r2 00000006  r3 00000000
05-19 15:46:57.223      121-121/? I/DEBUG﹕ r4 00000006  r5 0000000b  r6 00000a30  r7 0000010c
05-19 15:46:57.223      121-121/? I/DEBUG﹕ r8 be9b54e0  r9 418a2c88  sl 41a383d8  fp be9b54f4
05-19 15:46:57.223      121-121/? I/DEBUG﹕ ip 418a2c90  sp be9b53a8  lr 4013309d  pc 40142048  cpsr 00070010
05-19 15:46:57.223      121-121/? I/DEBUG﹕ d0  696166203a64656c  d1  6e6a5f6e6f697463
05-19 15:46:57.223      121-121/? I/DEBUG﹕ d2  616a2f6374726265  d3  702f696e6a2f6176
05-19 15:46:57.223      121-121/? I/DEBUG﹕ d4  656e6f68502f6c70  d5  5024776f646e6957
05-19 15:46:57.233      121-121/? I/DEBUG﹕ d6  3f0000006c656e61  d7  3f19999a3f800000
05-19 15:46:57.233      121-121/? I/DEBUG﹕ d8  0000000000000000  d9  0000000000000000
05-19 15:46:57.233      121-121/? I/DEBUG﹕ d10 0000000000000000  d11 0000000000000000
05-19 15:46:57.233      121-121/? I/DEBUG﹕ d12 0000000000000000  d13 0000000000000000
05-19 15:46:57.233      121-121/? I/DEBUG﹕ d14 0000000000000000  d15 0000000000000000
05-19 15:46:57.233      121-121/? I/DEBUG﹕ d16 00000e390468ae72  d17 0000000000000000
05-19 15:46:57.233      121-121/? I/DEBUG﹕ d18 3fe9000000000000  d19 0000000000000000
05-19 15:46:57.233      121-121/? I/DEBUG﹕ d20 3ff0000000000000  d21 0000000000000000
05-19 15:46:57.233      121-121/? I/DEBUG﹕ d22 0000000000000000  d23 0000000000000000
05-19 15:46:57.233      121-121/? I/DEBUG﹕ d24 3fe9000000000000  d25 0000000000000000
05-19 15:46:57.233      121-121/? I/DEBUG﹕ d26 3ff0000000000000  d27 0000000000000000
05-19 15:46:57.233      121-121/? I/DEBUG﹕ d28 3fe9000000000000  d29 0000000000000000
05-19 15:46:57.233      121-121/? I/DEBUG﹕ d30 0000000000000000  d31 0000000000000000
05-19 15:46:57.233      121-121/? I/DEBUG﹕ scr 80000010
05-19 15:46:57.243      121-121/? I/DEBUG﹕ backtrace:
05-19 15:46:57.243      121-121/? I/DEBUG﹕ #00  pc 00022048  /system/lib/libc.so (tgkill+12)
05-19 15:46:57.243      121-121/? I/DEBUG﹕ #01  pc 00013099  /system/lib/libc.so (pthread_kill+48)
05-19 15:46:57.243      121-121/? I/DEBUG﹕ #02  pc 000132ad  /system/lib/libc.so (raise+10)
05-19 15:46:57.243      121-121/? I/DEBUG﹕ #03  pc 00011fe3  /system/lib/libc.so
05-19 15:46:57.243      121-121/? I/DEBUG﹕ #04  pc 000218fc  /system/lib/libc.so (abort+4)
05-19 15:46:57.243      121-121/? I/DEBUG﹕ #05  pc 0007aedb  /data/app-lib/fr.pchab.androidrtc-2/libjingle_peerconnection_so.so
05-19 15:46:57.243      121-121/? I/DEBUG﹕ #06  pc 0002fc0f  /data/app-lib/fr.pchab.androidrtc-2/libjingle_peerconnection_so.so (Java_org_webrtc_MediaSource_free+74)
05-19 15:46:57.243      121-121/? I/DEBUG﹕ #07  pc 0001dbcc  /system/lib/libdvm.so (dvmPlatformInvoke+112)
05-19 15:46:57.243      121-121/? I/DEBUG﹕ #08  pc 0004e123  /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
05-19 15:46:57.243      121-121/? I/DEBUG﹕ #09  pc 0004fb0d  /system/lib/libdvm.so (dvmResolveNativeMethod(unsigned int const*, JValue*, Method const*, Thread*)+184)
05-19 15:46:57.243      121-121/? I/DEBUG﹕ #10  pc 00026fe0  /system/lib/libdvm.so
05-19 15:46:57.253      121-121/? I/DEBUG﹕ #11  pc 0002dfa0  /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
05-19 15:46:57.253      121-121/? I/DEBUG﹕ #12  pc 0002b638  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
05-19 15:46:57.253      121-121/? I/DEBUG﹕ #13  pc 00060861  /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+392)
05-19 15:46:57.253      121-121/? I/DEBUG﹕ #14  pc 000687c3  /system/lib/libdvm.so
05-19 15:46:57.253      121-121/? I/DEBUG﹕ #15  pc 00026fe0  /system/lib/libdvm.so
05-19 15:46:57.253      121-121/? I/DEBUG﹕ #16  pc 0002dfa0  /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
05-19 15:46:57.253      121-121/? I/DEBUG﹕ #17  pc 0002b638  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
05-19 15:46:57.253      121-121/? I/DEBUG﹕ #18  pc 0006057d  /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
05-19 15:46:57.253      121-121/? I/DEBUG﹕ #19  pc 00049d0b  /system/lib/libdvm.so
05-19 15:46:57.253      121-121/? I/DEBUG﹕ #20  pc 0004d2b3  /system/lib/libandroid_runtime.so
05-19 15:46:57.253      121-121/? I/DEBUG﹕ #21  pc 0004dfd7  /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+354)
05-19 15:46:57.253      121-121/? I/DEBUG﹕ #22  pc 0000105b  /system/bin/app_process
05-19 15:46:57.253      121-121/? I/DEBUG﹕ #23  pc 0000e403  /system/lib/libc.so (__libc_init+50)
05-19 15:46:57.253      121-121/? I/DEBUG﹕ #24  pc 00000d7c  /system/bin/app_process
05-19 15:46:57.253      121-121/? I/DEBUG﹕ stack:
05-19 15:46:57.253      121-121/? I/DEBUG﹕ be9b5368  4016e278
05-19 15:46:57.253      121-121/? I/DEBUG﹕ be9b536c  686f24e0
05-19 15:46:57.253      121-121/? I/DEBUG﹕ be9b5370  686f2af8
05-19 15:46:57.253      121-121/? I/DEBUG﹕ be9b5374  40130f23  /system/lib/libc.so (dlmalloc+4254)
05-19 15:46:57.253      121-121/? I/DEBUG﹕ be9b5378  000000c9
05-19 15:46:57.253      121-121/? I/DEBUG﹕ be9b537c  a5c76ff8
05-19 15:46:57.253      121-121/? I/DEBUG﹕ be9b5380  68c497a0
05-19 15:46:57.253      121-121/? I/DEBUG﹕ be9b5384  686f2ba4
05-19 15:46:57.253      121-121/? I/DEBUG﹕ be9b5388  000000c7
05-19 15:46:57.253      121-121/? I/DEBUG﹕ be9b538c  000000c6
05-19 15:46:57.253      121-121/? I/DEBUG﹕ be9b5390  68920df0
05-19 15:46:57.253      121-121/? I/DEBUG﹕ be9b5394  4016e1b8
05-19 15:46:57.263      121-121/? I/DEBUG﹕ be9b5398  68920d28
05-19 15:46:57.263      121-121/? I/DEBUG﹕ be9b539c  40130f23  /system/lib/libc.so (dlmalloc+4254)
05-19 15:46:57.263      121-121/? I/DEBUG﹕ be9b53a0  000000c7
05-19 15:46:57.263      121-121/? I/DEBUG﹕ be9b53a4  a1d76ff8
05-19 15:46:57.263      121-121/? I/DEBUG﹕ #00  be9b53a8  00000006
05-19 15:46:57.263      121-121/? I/DEBUG﹕ be9b53ac  0000000b
05-19 15:46:57.263      121-121/? I/DEBUG﹕ be9b53b0  00000a30
05-19 15:46:57.263      121-121/? I/DEBUG﹕ be9b53b4  418a2c90
05-19 15:46:57.263      121-121/? I/DEBUG﹕ be9b53b8  418a2c90
05-19 15:46:57.263      121-121/? I/DEBUG﹕ be9b53bc  4013309d  /system/lib/libc.so (pthread_kill+52)
05-19 15:46:57.263      121-121/? I/DEBUG﹕ #01  be9b53c0  00000006
05-19 15:46:57.263      121-121/? I/DEBUG﹕ be9b53c4  00000000
05-19 15:46:57.263      121-121/? I/DEBUG﹕ be9b53c8  be9b5444  [stack]
05-19 15:46:57.263      121-121/? I/DEBUG﹕ be9b53cc  401332b1  /system/lib/libc.so (raise+14)
05-19 15:46:57.263      121-121/? I/DEBUG﹕ #02  be9b53d0  be9b53dc  [stack]
05-19 15:46:57.263      121-121/? I/DEBUG﹕ be9b53d4  40131fe7  /system/lib/libc.so
05-19 15:46:57.293      121-121/? I/DEBUG﹕ memory near r8:
05-19 15:46:57.293      121-121/? I/DEBUG﹕ be9b54c0 00000000 68614b40 422bb720 be9b5448
05-19 15:46:57.293      121-121/? I/DEBUG﹕ be9b54d0 00000000 57248ded 62ad2a68 41507bd0
05-19 15:46:57.293      121-121/? I/DEBUG﹕ be9b54e0 418a2c88 00000001 00000008 422bb740
05-19 15:46:57.293      121-121/? I/DEBUG﹕ be9b54f0 41adcb90 41538127 418a2c88 6ac71e87
05-19 15:46:57.293      121-121/? I/DEBUG﹕ be9b5500 6b248bc5 41a383d8 6891b520 4002faf0
05-19 15:46:57.293      121-121/? I/DEBUG﹕ be9b5510 d8600019 00000000 6891b568 4016e384
05-19 15:46:57.293      121-121/? I/DEBUG﹕ be9b5520 6b248bc5 4013130f 4016a000 6891b500
05-19 15:46:57.293      121-121/? I/DEBUG﹕ be9b5530 00000000 6891b568 00000000 4012dcc5
05-19 15:46:57.293      121-121/? I/DEBUG﹕ be9b5540 64618370 41539d53 41a383f0 ffffbfff
05-19 15:46:57.293      121-121/? I/DEBUG﹕ be9b5550 41a383f0 4155d919 41a383c8 68613a10
05-19 15:46:57.293      121-121/? I/DEBUG﹕ be9b5560 00000000 00000008 41594c74 415634bd
05-19 15:46:57.293      121-121/? I/DEBUG﹕ be9b5570 42274408 00000000 42274408 628046f8
05-19 15:46:57.293      121-121/? I/DEBUG﹕ be9b5580 be9b55ec 62ad2a7c 00000001 422bb740
05-19 15:46:57.293      121-121/? I/DEBUG﹕ be9b5590 00000001 00000001 62ad2a68 6ac7ed1a
05-19 15:46:57.293      121-121/? I/DEBUG﹕ be9b55a0 be9b55ec 00000038 00000001 41555e37
05-19 15:46:57.293      121-121/? I/DEBUG﹕ be9b55b0 6ac7ed1a 6ab24328 422bb740 6ac7ed1a
05-19 15:46:57.293      121-121/? I/DEBUG﹕ memory near r9:
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 418a2c68 421d0048 418a2ca0 63861d22 418a2ca4
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 418a2c78 6abb03b8 62ad2a68 00000006 00000000
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 418a2c88 68917cf0 00000000 418a2cc4 6abf19e8
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 418a2c98 62ad2ae0 6abb03b8 00000000 68917cf0
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 418a2ca8 00000000 422bb7e8 418a2cdc 6abaa9a8
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 418a2cb8 62ad2968 6abf19e8 00000000 422bb7e8
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 418a2cc8 418a2d00 6abebab4 62aa8130 6abaa9a8
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 418a2cd8 00000000 00000000 422bb7e8 00000000
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 418a2ce8 421cffa0 418a2d1c 63e6343a 62aa1aa0
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 418a2cf8 6abebab4 00000000 421cffa0 421bd6c8
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 418a2d08 418a2d38 63ec0128 6283a548 63e6343a
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 418a2d18 00000000 421bd7e0 421bd6c8 418a2d68
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 418a2d28 63e8a634 6284eef0 63ec0128 00000000
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 418a2d38 00000000 418a2d68 421bd868 421bd868
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 418a2d48 00000000 421bbf00 421bd6c8 418a2db0
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 418a2d58 63e887d8 628364d0 63e8a634 00000000
05-19 15:46:57.293      121-121/? I/DEBUG﹕ memory near sl:
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 41a383b8 00000000 00000800 400bf008 0000045b
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 41a383c8 5a0a3e30 418a2c88 62ad2ae0 684d0000
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 41a383d8 00000000 00000000 be9b5638 00000000
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 41a383e8 be9b568c 00000001 00000000 41507d40
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 41a383f8 00000000 00000000 40d67970 4189d300
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 41a38408 00000000 00000000 00000001 00006000
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 41a38418 00000000 4011f154 41507d40 4150cc00
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 41a38428 00000000 41510cfc 41510d70 41510c20
05-19 15:46:57.293      121-121/? I/DEBUG﹕ 41a38438 41510c40 41510c9c 00000000 00000000
05-19 15:46:57.303      121-121/? I/DEBUG﹕ 41a38448 686e52f8 00000028 00000000 00000000
05-19 15:46:57.303      121-121/? I/DEBUG﹕ 41a38458 00000000 00000006 00001ff2 4159991c
05-19 15:46:57.303      121-121/? I/DEBUG﹕ 41a38468 41a7d110 628046f8 00000007 59a8b100
05-19 15:46:57.303      121-121/? I/DEBUG﹕ 41a38478 00000001 00000080 00000200 00000000
05-19 15:46:57.303      121-121/? I/DEBUG﹕ 41a38488 00000001 63e846d2 63e846d2 00000003
05-19 15:46:57.303      121-121/? I/DEBUG﹕ 41a38498 63e848a2 6288d9b0 502e5f2e fdc6fe76
05-19 15:46:57.303      121-121/? I/DEBUG﹕ 41a384a8 8cb49d45 841ea908 e5b2b79e 45488acb
05-19 15:46:57.303      121-121/? I/DEBUG﹕ memory near fp:
05-19 15:46:57.303      121-121/? I/DEBUG﹕ be9b54d4 57248ded 62ad2a68 41507bd0 418a2c88
05-19 15:46:57.303      121-121/? I/DEBUG﹕ be9b54e4 00000001 00000008 422bb740 41adcb90
05-19 15:46:57.303      121-121/? I/DEBUG﹕ be9b54f4 41538127 418a2c88 6ac71e87 6b248bc5
05-19 15:46:57.303      121-121/? I/DEBUG﹕ be9b5504 41a383d8 6891b520 4002faf0 d8600019
05-19 15:46:57.303      121-121/? I/DEBUG﹕ be9b5514 00000000 6891b568 4016e384 6b248bc5
05-19 15:46:57.303      121-121/? I/DEBUG﹕ be9b5524 4013130f 4016a000 6891b500 00000000
05-19 15:46:57.303      121-121/? I/DEBUG﹕ be9b5534 6891b568 00000000 4012dcc5 64618370
05-19 15:46:57.303      121-121/? I/DEBUG﹕ be9b5544 41539d53 41a383f0 ffffbfff 41a383f0
05-19 15:46:57.303      121-121/? I/DEBUG﹕ be9b5554 4155d919 41a383c8 68613a10 00000000
05-19 15:46:57.303      121-121/? I/DEBUG﹕ be9b5564 00000008 41594c74 415634bd 42274408
05-19 15:46:57.303      121-121/? I/DEBUG﹕ be9b5574 00000000 42274408 628046f8 be9b55ec
05-19 15:46:57.303      121-121/? I/DEBUG﹕ be9b5584 62ad2a7c 00000001 422bb740 00000001
05-19 15:46:57.303      121-121/? I/DEBUG﹕ be9b5594 00000001 62ad2a68 6ac7ed1a be9b55ec
05-19 15:46:57.303      121-121/? I/DEBUG﹕ be9b55a4 00000038 00000001 41555e37 6ac7ed1a
05-19 15:46:57.303      121-121/? I/DEBUG﹕ be9b55b4 6ab24328 422bb740 6ac7ed1a 684d0000
05-19 15:46:57.303      121-121/? I/DEBUG﹕ be9b55c4 00003acf 00000002 57248ded 00000007
05-19 15:46:57.313      121-121/? I/DEBUG﹕ memory near ip:
05-19 15:46:57.313      121-121/? I/DEBUG﹕ 418a2c70 63861d22 418a2ca4 6abb03b8 62ad2a68
05-19 15:46:57.313      121-121/? I/DEBUG﹕ 418a2c80 00000006 00000000 68917cf0 00000000
05-19 15:46:57.313      121-121/? I/DEBUG﹕ 418a2c90 418a2cc4 6abf19e8 62ad2ae0 6abb03b8
05-19 15:46:57.313      121-121/? I/DEBUG﹕ 418a2ca0 00000000 68917cf0 00000000 422bb7e8
05-19 15:46:57.313      121-121/? I/DEBUG﹕ 418a2cb0 418a2cdc 6abaa9a8 62ad2968 6abf19e8
05-19 15:46:57.313      121-121/? I/DEBUG﹕ 418a2cc0 00000000 422bb7e8 418a2d00 6abebab4
05-19 15:46:57.313      121-121/? I/DEBUG﹕ 418a2cd0 62aa8130 6abaa9a8 00000000 00000000
05-19 15:46:57.313      121-121/? I/DEBUG﹕ 418a2ce0 422bb7e8 00000000 421cffa0 418a2d1c
05-19 15:46:57.313      121-121/? I/DEBUG﹕ 418a2cf0 63e6343a 62aa1aa0 6abebab4 00000000
05-19 15:46:57.313      121-121/? I/DEBUG﹕ 418a2d00 421cffa0 421bd6c8 418a2d38 63ec0128
05-19 15:46:57.313      121-121/? I/DEBUG﹕ 418a2d10 6283a548 63e6343a 00000000 421bd7e0
05-19 15:46:57.313      121-121/? I/DEBUG﹕ 418a2d20 421bd6c8 418a2d68 63e8a634 6284eef0
05-19 15:46:57.313      121-121/? I/DEBUG﹕ 418a2d30 63ec0128 00000000 00000000 418a2d68
05-19 15:46:57.313      121-121/? I/DEBUG﹕ 418a2d40 421bd868 421bd868 00000000 421bbf00
05-19 15:46:57.313      121-121/? I/DEBUG﹕ 418a2d50 421bd6c8 418a2db0 63e887d8 628364d0
05-19 15:46:57.313      121-121/? I/DEBUG﹕ 418a2d60 63e8a634 00000000 421bcfe0 d8200019
05-19 15:46:57.313      121-121/? I/DEBUG﹕ memory near sp:
05-19 15:46:57.313      121-121/? I/DEBUG﹕ be9b5388 000000c7 000000c6 68920df0 4016e1b8
05-19 15:46:57.313      121-121/? I/DEBUG﹕ be9b5398 68920d28 40130f23 000000c7 a1d76ff8
05-19 15:46:57.313      121-121/? I/DEBUG﹕ be9b53a8 00000006 0000000b 00000a30 418a2c90
05-19 15:46:57.313      121-121/? I/DEBUG﹕ be9b53b8 418a2c90 4013309d 00000006 00000000
05-19 15:46:57.313      121-121/? I/DEBUG﹕ be9b53c8 be9b5444 401332b1 be9b53dc 40131fe7
05-19 15:46:57.313      121-121/? I/DEBUG﹕ be9b53d8 be9b5444 ffffffdf 4016a22c 00000000
05-19 15:46:57.313      121-121/? I/DEBUG﹕ be9b53e8 4016a22c 00000000 40178324 4016a22c
05-19 15:46:57.313      121-121/? I/DEBUG﹕ be9b53f8 be9b540c 40141900 00000a30 6b293edf
05-19 15:46:57.313      121-121/? I/DEBUG﹕ be9b5408 00000000 68920def 00000014 6b24460d
05-19 15:46:57.313      121-121/? I/DEBUG﹕ be9b5418 be9b5444 68920dee 68920d28 57248ded
05-19 15:46:57.313      121-121/? I/DEBUG﹕ be9b5428 be9b5444 41a383c8 00000000 6b248c13
05-19 15:46:57.313      121-121/? I/DEBUG﹕ be9b5438 40407e50 00000000 00000001 6b5cfbc4
05-19 15:46:57.313      121-121/? I/DEBUG﹕ be9b5448 6b5cfb68 00000000 00000000 00000000
05-19 15:46:57.313      121-121/? I/DEBUG﹕ be9b5458 686f2af8 686f2bbe 686f2bbe 6b5f2df8
05-19 15:46:57.323      121-121/? I/DEBUG﹕ be9b5468 00000010 686f2bc1 40401d00 403c24d1
05-19 15:46:57.323      121-121/? I/DEBUG﹕ be9b5478 40407e50 686f2bbe 686f2af8 6b5cfbd8
05-19 15:46:57.323      121-121/? I/DEBUG﹕ code around pc:
05-19 15:46:57.323      121-121/? I/DEBUG﹕ 40142028 e8bd00f0 e3700a01 912fff1e e2600000
05-19 15:46:57.323      121-121/? I/DEBUG﹕ 40142038 ea006e3d e92d50f0 e3a07f43 ef000000
05-19 15:46:57.323      121-121/? I/DEBUG﹕ 40142048 e8bd50f0 e3700a01 912fff1e e2600000
05-19 15:46:57.323      121-121/? I/DEBUG﹕ 40142058 ea006e35 e92d50f0 e3a070ee ef000000
05-19 15:46:57.323      121-121/? I/DEBUG﹕ 40142068 e8bd50f0 e3700a01 912fff1e e2600000
05-19 15:46:57.323      121-121/? I/DEBUG﹕ 40142078 ea006e2d f200429a bf0080cf f000f891
05-19 15:46:57.323      121-121/? I/DEBUG﹕ 40142088 4001e92d f040f891 d3532a10 0301ea80
05-19 15:46:57.323      121-121/? I/DEBUG﹕ 40142098 0303f013 806ef000 d3262ae0 0300f1c0
05-19 15:46:57.323      121-121/? I/DEBUG﹕ 401420a8 030ff013 eba2d021 ea5f0203 bf447cc3
05-19 15:46:57.323      121-121/? I/DEBUG﹕ 401420b8 eb01f811 eb01f800 f811bf21 f811cb01
05-19 15:46:57.323      121-121/? I/DEBUG﹕ 401420c8 f800eb01 f800cb01 ea5feb01 da037c43
05-19 15:46:57.323      121-121/? I/DEBUG﹕ 401420d8 080df9a1 083df980 f921d303 f900070d
05-19 15:46:57.323      121-121/? I/DEBUG﹕ 401420e8 f891071d f891f000 3a40f040 f891d30f
05-19 15:46:57.323      121-121/? I/DEBUG﹕ 401420f8 f891f080 f921f0c0 f921020d f891420d
05-19 15:46:57.323      121-121/? I/DEBUG﹕ 40142108 3a40f0c0 020df900 420df900 f102d2f3
05-19 15:46:57.323      121-121/? I/DEBUG﹕ 40142118 3a200240 f921d305 3a20020d 020df900
05-19 15:46:57.333      121-121/? I/DEBUG﹕ code around lr:
05-19 15:46:57.333      121-121/? I/DEBUG﹕ 4013307c 447b4b13 42b3e010 6a1ed10e 44784811
05-19 15:46:57.333      121-121/? I/DEBUG﹕ 4013308c ec84f7fb ea0ef00d 46224631 efd0f00e
05-19 15:46:57.333      121-121/? I/DEBUG﹕ 4013309c d00a3001 e00b2400 2b00681b 480ad1eb
05-19 15:46:57.333      121-121/? I/DEBUG﹕ 401330ac 44782403 ec72f7fb f001e002 6804fa23
05-19 15:46:57.333      121-121/? I/DEBUG﹕ 401330bc fa20f001 46206005 bf00bd70 0003b326
05-19 15:46:57.333      121-121/? I/DEBUG﹕ 401330cc 0003b31a 0003b312 0003b2ee bf7ef7ff
05-19 15:46:57.333      121-121/? I/DEBUG﹕ 401330dc 4a3e4b3d e92d447b b08b43f0 4606589c
05-19 15:46:57.333      121-121/? I/DEBUG﹕ 401330ec 6823460d 930946a1 fa04f001 8000f8d0
05-19 15:46:57.333      121-121/? I/DEBUG﹕ 401330fc d0482d00 f00f4628 280ffe91 d8444604
05-19 15:46:57.333      121-121/? I/DEBUG﹕ 4013310c ffe4f7ff d1064286 4629200f e8d8f00d
05-19 15:46:57.333      121-121/? I/DEBUG﹕ 4013311c d03c2800 482ee02e f7fb4478 482debb6
05-19 15:46:57.333      121-121/? I/DEBUG﹕ 4013312c e0154478 d11342b0 482b6a06 f7fb4478
05-19 15:46:57.333      121-121/? I/DEBUG﹕ 4013313c 4a2aec2e 46332120 a801447a f9b2f013
05-19 15:46:57.333      121-121/? I/DEBUG﹕ 4013314c a8012101 fcccf01a 46061c42 e011d104
05-19 15:46:57.333      121-121/? I/DEBUG﹕ 4013315c 28006800 e02cd1e6 46294630 f00d4622
05-19 15:46:57.333      121-121/? I/DEBUG﹕ 4013316c 1c43e914 d11e4607 f9c4f001 29046801
05-19 15:46:57.673      488-509/? I/BootReceiver﹕ Copying /data/tombstones/tombstone_04 to DropBox (SYSTEM_TOMBSTONE)
05-19 15:46:57.723  24412-25304/? W/CameraService﹕ Disconnecting camera client 0x40081460 since the binder for it died (this pid 24412)
05-19 15:46:57.723   24412-3301/? E/Surface﹕ queueBuffer: error queuing buffer to SurfaceTexture, -32
05-19 15:46:57.733   24412-3301/? E/NvOmxCamera﹕ Queue Buffer Failed. Skipping buffer.
05-19 15:46:57.733      488-597/? W/InputDispatcher﹕ channel '42b2dd68 fr.pchab.androidrtc/fr.pchab.androidrtc.RtcActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
05-19 15:46:57.733   24412-3301/? E/NvOmxCamera﹕ Dequeue Buffer Failed
05-19 15:46:57.733      488-597/? E/InputDispatcher﹕ channel '42b2dd68 fr.pchab.androidrtc/fr.pchab.androidrtc.RtcActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
05-19 15:46:57.743   24412-3301/? E/Surface﹕ queueBuffer: error queuing buffer to SurfaceTexture, -32
05-19 15:46:57.743   24412-3292/? W/CameraClient﹕ lockIfMessageWanted(16): dropped unwanted message
05-19 15:46:57.763   24412-3301/? E/NvOmxCamera﹕ Queue Buffer Failed. Skipping buffer.
05-19 15:46:57.763   24412-3301/? E/NvOmxCamera﹕ Dequeue Buffer Failed
05-19 15:46:57.773   24412-3301/? E/Surface﹕ queueBuffer: error queuing buffer to SurfaceTexture, -32
05-19 15:46:57.773   24412-3301/? E/NvOmxCamera﹕ Queue Buffer Failed. Skipping buffer.
05-19 15:46:57.773   24412-3301/? E/NvOmxCamera﹕ Dequeue Buffer Failed
05-19 15:46:57.783   24412-3301/? E/Surface﹕ queueBuffer: error queuing buffer to SurfaceTexture, -32
05-19 15:46:57.783   24412-3301/? E/NvOmxCamera﹕ Queue Buffer Failed. Skipping buffer.
05-19 15:46:57.783   24412-3301/? E/NvOmxCamera﹕ Dequeue Buffer Failed
05-19 15:46:57.793   24412-3301/? E/Surface﹕ queueBuffer: error queuing buffer to SurfaceTexture, -32
05-19 15:46:57.793   24412-3301/? E/NvOmxCamera﹕ Queue Buffer Failed. Skipping buffer.
05-19 15:46:57.793   24412-3301/? E/NvOmxCamera﹕ Dequeue Buffer Failed
05-19 15:46:57.793   24412-3301/? E/Surface﹕ queueBuffer: error queuing buffer to SurfaceTexture, -32
05-19 15:46:57.793   24412-3301/? E/NvOmxCamera﹕ Queue Buffer Failed. Skipping buffer.
05-19 15:46:57.793   24412-3301/? E/NvOmxCamera﹕ Dequeue Buffer Failed
05-19 15:46:57.843   24412-3301/? E/Surface﹕ queueBuffer: error queuing buffer to SurfaceTexture, -32
05-19 15:46:57.843   24412-3301/? E/NvOmxCamera﹕ Queue Buffer Failed. Skipping buffer.
05-19 15:46:57.843   24412-3301/? E/NvOmxCamera﹕ Dequeue Buffer Failed

How to Use VideoCaptureAndroid class for SetPreviewRotation method

Hello pchab,
i am trying to change my display orientation during video call in android . But when i am trying to do that local video stream is being inverted .can you please guide me on how to change screen orientation before or during the video call .Can i use the SetPreviewRotation for changing the rotation angle?.

how to join in a room

please help me how to join a room in android app

everything is working fine for me but im not able to join a room from android device
please tell me which function i have to call

i already tested oncallready and answer functions

how to import libjingle peerconnection library in this project

unable to run the project after importing to android studio.It is just showing that 'migrate to gradle build system'. Is there any advance setup required to run the project in android. Please any having the documentation to import and run the project in the android studio, share with me.

Thanks in Advance.

low framerate

Device used: HTC one MAX 8088, with four core, 2G memory(apps in memory cleaned)

Even I set the max/min framerate to 30, but framerate acquired is always low, by the logging information from android logcat, as following:

03-30 23:44:14.938 4693-4758/fr.pchab.AndroidRTC D/VideoCapturerAndroid﹕ startCapture requested: 1280x720@200
=========>> set to high resolution=================
Rendered: 300
03-30 23:44:57.353 4693-4754/fr.pchab.AndroidRTC D/VideoRendererGui﹕ Duration: 41133 ms. FPS: 7.293309847982598
03-30 23:44:57.353 4693-4754/fr.pchab.AndroidRTC D/VideoRendererGui﹕ Draw time: 5342 us. Copy time: 2339 us

========>>when setting to very low resolution(320*240)=================
Rendered: 750
03-30 23:25:20.057 3539-3553/fr.pchab.AndroidRTC D/VideoRendererGui﹕ Duration: 102651 ms. FPS: 7.306272833155133
03-30 23:25:20.057 3539-3553/fr.pchab.AndroidRTC D/VideoRendererGui﹕ Draw time: 1128 us. Copy time: 348 us

It's strange, without one FPS is improved!

No Audio/Video on Android client

Hi!

First of all: Nice project! But I have a little problem getting it running properly. The Problem is, that I cannot receive any video or audio data on the Android client, while Browser to Browser is working fine. But the strange thing is, that the Client is sending A/V data just fine.

Any suggestions?

PS: I've tried running nodejs version 0.8 and 0.10 with no difference. The problem persists on different Android devices with version 4.0.3, 4.0.4, 4.2.2 and 4.4.2.

Thank you very much in advance!!

Having trouble opening your project using Android Studio

Hi,

I'm very interested in trying your Android client and I see from the latest check-in that you are using Android Studio. I'm pretty new to all this and when I try to open the source in Android Studio as an existing project, it says it can't find some gradle settings.

Any hints on how I would open your project in Android Studio would be greatly appreciated.

Thanks!
Barry

Can't connect when behind proxy server

I was doing demo with your code couple of days ago. I realized I was not able to connect when I was behind the proxy. On further inspection, I found that issue is with the android-websocket library that you are using. The author of this library has declared this library deprecated. Also, in his new libraries he is not looking into this issue.

Have you yourself found any work around for this problem? Kindly, let me know if you have any work around.

Thanks

libjingle_peerconnection_so.so version?

I am using this project to do live stream between two android device. My question is What version of the libjingle_peerconnection_so.so ?
How to make the andoroidRTC project libjingle_peerconnection_so.so?
If i want to debug libjingle_peerconnection_so.so, how can i debug it?

Incompatible with Socket.io 1.2.1

Updated socket.io in server (nodejs) to the latest version (1.2.1) due to some stabilities problems. Now it seems impossible to connect my droid app.

How can i remove the stream surface view

I am using this project to do live stream between two android device. My question is how can i remove the view that show the camera stream of other peer, because when you got disconnected with the peer it still show that view and when you connect again it add one more view. So how can i remove that view??

App crashes on pressing Back button

When I press the back button on RtcActivity, the app crashes on 'videoSource.dispose()' inside 'WebRtcClient->onDestroy()' method. Looking at the issues list, this seems to be a fixed, but I am still witnessing this. I am using API level 21 and build tools 21.1.2. Following is the error message I see in Logcat:

Fatal error in ../../talk/app/webrtc/java/jni/peerconnection_jni.cc, line 926
Check failed: 0 == (reinterpret_cast(j_p))->Release() (0 vs. 1)
Unexpected refcount.

P.S: I did not choose any option to 'Call someone', I just pressed the back button to dismiss the chooser. Also, there was no inbound connection i.e. no one was viewing my stream.

How can i improve the sound quality

I am facing sound quality issues. The video quality of stream is fine but audio is not so great there is echo and noise in the sound. How can i improve the sound quality?

App not working when using difference Network

Dear Sir,

I have configured ProjectRTC and it is successfully running in my PC browser. When I run AndroidRTC it works fine. Because both Android mobile and PC are in the same network. But when changed the PC to another network, I get a black screen in my Android app. Please help me to resolve this issue. I have gone and found that we have to use TURN or STUN server using ICE framework. Please help me to connect TURN server from my Android RTC.

Android java.lang.NullPointerException

when i build apk, and load in andorid 4.4.4 os, I got follow errors. when i open the url sended by app。

11-03 16:42:55.243 21404-21494/fr.pchab.AndroidRTC E/libjingle﹕ Error(webrtcvideoengine.cc:1265): webrtc: (voe_audio_processing_impl.cc:990): virtual int webrtc::VoEAudioProcessingImpl::SetTypingDetectionStatus(bool): not supported

11-03 16:43:11.594 21404-21404/fr.pchab.AndroidRTC E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: fr.pchab.AndroidRTC, PID: 21404
java.lang.NullPointerException
at org.webrtc.PeerConnection.addStream(PeerConnection.java:149)
at fr.pchab.AndroidRTC.WebRtcClient$Peer.(WebRtcClient.java:246)
at fr.pchab.AndroidRTC.WebRtcClient.addPeer(WebRtcClient.java:331)
at fr.pchab.AndroidRTC.WebRtcClient.access$1000(WebRtcClient.java:28)
at fr.pchab.AndroidRTC.WebRtcClient$MessageHandler.onEvent(WebRtcClient.java:144)
at com.koushikdutta.async.http.socketio.EventEmitter.onEvent(EventEmitter.java:26)
at com.koushikdutta.async.http.socketio.SocketIOConnection$8$1.run(SocketIOConnection.java:396)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5014)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:806)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
at dalvik.system.NativeStart.main(Native Method)
11

NullPointer Exception

Hi Pierre, first of all fantastic work with both client and server side implementation.
I ran into an issue
java.lang.RuntimeException: Unable to destroy activity {fr.pchab.androidrtc/fr.pchab.androidrtc.RtcActivity}: java.lang.NullPointerException
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3661)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3679)
at android.app.ActivityThread.access$1200(ActivityThread.java:162)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1417)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5371)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at fr.pchab.webrtcclient.WebRtcClient.onDestroy(WebRtcClient.java:121)
at fr.pchab.androidrtc.RtcActivity.onDestroy(RtcActivity.java:118)
at android.app.Activity.performDestroy(Activity.java:5291)
at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1112)
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3648)
            at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3679)
            at android.app.ActivityThread.access$1200(ActivityThread.java:162)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1417)
            at android.os.Handler.dispatchMessage(Handler.java:107)
            at android.os.Looper.loop(Looper.java:194)
            at android.app.ActivityThread.main(ActivityThread.java:5371)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:525)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
            at dalvik.system.NativeStart.main(Native Method)

The only filed I modified is strings.xml and it looks like this

AndroidRTC copout-designcoderio.rhcloud.com 8080 Options

Any ideas what could go wrong, your videoSource variable is basically null in the WebRtcClient.java
Thanks in advance for your response

Green screen issue

Some time when i try to connect it shows the green screen I don't know the reason why it's happening. Can you help me here.

Is it possible to change the Audio Codec used?

While running the app on my phone, when I check the logs on Eclipse, I find that it sets the audio codec as Opus at 32kbits. Since the internet connection I am using is pretty poor, is it possible to adjust the SendCodec bitrate to a lower value in your app for better audio?

Also, would it help to use the compiled library for Google's WebRTCDemo and create a VoiceEngine and simply edit the sendcodec?

Thanks.

How to connect to ProjectRTC via https?

Hi,
AndroidRTC works well with ProjectRTC vis http. However, AndroidRTC always crashed if I setup ProjectRTC as https. e.g. modify app.listen as:
var server = https.createServer(options, app).listen(app.get('port'));
// var server = app.listen(app.get('port'), function(){
// console.log('Express server listening on port ' + app.get('port'));
// });
I have put my ssl cert and key file into options, and this works well for web <-> web.

Android app crashes on second call

everything works fine on the first call but a soon as i call again the app crashes and nothing is shown in logcat but sometimes these errors come. but not always.
what is the solution
06-25 16:31:49.454: E/libEGL(7407): call to OpenGL ES API with no current context (logged once per thread)
06-25 16:28:56.286: A/libc(6942): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 7270 (EventThread)

Scheme 'wss' not registered

I'm attempting to hit a secure web socket endpoint and get this error. Any suggestions?

02-08 22:45:13.452 22103-22178/? E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #1
Process: fr.pchab.AndroidRTC, PID: 22103
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:300)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
Caused by: java.lang.IllegalStateException: Scheme 'wss' not registered.
at org.apache.http.conn.scheme.SchemeRegistry.getScheme(SchemeRegistry.java:80)
at org.apache.http.impl.conn.ProxySelectorRoutePlanner.determineRoute(ProxySelectorRoutePlanner.java:157)
at org.apache.http.impl.client.DefaultRequestDirector.determineRoute(DefaultRequestDirector.java:596)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:293)
at org.apache.http.impl.client.AbstractHttpClient$1.executeRequestSending(AbstractHttpClient.java:636)
at org.apache.http.impl.client.naf.redirect.NafRequestExecutorWrapperRedirectionHandler.executeRequestSendingUsual(NafRequestExecutorWrapperRedirectionHandler.java:96)
at org.apache.http.impl.client.naf.redirect.NafRequestExecutorWrapperRedirectionHandler.executeRequestSending(NafRequestExecutorWrapperRedirectionHandler.java:73)
at org.apache.http.impl.client.naf.auth.NafHttpAuthStrategyDefault.sendFirstRequest(NafHttpAuthStrategyDefault.java:488)
at org.apache.http.impl.client.naf.auth.NafHttpAuthStrategyDefault.performAuthExecutionUnsafe(NafHttpAuthStrategyDefault.java:389)
at org.apache.http.impl.client.naf.auth.NafHttpAuthStrategyDefault.performAuthExecution(NafHttpAuthStrategyDefault.java:200)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:566)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:512)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:490)
at android.net.http.AndroidHttpClient.execute(AndroidHttpClient.java:303)
at com.koushikdutta.http.AsyncHttpClient$1.doInBackground(AsyncHttpClient.java:72)
at com.koushikdutta.http.AsyncHttpClient$1.doInBackground(AsyncHttpClient.java:63)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)

androidrtc application exit

androidRTC application exit when more then 3 peer connected in call on web
i also increase MAX_PEER =10 then androidrtc application exit and logcat show this
Warning(webrtcvideoengine.cc:1265): webrtc: Too long processing time of Incoming frame: 73ms

Black Screen error

Hello

I just downloaded the app to try it on my computer.
But when i run it only a black screen appear. No button or anything. (while the HowTo section speak of such button). I tried on a tablet, on a android nexus and on emulator.

Anybody got such error ? I would really like to try and use that app for a personal project ^^

Here is what's printed in the log :

03-27 19:50:49.899: D/AudioRecordJni(22909): BuiltInAECIsAvailable@[tid=22964]
03-27 19:50:49.899: D/HelpersAndroid(22909): Attaching thread to JVM@[tid=22964]
03-27 19:50:49.903: D/HelpersAndroid(22909): Detaching thread from JVM@[tid=22964]
03-27 19:50:49.903: D/AudioRecordJni(22909): EnableBuiltInAEC@[tid=22964]
03-27 19:50:49.903: D/HelpersAndroid(22909): Attaching thread to JVM@[tid=22964]
03-27 19:50:49.904: D/WebRtcAudioRecord(22909): EnableBuiltInAEC(true)
03-27 19:50:49.904: D/HelpersAndroid(22909): Detaching thread from JVM@[tid=22964]
03-27 19:50:49.904: I/libjingle(22909): Disabling EC since built-in EC will be used instead
03-27 19:50:49.904: I/libjingle(22909): High pass filter enabled? 1
03-27 19:50:49.904: I/libjingle(22909): Stereo swapping enabled? 0
03-27 19:50:49.904: I/libjingle(22909): Typing detection is enabled? 0
03-27 19:50:49.905: E/libjingle(22909): Error(webrtcvoiceengine.cc:1404): webrtc: (voe_audio_processing_impl.cc:1005): virtual int webrtc::VoEAudioProcessingImpl::SetTypingDetectionStatus(bool): not supported
03-27 19:50:49.905: W/libjingle(22909): Warning(webrtcvoiceengine.cc:928): SetTypingDetectionStatus(0) failed, err=8003
03-27 19:50:49.905: I/libjingle(22909): Adjust agc delta is 0
03-27 19:50:49.905: I/libjingle(22909): Adjusting AGC level from default -3dB to -3dB
03-27 19:50:49.905: I/libjingle(22909): Aec dump is enabled? 0
03-27 19:50:49.905: I/libjingle(22909): Experimental aec is enabled? 0
03-27 19:50:49.905: I/libjingle(22909): Experimental ns is enabled? 0
03-27 19:50:49.909: I/libjingle(22909): Setting microphone to (id=0, name=Default device) and speaker to (id=0, name=Default device)
03-27 19:50:49.909: W/libjingle(22909): Warning(webrtcvoiceengine.cc:1404): webrtc: SetRecordingChannel() unable to set the recording channel (error=10028)
03-27 19:50:49.909: E/libjingle(22909): Error(webrtcvoiceengine.cc:1404): webrtc: failed to enable stereo recording
03-27 19:50:49.909: W/libjingle(22909): Warning(webrtcvoiceengine.cc:1404): webrtc: SetRecordingDevice() failed to set mono recording mode (error=8090)
03-27 19:50:49.910: E/libjingle(22909): Error(webrtcvoiceengine.cc:1404): webrtc: stereo playout is not supported
03-27 19:50:49.910: W/libjingle(22909): Warning(webrtcvoiceengine.cc:1404): webrtc: SetPlayoutDevice() failed to set stereo playout mode (error=8090)
03-27 19:50:49.910: I/libjingle(22909): Set microphone to (id=0 name=Default device) and speaker to (id=0 name=Default device)
03-27 19:50:49.916: I/libjingle(22909): Making key pair
03-27 19:50:49.929: D/VideoRendererGui(22909): VideoRendererGui.onSurfaceChanged: 1196 x 718
03-27 19:50:51.058: I/libjingle(22909): Returning key pair
03-27 19:50:51.058: I/libjingle(22909): Making certificate for WebRTC
03-27 19:50:51.066: I/libjingle(22909): Returning certificate

Thx in advance for the answer ^^

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.