Git Product home page Git Product logo

webrtc-android-codelab's Introduction

Update

As many might have noticed, I haven't been updating this codelab. It has been some time since I worked with WebRTC but it is in my to-do list to get this updated with as much information as possible. For now, I assume this is broken. PRs are welcome until I get the time to fix it myself. I am pretty sure the Signaling and ICE Servers are not working anymore. For ICE, I used a service - Xirsys which changed their APIs and pricing structure. You would have to look for alternatives (or install Coturn on an AWS instance to run the TURN servers yourself). For Signaling, it is not meant to be production ready. It requires a lot of changes to make it work.

I would recommend looking at https://webrtc.org/getting-started/firebase-rtc-codelab for using Firebase for signalling. I intend on getting the following done

  • Make change to the app code so that it uses Firebase for signalling and that would mean you can use Firebase RTC Codelab above to get the web component
  • Try to create a multi-peer mesh network (smaller group calls without the need for a media server)
  • Screen sharing support for mobiles

I don't have a timeline on when I can get to these. If someone wants to collaborate with me on this, I would love to see some PRs.

Thank you for the support!

webrtc-android-codelab

An attempt to provide a codelab for Webrtc in Android - Similar to codelab for web at https://codelabs.developers.google.com/codelabs/webrtc-web/

More at : https://vivekc.xyz/getting-started-with-webrtc-for-android-daab1e268ff4

Setup Instructions

The test setup contains of three components:

  1. Signaling server
  2. WebRTC Android App
  3. WebRTC example web site

Important: The IP address of the signaling server is hardcoded to 192.168.178.207 and need to be changed in files SignallingClient.java and main.js.

Build Android App Client

  • "Open an existing Android Studio project"
  • Select the Step-3 folder
  • On "Unable to get Gradle wrapper properties from:" click "Ok" to recreate gradle files
  • Ignore/Cancel all git related questions
  • Agree to update Gradle
  • Now a warning appears, agree to "Remove Build Tools version and sync project"
  • Select "Files" "Sync Project with Gradle Files"
  • Building and installing the App should work at this point

Start Signaling Server

The signaling server works uses npm and nodejs:

cd signalling
npm install
node index.js

The last command start the signalling server.

Start Web Client

cd signalling
python3 -m http.server

Now open http://localhost:8000 in the browser. You can use a different web server as the python buildin, of course.

How to enable HTTPS

Change http to https in signalling/index.js, signalling/js/main.js and Step-3/app/src/main/java/xyz/vivekc/webrtccodelab/SignallingClient.java.

Then create files key.pem and cert.pem (e.g. with openssl) and uncomment the key options in signalling/index.js.

Command to create key.pem and cert.pem:

openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem

webrtc-android-codelab's People

Contributors

mwarning avatar pulimento avatar shivamag00 avatar vivek1794 avatar wnieves19 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

webrtc-android-codelab's Issues

How do I Mute Microphone ?

I wanted to implement some of the features here, how do I do that

  1. Turn off/mute local microphone
  2. Turn off local video streaming

Step3 is not working.

I have run the step3 application on Chrome Browser and Android app. Localvideo is working and remote video is not working.... what I missed?

can't receive remote stream

Hello, I've implemented step 3. Oddly, I could receive the remote video/sound stream only once.

  1. I get the ice servers
  2. I set up my socket.io server properly and it communicates with my app properly.
  3. the first user creates the room successfully
  4. the second user joins the room successfully.

But in the end, the remote video does not appear, only the local one.

Did anybody experience this?

Thanks

Step 2 - need to be updated

Hi

Step 2 nedds to be updated because I have problems to get the video preview.
Im using the version 11โ€“8โ€“2017 specified in step 1(19324.aar)
in MainActivity, you use
VideoCapturerAndroid.create(name, eventsHandler)
but in the mentioned webrtc version, this class was removed

I tried to put the method from step 1 but the preview still show black screen

Regards

livecast streaming

I am new to webrtc and i want to ask:
How can i make livecast streaming ?, means one device(sender) will broadcast and the others(receiver) will watch it.

Any one have simple guide to achieve it or from where can I start?

JNI DETECTED ERROR IN APPLICATION: can't call java.util.List org.webrtc.MediaConstraints

When I running app and try to open another app on same room and same URI I have message: join to room on first app running . But after that maked crashing with this error
JNI DETECTED ERROR IN APPLICATION: can't call java.util.List org.webrtc.MediaConstraints
Is it related to the number of ICE servers as mentioned here https://stackoverflow.com/questions/41788702/android-webrtc-jni-error-app-bug-local-reference-table-overflow-max-512

Step-1: SurfaceViewRenderer cannot be converted to Callbacks

Hello, I am doing the very first step but I met a problem in the last line of code in MainActivity:

localVideoTrack.addRenderer(new VideoRenderer(videoView));

Is this connected with the library which I use? I got it from here:
implementation 'org.webrtc:google-webrtc:1.0.23171'

How to implement only Voice call

First of all Thx for such great step wise sample.
I need to implement only voice call . I have successfully runs the demo you provided .
But i am unable to implement only Voice calls. Do we need VideoRenderer and SurfaceViewRenderer to create voice only call ? Please provide a solution . I m currently following Step3 Thx

` localPeer = peerConnectionFactory.createPeerConnection(rtcConfig, new CustomPeerConnectionObserver("localPeerCreation") {
@OverRide
public void onIceCandidate(IceCandidate iceCandidate) {
super.onIceCandidate(iceCandidate);
onIceCandidateReceived(iceCandidate);
}

        @Override
        public void onAddStream(MediaStream mediaStream) {
            super.onAddStream(mediaStream);
            if(mediaStream.audioTracks.size() > 0) {
                remoteAudioTrack = mediaStream.audioTracks.get(0);
                remoteAudioTrack.setEnabled(true);
            }
        }
    });`

I am receiving the remoteAudioTrack but how to use it ?

Video freezes after 1 frame on Android

Hi,
Great codelab.
If I use web & android - it works. both direction - audio & video.
if I try to get 2 android devices on the same WIFI - the remote video stops rendering video and goes black after 1 frame.
Audio sometimes continues, video sometimes return in low resolution when the Ice negotiation restarted somehow - any ideas?
Here is the log compare from the 2 configurations.
https://www.diffchecker.com/bPAi8QMK

Here is the gotRemotestream code
remotevideoTrack = stream.videoTracks.get(0);
runOnUiThread(() -> {
try {
remoteVideoView.setVisibility(View.VISIBLE);
remotevideoTrack.addSink(remoteVideoView);
} catch (Exception e) {
e.printStackTrace();
Log.e(TAG,"gotRemoteStream::"+ e.toString());
}
});

Also - the ice negotiation fails

2022-03-08 22:00:19.155 D/arbelhomesecurityTAG: Json Received :: {"type":"answer","sdp":"v=0\r
2022-03-08 22:00:19.162 D/arbelhomesecurityTAG: onSignalingChange() called with: signalingState = [STABLE]
2022-03-08 22:00:19.328 D/arbelhomesecurityTAG: onIceConnectionChange() called with: iceConnectionState = [CHECKING]
2022-03-08 22:00:19.330 D/arbelhomesecurityTAG: onAddTrack() called with: rtpReceiver = [org.webrtc.RtpReceiver@f13f74e], mediaStreams = [[Lorg.webrtc.MediaStream;@52e406f]
2022-03-08 22:00:19.335 D/arbelhomesecurityTAG: onAddTrack() called with: rtpReceiver = [org.webrtc.RtpReceiver@12d717c], mediaStreams = [[Lorg.webrtc.MediaStream;@ad54a05]
2022-03-08 22:00:19.335 D/arbelhomesecurityTAG: onAddStream() called with: mediaStream = [[102:A=1:V=1]]
2022-03-08 22:00:19.335 D/arbelhomesecurityTAG: gotRemoteStream
2022-03-08 22:00:19.337 D/arbelhomesecurityTAG: onSetSuccess() called
2022-03-08 22:00:19.339 D/arbelhomesecurityTAG: message call() called with: args = [[{"type":"candidate","label":0,"id":"audio","candidate"]
2022-03-08 22:00:19.340 D/arbelhomesecurityTAG: Json Received :: {"type":"candidate","label":0,
2022-03-08 22:00:19.344 D/arbelhomesecurityTAG: message call() called with: args = [[{"type":"candidate","label":0,"id":"audio","candidate"]
2022-03-08 22:00:19.344 D/arbelhomesecurityTAG: Json Received :: {"type":"candidate","label":0,
2022-03-08 22:00:19.349 D/arbelhomesecurityTAG: message call() called with: args = [[{"type":"candidate","label":0,"id":"audio","candidate"]
2022-03-08 22:00:19.349 D/arbelhomesecurityTAG: Json Received :: {"type":"candidate","label":0,
2022-03-08 22:00:19.351 D/arbelhomesecurityTAG: message call() called with: args = [[{"type":"candidate","label":0,"id":"audio","candidate"]
2022-03-08 22:00:19.351 D/arbelhomesecurityTAG: Json Received :: {"type":"candidate","label":0,
2022-03-08 22:00:19.403 D/arbelhomesecurityTAG: onIceCandidate() called with: iceCandidate = [audio:0:candidate:505434299 1 udp 2122129151 192.168.1.6 57718 typ host generation 0 ufrag YE/y network-id 5 network-cost 900::UNKNOWN]
2022-03-08 22:00:19.403 D/arbelhomesecurityTAG: RoomNamew:vivek17
2022-03-08 22:00:19.544 D/arbelhomesecurityTAG: log call() called with: args = [[["Message from server:","Client said: ",{"type":"candidate","label":0,"id":"audio","candidate":"candidate:505434299 1 udp 2122129151 192.168.1.6 57718 typ host generation 0 ufrag YE/y network-id 5 network-cost 900"}]]]
2022-03-08 22:00:19.756 D/arbelhomesecurityTAG: onIceConnectionChange() called with: iceConnectionState = [CONNECTED]
2022-03-08 22:00:29.342 D/arbelhomesecurityTAG: onIceConnectionChange() called with: iceConnectionState = [DISCONNECTED]
2022-03-08 22:00:39.336 D/arbelhomesecurityTAG: onIceConnectionChange() called with**: iceConnectionState = [FAILED]**

I have tried many combinations of the code - nothing changed the end result.
Thanks,
Kfir

Even if the activity, which contains the local_gl_surface_view, is destroyed the "I/org.webrtc.Logging" still keeps logging until that activity is created again or the application is altogether closed.

I have released the local_gl_surface_view in onDestroy(). If I don't then the message in the logs changes from:
I/org.webrtc.Logging: EglRenderer: local_gl_surface_viewDropping frame - Not initialized or already released.
to:
I/org.webrtc.Logging: EglRenderer: local_gl_surface_viewDropping frame - No surface.

Should I worry about the appearance of the above message in the logs?
If I should, please help me in getting rid of this message.

webrtc works via WiFi but does not work via LTE

Hello!
My problem is that I can't create a successful connection between an Android app (LTE/4G/3G) and a Deskop app written in JavaScript (connected to WiFi).

Where can I get the addresses of STUN/TURN servers and how do I install them in the application.

Thanks.Valeriy

node error

TypeError: mime.lookup is not a function
at Server.respond (G:\pengwb\webrtc-android-codelab-master\signalling\node_modules\node-static\lib\node-static.js:348:28)
at G:\pengwb\webrtc-android-codelab-master\signalling\node_modules\node-static\lib\node-static.js:64:22
at FSReqWrap.oncomplete (fs.js:155:5)

VideoCapturerAndroid is deprecated in webrtc:1.0.22379

Hello,
I was following your code but in that time i figure out that VideoCapturerAndroid is deprecated and in your step-2 you are using library from lib.
in step-1 you show how to capture video ok i agree with you. But if i can't use VideoCapturerAndroid then how i manage events or handle the CustomCameraEventsHandler which implements CameraEventsHandler.
If you figure out any way please share with us.

SIGSEGV in nativeAddLocalStream

I try to built an Android WebRTC application. Currently I'm receiving the this error:

04-10 15:40:13.082 10122-10122/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 10122 (...), pid 10122 (...)

and I have no clue why? The weird thing is that I can't really say when and why it started because the app was running flawless before.

I tried to find the error and with the help of some debugging I found out the error originates in

    MediaStream stream = peerConnectionFactory.createLocalMediaStream("102");
    stream.addTrack(localAudioTrack);
    stream.addTrack(localVideoTrack);
    localPeer.addStream(stream);

where localPeer is my local PeerConnection.

Does anybody have any idea how to solve this?

The whole stacktrace is:

04-10 15:40:13.139 10208-10208/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    Build fingerprint: 'google/bullhead/bullhead:8.1.0/OPM3.171019.016/4565142:user/release-keys'
    Revision: 'rev_1.0'
    ABI: 'arm64'
    pid: 10122, tid: 10122, name: emoteassistance  >>> dropslab.bruno.remoteassistance <<<
    signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
    Cause: null pointer dereference
        x0   0000000000000000  x1   0000007ff93b1010  x2   0000000000000000  x3   00000078166e217a
        x4   0000007ff93b0ff0  x5   0000007800bb6465  x6   0000000000000002  x7   0000007ff93b0fb0
        x8   569406812e3f47b7  x9   569406812e3f47b7  x10  0000000000430000  x11  00000078167a07a8
        x12  0000000000000008  x13  0000007ff93b059c  x14  00000078166bab20  x15  0000000000000000
        x16  0000000000000000  x17  0000007ff93b059c  x18  0000000013077e48  x19  00000077ff236df0
        x20  0000000000000000  x21  00000078168bea00  x22  0000007ff93b153c  x23  0000007800bf892b
        x24  000000000000000c  x25  000000789b444a40  x26  00000078168beaa0  x27  0000000000000003
        x28  0000007ff93b1270  x29  0000007ff93b1240  x30  00000077fd4c443c
        sp   0000007ff93b1230  pc   00000077fd4c443c  pstate 0000000060000000
04-10 15:40:13.142 3253-10222/? E/mm-camera-img: module_imglib_start_session:1778 ###Img_Loglevel 1
04-10 15:40:13.145 3253-10219/? E/mm-camera: q3a_port_init:1753  q3a_port_init: 3A VERSION --> 4.1.0.r9
04-10 15:40:13.146 3253-10217/? E/mm-camera-isp2: isp_module_start_session:360 num_session_opened 1
04-10 15:40:13.160 3253-10232/? E/libaprpmem:  Ion allocation success virtaddr : ret=3951620096 fd=38 heapid=33554432
04-10 15:40:13.163 3253-10232/? E/libaprpmem:  Ion allocation success virtaddr : ret=3947651072 fd=41 heapid=33554432
04-10 15:40:13.166 3253-10232/? E/libaprpmem:  Ion allocation success virtaddr : ret=3939713024 fd=42 heapid=33554432
04-10 15:40:13.168 10208-10208/? A/DEBUG: backtrace:
        #00 pc 00000000005bf43c  /data/app/dropslab.bruno.remoteassistance-AB_bvseEj1CPHtgYD8nSiw==/lib/arm64/libjingle_peerconnection_so.so (offset 0x21b000) (Java_org_webrtc_PeerConnection_nativeAddLocalStream+28)
        #01 pc 0000000000553bf0  /system/lib64/libart.so (art_quick_generic_jni_trampoline+144)
        #02 pc 000000000054ab88  /system/lib64/libart.so (art_quick_invoke_stub+584)
        #03 pc 00000000000dc594  /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+204)
        #04 pc 000000000029b49c  /system/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+344)
        #05 pc 0000000000295a90  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+700)
        #06 pc 0000000000533d68  /system/lib64/libart.so (MterpInvokeDirect+356)
        #07 pc 000000000053ca14  /system/lib64/libart.so (ExecuteMterpImpl+14484)
        #08 pc 0000000000275c00  /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444)
        #09 pc 000000000027b7cc  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+216)
        #10 pc 0000000000295a70  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+668)
        #11 pc 0000000000532ad8  /system/lib64/libart.so (MterpInvokeVirtual+652)
        #12 pc 000000000053c914  /system/lib64/libart.so (ExecuteMterpImpl+14228)
        #13 pc 0000000000275c00  /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444)
        #14 pc 000000000027b7cc  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+216)
        #15 pc 0000000000295a70  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+668)
        #16 pc 0000000000533d68  /system/lib64/libart.so (MterpInvokeDirect+356)
        #17 pc 000000000053ca14  /system/lib64/libart.so (ExecuteMterpImpl+14484)
        #18 pc 0000000000275c00  /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444)
        #19 pc 000000000027b7cc  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+216)
        #20 pc 0000000000295a70  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+668)
        #21 pc 0000000000533d68  /system/lib64/libart.so (MterpInvokeDirect+356)
        #22 pc 000000000053ca14  /system/lib64/libart.so (ExecuteMterpImpl+14484)
        #23 pc 0000000000275c00  /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444)
        #24 pc 000000000027b7cc  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+216)
        #25 pc 0000000000295a70  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+668)
        #26 pc 0000000000532ad8  /system/lib64/libart.so (MterpInvokeVirtual+652)
        #27 pc 000000000053c914  /system/lib64/libart.so (ExecuteMterpImpl+14228)
        #28 pc 0000000000275c00  /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444)
        #29 pc 000000000027b7cc  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+216)
        #30 pc 0000000000295a70  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+668)
        #31 pc 0000000000533ab8  /system/lib64/libart.so (MterpInvokeInterface+1576)
        #32 pc 000000000053cb14  /system/lib64/libart.so (ExecuteMterpImpl+14740)
        #33 pc 0000000000275c00  /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444)
        #34 pc 000000000027b7cc  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+216)
        #35 pc 0000000000295a70  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+668)
        #36 pc 0000000000532ad8  /system/lib64/libart.so (MterpInvokeVirtual+652)
        #37 pc 000000000053c914  /system/lib64/libart.so (ExecuteMterpImpl+14228)
        #38 pc 0000000000275c00  /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444)
        #39 pc 000000000027b7cc  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+216)
04-10 15:40:13.169 10208-10208/? A/DEBUG:     #40 pc 0000000000295a70  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+668)
        #41 pc 0000000000532ad8  /system/lib64/libart.so (MterpInvokeVirtual+652)
        #42 pc 000000000053c914  /system/lib64/libart.so (ExecuteMterpImpl+14228)
        #43 pc 0000000000275c00  /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444)
        #44 pc 000000000027b7cc  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+216)
        #45 pc 0000000000295a70  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+668)
        #46 pc 0000000000533d68  /system/lib64/libart.so (MterpInvokeDirect+356)
        #47 pc 000000000053ca14  /system/lib64/libart.so (ExecuteMterpImpl+14484)
        #48 pc 0000000000275c00  /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444)
        #49 pc 000000000027b7cc  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+216)
        #50 pc 0000000000295a70  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+668)
        #51 pc 0000000000532ad8  /system/lib64/libart.so (MterpInvokeVirtual+652)
        #52 pc 000000000053c914  /system/lib64/libart.so (ExecuteMterpImpl+14228)
        #53 pc 0000000000275c00  /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444)
        #54 pc 000000000027b7cc  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+216)
        #55 pc 0000000000295a70  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+668)
        #56 pc 0000000000532ad8  /system/lib64/libart.so (MterpInvokeVirtual+652)
        #57 pc 000000000053c914  /system/lib64/libart.so (ExecuteMterpImpl+14228)
        #58 pc 0000000000275c00  /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444)
        #59 pc 000000000027b7cc  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+216)
        #60 pc 0000000000295a70  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+668)
        #61 pc 0000000000532ad8  /system/lib64/libart.so (MterpInvokeVirtual+652)
        #62 pc 000000000053c914  /system/lib64/libart.so (ExecuteMterpImpl+14228)
        #63 pc 0000000000275c00  /system/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+444)

Here is the stacktrace now please solve this issue or give any idea, for solving this

text.txt
Here is the stacktrace now please solve this issue or give any idea, for solving this
06-13 12:55:46.177 955-990/xyz.vivekc.webrtccodelab E/EGL_emulation: eglQueryContext 32c0 EGL_BAD_ATTRIBUTE
tid 990: eglQueryContext(1822): error 0x3004 (EGL_BAD_ATTRIBUTE)
06-13 12:56:03.731 955-955/xyz.vivekc.webrtccodelab A/zygote: java_vm_ext.cc:534] JNI DETECTED ERROR IN APPLICATION: can't call java.util.List org.webrtc.MediaConstraints.getMandatory() on null object
java_vm_ext.cc:534] in call to CallObjectMethodV
java_vm_ext.cc:534] from void org.webrtc.PeerConnection.nativeCreateOffer(org.webrtc.SdpObserver, org.webrtc.MediaConstraints)
java_vm_ext.cc:534] "main" prio=5 tid=1 Runnable
06-13 12:56:03.732 955-955/xyz.vivekc.webrtccodelab A/zygote: java_vm_ext.cc:534] | group="main" sCount=0 dsCount=0 flags=0 obj=0x731ce978 self=0xf2c59000
java_vm_ext.cc:534] | sysTid=955 nice=-10 cgrp=default sched=0/0 handle=0xf75f4514
java_vm_ext.cc:534] | state=R schedstat=( 1387113442 1356070006 695 ) utm=87 stm=51 core=0 HZ=100
java_vm_ext.cc:534] | stack=0xff2a1000-0xff2a3000 stackSize=8MB
java_vm_ext.cc:534] | held mutexes= "mutator lock"(shared held)
java_vm_ext.cc:534] native: #00 pc 0047eae1 /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*)+209)
java_vm_ext.cc:534] native: #1 pc 0057c193 /system/lib/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits>&, bool, BacktraceMap*, bool) const+355)
java_vm_ext.cc:534] native: #2 pc 00577693 /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits>&, bool, BacktraceMap*, bool) const+83)
java_vm_ext.cc:534] native: #3 pc 00395256 /system/lib/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1254)
java_vm_ext.cc:534] native: #4 pc 003956c1 /system/lib/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, char*)+113)
java_vm_ext.cc:534] native: #5 pc 0014f207 /system/lib/libart.so (art::ScopedCheck::AbortF(char const*, ...)+71)
java_vm_ext.cc:534] native: #6 pc 00152e7e /system/lib/libart.so (art::ScopedCheck::CheckMethodAndSig(art::ScopedObjectAccess&, _jobject*, _jclass*, _jmethodID*, art::Primitive::Type, art::InvokeType)+1566)
java_vm_ext.cc:534] native: #7 pc 00151a3d /system/lib/libart.so (art::CheckJNI::CallMethodV(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, char*, art::Primitive::Type, art::InvokeType)+973)
java_vm_ext.cc:534] native: #8 pc 0013d30b /system/lib/libart.so (art::CheckJNI::CallObjectMethodV(_JNIEnv*, _jobject*, _jmethodID*, char*)+75)
java_vm_ext.cc:534] native: #9 pc 00004187 /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (???)
java_vm_ext.cc:534] native: #10 pc 00469902 /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (???)
06-13 12:56:03.733 955-955/xyz.vivekc.webrtccodelab A/zygote: java_vm_ext.cc:534] native: #11 pc 0046b00e /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (Java_org_webrtc_PeerConnection_nativeCreateOffer+66)
java_vm_ext.cc:534] native: #12 pc 000036e8 /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/oat/x86/base.odex (Java_org_webrtc_PeerConnection_nativeCreateOffer__Lorg_webrtc_SdpObserver_2Lorg_webrtc_MediaConstraints_2+168)
java_vm_ext.cc:534] at org.webrtc.PeerConnection.nativeCreateOffer(Native method)
java_vm_ext.cc:534] at org.webrtc.PeerConnection.createOffer(PeerConnection.java:713)
java_vm_ext.cc:534] at xyz.vivekc.webrtccodelab.MainActivity.doCall(MainActivity.java:294)
java_vm_ext.cc:534] at xyz.vivekc.webrtccodelab.MainActivity.lambda$onTryToStart$0$MainActivity(MainActivity.java:239)
java_vm_ext.cc:534] at xyz.vivekc.webrtccodelab.MainActivity$$Lambda$0.run(unavailable:-1)
java_vm_ext.cc:534] at android.os.Handler.handleCallback(Handler.java:790)
java_vm_ext.cc:534] at android.os.Handler.dispatchMessage(Handler.java:99)
java_vm_ext.cc:534] at android.os.Looper.loop(Looper.java:164)
java_vm_ext.cc:534] at android.app.ActivityThread.main(ActivityThread.java:6494)
java_vm_ext.cc:534] at java.lang.reflect.Method.invoke(Native method)
java_vm_ext.cc:534] at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
java_vm_ext.cc:534] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
java_vm_ext.cc:534]
06-13 12:56:04.135 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] Runtime aborting...
runtime.cc:523] Dumping all threads without appropriate locks held: thread list lock mutator lock
runtime.cc:523] All threads:
runtime.cc:523] DALVIK THREADS (30):
runtime.cc:523] "main" prio=10 tid=1 Runnable
runtime.cc:523] | group="" sCount=0 dsCount=0 flags=0 obj=0x731ce978 self=0xf2c59000
runtime.cc:523] | sysTid=955 nice=-10 cgrp=default sched=0/0 handle=0xf75f4514
runtime.cc:523] | state=R schedstat=( 1411296840 1370567457 703 ) utm=89 stm=52 core=0 HZ=100
runtime.cc:523] | stack=0xff2a1000-0xff2a3000 stackSize=8MB
runtime.cc:523] | held mutexes= "abort lock" "mutator lock"(shared held)
runtime.cc:523] native: #00 pc 0047eae1 /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*)+209)
06-13 12:56:04.136 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] native: #1 pc 0057c193 /system/lib/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits>&, bool, BacktraceMap*, bool) const+355)
runtime.cc:523] native: #2 pc 00577693 /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits>&, bool, BacktraceMap*, bool) const+83)
runtime.cc:523] native: #3 pc 0059750e /system/lib/libart.so (art::DumpCheckpoint::Run(art::Thread*)+1118)
runtime.cc:523] native: #4 pc 0058e9f6 /system/lib/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+534)
runtime.cc:523] native: #5 pc 0058e242 /system/lib/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits>&, bool)+882)
runtime.cc:523] native: #6 pc 0055f1b1 /system/lib/libart.so (art::AbortState::DumpAllThreads(std::__1::basic_ostream<char, std::__1::char_traits>&, art::Thread*) const+289)
runtime.cc:523] native: #7 pc 0055edd0 /system/lib/libart.so (art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits>&) const+176)
runtime.cc:523] native: #8 pc 0054d366 /system/lib/libart.so (art::Runtime::Abort(char const*)+198)
runtime.cc:523] native: #9 pc 0011fb23 /system/lib/libart.so (ZNSt3__110__function6__funcIPFvPKcENS_9allocatorIS5_EES4_EclEOS3+35)
runtime.cc:523] native: #10 pc 0065f2eb /system/lib/libart.so (android::base::LogMessage::~LogMessage()+1051)
runtime.cc:523] native: #11 pc 0039550f /system/lib/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1951)
runtime.cc:523] native: #12 pc 003956c1 /system/lib/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, char*)+113)
runtime.cc:523] native: #13 pc 0014f207 /system/lib/libart.so (art::ScopedCheck::AbortF(char const*, ...)+71)
runtime.cc:523] native: #14 pc 00152e7e /system/lib/libart.so (art::ScopedCheck::CheckMethodAndSig(art::ScopedObjectAccess&, _jobject*, _jclass*, _jmethodID*, art::Primitive::Type, art::InvokeType)+1566)
runtime.cc:523] native: #15 pc 00151a3d /system/lib/libart.so (art::CheckJNI::CallMethodV(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, char*, art::Primitive::Type, art::InvokeType)+973)
runtime.cc:523] native: #16 pc 0013d30b /system/lib/libart.so (art::CheckJNI::CallObjectMethodV(_JNIEnv*, _jobject*, _jmethodID*, char*)+75)
runtime.cc:523] native: #17 pc 00004187 /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (???)
runtime.cc:523] native: #18 pc 00469902 /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (???)
runtime.cc:523] native: #19 pc 0046b00e /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (Java_org_webrtc_PeerConnection_nativeCreateOffer+66)
runtime.cc:523] native: #20 pc 000036e8 /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/oat/x86/base.odex (Java_org_webrtc_PeerConnection_nativeCreateOffer__Lorg_webrtc_SdpObserver_2Lorg_webrtc_MediaConstraints_2+168)
runtime.cc:523] at org.webrtc.PeerConnection.nativeCreateOffer(Native method)
runtime.cc:523] at org.webrtc.PeerConnection.createOffer(PeerConnection.java:713)
runtime.cc:523] at xyz.vivekc.webrtccodelab.MainActivity.doCall(MainActivity.java:294)
runtime.cc:523] at xyz.vivekc.webrtccodelab.MainActivity.lambda$onTryToStart$0$MainActivity(MainActivity.java:239)
runtime.cc:523] at xyz.vivekc.webrtccodelab.MainActivity$$Lambda$0.run(unavailable:-1)
runtime.cc:523] at android.os.Handler.handleCallback(Handler.java:790)
runtime.cc:523] at android.os.Handler.dispatchMessage(Handler.java:99)
runtime.cc:523] at android.os.Looper.loop(Looper.java:164)
runtime.cc:523] at android.app.ActivityThread.main(ActivityThread.java:6494)
06-13 12:56:04.137 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] at java.lang.reflect.Method.invoke(Native method)
runtime.cc:523] at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
runtime.cc:523] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
runtime.cc:523]
runtime.cc:523] "Jit thread pool worker thread 0" prio=10 tid=2 Native
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a47910 self=0xec415600
runtime.cc:523] | sysTid=960 nice=9 cgrp=default sched=0/0 handle=0xec6c2970
runtime.cc:523] | state=S schedstat=( 377051695 1315203022 259 ) utm=7 stm=30 core=1 HZ=100
runtime.cc:523] | stack=0xec5c4000-0xec5c6000 stackSize=1022KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: futex_wait_queue_me+0xdf/0x130
runtime.cc:523] kernel: futex_wait+0x113/0x22e
runtime.cc:523] kernel: do_futex+0xbe/0x825
runtime.cc:523] kernel: compat_SyS_futex+0xb7/0x129
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000aee [vdso] (__kernel_vsyscall+14)
runtime.cc:523] native: #1 pc 0001edf8 /system/lib/libc.so (syscall+40)
runtime.cc:523] native: #2 pc 00121df0 /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+112)
runtime.cc:523] native: #3 pc 00121d73 /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+35)
runtime.cc:523] native: #4 pc 0059913a /system/lib/libart.so (art::ThreadPool::GetTask(art::Thread*)+266)
runtime.cc:523] native: #5 pc 00598585 /system/lib/libart.so (art::ThreadPoolWorker::Run()+117)
runtime.cc:523] native: #6 pc 00597fbb /system/lib/libart.so (art::ThreadPoolWorker::Callback(void*)+139)
runtime.cc:523] native: #7 pc 00071445 /system/lib/libc.so (__pthread_start(void*)+53)
runtime.cc:523] native: #8 pc 000205db /system/lib/libc.so (__start_thread+75)
runtime.cc:523] native: #9 pc 0001ec16 /system/lib/libc.so (__bionic_clone+70)
runtime.cc:523] (no managed stack frames)
runtime.cc:523]
runtime.cc:523] "Signal Catcher" prio=10 tid=3 WaitingInMainSignalCatcherLoop
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a40948 self=0xf2c59c00
runtime.cc:523] | sysTid=961 nice=0 cgrp=default sched=0/0 handle=0xec5c1970
06-13 12:56:04.138 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] | state=S schedstat=( 261550 144413 2 ) utm=0 stm=0 core=1 HZ=100
runtime.cc:523] | stack=0xec4c7000-0xec4c9000 stackSize=1006KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: do_sigtimedwait+0xe3/0x1b6
runtime.cc:523] kernel: compat_SyS_rt_sigtimedwait+0x8f/0xc9
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000af0 [vdso] (__kernel_vsyscall+16)
runtime.cc:523] native: #1 pc 00074391 /system/lib/libc.so (__rt_sigtimedwait+33)
runtime.cc:523] native: #2 pc 0002abcc /system/lib/libc.so (sigwait+76)
runtime.cc:523] native: #3 pc 00568559 /system/lib/libart.so (art::SignalSet::Wait()+57)
runtime.cc:523] native: #4 pc 00567fea /system/lib/libart.so (art::SignalCatcher::WaitForSignal(art::Thread*, art::SignalSet&)+250)
runtime.cc:523] native: #5 pc 005663cf /system/lib/libart.so (art::SignalCatcher::Run(void*)+319)
runtime.cc:523] native: #6 pc 00071445 /system/lib/libc.so (__pthread_start(void*)+53)
runtime.cc:523] native: #7 pc 000205db /system/lib/libc.so (__start_thread+75)
runtime.cc:523] native: #8 pc 0001ec16 /system/lib/libc.so (__bionic_clone+70)
runtime.cc:523] (no managed stack frames)
runtime.cc:523]
runtime.cc:523] "JDWP" prio=10 tid=4 WaitingInMainDebuggerLoop
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a409d0 self=0xec413200
runtime.cc:523] | sysTid=962 nice=0 cgrp=default sched=0/0 handle=0xd8a3c970
06-13 12:56:04.139 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] | state=S schedstat=( 6292573 11293649 11 ) utm=0 stm=0 core=1 HZ=100
runtime.cc:523] | stack=0xd8942000-0xd8944000 stackSize=1006KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: poll_schedule_timeout+0x43/0x5f
runtime.cc:523] kernel: do_select+0x5f2/0x633
runtime.cc:523] kernel: compat_core_sys_select+0x199/0x23c
runtime.cc:523] kernel: compat_SyS_pselect6+0x116/0x19c
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000af0 [vdso] (__kernel_vsyscall+16)
runtime.cc:523] native: #1 pc 0007419b /system/lib/libc.so (__pselect6+43)
runtime.cc:523] native: #2 pc 000287c8 /system/lib/libc.so (select+136)
runtime.cc:523] native: #3 pc 0064adc4 /system/lib/libart.so (art::JDWP::JdwpAdbState::ProcessIncoming()+372)
runtime.cc:523] native: #4 pc 003ad56c /system/lib/libart.so (art::JDWP::JdwpState::Run()+1948)
runtime.cc:523] native: #5 pc 003ac563 /system/lib/libart.so (art::JDWP::StartJdwpThread(void*)+51)
runtime.cc:523] native: #6 pc 00071445 /system/lib/libc.so (__pthread_start(void*)+53)
runtime.cc:523] native: #7 pc 000205db /system/lib/libc.so (__start_thread+75)
runtime.cc:523] native: #8 pc 0001ec16 /system/lib/libc.so (__bionic_clone+70)
runtime.cc:523] (no managed stack frames)
runtime.cc:523]
runtime.cc:523] "HeapTaskDaemon" prio=10 tid=5 Blocked
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a44bf8 self=0xec2b6400
runtime.cc:523] | sysTid=966 nice=4 cgrp=default sched=0/0 handle=0xd8630970
runtime.cc:523] | state=S schedstat=( 20390627 21951936 26 ) utm=2 stm=0 core=0 HZ=100
runtime.cc:523] | stack=0xd852e000-0xd8530000 stackSize=1038KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: futex_wait_queue_me+0xdf/0x130
runtime.cc:523] kernel: futex_wait+0x113/0x22e
runtime.cc:523] kernel: do_futex+0xbe/0x825
runtime.cc:523] kernel: compat_SyS_futex+0xb7/0x129
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
06-13 12:56:04.140 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] native: #00 pc 00000aee [vdso] (__kernel_vsyscall+14)
runtime.cc:523] native: #1 pc 0001edf8 /system/lib/libc.so (syscall+40)
runtime.cc:523] native: #2 pc 00121df0 /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+112)
runtime.cc:523] native: #3 pc 00121d73 /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+35)
runtime.cc:523] native: #4 pc 002cc495 /system/lib/libart.so (art::gc::TaskProcessor::GetTask(art::Thread*)+277)
runtime.cc:523] native: #5 pc 002ccee2 /system/lib/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*)+82)
runtime.cc:523] native: #6 pc 0048b757 /system/lib/libart.so (art::VMRuntime_runHeapTasks(JNIEnv*, jobject*)+55)
runtime.cc:523] native: #7 pc 001fd4f8 /system/framework/x86/boot-core-libart.oat (Java_dalvik_system_VMRuntime_runHeapTasks
+104)
runtime.cc:523] at dalvik.system.VMRuntime.runHeapTasks(Native method)
runtime.cc:523] - waiting to lock an unknown object
runtime.cc:523] at java.lang.Daemons$HeapTaskDaemon.runInternal(Daemons.java:461)
runtime.cc:523] at java.lang.Daemons$Daemon.run(Daemons.java:103)
runtime.cc:523] at java.lang.Thread.run(Thread.java:764)
runtime.cc:523]
runtime.cc:523] "FinalizerWatchdogDaemon" prio=10 tid=6 Waiting
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a40a58 self=0xec2b5e00
runtime.cc:523] | sysTid=965 nice=4 cgrp=default sched=0/0 handle=0xd8735970
runtime.cc:523] | state=S schedstat=( 1017777 10158814 4 ) utm=0 stm=0 core=1 HZ=100
runtime.cc:523] | stack=0xd8633000-0xd8635000 stackSize=1038KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: futex_wait_queue_me+0xdf/0x130
runtime.cc:523] kernel: futex_wait+0x113/0x22e
runtime.cc:523] kernel: do_futex+0xbe/0x825
runtime.cc:523] kernel: compat_SyS_futex+0xb7/0x129
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000aee [vdso] (__kernel_vsyscall+14)
06-13 12:56:04.141 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] native: #1 pc 0001edf8 /system/lib/libc.so (syscall+40)
runtime.cc:523] native: #2 pc 00121df0 /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+112)
runtime.cc:523] native: #3 pc 00121d73 /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+35)
runtime.cc:523] native: #4 pc 0047950c /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+636)
runtime.cc:523] native: #5 pc 0047b1cd /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+333)
runtime.cc:523] native: #6 pc 00495342 /system/lib/libart.so (art::Object_wait(JNIEnv*, jobject*)+82)
runtime.cc:523] native: #7 pc 000006a8 /system/framework/x86/boot.oat (Java_java_lang_Object_wait
+104)
runtime.cc:523] at java.lang.Object.wait(Native method)
runtime.cc:523] - waiting on <0x0fdc1293> (a java.lang.Daemons$FinalizerWatchdogDaemon)
runtime.cc:523] at java.lang.Daemons$FinalizerWatchdogDaemon.sleepUntilNeeded(Daemons.java:297)
runtime.cc:523] - locked <0x0fdc1293> (a java.lang.Daemons$FinalizerWatchdogDaemon)
runtime.cc:523] at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal(Daemons.java:277)
runtime.cc:523] at java.lang.Daemons$Daemon.run(Daemons.java:103)
runtime.cc:523] at java.lang.Thread.run(Thread.java:764)
runtime.cc:523]
06-13 12:56:04.142 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] "FinalizerDaemon" prio=10 tid=7 Waiting
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a40ae0 self=0xec2b4600
runtime.cc:523] | sysTid=964 nice=4 cgrp=default sched=0/0 handle=0xd883a970
runtime.cc:523] | state=S schedstat=( 3277711 9078532 3 ) utm=0 stm=0 core=1 HZ=100
runtime.cc:523] | stack=0xd8738000-0xd873a000 stackSize=1038KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: futex_wait_queue_me+0xdf/0x130
runtime.cc:523] kernel: futex_wait+0x113/0x22e
runtime.cc:523] kernel: do_futex+0xbe/0x825
runtime.cc:523] kernel: compat_SyS_futex+0xb7/0x129
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000aee [vdso] (__kernel_vsyscall+14)
runtime.cc:523] native: #1 pc 0001edf8 /system/lib/libc.so (syscall+40)
runtime.cc:523] native: #2 pc 00121df0 /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+112)
runtime.cc:523] native: #3 pc 00121d73 /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+35)
runtime.cc:523] native: #4 pc 0047950c /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+636)
runtime.cc:523] native: #5 pc 0047b1cd /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+333)
runtime.cc:523] native: #6 pc 004953b5 /system/lib/libart.so (art::Object_waitJI(_JNIEnv*, _jobject*, long long, int)+85)
runtime.cc:523] native: #7 pc 00000a58 /system/framework/x86/boot.oat (Java_java_lang_Object_wait__JI+136)
runtime.cc:523] at java.lang.Object.wait(Native method)
runtime.cc:523] - waiting on <0x0f0ee2d0> (a java.lang.Object)
runtime.cc:523] at java.lang.Object.wait(Object.java:422)
runtime.cc:523] at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:188)
runtime.cc:523] - locked <0x0f0ee2d0> (a java.lang.Object)
runtime.cc:523] at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:209)
runtime.cc:523] at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:232)
06-13 12:56:04.144 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] at java.lang.Daemons$Daemon.run(Daemons.java:103)
runtime.cc:523] at java.lang.Thread.run(Thread.java:764)
runtime.cc:523]
runtime.cc:523] "ReferenceQueueDaemon" prio=10 tid=8 Waiting
06-13 12:56:04.145 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a40b68 self=0xec2b4000
runtime.cc:523] | sysTid=963 nice=4 cgrp=default sched=0/0 handle=0xd893f970
runtime.cc:523] | state=S schedstat=( 2181725 33198132 9 ) utm=0 stm=0 core=1 HZ=100
runtime.cc:523] | stack=0xd883d000-0xd883f000 stackSize=1038KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: futex_wait_queue_me+0xdf/0x130
runtime.cc:523] kernel: futex_wait+0x113/0x22e
runtime.cc:523] kernel: do_futex+0xbe/0x825
runtime.cc:523] kernel: compat_SyS_futex+0xb7/0x129
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000aee [vdso] (__kernel_vsyscall+14)
runtime.cc:523] native: #1 pc 0001edf8 /system/lib/libc.so (syscall+40)
runtime.cc:523] native: #2 pc 00121df0 /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+112)
runtime.cc:523] native: #3 pc 00121d73 /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+35)
runtime.cc:523] native: #4 pc 0047950c /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+636)
runtime.cc:523] native: #5 pc 0047b1cd /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+333)
runtime.cc:523] native: #6 pc 00495342 /system/lib/libart.so (art::Object_wait(JNIEnv*, jobject*)+82)
runtime.cc:523] native: #7 pc 000006a8 /system/framework/x86/boot.oat (Java_java_lang_Object_wait
+104)
06-13 12:56:04.146 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] at java.lang.Object.wait(Native method)
runtime.cc:523] - waiting on <0x0f5222c9> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
runtime.cc:523] at java.lang.Daemons$ReferenceQueueDaemon.runInternal(Daemons.java:178)
runtime.cc:523] - locked <0x0f5222c9> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
runtime.cc:523] at java.lang.Daemons$Daemon.run(Daemons.java:103)
runtime.cc:523] at java.lang.Thread.run(Thread.java:764)
runtime.cc:523]
runtime.cc:523] "Binder:955_1" prio=10 tid=9 Native
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a40bf0 self=0xf2b8c600
runtime.cc:523] | sysTid=967 nice=0 cgrp=default sched=0/0 handle=0xd842d970
runtime.cc:523] | state=S schedstat=( 503645 11937575 9 ) utm=0 stm=0 core=1 HZ=100
runtime.cc:523] | stack=0xd8333000-0xd8335000 stackSize=1006KB
runtime.cc:523] | held mutexes=
06-13 12:56:04.147 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] kernel: binder_thread_read+0x311/0xd3d
runtime.cc:523] kernel: binder_ioctl_write_read+0x14f/0x265
runtime.cc:523] kernel: binder_ioctl+0x175/0x4db
runtime.cc:523] kernel: compat_SyS_ioctl+0x1bc/0xccb
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000aee [vdso] (__kernel_vsyscall+14)
runtime.cc:523] native: #1 pc 00073fcc /system/lib/libc.so (__ioctl+28)
06-13 12:56:04.148 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] native: #2 pc 00025d03 /system/lib/libc.so (ioctl+67)
runtime.cc:523] native: #3 pc 0004d2a7 /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+375)
runtime.cc:523] native: #4 pc 0004d44a /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+42)
runtime.cc:523] native: #5 pc 0004dc81 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+81)
runtime.cc:523] native: #6 pc 00079039 /system/lib/libbinder.so (android::PoolThread::threadLoop()+41)
runtime.cc:523] native: #7 pc 00010426 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+326)
runtime.cc:523] native: #8 pc 0007870b /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+171)
runtime.cc:523] native: #9 pc 0000fd86 /system/lib/libutils.so (thread_data_t::trampoline(thread_data_t const*)+246)
runtime.cc:523] native: #10 pc 00071445 /system/lib/libc.so (__pthread_start(void*)+53)
runtime.cc:523] native: #11 pc 000205db /system/lib/libc.so (__start_thread+75)
runtime.cc:523] native: #12 pc 0001ec16 /system/lib/libc.so (__bionic_clone+70)
runtime.cc:523] (no managed stack frames)
runtime.cc:523]
06-13 12:56:04.149 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] "Binder:955_2" prio=10 tid=10 Native
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a40c78 self=0xec40ce00
runtime.cc:523] | sysTid=968 nice=0 cgrp=default sched=0/0 handle=0xd8330970
runtime.cc:523] | state=S schedstat=( 10342811 94061789 25 ) utm=1 stm=0 core=1 HZ=100
runtime.cc:523] | stack=0xd8236000-0xd8238000 stackSize=1006KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: binder_thread_read+0x311/0xd3d
runtime.cc:523] kernel: binder_ioctl_write_read+0x14f/0x265
runtime.cc:523] kernel: binder_ioctl+0x175/0x4db
runtime.cc:523] kernel: compat_SyS_ioctl+0x1bc/0xccb
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000aee [vdso] (__kernel_vsyscall+14)
runtime.cc:523] native: #1 pc 00073fcc /system/lib/libc.so (__ioctl+28)
runtime.cc:523] native: #2 pc 00025d03 /system/lib/libc.so (ioctl+67)
runtime.cc:523] native: #3 pc 0004d2a7 /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+375)
runtime.cc:523] native: #4 pc 0004d44a /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+42)
runtime.cc:523] native: #5 pc 0004dc81 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+81)
runtime.cc:523] native: #6 pc 00079039 /system/lib/libbinder.so (android::PoolThread::threadLoop()+41)
runtime.cc:523] native: #7 pc 00010426 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+326)
runtime.cc:523] native: #8 pc 0007870b /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+171)
runtime.cc:523] native: #9 pc 0000fd86 /system/lib/libutils.so (thread_data_t::trampoline(thread_data_t const*)+246)
runtime.cc:523] native: #10 pc 00071445 /system/lib/libc.so (__pthread_start(void*)+53)
06-13 12:56:04.150 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] native: #11 pc 000205db /system/lib/libc.so (__start_thread+75)
runtime.cc:523] native: #12 pc 0001ec16 /system/lib/libc.so (__bionic_clone+70)
runtime.cc:523] (no managed stack frames)
runtime.cc:523]
runtime.cc:523] "Profile Saver" prio=10 tid=11 Native
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a40d00 self=0xec31ae00
runtime.cc:523] | sysTid=969 nice=9 cgrp=default sched=0/0 handle=0xd7f0f970
runtime.cc:523] | state=S schedstat=( 3874404 40481624 5 ) utm=0 stm=0 core=1 HZ=100
runtime.cc:523] | stack=0xd7e15000-0xd7e17000 stackSize=1006KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: futex_wait_queue_me+0xdf/0x130
runtime.cc:523] kernel: futex_wait+0x113/0x22e
runtime.cc:523] kernel: do_futex+0xbe/0x825
runtime.cc:523] kernel: compat_SyS_futex+0xb7/0x129
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000aee [vdso] (__kernel_vsyscall+14)
06-13 12:56:04.151 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] native: #1 pc 0001edf8 /system/lib/libc.so (syscall+40)
runtime.cc:523] native: #2 pc 00121df0 /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+112)
runtime.cc:523] native: #3 pc 00121d73 /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+35)
runtime.cc:523] native: #4 pc 003d4fba /system/lib/libart.so (art::ProfileSaver::Run()+458)
runtime.cc:523] native: #5 pc 003d897f /system/lib/libart.so (art::ProfileSaver::RunProfileSaverThread(void*)+95)
runtime.cc:523] native: #6 pc 00071445 /system/lib/libc.so (__pthread_start(void*)+53)
runtime.cc:523] native: #7 pc 000205db /system/lib/libc.so (__start_thread+75)
runtime.cc:523] native: #8 pc 0001ec16 /system/lib/libc.so (__bionic_clone+70)
runtime.cc:523] (no managed stack frames)
runtime.cc:523]
runtime.cc:523] "local_gl_surface_viewEglRenderer" prio=10 tid=12 Native
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a40d88 self=0xec337400
runtime.cc:523] | sysTid=971 nice=0 cgrp=default sched=0/0 handle=0xd7881970
runtime.cc:523] | state=S schedstat=( 36671608 60953821 37 ) utm=0 stm=3 core=1 HZ=100
runtime.cc:523] | stack=0xd777f000-0xd7781000 stackSize=1038KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: ep_poll+0x274/0x330
runtime.cc:523] kernel: SyS_epoll_wait+0x91/0xb6
runtime.cc:523] kernel: SyS_epoll_pwait+0x84/0xf1
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000af0 [vdso] (__kernel_vsyscall+16)
runtime.cc:523] native: #1 pc 00073d4b /system/lib/libc.so (__epoll_pwait+43)
runtime.cc:523] native: #2 pc 0002101e /system/lib/libc.so (epoll_pwait+94)
runtime.cc:523] native: #3 pc 0002106b /system/lib/libc.so (epoll_wait+43)
runtime.cc:523] native: #4 pc 00015617 /system/lib/libutils.so (android::Looper::pollInner(int)+183)
runtime.cc:523] native: #5 pc 000154d6 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+118)
runtime.cc:523] native: #6 pc 000e262b /system/lib/libandroid_runtime.so (???)
runtime.cc:523] native: #7 pc 001cf428 /system/framework/x86/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+136)
runtime.cc:523] at android.os.MessageQueue.nativePollOnce(Native method)
runtime.cc:523] at android.os.MessageQueue.next(MessageQueue.java:325)
06-13 12:56:04.152 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] at android.os.Looper.loop(Looper.java:142)
runtime.cc:523] at android.os.HandlerThread.run(HandlerThread.java:65)
runtime.cc:523]
runtime.cc:523] "remote_gl_surface_viewEglRenderer" prio=10 tid=13 Native
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a40f10 self=0xec319000
runtime.cc:523] | sysTid=973 nice=0 cgrp=default sched=0/0 handle=0xd72ff970
runtime.cc:523] | state=S schedstat=( 50656660 56611525 31 ) utm=2 stm=3 core=1 HZ=100
runtime.cc:523] | stack=0xd71fd000-0xd71ff000 stackSize=1038KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: ep_poll+0x274/0x330
runtime.cc:523] kernel: SyS_epoll_wait+0x91/0xb6
runtime.cc:523] kernel: SyS_epoll_pwait+0x84/0xf1
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000af0 [vdso] (__kernel_vsyscall+16)
runtime.cc:523] native: #1 pc 00073d4b /system/lib/libc.so (__epoll_pwait+43)
runtime.cc:523] native: #2 pc 0002101e /system/lib/libc.so (epoll_pwait+94)
runtime.cc:523] native: #3 pc 0002106b /system/lib/libc.so (epoll_wait+43)
runtime.cc:523] native: #4 pc 00015617 /system/lib/libutils.so (android::Looper::pollInner(int)+183)
runtime.cc:523] native: #5 pc 000154d6 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+118)
runtime.cc:523] native: #6 pc 000e262b /system/lib/libandroid_runtime.so (???)
runtime.cc:523] native: #7 pc 001cf428 /system/framework/x86/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+136)
runtime.cc:523] at android.os.MessageQueue.nativePollOnce(Native method)
runtime.cc:523] at android.os.MessageQueue.next(MessageQueue.java:325)
runtime.cc:523] at android.os.Looper.loop(Looper.java:142)
runtime.cc:523] at android.os.HandlerThread.run(HandlerThread.java:65)
runtime.cc:523]
runtime.cc:523] "OkHttp Dispatcher" prio=10 tid=14 TimedWaiting
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a41058 self=0xec31a800
runtime.cc:523] | sysTid=975 nice=0 cgrp=default sched=0/0 handle=0xd6d7f970
runtime.cc:523] | state=S schedstat=( 327249102 460292869 176 ) utm=24 stm=8 core=1 HZ=100
runtime.cc:523] | stack=0xd6c7d000-0xd6c7f000 stackSize=1038KB
06-13 12:56:04.153 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: futex_wait_queue_me+0xdf/0x130
runtime.cc:523] kernel: futex_wait+0x113/0x22e
runtime.cc:523] kernel: do_futex+0xbe/0x825
runtime.cc:523] kernel: compat_SyS_futex+0xb7/0x129
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000af0 [vdso] (__kernel_vsyscall+16)
runtime.cc:523] native: #1 pc 0001edf8 /system/lib/libc.so (syscall+40)
runtime.cc:523] native: #2 pc 0012226d /system/lib/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long long, int)+157)
runtime.cc:523] native: #3 pc 00479528 /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+664)
runtime.cc:523] native: #4 pc 0047b1cd /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+333)
runtime.cc:523] native: #5 pc 004953b5 /system/lib/libart.so (art::Object_waitJI(_JNIEnv*, _jobject*, long long, int)+85)
runtime.cc:523] native: #6 pc 00000a58 /system/framework/x86/boot.oat (Java_java_lang_Object_wait__JI+136)
runtime.cc:523] at java.lang.Object.wait(Native method)
runtime.cc:523] - waiting on <0x0d083dce> (a java.lang.Object)
runtime.cc:523] at java.lang.Thread.parkFor$(Thread.java:2137)
runtime.cc:523] - locked <0x0d083dce> (a java.lang.Object)
runtime.cc:523] at sun.misc.Unsafe.park(Unsafe.java:358)
runtime.cc:523] at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230)
runtime.cc:523] at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:461)
runtime.cc:523] at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
runtime.cc:523] at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:937)
runtime.cc:523] at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1086)
runtime.cc:523] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1147)
runtime.cc:523] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
runtime.cc:523] at java.lang.Thread.run(Thread.java:764)
runtime.cc:523]
runtime.cc:523] "OkHttp ConnectionPool" prio=10 tid=17 TimedWaiting
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a411a8 self=0xd7df0200
runtime.cc:523] | sysTid=984 nice=0 cgrp=default sched=0/0 handle=0xd5dfe970
06-13 12:56:04.154 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] | state=S schedstat=( 792238 72714954 18 ) utm=0 stm=0 core=1 HZ=100
runtime.cc:523] | stack=0xd5cfc000-0xd5cfe000 stackSize=1038KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: futex_wait_queue_me+0xdf/0x130
runtime.cc:523] kernel: futex_wait+0x113/0x22e
runtime.cc:523] kernel: do_futex+0xbe/0x825
runtime.cc:523] kernel: compat_SyS_futex+0xb7/0x129
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000af0 [vdso] (__kernel_vsyscall+16)
runtime.cc:523] native: #1 pc 0001edf8 /system/lib/libc.so (syscall+40)
runtime.cc:523] native: #2 pc 0012226d /system/lib/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long long, int)+157)
runtime.cc:523] native: #3 pc 00479528 /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+664)
runtime.cc:523] native: #4 pc 0047b1cd /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+333)
runtime.cc:523] native: #5 pc 004953b5 /system/lib/libart.so (art::Object_waitJI(_JNIEnv*, _jobject*, long long, int)+85)
runtime.cc:523] native: #6 pc 00000a58 /system/framework/x86/boot.oat (Java_java_lang_Object_wait__JI+136)
runtime.cc:523] at java.lang.Object.wait(Native method)
runtime.cc:523] - waiting on <0x0aab44ef> (a com.android.okhttp.ConnectionPool)
runtime.cc:523] at com.android.okhttp.ConnectionPool$1.run(ConnectionPool.java:101)
runtime.cc:523] - locked <0x0aab44ef> (a com.android.okhttp.ConnectionPool)
runtime.cc:523] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
runtime.cc:523] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
runtime.cc:523] at java.lang.Thread.run(Thread.java:764)
runtime.cc:523]
runtime.cc:523] "Thread-5" prio=10 tid=18 Native
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a412e0 self=0xd6bac200
runtime.cc:523] | sysTid=980 nice=-10 cgrp=default sched=0/0 handle=0xd60fd970
runtime.cc:523] | state=S schedstat=( 90607401 64574558 100 ) utm=8 stm=1 core=0 HZ=100
runtime.cc:523] | stack=0xd6003000-0xd6005000 stackSize=1006KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: futex_wait_queue_me+0xdf/0x130
06-13 12:56:04.155 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] kernel: futex_wait+0x113/0x22e
runtime.cc:523] kernel: do_futex+0xbe/0x825
runtime.cc:523] kernel: compat_SyS_futex+0xb7/0x129
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000aee [vdso] (__kernel_vsyscall+14)
runtime.cc:523] native: #1 pc 0001edf8 /system/lib/libc.so (syscall+40)
runtime.cc:523] native: #2 pc 00070994 /system/lib/libc.so (pthread_cond_wait+100)
runtime.cc:523] native: #3 pc 00009fae /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (???)
runtime.cc:523] native: #4 pc 0015edac /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (???)
runtime.cc:523] native: #5 pc 00159c9a /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (???)
runtime.cc:523] native: #6 pc 0016ed10 /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (???)
runtime.cc:523] native: #7 pc 0016ecb1 /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (???)
runtime.cc:523] native: #8 pc 0016eba7 /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (???)
runtime.cc:523] native: #9 pc 00071445 /system/lib/libc.so (__pthread_start(void*)+53)
runtime.cc:523] native: #10 pc 000205db /system/lib/libc.so (__start_thread+75)
runtime.cc:523] native: #11 pc 0001ec16 /system/lib/libc.so (__bionic_clone+70)
runtime.cc:523] (no managed stack frames)
runtime.cc:523]
runtime.cc:523] "Binder:955_3" prio=10 tid=19 Native
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a413f8 self=0xd6367000
runtime.cc:523] | sysTid=987 nice=0 cgrp=default sched=0/0 handle=0xd59d7970
runtime.cc:523] | state=S schedstat=( 1138899 52809923 12 ) utm=0 stm=0 core=1 HZ=100
runtime.cc:523] | stack=0xd58dd000-0xd58df000 stackSize=1006KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: binder_thread_read+0x311/0xd3d
runtime.cc:523] kernel: binder_ioctl_write_read+0x14f/0x265
runtime.cc:523] kernel: binder_ioctl+0x175/0x4db
runtime.cc:523] kernel: compat_SyS_ioctl+0x1bc/0xccb
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000aee [vdso] (__kernel_vsyscall+14)
06-13 12:56:04.156 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] native: #1 pc 00073fcc /system/lib/libc.so (__ioctl+28)
runtime.cc:523] native: #2 pc 00025d03 /system/lib/libc.so (ioctl+67)
runtime.cc:523] native: #3 pc 0004d2a7 /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+375)
runtime.cc:523] native: #4 pc 0004d44a /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+42)
runtime.cc:523] native: #5 pc 0004dc81 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+81)
runtime.cc:523] native: #6 pc 00079039 /system/lib/libbinder.so (android::PoolThread::threadLoop()+41)
runtime.cc:523] native: #7 pc 00010426 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+326)
runtime.cc:523] native: #8 pc 0007870b /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+171)
runtime.cc:523] native: #9 pc 0000fd86 /system/lib/libutils.so (thread_data_t::trampoline(thread_data_t const*)+246)
runtime.cc:523] native: #10 pc 00071445 /system/lib/libc.so (__pthread_start(void*)+53)
runtime.cc:523] native: #11 pc 000205db /system/lib/libc.so (__start_thread+75)
runtime.cc:523] native: #12 pc 0001ec16 /system/lib/libc.so (__bionic_clone+70)
runtime.cc:523] (no managed stack frames)
runtime.cc:523]
runtime.cc:523] "Binder:955_4" prio=10 tid=20 Native
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a41480 self=0xd6be7e00
runtime.cc:523] | sysTid=988 nice=0 cgrp=default sched=0/0 handle=0xd58da970
runtime.cc:523] | state=S schedstat=( 36154230 68088569 18 ) utm=1 stm=2 core=0 HZ=100
runtime.cc:523] | stack=0xd57e0000-0xd57e2000 stackSize=1006KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: binder_thread_read+0x311/0xd3d
runtime.cc:523] kernel: binder_ioctl_write_read+0x14f/0x265
runtime.cc:523] kernel: binder_ioctl+0x175/0x4db
runtime.cc:523] kernel: compat_SyS_ioctl+0x1bc/0xccb
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000aee [vdso] (__kernel_vsyscall+14)
runtime.cc:523] native: #1 pc 00073fcc /system/lib/libc.so (__ioctl+28)
runtime.cc:523] native: #2 pc 00025d03 /system/lib/libc.so (ioctl+67)
runtime.cc:523] native: #3 pc 0004d2a7 /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+375)
runtime.cc:523] native: #4 pc 0004d44a /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+42)
runtime.cc:523] native: #5 pc 0004dc81 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+81)
06-13 12:56:04.157 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] native: #6 pc 00079039 /system/lib/libbinder.so (android::PoolThread::threadLoop()+41)
runtime.cc:523] native: #7 pc 00010426 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+326)
runtime.cc:523] native: #8 pc 0007870b /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+171)
runtime.cc:523] native: #9 pc 0000fd86 /system/lib/libutils.so (thread_data_t::trampoline(thread_data_t const*)+246)
runtime.cc:523] native: #10 pc 00071445 /system/lib/libc.so (__pthread_start(void*)+53)
runtime.cc:523] native: #11 pc 000205db /system/lib/libc.so (__start_thread+75)
runtime.cc:523] native: #12 pc 0001ec16 /system/lib/libc.so (__bionic_clone+70)
runtime.cc:523] (no managed stack frames)
runtime.cc:523]
runtime.cc:523] "network_thread - 979" prio=10 tid=21 Native
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a41508 self=0xd6304e00
runtime.cc:523] | sysTid=979 nice=-10 cgrp=default sched=0/0 handle=0xd61fa970
runtime.cc:523] | state=S schedstat=( 14285809 6015248 27 ) utm=0 stm=1 core=0 HZ=100
runtime.cc:523] | stack=0xd6100000-0xd6102000 stackSize=1006KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: ep_poll+0x274/0x330
runtime.cc:523] kernel: SyS_epoll_wait+0x91/0xb6
runtime.cc:523] kernel: SyS_epoll_pwait+0x84/0xf1
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000af0 [vdso] (__kernel_vsyscall+16)
runtime.cc:523] native: #1 pc 00073d4b /system/lib/libc.so (__epoll_pwait+43)
runtime.cc:523] native: #2 pc 0002101e /system/lib/libc.so (epoll_pwait+94)
runtime.cc:523] native: #3 pc 0002106b /system/lib/libc.so (epoll_wait+43)
runtime.cc:523] native: #4 pc 00167b55 /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (???)
runtime.cc:523] native: #5 pc 00159c9a /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (???)
runtime.cc:523] native: #6 pc 0016ed10 /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (???)
06-13 12:56:04.158 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] native: #7 pc 0016ecb1 /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (???)
runtime.cc:523] native: #8 pc 0016eba7 /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (???)
runtime.cc:523] native: #9 pc 00071445 /system/lib/libc.so (__pthread_start(void*)+53)
runtime.cc:523] native: #10 pc 000205db /system/lib/libc.so (__start_thread+75)
runtime.cc:523] native: #11 pc 0001ec16 /system/lib/libc.so (__bionic_clone+70)
runtime.cc:523] (no managed stack frames)
runtime.cc:523]
runtime.cc:523] "WebRtcVolumeLevelLoggerThread" prio=10 tid=22 TimedWaiting
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a41590 self=0xd6bac800
runtime.cc:523] | sysTid=989 nice=-8 cgrp=default sched=0/0 handle=0xd57dd970
runtime.cc:523] | state=S schedstat=( 1064724 12494270 8 ) utm=0 stm=0 core=0 HZ=100
runtime.cc:523] | stack=0xd56db000-0xd56dd000 stackSize=1038KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: futex_wait_queue_me+0xdf/0x130
runtime.cc:523] kernel: futex_wait+0x113/0x22e
runtime.cc:523] kernel: do_futex+0xbe/0x825
runtime.cc:523] kernel: compat_SyS_futex+0xb7/0x129
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000af0 [vdso] (__kernel_vsyscall+16)
runtime.cc:523] native: #1 pc 0001edf8 /system/lib/libc.so (syscall+40)
runtime.cc:523] native: #2 pc 0012226d /system/lib/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long long, int)+157)
06-13 12:56:04.165 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] at android.os.MessageQueue.next(MessageQueue.java:325)
runtime.cc:523] at android.os.Looper.loop(Looper.java:142)
runtime.cc:523] at android.os.HandlerThread.run(HandlerThread.java:65)
runtime.cc:523]
runtime.cc:523] "OkHttp ConnectionPool" prio=10 tid=15 TimedWaiting
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a416f0 self=0xec46b200
runtime.cc:523] | sysTid=991 nice=0 cgrp=default sched=0/0 handle=0xd4fff970
runtime.cc:523] | state=S schedstat=( 701143 15746809 7 ) utm=0 stm=0 core=1 HZ=100
runtime.cc:523] | stack=0xd4efd000-0xd4eff000 stackSize=1038KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: futex_wait_queue_me+0xdf/0x130
runtime.cc:523] kernel: futex_wait+0x113/0x22e
runtime.cc:523] kernel: do_futex+0xbe/0x825
runtime.cc:523] kernel: compat_SyS_futex+0xb7/0x129
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000af0 [vdso] (__kernel_vsyscall+16)
runtime.cc:523] native: #1 pc 0001edf8 /system/lib/libc.so (syscall+40)
runtime.cc:523] native: #2 pc 0012226d /system/lib/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long long, int)+157)
runtime.cc:523] native: #3 pc 00479528 /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+664)
06-13 12:56:04.166 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] native: #4 pc 0047b1cd /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+333)
runtime.cc:523] native: #5 pc 004953b5 /system/lib/libart.so (art::Object_waitJI(_JNIEnv*, _jobject*, long long, int)+85)
runtime.cc:523] native: #6 pc 00000a58 /system/framework/x86/boot.oat (Java_java_lang_Object_wait__JI+136)
runtime.cc:523] at java.lang.Object.wait(Native method)
runtime.cc:523] - waiting on <0x08d12285> (a okhttp3.ConnectionPool)
runtime.cc:523] at okhttp3.ConnectionPool$1.run(ConnectionPool.java:67)
runtime.cc:523] - locked <0x08d12285> (a okhttp3.ConnectionPool)
runtime.cc:523] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
runtime.cc:523] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
runtime.cc:523] at java.lang.Thread.run(Thread.java:764)
runtime.cc:523]
runtime.cc:523] "Okio Watchdog" prio=10 tid=25 TimedWaiting
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a418d8 self=0xec46b800
runtime.cc:523] | sysTid=992 nice=0 cgrp=default sched=0/0 handle=0xd4efa970
runtime.cc:523] | state=S schedstat=( 2348630 14152876 2 ) utm=0 stm=0 core=1 HZ=100
runtime.cc:523] | stack=0xd4df8000-0xd4dfa000 stackSize=1038KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: futex_wait_queue_me+0xdf/0x130
runtime.cc:523] kernel: futex_wait+0x113/0x22e
runtime.cc:523] kernel: do_futex+0xbe/0x825
runtime.cc:523] kernel: compat_SyS_futex+0xb7/0x129
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000af0 [vdso] (__kernel_vsyscall+16)
runtime.cc:523] native: #1 pc 0001edf8 /system/lib/libc.so (syscall+40)
runtime.cc:523] native: #2 pc 0012226d /system/lib/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long long, int)+157)
runtime.cc:523] native: #3 pc 00479528 /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+664)
runtime.cc:523] native: #4 pc 0047b1cd /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+333)
06-13 12:56:04.167 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] native: #5 pc 004953b5 /system/lib/libart.so (art::Object_waitJI(_JNIEnv*, _jobject*, long long, int)+85)
runtime.cc:523] native: #6 pc 00000a58 /system/framework/x86/boot.oat (Java_java_lang_Object_wait__JI+136)
runtime.cc:523] at java.lang.Object.wait(Native method)
runtime.cc:523] - waiting on <0x016e68da> (a java.lang.Class<okio.AsyncTimeout>)
runtime.cc:523] at java.lang.Object.wait(Object.java:422)
runtime.cc:523] at okio.AsyncTimeout.awaitTimeout(AsyncTimeout.java:347)
runtime.cc:523] at okio.AsyncTimeout$Watchdog.run(AsyncTimeout.java:312)
runtime.cc:523] - locked <0x016e68da> (a java.lang.Class<okio.AsyncTimeout>)
runtime.cc:523]
runtime.cc:523] "RenderThread" prio=10 tid=16 Native
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a41bd8 self=0xd55b9600
runtime.cc:523] | sysTid=994 nice=-10 cgrp=default sched=0/0 handle=0xd62ff970
runtime.cc:523] | state=S schedstat=( 145662223 132223706 231 ) utm=2 stm=12 core=0 HZ=100
runtime.cc:523] | stack=0xd6205000-0xd6207000 stackSize=1006KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: ep_poll+0x274/0x330
runtime.cc:523] kernel: SyS_epoll_wait+0x91/0xb6
runtime.cc:523] kernel: SyS_epoll_pwait+0x84/0xf1
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000af0 [vdso] (__kernel_vsyscall+16)
runtime.cc:523] native: #1 pc 00073d4b /system/lib/libc.so (__epoll_pwait+43)
runtime.cc:523] native: #2 pc 0002101e /system/lib/libc.so (epoll_pwait+94)
runtime.cc:523] native: #3 pc 0002106b /system/lib/libc.so (epoll_wait+43)
runtime.cc:523] native: #4 pc 00015617 /system/lib/libutils.so (android::Looper::pollInner(int)+183)
runtime.cc:523] native: #5 pc 000154d6 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+118)
runtime.cc:523] native: #6 pc 00051c91 /system/lib/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+1057)
runtime.cc:523] native: #7 pc 00010426 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+326)
runtime.cc:523] native: #8 pc 0007870b /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+171)
06-13 12:56:04.168 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] native: #9 pc 0000fd86 /system/lib/libutils.so (thread_data_t::trampoline(thread_data_t const*)+246)
runtime.cc:523] native: #10 pc 00071445 /system/lib/libc.so (__pthread_start(void*)+53)
runtime.cc:523] native: #11 pc 000205db /system/lib/libc.so (__start_thread+75)
runtime.cc:523] native: #12 pc 0001ec16 /system/lib/libc.so (__bionic_clone+70)
runtime.cc:523] (no managed stack frames)
runtime.cc:523]
runtime.cc:523] "OkHttp https://146.71.76.139:1794/..." prio=10 tid=26 Native
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a41c60 self=0xd55d4200
runtime.cc:523] | sysTid=995 nice=0 cgrp=default sched=0/0 handle=0xd5f03970
runtime.cc:523] | state=S schedstat=( 63353436 81991778 41 ) utm=1 stm=5 core=0 HZ=100
runtime.cc:523] | stack=0xd5e01000-0xd5e03000 stackSize=1038KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: poll_schedule_timeout+0x43/0x5f
runtime.cc:523] kernel: do_sys_poll+0x3fa/0x498
runtime.cc:523] kernel: compat_SyS_ppoll+0xc6/0x14f
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000af0 [vdso] (__kernel_vsyscall+16)
runtime.cc:523] native: #1 pc 000740f6 /system/lib/libc.so (__ppoll+38)
runtime.cc:523] native: #2 pc 0002868a /system/lib/libc.so (poll+90)
runtime.cc:523] native: #3 pc 000224cf /system/lib/libc.so (__poll_chk+47)
runtime.cc:523] native: #4 pc 0002a2b4 /system/lib/libjavacrypto.so (???)
runtime.cc:523] native: #5 pc 0002a786 /system/lib/libjavacrypto.so (???)
runtime.cc:523] native: #6 pc 0001fc87 /system/lib/libjavacrypto.so (???)
runtime.cc:523] native: #7 pc 0001d6eb /system/framework/x86/boot-conscrypt.oat (Java_com_android_org_conscrypt_NativeCrypto_SSL_1read__JLjava_io_FileDescriptor_2Lcom_android_org_conscrypt_NativeCrypto_00024SSLHandshakeCallbacks_2_3BIII+283)
runtime.cc:523] at com.android.org.conscrypt.NativeCrypto.SSL_read(Native method)
runtime.cc:523] at com.android.org.conscrypt.SslWrapper.read(SslWrapper.java:384)
runtime.cc:523] at com.android.org.conscrypt.ConscryptFileDescriptorSocket$SSLInputStream.read(ConscryptFileDescriptorSocket.java:541)
runtime.cc:523] - locked <0x0291410b> (a java.lang.Object)
06-13 12:56:04.169 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] at okio.Okio$2.read(Okio.java:139)
runtime.cc:523] at okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
runtime.cc:523] at okio.RealBufferedSource.request(RealBufferedSource.java:67)
runtime.cc:523] at okio.RealBufferedSource.require(RealBufferedSource.java:60)
runtime.cc:523] at okio.RealBufferedSource.readByte(RealBufferedSource.java:73)
runtime.cc:523] at okhttp3.internal.ws.WebSocketReader.readHeader(WebSocketReader.java:113)
runtime.cc:523] at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.java:97)
runtime.cc:523] at okhttp3.internal.ws.RealWebSocket.loopReader(RealWebSocket.java:262)
runtime.cc:523] at okhttp3.internal.ws.RealWebSocket$2.onResponse(RealWebSocket.java:201)
runtime.cc:523] at okhttp3.RealCall$AsyncCall.execute(RealCall.java:141)
runtime.cc:523] at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
runtime.cc:523] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
runtime.cc:523] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
runtime.cc:523] at java.lang.Thread.run(Thread.java:764)
runtime.cc:523]
runtime.cc:523] "pool-1-thread-1" prio=10 tid=28 TimedWaiting
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a44718 self=0xd55d4800
runtime.cc:523] | sysTid=996 nice=0 cgrp=default sched=0/0 handle=0xd4cf0970
runtime.cc:523] | state=S schedstat=( 6293458 34411056 6 ) utm=0 stm=0 core=0 HZ=100
runtime.cc:523] | stack=0xd4bee000-0xd4bf0000 stackSize=1038KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: futex_wait_queue_me+0xdf/0x130
runtime.cc:523] kernel: futex_wait+0x113/0x22e
runtime.cc:523] kernel: do_futex+0xbe/0x825
06-13 12:56:04.170 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] kernel: compat_SyS_futex+0xb7/0x129
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000af0 [vdso] (__kernel_vsyscall+16)
runtime.cc:523] native: #1 pc 0001edf8 /system/lib/libc.so (syscall+40)
runtime.cc:523] native: #2 pc 0012226d /system/lib/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long long, int)+157)
runtime.cc:523] native: #3 pc 00479528 /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+664)
runtime.cc:523] native: #4 pc 0047b1cd /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+333)
runtime.cc:523] native: #5 pc 004953b5 /system/lib/libart.so (art::Object_waitJI(_JNIEnv*, _jobject*, long long, int)+85)
06-13 12:56:04.184 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] native: #6 pc 00000a58 /system/framework/x86/boot.oat (Java_java_lang_Object_wait__JI+136)
runtime.cc:523] at java.lang.Object.wait(Native method)
runtime.cc:523] - waiting on <0x032c3be8> (a java.lang.Object)
runtime.cc:523] at java.lang.Thread.parkFor$(Thread.java:2137)
runtime.cc:523] - locked <0x032c3be8> (a java.lang.Object)
runtime.cc:523] at sun.misc.Unsafe.park(Unsafe.java:358)
runtime.cc:523] at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230)
runtime.cc:523] at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2101)
06-13 12:56:04.185 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1132)
runtime.cc:523] at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1113)
runtime.cc:523] at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1087)
runtime.cc:523] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1147)
runtime.cc:523] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
runtime.cc:523] at java.lang.Thread.run(Thread.java:764)
runtime.cc:523]
runtime.cc:523] "hwuiTask1" prio=10 tid=29 Native
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a44888 self=0xd7df1a00
runtime.cc:523] | sysTid=999 nice=-2 cgrp=default sched=0/0 handle=0xd2e78970
06-13 12:56:04.186 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] | state=S schedstat=( 1771016 9502144 7 ) utm=0 stm=0 core=0 HZ=100
06-13 12:56:04.187 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] | stack=0xd2d7e000-0xd2d80000 stackSize=1006KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: futex_wait_queue_me+0xdf/0x130
runtime.cc:523] kernel: futex_wait+0x113/0x22e
runtime.cc:523] kernel: do_futex+0xbe/0x825
runtime.cc:523] kernel: compat_SyS_futex+0xb7/0x129
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000aee [vdso] (__kernel_vsyscall+14)
06-13 12:56:04.188 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] native: #1 pc 0001edf8 /system/lib/libc.so (syscall+40)
runtime.cc:523] native: #2 pc 00070994 /system/lib/libc.so (pthread_cond_wait+100)
runtime.cc:523] native: #3 pc 000548eb /system/lib/libhwui.so (???)
runtime.cc:523] native: #4 pc 000103be /system/lib/libutils.so (android::Thread::_threadLoop(void*)+222)
runtime.cc:523] native: #5 pc 0007870b /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+171)
runtime.cc:523] native: #6 pc 0000fd86 /system/lib/libutils.so (thread_data_t::trampoline(thread_data_t const*)+246)
runtime.cc:523] native: #7 pc 00071445 /system/lib/libc.so (__pthread_start(void*)+53)
runtime.cc:523] native: #8 pc 000205db /system/lib/libc.so (__start_thread+75)
runtime.cc:523] native: #9 pc 0001ec16 /system/lib/libc.so (__bionic_clone+70)
runtime.cc:523] (no managed stack frames)
runtime.cc:523]
runtime.cc:523] "OkHttp ConnectionPool" prio=10 tid=30 TimedWaiting
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a44910 self=0xd55d5400
runtime.cc:523] | sysTid=1000 nice=0 cgrp=default sched=0/0 handle=0xd2b7f970
runtime.cc:523] | state=S schedstat=( 1570599 5029584 1 ) utm=0 stm=0 core=0 HZ=100
runtime.cc:523] | stack=0xd2a7d000-0xd2a7f000 stackSize=1038KB
06-13 12:56:04.190 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: futex_wait_queue_me+0xdf/0x130
runtime.cc:523] kernel: futex_wait+0x113/0x22e
runtime.cc:523] kernel: do_futex+0xbe/0x825
runtime.cc:523] kernel: compat_SyS_futex+0xb7/0x129
06-13 12:56:04.206 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000af0 [vdso] (__kernel_vsyscall+16)
runtime.cc:523] native: #1 pc 0001edf8 /system/lib/libc.so (syscall+40)
runtime.cc:523] native: #2 pc 0012226d /system/lib/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long long, int)+157)
runtime.cc:523] native: #3 pc 00479528 /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+664)
runtime.cc:523] native: #4 pc 0047b1cd /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+333)
runtime.cc:523] native: #5 pc 004953b5 /system/lib/libart.so (art::Object_waitJI(_JNIEnv*, _jobject*, long long, int)+85)
runtime.cc:523] native: #6 pc 00000a58 /system/framework/x86/boot.oat (Java_java_lang_Object_wait__JI+136)
runtime.cc:523] at java.lang.Object.wait(Native method)
06-13 12:56:04.207 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] - waiting on <0x01866201> (a okhttp3.ConnectionPool)
runtime.cc:523] at okhttp3.ConnectionPool$1.run(ConnectionPool.java:67)
runtime.cc:523] - locked <0x01866201> (a okhttp3.ConnectionPool)
runtime.cc:523] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
runtime.cc:523] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
runtime.cc:523] at java.lang.Thread.run(Thread.java:764)
runtime.cc:523]
runtime.cc:523] "OkHttp WebSocket https://146.71.76.139:1794/..." prio=10 tid=27 Waiting
runtime.cc:523] | group="" sCount=1 dsCount=0 flags=1 obj=0x13a44a00 self=0xd6303c00
runtime.cc:523] | sysTid=1002 nice=0 cgrp=default sched=0/0 handle=0xd4beb970
runtime.cc:523] | state=S schedstat=( 18878036 85970196 20 ) utm=0 stm=1 core=0 HZ=100
runtime.cc:523] | stack=0xd4ae9000-0xd4aeb000 stackSize=1038KB
runtime.cc:523] | held mutexes=
runtime.cc:523] kernel: futex_wait_queue_me+0xdf/0x130
runtime.cc:523] kernel: futex_wait+0x113/0x22e
runtime.cc:523] kernel: do_futex+0xbe/0x825
runtime.cc:523] kernel: compat_SyS_futex+0xb7/0x129
runtime.cc:523] kernel: sysenter_dispatch+0x7/0x1a
runtime.cc:523] native: #00 pc 00000aee [vdso] (__kernel_vsyscall+14)
runtime.cc:523] native: #1 pc 0001edf8 /system/lib/libc.so (syscall+40)
runtime.cc:523] native: #2 pc 00121df0 /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+112)
runtime.cc:523] native: #3 pc 00121d73 /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+35)
runtime.cc:523] native: #4 pc 0047950c /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+636)
runtime.cc:523] native: #5 pc 0047b1cd /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+333)
runtime.cc:523] native: #6 pc 004953b5 /system/lib/libart.so (art::Object_waitJI(_JNIEnv*, _jobject*, long long, int)+85)
runtime.cc:523] native: #7 pc 00000a58 /system/framework/x86/boot.oat (Java_java_lang_Object_wait__JI+136)
06-13 12:56:04.208 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] at java.lang.Object.wait(Native method)
runtime.cc:523] - waiting on <0x05da38a6> (a java.lang.Object)
runtime.cc:523] at java.lang.Thread.parkFor$(Thread.java:2137)
runtime.cc:523] - locked <0x05da38a6> (a java.lang.Object)
runtime.cc:523] at sun.misc.Unsafe.park(Unsafe.java:358)
runtime.cc:523] at java.util.concurrent.locks.LockSupport.park(LockSupport.java:190)
runtime.cc:523] at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2059)
runtime.cc:523] at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1120)
runtime.cc:523] at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1113)
runtime.cc:523] at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1087)
runtime.cc:523] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1147)
runtime.cc:523] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
runtime.cc:523] at java.lang.Thread.run(Thread.java:764)
runtime.cc:523]
runtime.cc:523] Aborting thread:
runtime.cc:523] "main" prio=10 tid=1 Native
runtime.cc:523] | group="" sCount=0 dsCount=0 flags=0 obj=0x731ce978 self=0xf2c59000
runtime.cc:523] | sysTid=955 nice=-10 cgrp=default sched=0/0 handle=0xf75f4514
runtime.cc:523] | state=R schedstat=( 1542500285 1472482168 794 ) utm=97 stm=57 core=0 HZ=100
runtime.cc:523] | stack=0xff2a1000-0xff2a3000 stackSize=8MB
06-13 12:56:04.209 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] | held mutexes= "abort lock"
runtime.cc:523] native: #00 pc 0047eae1 /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*)+209)
runtime.cc:523] native: #1 pc 0057c193 /system/lib/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits>&, bool, BacktraceMap*, bool) const+355)
runtime.cc:523] native: #2 pc 00577693 /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits>&, bool, BacktraceMap*, bool) const+83)
runtime.cc:523] native: #3 pc 0055f1f8 /system/lib/libart.so (art::AbortState::DumpThread(std::__1::basic_ostream<char, std::__1::char_traits>&, art::Thread*) const+56)
runtime.cc:523] native: #4 pc 0055ef08 /system/lib/libart.so (art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits>&) const+488)
runtime.cc:523] native: #5 pc 0054d366 /system/lib/libart.so (art::Runtime::Abort(char const*)+198)
runtime.cc:523] native: #6 pc 0011fb23 /system/lib/libart.so (ZNSt3__110__function6__funcIPFvPKcENS_9allocatorIS5_EES4_EclEOS3+35)
runtime.cc:523] native: #7 pc 0065f2eb /system/lib/libart.so (android::base::LogMessage::~LogMessage()+1051)
runtime.cc:523] native: #8 pc 0039550f /system/lib/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1951)
runtime.cc:523] native: #9 pc 003956c1 /system/lib/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, char*)+113)
runtime.cc:523] native: #10 pc 0014f207 /system/lib/libart.so (art::ScopedCheck::AbortF(char const*, ...)+71)
runtime.cc:523] native: #11 pc 00152e7e /system/lib/libart.so (art::ScopedCheck::CheckMethodAndSig(art::ScopedObjectAccess&, _jobject*, _jclass*, _jmethodID*, art::Primitive::Type, art::InvokeType)+1566)
runtime.cc:523] native: #12 pc 00151a3d /system/lib/libart.so (art::CheckJNI::CallMethodV(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, char*, art::Primitive::Type, art::InvokeType)+973)
runtime.cc:523] native: #13 pc 0013d30b /system/lib/libart.so (art::CheckJNI::CallObjectMethodV(_JNIEnv*, _jobject*, _jmethodID*, char*)+75)
runtime.cc:523] native: #14 pc 00004187 /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (???)
runtime.cc:523] native: #15 pc 00469902 /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (???)
runtime.cc:523] native: #16 pc 0046b00e /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (Java_org_webrtc_PeerConnection_nativeCreateOffer+66)
06-13 12:56:04.210 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:523] native: #17 pc 000036e8 /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/oat/x86/base.odex (???)
runtime.cc:523] at org.webrtc.PeerConnection.nativeCreateOffer(Native method)
runtime.cc:523] at org.webrtc.PeerConnection.createOffer(PeerConnection.java:713)
runtime.cc:523] at xyz.vivekc.webrtccodelab.MainActivity.doCall(MainActivity.java:294)
runtime.cc:523] at xyz.vivekc.webrtccodelab.MainActivity.lambda$onTryToStart$0$MainActivity(MainActivity.java:239)
runtime.cc:523] at xyz.vivekc.webrtccodelab.MainActivity$$Lambda$0.run(unavailable:-1)
runtime.cc:523] at android.os.Handler.handleCallback(Handler.java:790)
runtime.cc:523] at android.os.Handler.dispatchMessage(Handler.java:99)
runtime.cc:523] at android.os.Looper.loop(Looper.java:164)
runtime.cc:523] at android.app.ActivityThread.main(ActivityThread.java:6494)
runtime.cc:523] at java.lang.reflect.Method.invoke(Native method)
runtime.cc:523] at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
runtime.cc:523] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
runtime.cc:523]
runtime.cc:531] JNI DETECTED ERROR IN APPLICATION: can't call java.util.List org.webrtc.MediaConstraints.getMandatory() on null object
06-13 12:56:04.213 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:531] in call to CallObjectMethodV
runtime.cc:531] from void org.webrtc.PeerConnection.nativeCreateOffer(org.webrtc.SdpObserver, org.webrtc.MediaConstraints)
runtime.cc:531] "main" prio=5 tid=1 Runnable
runtime.cc:531] | group="main" sCount=0 dsCount=0 flags=0 obj=0x731ce978 self=0xf2c59000
runtime.cc:531] | sysTid=955 nice=-10 cgrp=default sched=0/0 handle=0xf75f4514
runtime.cc:531] | state=R schedstat=( 1387113442 1356070006 695 ) utm=87 stm=51 core=0 HZ=100
runtime.cc:531] | stack=0xff2a1000-0xff2a3000 stackSize=8MB
runtime.cc:531] | held mutexes= "mutator lock"(shared held)
runtime.cc:531] native: #00 pc 0047eae1 /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*)+209)
runtime.cc:531] native: #1 pc 0057c193 /system/lib/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits>&, bool, BacktraceMap*, bool) const+355)
runtime.cc:531] native: #2 pc 00577693 /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits>&, bool, BacktraceMap*, bool) const+83)
runtime.cc:531] native: #3 pc 00395256 /system/lib/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1254)
runtime.cc:531] native: #4 pc 003956c1 /system/lib/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, char*)+113)
06-13 12:56:04.214 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:531] native: #5 pc 0014f207 /system/lib/libart.so (art::ScopedCheck::AbortF(char const*, ...)+71)
runtime.cc:531] native: #6 pc 00152e7e /system/lib/libart.so (art::ScopedCheck::CheckMethodAndSig(art::ScopedObjectAccess&, _jobject*, _jclass*, _jmethodID*, art::Primitive::Type, art::InvokeType)+1566)
runtime.cc:531] native: #7 pc 00151a3d /system/lib/libart.so (art::CheckJNI::CallMethodV(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, char*, art::Primitive::Type, art::InvokeType)+973)
runtime.cc:531] native: #8 pc 0013d30b /system/lib/libart.so (art::CheckJNI::CallObjectMethodV(_JNIEnv*, _jobject*, _jmethodID*, char*)+75)
runtime.cc:531] native: #9 pc 00004187 /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (???)
runtime.cc:531] native: #10 pc 00469902 /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (???)
runtime.cc:531] native: #11 pc 0046b00e /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/lib/x86/libjingle_peerconnection_so.so (Java_org_webrtc_PeerConnection_nativeCreateOffer+66)
runtime.cc:531] native: #12 pc 000036e8 /data/app/xyz.vivekc.webrtccodelab-34fx2eTc4KE2WbLoL9c7nw==/oat/x86/base.odex (Java_org_webrtc_PeerConnection_nativeCreateOffer__Lorg_webrtc_SdpObserver_2Lorg_webrtc_MediaConstraints_2+168)
runtime.cc:531] at org.webrtc.PeerConnection.nativeCreateOffer(Native method)
runtime.cc:531] at org.webrtc.PeerConnection.createOffer(PeerConnection.java:713)
runtime.cc:531] at xyz.vivekc.webrtccodelab.MainActivity.doCall(MainActivity.java:294)
runtime.cc:531] at xyz.vivekc.webrtccodelab.MainActivity.lambda$onTryToStart$0$MainActivity(MainActivity.java:239)
runtime.cc:531] at xyz.vivekc.webrtccodelab.MainActivity$$Lambda$0.run(unavailable:-1)
runtime.cc:531] at android.os.Handler.handleCallback(Handler.java:790)
runtime.cc:531] at android.os.Handler.dispatchMessage(Handler.java:99)
runtime.cc:531] at android.os.Looper.loop(Looper.java:164)
runtime.cc:531] at android.app.ActivityThread.main(ActivityThread.java:6494)
runtime.cc:531] at java.lang.reflect.Method.invoke(Native method)
runtime.cc:531] at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
runtime.cc:531] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
runtime.cc:531]
06-13 12:56:04.215 955-955/xyz.vivekc.webrtccodelab A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 955 (c.webrtccodelab), pid 955 (c.webrtccodelab)
06-13 12:56:04.214 955-955/xyz.vivekc.webrtccodelab A/zygote: runtime.cc:531]

Originally posted by @vickyzare567 in #8 (comment)

Audio call

Hi vivek, i am new to webrtc and want to make audio call with help of webrtc( no need of video) , is it possible ??

if yes, then can you please guide me or put sample code for establish audio call ?? @vivek1794

Vivek! Does not work!

Hello, my android app shows me, the browser shows me, but the data is not exchanged. It is not working, spent all day, but it does not work. What is the problem?

Null pointer error in doCall();

i am getting error in doCall();

private void doCall() {
localPeer.createOffer(new CustomSdpObserver("localCreateOffer") {
@OverRide
public void onCreateSuccess(SessionDescription sessionDescription) {
super.onCreateSuccess(sessionDescription);
localPeer.setLocalDescription(new CustomSdpObserver("localSetLocalDesc"), sessionDescription);
Log.d("onCreateSuccess", "SignallingClient emit ");
SignallingClient.getInstance().emitMessage(sessionDescription);
}
}, sdpConstraints);
}

JNI DETECTED ERROR IN APPLICATION: can't call java.util.List org.webrtc.MediaConstraints.getMandatory() on null object.

I think sdpConstraints is null so getting this error, any solution for this? @vivek1794

Error in MainActivity --> getIceServers()

I am getting error in MainActivity.java --> getIceServers() --> for (IceServer iceServer : iceServers)

: java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference

For this i think i need to change para in TurnServer.java interface ,
in this interface , request url is there and for that i signed up in xirsys to get new values of param from my account.

from Xirsys account i got detail : ident,secret,channel,secure.

what should i pass in : domain,application,room??
@vivek1794

Signalling server error

Problem 1:
Cannot show streams correctly.
Solution:
Change all xxx.src = window.URL.createObjectURL(stream) to xxx.srcObject = stream;

Problem 2:
Cannot send streams correctly.
Solution:
Fix the typo RTCSsseionDescription -> RTCSessionDescription in signalling/js/main.js line 83

Invalid MediaConstraints

Hello,
I followed your code from github, everything is working fine but when i'm passing new MediaContraints() in pc.createAnswer().... pc.setLocalDescription() method was not called. But when i'm passing constraints like "offerToRecieveAudio" and "video" is true, giving error like invalid Constrains.

Could you help me out.

Thanks.

getting onfailure() in getIceServers() method.

Hi,

I'm a beginner of webrtc and trying to review your examples. I tried to get Ice server from xirsys with my info...but failed.
Could you please review my code?
I also tried to get ice server without "<>" in codes....also met exception...please help.

  1. byte[] data = new byte[0];
     try {
         data = ("<MJXXXX>:<93ab0328-d0fd-11e8-b652-xxxxxxxxxxxx>").getBytes("UTF-8");
     } catch (UnsupportedEncodingException e) {
         e.printStackTrace();
     }
    
  2.    public static final String API_ENDPOINT = "https://global.xirsys.net";
    
  3.  public interface TurnServer {
    

    @put("/_turn/")
    Call getIceCandidates(@Header("Authorization") String authkey);
    }

  4. onFailure() with
    java.io.EOFException: End of input at line 1 column 1 path $
    at com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1401)
    at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:549)
    at com.google.gson.stream.JsonReader.peek(JsonReader.java:425)
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFa
    at retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:37)
    at retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:25)
    at retrofit2.ServiceMethod.toResponse(ServiceMethod.java:119)
    at retrofit2.OkHttpCall.parseResponse(OkHttpCall.java:218)
    at retrofit2.OkHttpCall$1.onResponse(OkHttpCall.java:112)
    at okhttp3.RealCall$AsyncCall.execute(RealCall.java:141)
    at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
    at java.lang.Thread.run(Thread.java:762)

Thanks in advance.

Screeching sound in remote audio. It is barely audible

@vivek1794
Hi I know it might be out of scope for this repository but I have been searching for the solutions for past three weeks I have asked question on stack also Qus but no answer from there also. Please let me know if you know any way to disable amount of noises and screeching sound.
I am properly initializing audio constraints

audioConstraints.mandatory.add(new MediaConstraints.KeyValuePair("googNoiseSuppression", "true"));
audioConstraints.mandatory.add(new MediaConstraints.KeyValuePair("googEchoCancellation", "true"));
audioConstraints.mandatory.add(new MediaConstraints.KeyValuePair("echoCancellation", "true"));
audioConstraints.mandatory.add(new MediaConstraints.KeyValuePair("noiseSuppression", "true"));```

but still it does not work. 

session terminates while a new communication started

we are tried to implement connection between A and B it works while we tried to connect C and D via a different room session terminates for A and B and connection closed , can you please provide a solution for this

How to Run the Android Application ?

Hello,
Thanks for the demo. Can someone please tell me how to run & test this application? I've imported Step-3 on AndroidStudio & successfully run the application (on two devices). But after opening the app (granting Camera & Microphone permission), nothing happen.

I've run the signalling server using node index.js command. After opening the local host (https://localhost:1794/), a prompt opens to insert room name (say "class"). After pressing the OK button, it redirects me to another page where I can see my preview.

Please note that, on my Android Project, at SignallingClient class, I set

instance.roomName = "class";
socket = IO.socket("https://localhost:1794/");

but I can't make any call. Can someone please help me? Thanks.

Error while running the application

Error:A problem occurred configuring project ':app'.

Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
Could not resolve project :libwebrtc.
Required by:
project :app
> Project :app declares a dependency from configuration '_debugApkCopy' to configuration 'default' which is not declared in the descriptor for project :libwebrtc.
Could not find :libwebrtc:.
Required by:
project :app

In Step-1 I got black screen

The article is great but I got black sreen in Step-1. Why? I Use Nexus_6_API_25 emulator and compileSdkVersion 25, buildToolsVersion "25.0.3"

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.