shivammaindola / AndroidWebRTC

Checkout step by step tutorial.
https://medium.com/@shivammaindola07/step-by-step-guide-to-build-webrtc-native-android-app-47898caa1594
120 stars 48 forks source link

can't get it to work :( #15

Closed ToysoftInc closed 1 year ago

ToysoftInc commented 1 year ago

Followed the example and can not even get it work locally. Browser shows the webcam and in Android is shows the camera and that is all.

Please help.

djsamseng commented 1 year ago

Sure I’d be happy to help where I can.

Did you set the correct up address from https://github.com/shivammaindola/AndroidWebRTC#changes-to-run-on-your-local-wifi-network?

What logs do you see in your browser console? What logs do you see from your Python server? What logs do you see in Android Studio?

ToysoftInc commented 1 year ago

Steps

  1. Start the server from command line c:/ node index.js
  2. Ran the project from Android Studio

Browser console logs

INS: content-ads.js loaded: http://localhost:3000/ DevTools failed to load source map: Could not load content for chrome-extension://gighmmpiobklfepjocnamgkkbiglidom/browser-polyfill.js.map: System error: net::ERR_FILE_NOT_FOUND content-scripts.js:1 TSS: content-tss.js loaded: http://localhost:3000/ content-scripts.js:1 INS: content-blocked-items.js loaded: http://localhost:3000/ content-scripts.js:1 CONTENT_SHELL: Page allowed. Skipping shell injection blocks content-scripts.js:1 GET TAB ID RESPONSE: {tabId: 1912563486} main.js:35 Attempted to create or join room foo main.js:121 Getting user media with constraints {video: true} content-scripts.js:1 TSS: excluded result: {excluded: true} content-scripts.js:1 TSS: Excluding content tss (trigger: send-mesage) main.js:59 Message from server: Received request to create or join room foo main.js:59 Message from server: Room foo now has 0 client(s) main.js:59 Message from server: Client ID 6gnyRLMQ8tPAElfdAAAF created room foo main.js:39 Created room foo www.google-analytics.com/utm.gif?utmwv=5.7.2&utms=3&utmn=1899411313&utmhn=localhost&utmt=event&utme=5(Bk101ExifAndrey243NotifUImsgForNotifsURLs%20is%20EMPTY)&utmcs=windows-1252&utmsr=1920x1080&utmvp=612x937&utmsc=24-bit&utmul=en-us&utmje=0&utmfl=-&utmdt=Realtime%20communication%20with%20WebRTC&utmhid=1989365560&utmr=-&utmp=%2F&utmht=1670811838939&utmac=UA-68817852-1&utmcc=utma%3D111872281.695206053.1665414031.1670802586.1670811660.5%3B%2Butmz%3D111872281.1665414031.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B&utmjid=&utmu=4AAAAAAAAAAAAAAAAAAAAAAE~:1 GET http://www.google-analytics.com/utm.gif?utmwv=5.7.2&utms=3&utmn=1899411313&utmhn=localhost&utmt=event&utme=5(Bk101ExifAndrey243NotifUImsgForNotifsURLs%20is%20EMPTY)&utmcs=windows-1252&utmsr=1920x1080&utmvp=612x937&utmsc=24-bit&utmul=en-us&utmje=0&utmfl=-&utmdt=Realtime%20communication%20with%20WebRTC&utmhid=1989365560&utmr=-&utmp=%2F&utmht=1670811838939&utmac=UA-68817852-1&utmcc=utma%3D111872281.695206053.1665414031.1670802586.1670811660.5%3B%2Butmz%3D111872281.1665414031.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B&utmjid=&utmu=4AAAAAAAAAAAAAAAAAAAAAAE~ net::ERR_BLOCKED_BY_CLIENT Image (async) gf @ ga.js:80 Sa @ ga.js:79 oe @ ga.js:78 Uc.cb @ ga.js:26 Zc.j @ ga.js:19 E.F @ ga.js:63 T.a. @ ga.js:19 E.O @ ga.js:36 E.push @ ga.js:33 T.a. @ ga.js:19 gaEvent @ tracking.js:23 initAppMsgs @ notif.js:263 (anonymous) @ notif.js:250 fire @ jquery-1.9.1.js:1037 fireWith @ jquery-1.9.1.js:1148 ready @ jquery-1.9.1.js:433 completed @ jquery-1.9.1.js:103 load (async) jQuery.ready.promise @ jquery-1.9.1.js:903 ready @ jquery-1.9.1.js:275 init @ jquery-1.9.1.js:213 jQuery @ jquery-1.9.1.js:62 (anonymous) @ jquery-1.9.1.js:1454 (anonymous) @ jquery-1.9.1.js:1546 (anonymous) @ jquery-1.9.1.js:9597 main.js:108 Adding local stream. main.js:65 Client sending message: got user media main.js:130 >>>>>>> maybeStart() false MediaStream {id: 'MgA4KkoNDBQnfya3QjG7jqWqkDtyGUvx0pvl', active: true, onaddtrack: null, onremovetrack: null, onactive: null, …}active: trueid: "MgA4KkoNDBQnfya3QjG7jqWqkDtyGUvx0pvl"onactive: nullonaddtrack: nulloninactive: nullonremovetrack: null[[Prototype]]: MediaStreamactive: (...)addTrack: ƒ addTrack()clone: ƒ clone()getAudioTracks: ƒ getAudioTracks()getTrackById: ƒ getTrackById()getTracks: ƒ getTracks()getVideoTracks: ƒ getVideoTracks()id: (...)onactive: (...)onaddtrack: (...)oninactive: (...)onremovetrack: (...)removeTrack: ƒ removeTrack()constructor: ƒ MediaStream()Symbol(Symbol.toStringTag): "MediaStream"get active: ƒ active()get id: ƒ id()get onactive: ƒ onactive()set onactive: ƒ onactive()get onaddtrack: ƒ onaddtrack()set onaddtrack: ƒ onaddtrack()get oninactive: ƒ oninactive()set oninactive: ƒ oninactive()get onremovetrack: ƒ onremovetrack()set onremovetrack: ƒ onremovetrack()[[Prototype]]: EventTarget false main.js:59 Message from server: Client said: got user media favicon.ico:1 GET http://localhost:3000/favicon.ico 404 (Not Found)

Android Studio console log

---------------------------- PROCESS STARTED (19306) for package com.myhexaville.androidwebrtc ---------------------------- 2022-12-11 19:21:55.249 1165-10078 ActivityTaskManager pid-1165 I START u0 {cmp=com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} from uid 10179 2022-12-11 19:21:55.249 1165-10078 ActivityTaskManager pid-1165 D TaskLaunchParamsModifier:task=null activity=ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity display-area-from-source=DefaultTaskDisplayArea@125532576 display-id=0 display-windowing-mode=1 suggested-display-area=DefaultTaskDisplayArea@125532576 2022-12-11 19:21:55.250 1165-10078 ActivityTaskManager pid-1165 D TaskLaunchParamsModifier:task=Task{1af4a7a #414 type=standard A=10179:com.myhexaville.androidwebrtc U=0 visible=true mode=fullscreen translucent=false sz=1} activity=ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t-1} display-area-from-source=DefaultTaskDisplayArea@125532576 display-id=0 display-windowing-mode=1 suggested-display-area=DefaultTaskDisplayArea@125532576 inherit-from-source=fullscreen activity-options-fullscreen=Rect(0, 0 - 0, 0) non-freeform-display display-area=DefaultTaskDisplayArea@125532576 maximized-bounds 2022-12-11 19:21:55.251 938-1079 SurfaceFlinger pid-938 I id=42790 createSurf (0x0),-1 flag=80004, ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414}#0 2022-12-11 19:21:55.270 1165-10078 WindowManager pid-1165 D rotationForOrientation, orientationSource=ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414} 2022-12-11 19:21:55.270 1165-10078 WindowManager pid-1165 D rotationForOrientation, orientationSource=ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414} 2022-12-11 19:21:55.271 1165-10078 WindowManager pid-1165 D rotationForOrientation, orientationSource=ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414} 2022-12-11 19:21:55.319 19306-19306 CompleteActivity com.myhexaville.androidwebrtc E REPLACE ME: IO Socket:http://localhost:3000 2022-12-11 19:21:55.440 19306-19485 CompleteActivity com.myhexaville.androidwebrtc D onRenegotiationNeeded: 2022-12-11 19:21:55.450 938-1079 SurfaceFlinger pid-938 I id=42791 createSurf (0x0),-1 flag=80004, 1b671d6 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity#0 2022-12-11 19:21:55.455 19306-19306 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I setView = com.android.internal.policy.DecorView@f12b808 TM=true 2022-12-11 19:21:55.460 19306-19306 SurfaceView@3be8020 com.myhexaville.androidwebrtc I onWindowVisibilityChanged(0) true org.webrtc.SurfaceViewRenderer{3be8020 V.E...... ......I. 0,0-0,0 #7f0900c4 app:id/surface_view} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:21:55.460 19306-19306 SurfaceView@a51e39e com.myhexaville.androidwebrtc I onWindowVisibilityChanged(0) true org.webrtc.SurfaceViewRenderer{a51e39e V.E...... ......I. 0,0-0,0 #7f0900c5 app:id/surface_view2} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:21:55.469 1165-4946 WindowManager pid-1165 V Relayout Window{1b671d6 u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity}: viewVisibility=0 req=1080x2280 d0 2022-12-11 19:21:55.470 938-1079 SurfaceFlinger pid-938 I id=42792 createSurf (1x1),-3 flag=40004, com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity$_19306#0 2022-12-11 19:21:55.471 1165-4946 WindowManager pid-1165 D makeSurface duration=1 name=com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity$_19306 2022-12-11 19:21:55.475 1165-4946 WindowManager pid-1165 V Changing focus from null to Window{1b671d6 u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:583 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6479 com.android.server.wm.WindowManagerService.relayoutWindow:2749 com.android.server.wm.Session.relayout:242 2022-12-11 19:21:55.485 19306-19306 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I Relayout returned: old=(0,0,1080,2280) new=(0,0,1080,2280) req=(1080,2280)0 dur=14 res=0x7 s={true 515825478736} ch=true fn=-1 2022-12-11 19:21:55.491 19306-19306 SurfaceView@3be8020 com.myhexaville.androidwebrtc I windowStopped(false) true org.webrtc.SurfaceViewRenderer{3be8020 V.E...... ......ID 0,0-1080,947 #7f0900c4 app:id/surface_view} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:21:55.491 19306-19306 SurfaceView@a51e39e com.myhexaville.androidwebrtc I windowStopped(false) true org.webrtc.SurfaceViewRenderer{a51e39e V.E...... ......ID 0,0-1080,948 #7f0900c5 app:id/surface_view2} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:21:55.492 19306-19306 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] dp(1) 1 android.view.ViewRootImpl.reportNextDraw:11374 android.view.ViewRootImpl.performTraversals:4167 android.view.ViewRootImpl.doTraversal:2893 2022-12-11 19:21:55.492 938-1838 SurfaceFlinger pid-938 I id=42795 createSurf (0x0),-1 flag=20004, Bounds for - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@0#0 2022-12-11 19:21:55.494 938-1838 SurfaceFlinger pid-938 I id=42796 createSurf (0x0),-1 flag=80004, SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0#0 2022-12-11 19:21:55.496 938-1838 SurfaceFlinger pid-938 I id=42797 createSurf (0x0),-1 flag=40400, SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0(BLAST)#0 2022-12-11 19:21:55.497 938-1838 SurfaceFlinger pid-938 I id=42798 createSurf (0x0),-1 flag=20404, Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0#0 2022-12-11 19:21:55.501 19306-19306 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] dp(2) 1 android.view.SurfaceView.updateSurface:1375 android.view.SurfaceView.lambda$new$1$SurfaceView:254 android.view.SurfaceView$$ExternalSyntheticLambda2.onPreDraw:2 2022-12-11 19:21:55.501 19306-19306 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] pdf(1) 1 android.view.SurfaceView.notifyDrawFinished:599 android.view.SurfaceView.performDrawFinished:586 android.view.SurfaceView.$r8$lambda$st27mCkd9jfJkTrN_P3qIGKX6NY:0 2022-12-11 19:21:55.502 938-1838 SurfaceFlinger pid-938 I id=42799 createSurf (0x0),-1 flag=80004, SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0#0 2022-12-11 19:21:55.504 938-1838 SurfaceFlinger pid-938 I id=42800 createSurf (0x0),-1 flag=40400, SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0(BLAST)#0 2022-12-11 19:21:55.505 938-1838 SurfaceFlinger pid-938 I id=42801 createSurf (0x0),-1 flag=20404, Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0#0 2022-12-11 19:21:55.506 1165-4946 InputDispatcher pid-1165 D Focus request (0): 1b671d6 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity but waiting because NOT_VISIBLE 2022-12-11 19:21:55.508 19306-19306 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] dp(2) 1 android.view.SurfaceView.updateSurface:1375 android.view.SurfaceView.lambda$new$1$SurfaceView:254 android.view.SurfaceView$$ExternalSyntheticLambda2.onPreDraw:2 2022-12-11 19:21:55.508 19306-19306 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] pdf(1) 1 android.view.SurfaceView.notifyDrawFinished:599 android.view.SurfaceView.performDrawFinished:586 android.view.SurfaceView.$r8$lambda$st27mCkd9jfJkTrN_P3qIGKX6NY:0 2022-12-11 19:21:55.514 19306-19352 SurfaceView@3be8020 com.myhexaville.androidwebrtc I aOrMT: vR.mWNT, vR = ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:21:55.514 19306-19352 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: t = android.view.SurfaceControl$Transaction@3083a93 fN = 1 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 2022-12-11 19:21:55.514 19306-19352 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: merge t to BBQ 2022-12-11 19:21:55.515 19306-19351 SurfaceView@a51e39e com.myhexaville.androidwebrtc I aOrMT: vR.mWNT, vR = ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:21:55.515 19306-19351 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: t = android.view.SurfaceControl$Transaction@d0bead0 fN = 1 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 2022-12-11 19:21:55.515 19306-19351 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: merge t to BBQ 2022-12-11 19:21:55.516 19306-19347 BufferQueueProducer com.myhexaville.androidwebrtc I ViewRootImpl@4eee746[CompleteActivity]#1(BLAST Consumer)1 queueBuffer: queued for the first time. 2022-12-11 19:21:55.520 19306-19306 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] pdf(0) 1 android.view.ViewRootImpl.lambda$addFrameCompleteCallbackIfNeeded$3$ViewRootImpl:4969 android.view.ViewRootImpl$$ExternalSyntheticLambda16.run:6 android.os.Handler.handleCallback:938 2022-12-11 19:21:55.520 19306-19306 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] rdf() 2022-12-11 19:21:55.520 19306-19306 ViewRootIm...eActivity] com.myhexaville.androidwebrtc D reportDrawFinished (fn: -1) 2022-12-11 19:21:55.520 1165-4987 WindowManager pid-1165 D finishDrawingWindow: Window{1b671d6 u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} mDrawState=DRAW_PENDING 2022-12-11 19:21:55.532 1165-1473 WindowManager pid-1165 I Reparenting to leash, surface=Surface(name=ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414})/@0xeec0055, leashParent=Surface(name=Task=414)/@0xb69f5ef 2022-12-11 19:21:55.532 938-1838 SurfaceFlinger pid-938 I id=42806 createSurf (0x0),-1 flag=24004, Surface(name=ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414})/@0xeec0055 - animation-leash of app_transition#0 2022-12-11 19:21:55.533 1165-1473 WindowManager pid-1165 D makeSurface duration=2 leash=Surface(name=Surface(name=ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414})/@0xeec0055 - animation-leash of app_transition)/@0x9543a6a 2022-12-11 19:21:55.534 938-1079 SurfaceFlinger pid-938 I id=42807 createSurf (0x0),-1 flag=80004, Surface(name=ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414})/@0xeec0055 - animation-bounds#0 2022-12-11 19:21:55.537 1165-1467 ActivityTaskManager pid-1165 I Displayed com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity: +287ms 2022-12-11 19:21:55.555 1165-4946 InputDispatcher pid-1165 D Focus entered window (0): 1b671d6 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity 2022-12-11 19:21:55.556 19306-19306 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I MSG_WINDOW_FOCUS_CHANGED 1 1 2022-12-11 19:21:55.577 938-938 SurfaceFlinger pid-938 D Display 4630947232161729153 HWC layers: DEVICE | 0xb40000773e280ba0 | 0102 | RGBA_8888 | 0.0 7.0 1080.0 2280.0 | 0 0 1080 2273 | com.myhexaville.androidwebrtc/com.sh[...]roidwebrtc.LauncherActivity$_19306#0 SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 642 1080 1589 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@3be8020@0#0 SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 1589 1080 2280 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@a51e39e@0#0 DEVICE | 0xb40000773e271e40 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 1302.0 | 0 383 1080 1685 | com.myhexaville.androidwebrtc/com.sh[...]c.tutorial.CompleteActivity$_19306#0 DEVICE | 0xb40000773e2773c0 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 112.0 | 0 0 1080 112 | StatusBar$_4855#0 DEVICE | 0xb40000773e26ef00 | 0100 | RGBA_8888 | 0.0 0.0 67.0 424.0 | 1013 542 1080 966 | com.samsung.and 2022-12-11 19:21:55.594 938-938 SurfaceFlinger pid-938 D Display 4630947232161729153 HWC layers: DEVICE | 0xb40000773e27b590 | 0102 | RGBA_8888 | 0.0 18.0 1080.0 2280.0 | 0 0 1080 2262 | com.myhexaville.androidwebrtc/com.sh[...]roidwebrtc.LauncherActivity$_19306#0 SOLID_COLOR | | 0000 | Unknown | 0.0 0.0 0.0 0.0 | 0 0 1080 2262 | Dim Layer for - ActivityRecord{398bc[...]cherActivity t414} - animating-dim#0 SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 576 1080 1523 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@3be8020@0#0 SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 1523 1080 2280 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@a51e39e@0#0 DEVICE | 0xb40000773e271e40 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 1302.0 | 0 317 1080 1619 | com.myhexaville.androidwebrtc/com.sh[...]c.tutorial.CompleteActivity$_19306#0 DEVICE | 0xb40000773e2773c0 | 0100 | RGBA_8888 | 0.0 0.0 1 2022-12-11 19:21:55.728 938-938 SurfaceFlinger pid-938 D Display 4630947232161729153 HWC layers: DEVICE | 0xb40000773e27fbe0 | 0102 | RGBA_8888 | 0.0 64.0 1080.0 2280.0 | 0 0 1080 2216 | com.myhexaville.androidwebrtc/com.sh[...]roidwebrtc.LauncherActivity$_19306#0 SOLID_COLOR | | 0000 | Unknown | 0.0 0.0 0.0 0.0 | 0 0 1080 2216 | Dim Layer for - ActivityRecord{398bc[...]cherActivity t414} - animating-dim#0 SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 304 1080 1251 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@3be8020@0#0 SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 1251 1080 2199 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@a51e39e@0#0 DEVICE | 0xb40000773e271e40 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 2235.0 | 0 45 1080 2280 | com.myhexaville.androidwebrtc/com.sh[...]c.tutorial.CompleteActivity$_19306#0 DEVICE | 0xb40000773e2654e0 | 0100 | RGBA_8888 | 0.0 0.0 1 2022-12-11 19:21:55.938 1165-1473 WindowManager pid-1165 I Reparenting to original parent: Surface(name=Task=414)/@0xb69f5ef, destroy=true, surface=Surface(name=ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414})/@0xeec0055 2022-12-11 19:21:55.955 938-938 Layer pid-938 I id=42806 removedFromDrawingState Surface(name=ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414})/@0xeec0055 - animation-leash of app_transition#0 (142) 2022-12-11 19:21:55.955 938-938 Layer pid-938 I id=42807 removedFromDrawingState Surface(name=ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414})/@0xeec0055 - animation-bounds#0 (142) 2022-12-11 19:21:55.955 938-938 SurfaceFlinger pid-938 I id=42807 Removed Surface(name=ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414})/@0xeec0055 - animation-bounds#0 (142) 2022-12-11 19:21:55.956 938-938 SurfaceFlinger pid-938 I id=42806 Removed Surface(name=ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414})/@0xeec0055 - animation-leash of app_transition#0 (142) 2022-12-11 19:21:55.956 938-938 Layer pid-938 I id=42807 Destroyed Surface(name=ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414})/@0xeec0055 - animation-bounds#0 2022-12-11 19:21:55.956 938-938 Layer pid-938 I id=42806 Destroyed Surface(name=ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414})/@0xeec0055 - animation-leash of app_transition#0 2022-12-11 19:21:55.962 938-938 SurfaceFlinger pid-938 D Display 4630947232161729153 HWC layers: SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 259 1080 1206 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@3be8020@0#0 SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 1206 1080 2154 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@a51e39e@0#0 DEVICE | 0xb40000773e271e40 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 2280.0 | 0 0 1080 2280 | com.myhexaville.androidwebrtc/com.sh[...]c.tutorial.CompleteActivity$_19306#0 DEVICE | 0xb40000773e2843e0 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 112.0 | 0 0 1080 112 | StatusBar$_4855#0 DEVICE | 0xb40000773e26ef00 | 0100 | RGBA_8888 | 0.0 0.0 67.0 424.0 | 1013 542 1080 966 | com.samsung.android.app.cocktailbars[...]rservice.CocktailBarService$_11781#0 DEVICE | 0xb40000773e281fe0 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 126.0 | 0 2154 1080 2280 | NavigationBar0$ 2022-12-11 19:21:55.996 19306-19478 BufferQueueProducer com.myhexaville.androidwebrtc I SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0#2(BLAST Consumer)2 queueBuffer: queued for the first time. 2022-12-11 19:21:56.009 19306-19306 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] dp(1) 1 android.view.SurfaceView.updateSurface:1375 android.view.SurfaceView.setFrame:675 android.view.View.layout:24458 2022-12-11 19:21:56.009 19306-19306 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] pdf(0) 1 android.view.SurfaceView.notifyDrawFinished:599 android.view.SurfaceView.performDrawFinished:586 android.view.SurfaceView.$r8$lambda$st27mCkd9jfJkTrN_P3qIGKX6NY:0 2022-12-11 19:21:56.009 19306-19306 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] rdf() 2022-12-11 19:21:56.009 19306-19306 ViewRootIm...eActivity] com.myhexaville.androidwebrtc D reportDrawFinished (fn: -1) 2022-12-11 19:21:56.010 1165-8435 WindowManager pid-1165 D finishDrawingWindow: Window{1b671d6 u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} mDrawState=HAS_DRAWN 2022-12-11 19:21:56.012 938-938 SurfaceFlinger pid-938 D Display 4630947232161729153 HWC layers: SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 1206 1080 2154 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@a51e39e@0#0 DEVICE | 0xb40000773e26d010 | 0102 | RGBx_8888 | 0.0 0.0 1080.0 947.0 | 0 259 1080 1206 | SurfaceView - com.myhexaville.androi[...].CompleteActivity@3be8020@0(BLAST)#0 DEVICE | 0xb40000773e271e40 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 2280.0 | 0 0 1080 2280 | com.myhexaville.androidwebrtc/com.sh[...]c.tutorial.CompleteActivity$_19306#0 DEVICE | 0xb40000773e2843e0 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 112.0 | 0 0 1080 112 | StatusBar$_4855#0 DEVICE | 0xb40000773e26ef00 | 0100 | RGBA_8888 | 0.0 0.0 67.0 424.0 | 1013 542 1080 966 | com.samsung.android.app.cocktailbars[...]rservice.CocktailBarService$_11781#0 DEVICE | 0xb40000773e281fe0 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 126.0 | 0 2154 1080 2280 | Navigat 2022-12-11 19:21:56.012 19306-19352 SurfaceView@3be8020 com.myhexaville.androidwebrtc I aOrMT: vR.mWNT, vR = ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:21:56.012 19306-19352 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: t = android.view.SurfaceControl$Transaction@a4330da fN = 3 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 2022-12-11 19:21:56.012 19306-19352 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: merge t to BBQ 2022-12-11 19:22:08.540 5794-5794 RecentsView pid-5794 I onGestureAnimationStart, runningTaskInfo : TaskInfo{userId=0 taskId=414 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.LauncherActivity } baseActivity=ComponentInfo{com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.LauncherActivity} topActivity=ComponentInfo{com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} origActivity=null realActivity=ComponentInfo{com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.LauncherActivity} numActivities=2 lastActiveTime=432204500 supportsSplitScreenMultiWindow=true supportsMultiWindow=true resizeMode=1 isResizeable=true token=WCT{android.window.IWindowContainerToken$Stub$Proxy@b0d4b64} topActivityType=1 pictureInPictureParams=PictureInPictureParams( aspectRatio=null sourceRectHint=null hasSetActions=false isAutoPipEnabled=false isSeamlessResizeEnabled=true) displayCutoutSafeInsets=Rect(0, 112 - 0, 0) topActivityInfo=ActivityInfo{4f9c1cd com.shivam.androidwebrtc.tutorial.CompleteActivity} launchCookies=[com.android.launcher3.util.ObjectWrapper@8f22a82] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=true isVisible=true topActivityInSizeCompat=false locusId= null topLaunchHome=false launchSplitWindowingMode=0 isPairTask=false pairedTaskIds=[] pairWindowingMode=0 pairDockSide=0 isAnimatingByRecent=false originallySupportedSplitScreen=true isAnimatingFreeformToFullscreen=false topActivityInFixedAspectRatio=false isTopTransparentActivity=true} 2022-12-11 19:22:08.553 5794-5794 RecentsView pid-5794 I showCurrentTask : TaskInfo{userId=0 taskId=414 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.LauncherActivity } baseActivity=ComponentInfo{com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.LauncherActivity} topActivity=ComponentInfo{com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} origActivity=null realActivity=ComponentInfo{com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.LauncherActivity} numActivities=2 lastActiveTime=432204500 supportsSplitScreenMultiWindow=true supportsMultiWindow=true resizeMode=1 isResizeable=true token=WCT{android.window.IWindowContainerToken$Stub$Proxy@b0d4b64} topActivityType=1 pictureInPictureParams=PictureInPictureParams( aspectRatio=null sourceRectHint=null hasSetActions=false isAutoPipEnabled=false isSeamlessResizeEnabled=true) displayCutoutSafeInsets=Rect(0, 112 - 0, 0) topActivityInfo=ActivityInfo{4f9c1cd com.shivam.androidwebrtc.tutorial.CompleteActivity} launchCookies=[com.android.launcher3.util.ObjectWrapper@8f22a82] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=true isVisible=true topActivityInSizeCompat=false locusId= null topLaunchHome=false launchSplitWindowingMode=0 isPairTask=false pairedTaskIds=[] pairWindowingMode=0 pairDockSide=0 isAnimatingByRecent=false originallySupportedSplitScreen=true isAnimatingFreeformToFullscreen=false topActivityInFixedAspectRatio=false isTopTransparentActivity=true} 2022-12-11 19:22:08.557 5794-5794 RecentsView pid-5794 I onGestureAnimationStart, runningTaskInfo : TaskInfo{userId=0 taskId=414 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.LauncherActivity } baseActivity=ComponentInfo{com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.LauncherActivity} topActivity=ComponentInfo{com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} origActivity=null realActivity=ComponentInfo{com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.LauncherActivity} numActivities=2 lastActiveTime=432204500 supportsSplitScreenMultiWindow=true supportsMultiWindow=true resizeMode=1 isResizeable=true token=WCT{android.window.IWindowContainerToken$Stub$Proxy@b0d4b64} topActivityType=1 pictureInPictureParams=PictureInPictureParams( aspectRatio=null sourceRectHint=null hasSetActions=false isAutoPipEnabled=false isSeamlessResizeEnabled=true) displayCutoutSafeInsets=Rect(0, 112 - 0, 0) topActivityInfo=ActivityInfo{4f9c1cd com.shivam.androidwebrtc.tutorial.CompleteActivity} launchCookies=[com.android.launcher3.util.ObjectWrapper@8f22a82] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=true isVisible=true topActivityInSizeCompat=false locusId= null topLaunchHome=false launchSplitWindowingMode=0 isPairTask=false pairedTaskIds=[] pairWindowingMode=0 pairDockSide=0 isAnimatingByRecent=false originallySupportedSplitScreen=true isAnimatingFreeformToFullscreen=false topActivityInFixedAspectRatio=false isTopTransparentActivity=true} 2022-12-11 19:22:08.557 5794-5794 RecentsView pid-5794 I showCurrentTask : TaskInfo{userId=0 taskId=414 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.LauncherActivity } baseActivity=ComponentInfo{com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.LauncherActivity} topActivity=ComponentInfo{com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} origActivity=null realActivity=ComponentInfo{com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.LauncherActivity} numActivities=2 lastActiveTime=432204500 supportsSplitScreenMultiWindow=true supportsMultiWindow=true resizeMode=1 isResizeable=true token=WCT{android.window.IWindowContainerToken$Stub$Proxy@b0d4b64} topActivityType=1 pictureInPictureParams=PictureInPictureParams( aspectRatio=null sourceRectHint=null hasSetActions=false isAutoPipEnabled=false isSeamlessResizeEnabled=true) displayCutoutSafeInsets=Rect(0, 112 - 0, 0) topActivityInfo=ActivityInfo{4f9c1cd com.shivam.androidwebrtc.tutorial.CompleteActivity} launchCookies=[com.android.launcher3.util.ObjectWrapper@8f22a82] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=true isVisible=true topActivityInSizeCompat=false locusId= null topLaunchHome=false launchSplitWindowingMode=0 isPairTask=false pairedTaskIds=[] pairWindowingMode=0 pairDockSide=0 isAnimatingByRecent=false originallySupportedSplitScreen=true isAnimatingFreeformToFullscreen=false topActivityInFixedAspectRatio=false isTopTransparentActivity=true} 2022-12-11 19:22:08.570 1165-8442 WindowManager pid-1165 D rotationForOrientation, orientationSource=ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414} 2022-12-11 19:22:08.597 938-938 SurfaceFlinger pid-938 D Display 4630947232161729153 HWC layers: DEVICE | 0xb40000773e27d3f0 | 0100 | RGBx_8888 | 0.0 0.0 1080.0 2280.0 | 0 0 1080 2280 | Wallpaper BBQ wrapper#0 SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 1206 1080 2154 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@a51e39e@0#0 DEVICE | 0xb40000773e27aae0 | 0102 | RGBx_8888 | 0.0 0.0 720.0 631.0 | 0 259 1080 1206 | SurfaceView - com.myhexaville.androi[...].CompleteActivity@3be8020@0(BLAST)#0 DEVICE | 0xb40000773e24b800 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 2280.0 | 0 0 1080 2280 | com.myhexaville.androidwebrtc/com.sh[...]c.tutorial.CompleteActivity$_19306#0 DEVICE | 0xb40000773e2843e0 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 112.0 | 0 0 1080 112 | StatusBar$_4855#0 DEVICE | 0xb40000773e26ef00 | 0100 | RGBA_8888 | 0.0 0.0 67.0 424.0 | 1013 542 1080 966 | com.samsung.android.app.cocktailbars[...]rservice.CocktailBar 2022-12-11 19:22:08.604 1165-5855 WindowManager pid-1165 V Changing focus from Window{1b671d6 u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} to null displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:583 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6479 com.android.server.wm.WindowManagerService.relayoutWindow:2749 com.android.server.wm.Session.relayout:242 2022-12-11 19:22:08.609 1165-5855 InputDispatcher pid-1165 D Focus left window (0): 1b671d6 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity 2022-12-11 19:22:08.610 19306-19306 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I MSG_WINDOW_FOCUS_CHANGED 0 1 2022-12-11 19:22:08.634 938-938 SurfaceFlinger pid-938 D Display 4630947232161729153 HWC layers: DEVICE | 0xb40000773e27d3f0 | 0100 | RGBx_8888 | 0.0 0.0 1080.0 2280.0 | 0 0 1080 2280 | Wallpaper BBQ wrapper#0 CLIENT | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 13 259 1080 1206 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@3be8020@0#0 CLIENT | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 13 1206 1080 2154 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@a51e39e@0#0 CLIENT | 0xb40000773e288250 | 0102 | RGBx_8888 | 0.0 0.0 711.0 631.0 | 13 259 1080 1206 | SurfaceView - com.myhexaville.androi[...].CompleteActivity@3be8020@0(BLAST)#0 CLIENT | 0xb40000773e24b800 | 0100 | RGBA_8888 | 0.0 0.0 1067.0 2280.0 | 13 0 1080 2280 | com.myhexaville.androidwebrtc/com.sh[...]c.tutorial.CompleteActivity$_19306#0 DEVICE | 0xb40000773e2843e0 | 0100 | RGBA8888 | 0.0 0.0 1080.0 112.0 | 0 0 1080 112 | StatusBar$ 2022-12-11 19:22:08.654 938-938 SurfaceFlinger pid-938 D Display 4630947232161729153 HWC layers: CLIENT | 0xb40000773e27d3f0 | 0100 | RGBx_8888 | 0.0 0.0 1080.0 2280.0 | 0 0 1080 2280 | Wallpaper BBQ wrapper#0 CLIENT | | 0000 | Unknown | 0.0 0.0 0.0 0.0 | 0 0 1080 2280 | OneUiHome-BlurLayer#0 (backgroundBlurRadius) CLIENT | 0xb40000773e27cf70 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 2280.0 | 0 0 1080 2280 | com.sec.android.app.launcher/com.sec[...].activities.LauncherActivity$_5794#0 CLIENT | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 13 259 1080 1206 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@3be8020@0#0 CLIENT | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 13 1206 1080 2154 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@a51e39e@0#0 CLIENT | 0xb40000773e288250 | 0102 | RGBx_8888 | 0.0 0.0 711.0 631.0 | 13 259 1080 1206 | SurfaceView - com.myhexaville.androi[...].CompleteAct 2022-12-11 19:22:08.654 938-938 SurfaceFlinger pid-938 D ivity@3be8020@0(BLAST)#0 CLIENT | 0xb40000773e24b800 | 0100 | RGBA_8888 | 0.0 0.0 1067.0 2280.0 | 13 0 1080 2280 | com.myhexaville.androidwebrtc/com.sh[...]c.tutorial.CompleteActivity$_19306#0 DEVICE | 0xb40000773e2843e0 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 112.0 | 0 0 1080 112 | StatusBar$_4855#0 DEVICE | 0xb40000773e26ef00 | 0100 | RGBA_8888 | 0.0 0.0 67.0 424.0 | 1013 542 1080 966 | com.samsung.android.app.cocktailbars[...]rservice.CocktailBarService$_11781#0 DEVICE | 0xb40000773e284ce0 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 126.0 | 0 2154 1080 2280 | NavigationBar0$_4855#0 DEVICE | 0xb40000773e276c70 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 188.0 | 0 0 1080 188 | ScreenDecorOverlay$_4855#0 DEVICE | 0xb40000773e280960 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 112.0 | 0 2168 1080 2280 | ScreenDecorOverlayBottom$_4855#0 2022-12-11 19:22:08.742 1165-5034 MdnieScena...rolService pid-1165 D packageName : com.myhexaville.androidwebrtc className : com.shivam.androidwebrtc.tutorial.CompleteActivity 2022-12-11 19:22:09.023 1165-5855 WindowManager pid-1165 V Setting visibility of Window{1b671d6 u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity}: false, caller=com.android.server.wm.WindowContainer.sendAppVisibilityToClients:1104 com.android.server.wm.WindowToken.setClientVisible:448 com.android.server.wm.ActivityRecord.setClientVisible:6985 com.android.server.wm.ActivityRecord.onAnimationFinished:7872 com.android.server.wm.ActivityRecord.postApplyAnimation:5573 2022-12-11 19:22:09.036 19306-19306 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I handleAppVisibility mAppVisible=true visible=false 2022-12-11 19:22:09.037 19306-19306 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I stopped(true) old=false 2022-12-11 19:22:09.039 19306-19347 SurfaceView@3be8020 com.myhexaville.androidwebrtc I aOrMT: vR.mWNT, vR = ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:22:09.039 19306-19347 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: t = android.view.SurfaceControl$Transaction@4cf442c fN = 0 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionLost:1785 2022-12-11 19:22:09.039 19306-19347 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: merge t to BBQ 2022-12-11 19:22:09.040 19306-19347 SurfaceView@a51e39e com.myhexaville.androidwebrtc I aOrMT: vR.mWNT, vR = ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:22:09.040 19306-19347 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: t = android.view.SurfaceControl$Transaction@7b9848a fN = 0 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionLost:1785 2022-12-11 19:22:09.040 19306-19347 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: merge t to BBQ 2022-12-11 19:22:09.041 19306-19306 SurfaceView@3be8020 com.myhexaville.androidwebrtc I windowStopped(true) false org.webrtc.SurfaceViewRenderer{3be8020 V.E...... ........ 0,0-1080,947 #7f0900c4 app:id/surface_view} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:22:09.044 19306-19306 SurfaceView@3be8020 com.myhexaville.androidwebrtc I remove() org.webrtc.SurfaceViewRenderer{3be8020 V.E...... ........ 0,0-1080,947 #7f0900c4 app:id/surface_view} Surface(name=SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0)/@0xd1baafb 2022-12-11 19:22:09.045 19306-19306 SurfaceView@a51e39e com.myhexaville.androidwebrtc I windowStopped(true) false org.webrtc.SurfaceViewRenderer{a51e39e V.E...... ........ 0,0-1080,948 #7f0900c5 app:id/surface_view2} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:22:09.048 19306-19306 SurfaceView@a51e39e com.myhexaville.androidwebrtc I remove() org.webrtc.SurfaceViewRenderer{a51e39e V.E...... ........ 0,0-1080,948 #7f0900c5 app:id/surface_view2} Surface(name=SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0)/@0x9b35f56 2022-12-11 19:22:09.050 938-1008 SurfaceFlinger pid-938 I id=42795 Removed Bounds for - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@0#0 (135) 2022-12-11 19:22:09.055 19306-19306 SurfaceView@3be8020 com.myhexaville.androidwebrtc I onWindowVisibilityChanged(8) false org.webrtc.SurfaceViewRenderer{3be8020 V.E...... ........ 0,0-1080,947 #7f0900c4 app:id/surface_view} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:22:09.055 19306-19306 SurfaceView@a51e39e com.myhexaville.androidwebrtc I onWindowVisibilityChanged(8) false org.webrtc.SurfaceViewRenderer{a51e39e V.E...... ........ 0,0-1080,948 #7f0900c5 app:id/surface_view2} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:22:09.059 938-938 Layer pid-938 I id=42797 removedFromDrawingState SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0(BLAST)#0 (135) 2022-12-11 19:22:09.059 938-938 Layer pid-938 I id=42798 removedFromDrawingState Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0#0 (135) 2022-12-11 19:22:09.059 938-938 Layer pid-938 I id=42796 removedFromDrawingState SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0#0 (135) 2022-12-11 19:22:09.059 938-938 Layer pid-938 I id=42800 removedFromDrawingState SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0(BLAST)#0 (135) 2022-12-11 19:22:09.059 938-938 Layer pid-938 I id=42801 removedFromDrawingState Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0#0 (135) 2022-12-11 19:22:09.059 1165-4946 WindowManager pid-1165 V Relayout Window{1b671d6 u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity}: viewVisibility=8 req=1080x2280 d0 2022-12-11 19:22:09.059 938-938 Layer pid-938 I id=42799 removedFromDrawingState SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0#0 (135) 2022-12-11 19:22:09.059 938-938 SurfaceFlinger pid-938 I id=42800 Removed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0(BLAST)#0 (135) 2022-12-11 19:22:09.059 938-938 SurfaceFlinger pid-938 I id=42799 Removed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0#0 (135) 2022-12-11 19:22:09.059 938-938 SurfaceFlinger pid-938 I id=42801 Removed Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0#0 (135) 2022-12-11 19:22:09.059 938-938 SurfaceFlinger pid-938 I id=42797 Removed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0(BLAST)#0 (135) 2022-12-11 19:22:09.059 938-938 SurfaceFlinger pid-938 I id=42798 Removed Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0#0 (135) 2022-12-11 19:22:09.059 938-938 SurfaceFlinger pid-938 I id=42796 Removed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0#0 (135) 2022-12-11 19:22:09.060 938-938 Layer pid-938 I id=42796 Destroyed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0#0 2022-12-11 19:22:09.060 938-938 Layer pid-938 I id=42798 Destroyed Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0#0 2022-12-11 19:22:09.060 938-938 Layer pid-938 I id=42797 Destroyed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0(BLAST)#0 2022-12-11 19:22:09.061 938-938 Layer pid-938 I id=42799 Destroyed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0#0 2022-12-11 19:22:09.061 938-938 Layer pid-938 I id=42801 Destroyed Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0#0 2022-12-11 19:22:09.062 938-938 Layer pid-938 I id=42800 Destroyed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0(BLAST)#0 2022-12-11 19:22:09.064 19306-19306 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I Relayout returned: old=(0,0,1080,2280) new=(0,0,1080,2280) req=(1080,2280)8 dur=4 res=0x5 s={false 0} ch=false fn=-1 2022-12-11 19:22:09.066 1165-4946 WindowManager pid-1165 E win=Window{1b671d6 u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} destroySurfaces: appStopped=true win.mWindowRemovalAllowed=false win.mRemoveOnExit=false win.mViewVisibility=8 caller=com.android.server.wm.ActivityRecord.destroySurfaces:5842 com.android.server.wm.ActivityRecord.destroySurfaces:5823 com.android.server.wm.ActivityRecord.notifyAppStopped:5887 com.android.server.wm.ActivityRecord.activityStopped:6513 com.android.server.wm.ActivityClientController.activityStopped:253 android.app.IActivityClientController$Stub.onTransact:596 com.android.server.wm.ActivityClientController.onTransact:129 2022-12-11 19:22:09.067 1165-4946 WindowManager pid-1165 I Destroying surface Surface(name=com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity$_19306)/@0xacd0d97 called by com.android.server.wm.WindowStateAnimator.destroySurface:987 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:518 com.android.server.wm.WindowState.destroySurfaceUnchecked:4229 com.android.server.wm.WindowState.destroySurface:4203 com.android.server.wm.ActivityRecord.destroySurfaces:5842 com.android.server.wm.ActivityRecord.destroySurfaces:5823 com.android.server.wm.ActivityRecord.notifyAppStopped:5887 com.android.server.wm.ActivityRecord.activityStopped:6513 2022-12-11 19:22:09.075 938-938 Layer pid-938 I id=42792 removedFromDrawingState com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity$_19306#0 (130) 2022-12-11 19:22:09.075 938-938 Layer pid-938 I id=42795 removedFromDrawingState Bounds for - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@0#0 (130) 2022-12-11 19:22:09.076 938-938 SurfaceFlinger pid-938 I id=42792 Removed com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity$_19306#0 (130) 2022-12-11 19:22:09.076 938-938 Layer pid-938 I id=42792 Destroyed com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity$_19306#0 2022-12-11 19:22:09.076 938-938 Layer pid-938 I id=42795 Destroyed Bounds for - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@0#0 ---------------------------- PROCESS ENDED (19306) for package com.myhexaville.androidwebrtc ---------------------------- 2022-12-11 19:22:09.766 1165-10078 WindowManager pid-1165 I WIN DEATH: Window{1b671d6 u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} 2022-12-11 19:22:09.767 1165-10078 InputManager-JNI pid-1165 W Input channel object '1b671d6 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity (client)' was disposed without first being removed with the input manager! 2022-12-11 19:22:09.775 1165-5711 ActivityTaskManager pid-1165 I Removing activity ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414 f}}(appDied) from stack callers=com.android.server.wm.ActivityRecord.handleAppDied:4261 com.android.server.wm.WindowProcessController.handleAppDied:1287 com.android.server.wm.ActivityTaskManagerService$LocalService.handleAppDied:7031 com.android.server.am.ActivityManagerService.handleAppDiedLocked:3649 com.android.server.am.ActivityManagerService.appDiedLocked:3839 2022-12-11 19:22:09.776 938-938 Layer pid-938 I id=42791 removedFromDrawingState 1b671d6 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity#0 (128) 2022-12-11 19:22:09.777 938-938 SurfaceFlinger pid-938 I id=42791 Removed 1b671d6 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity#0 (128) 2022-12-11 19:22:09.777 938-938 Layer pid-938 I id=42791 Destroyed 1b671d6 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity#0 2022-12-11 19:22:09.782 1165-1496 UsageStatsService pid-1165 W Unexpected activity event reported! (com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity event : 23 instanceId : 89815898) 2022-12-11 19:22:09.793 938-938 Layer pid-938 I id=42790 removedFromDrawingState ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414}#0 (126) 2022-12-11 19:22:09.793 938-938 SurfaceFlinger pid-938 I id=42790 Removed ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414}#0 (126) 2022-12-11 19:22:09.794 938-938 Layer pid-938 I id=42790 Destroyed ActivityRecord{ab8218b u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t414}#0 ---------------------------- PROCESS STARTED (19824) for package com.myhexaville.androidwebrtc ---------------------------- 2022-12-11 19:22:38.377 1165-8435 ActivityTaskManager pid-1165 I START u0 {cmp=com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} from uid 10179 2022-12-11 19:22:38.377 1165-8435 ActivityTaskManager pid-1165 D TaskLaunchParamsModifier:task=null activity=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity display-area-from-source=DefaultTaskDisplayArea@125532576 display-id=0 display-windowing-mode=1 suggested-display-area=DefaultTaskDisplayArea@125532576 2022-12-11 19:22:38.378 1165-8435 ActivityTaskManager pid-1165 D TaskLaunchParamsModifier:task=Task{daf8aff #415 type=standard A=10179:com.myhexaville.androidwebrtc U=0 visible=true mode=fullscreen translucent=false sz=1} activity=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t-1} display-area-from-source=DefaultTaskDisplayArea@125532576 display-id=0 display-windowing-mode=1 suggested-display-area=DefaultTaskDisplayArea@125532576 inherit-from-source=fullscreen activity-options-fullscreen=Rect(0, 0 - 0, 0) non-freeform-display display-area=DefaultTaskDisplayArea@125532576 maximized-bounds 2022-12-11 19:22:38.379 938-1008 SurfaceFlinger pid-938 I id=42842 createSurf (0x0),-1 flag=80004, ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415}#0 2022-12-11 19:22:38.392 1165-8435 WindowManager pid-1165 D rotationForOrientation, orientationSource=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415} 2022-12-11 19:22:38.392 1165-8435 WindowManager pid-1165 D rotationForOrientation, orientationSource=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415} 2022-12-11 19:22:38.393 1165-8435 WindowManager pid-1165 D rotationForOrientation, orientationSource=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415} 2022-12-11 19:22:38.444 19824-19824 CompleteActivity com.myhexaville.androidwebrtc E REPLACE ME: IO Socket:http://localhost:3000 2022-12-11 19:22:38.557 19824-19896 CompleteActivity com.myhexaville.androidwebrtc D onRenegotiationNeeded: 2022-12-11 19:22:38.568 938-1008 SurfaceFlinger pid-938 I id=42843 createSurf (0x0),-1 flag=80004, 3925b0c com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity#0 2022-12-11 19:22:38.574 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I setView = com.android.internal.policy.DecorView@f12b808 TM=true 2022-12-11 19:22:38.580 19824-19824 SurfaceView@3be8020 com.myhexaville.androidwebrtc I onWindowVisibilityChanged(0) true org.webrtc.SurfaceViewRenderer{3be8020 V.E...... ......I. 0,0-0,0 #7f0900c4 app:id/surface_view} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:22:38.580 19824-19824 SurfaceView@a51e39e com.myhexaville.androidwebrtc I onWindowVisibilityChanged(0) true org.webrtc.SurfaceViewRenderer{a51e39e V.E...... ......I. 0,0-0,0 #7f0900c5 app:id/surface_view2} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:22:38.592 1165-8441 WindowManager pid-1165 V Relayout Window{3925b0c u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity}: viewVisibility=0 req=1080x2280 d0 2022-12-11 19:22:38.593 938-1008 SurfaceFlinger pid-938 I id=42844 createSurf (1x1),-3 flag=40004, com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity$_19824#0 2022-12-11 19:22:38.594 1165-8441 WindowManager pid-1165 D makeSurface duration=2 name=com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity$_19824 2022-12-11 19:22:38.597 1165-8441 WindowManager pid-1165 V Changing focus from null to Window{3925b0c u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:583 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6479 com.android.server.wm.WindowManagerService.relayoutWindow:2749 com.android.server.wm.Session.relayout:242 2022-12-11 19:22:38.608 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I Relayout returned: old=(0,0,1080,2280) new=(0,0,1080,2280) req=(1080,2280)0 dur=14 res=0x7 s={true 515825478736} ch=true fn=-1 2022-12-11 19:22:38.615 19824-19824 SurfaceView@3be8020 com.myhexaville.androidwebrtc I windowStopped(false) true org.webrtc.SurfaceViewRenderer{3be8020 V.E...... ......ID 0,0-1080,947 #7f0900c4 app:id/surface_view} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:22:38.615 19824-19824 SurfaceView@a51e39e com.myhexaville.androidwebrtc I windowStopped(false) true org.webrtc.SurfaceViewRenderer{a51e39e V.E...... ......ID 0,0-1080,948 #7f0900c5 app:id/surface_view2} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:22:38.616 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] dp(1) 1 android.view.ViewRootImpl.reportNextDraw:11374 android.view.ViewRootImpl.performTraversals:4167 android.view.ViewRootImpl.doTraversal:2893 2022-12-11 19:22:38.619 1165-5445 InputDispatcher pid-1165 D Focus request (0): 3925b0c com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity but waiting because NOT_VISIBLE 2022-12-11 19:22:38.620 938-1847 SurfaceFlinger pid-938 I id=42847 createSurf (0x0),-1 flag=20004, Bounds for - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@0#0 2022-12-11 19:22:38.623 938-1847 SurfaceFlinger pid-938 I id=42848 createSurf (0x0),-1 flag=80004, SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0#0 2022-12-11 19:22:38.623 938-1847 SurfaceFlinger pid-938 I id=42849 createSurf (0x0),-1 flag=40400, SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0(BLAST)#0 2022-12-11 19:22:38.625 938-1847 SurfaceFlinger pid-938 I id=42850 createSurf (0x0),-1 flag=20404, Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0#0 2022-12-11 19:22:38.629 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] dp(2) 1 android.view.SurfaceView.updateSurface:1375 android.view.SurfaceView.lambda$new$1$SurfaceView:254 android.view.SurfaceView$$ExternalSyntheticLambda2.onPreDraw:2 2022-12-11 19:22:38.629 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] pdf(1) 1 android.view.SurfaceView.notifyDrawFinished:599 android.view.SurfaceView.performDrawFinished:586 android.view.SurfaceView.$r8$lambda$st27mCkd9jfJkTrN_P3qIGKX6NY:0 2022-12-11 19:22:38.630 938-1847 SurfaceFlinger pid-938 I id=42851 createSurf (0x0),-1 flag=80004, SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0#0 2022-12-11 19:22:38.631 938-1847 SurfaceFlinger pid-938 I id=42852 createSurf (0x0),-1 flag=40400, SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0(BLAST)#0 2022-12-11 19:22:38.632 938-1847 SurfaceFlinger pid-938 I id=42853 createSurf (0x0),-1 flag=20404, Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0#0 2022-12-11 19:22:38.636 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] dp(2) 1 android.view.SurfaceView.updateSurface:1375 android.view.SurfaceView.lambda$new$1$SurfaceView:254 android.view.SurfaceView$$ExternalSyntheticLambda2.onPreDraw:2 2022-12-11 19:22:38.636 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] pdf(1) 1 android.view.SurfaceView.notifyDrawFinished:599 android.view.SurfaceView.performDrawFinished:586 android.view.SurfaceView.$r8$lambda$st27mCkd9jfJkTrN_P3qIGKX6NY:0 2022-12-11 19:22:38.641 19824-19855 SurfaceView@a51e39e com.myhexaville.androidwebrtc I aOrMT: vR.mWNT, vR = ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:22:38.641 19824-19855 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: t = android.view.SurfaceControl$Transaction@3083a93 fN = 1 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 2022-12-11 19:22:38.641 19824-19855 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: merge t to BBQ 2022-12-11 19:22:38.641 19824-19856 SurfaceView@3be8020 com.myhexaville.androidwebrtc I aOrMT: vR.mWNT, vR = ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:22:38.641 19824-19856 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: t = android.view.SurfaceControl$Transaction@d0bead0 fN = 1 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 2022-12-11 19:22:38.641 19824-19856 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: merge t to BBQ 2022-12-11 19:22:38.642 19824-19851 BufferQueueProducer com.myhexaville.androidwebrtc I ViewRootImpl@4eee746[CompleteActivity]#1(BLAST Consumer)1 queueBuffer: queued for the first time. 2022-12-11 19:22:38.646 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] pdf(0) 1 android.view.ViewRootImpl.lambda$addFrameCompleteCallbackIfNeeded$3$ViewRootImpl:4969 android.view.ViewRootImpl$$ExternalSyntheticLambda16.run:6 android.os.Handler.handleCallback:938 2022-12-11 19:22:38.646 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] rdf() 2022-12-11 19:22:38.646 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc D reportDrawFinished (fn: -1) 2022-12-11 19:22:38.647 1165-8415 WindowManager pid-1165 D finishDrawingWindow: Window{3925b0c u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} mDrawState=DRAW_PENDING 2022-12-11 19:22:38.657 1165-1473 WindowManager pid-1165 I Reparenting to leash, surface=Surface(name=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415})/@0x1027f40, leashParent=Surface(name=Task=415)/@0xa3043e2 2022-12-11 19:22:38.657 938-1008 SurfaceFlinger pid-938 I id=42858 createSurf (0x0),-1 flag=24004, Surface(name=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415})/@0x1027f40 - animation-leash of app_transition#0 2022-12-11 19:22:38.658 1165-1473 WindowManager pid-1165 D makeSurface duration=1 leash=Surface(name=Surface(name=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415})/@0x1027f40 - animation-leash of app_transition)/@0xc55de79 2022-12-11 19:22:38.658 938-1008 SurfaceFlinger pid-938 I id=42859 createSurf (0x0),-1 flag=80004, Surface(name=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415})/@0x1027f40 - animation-bounds#0 2022-12-11 19:22:38.661 1165-1467 ActivityTaskManager pid-1165 I Displayed com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity: +284ms 2022-12-11 19:22:38.669 1165-5445 InputDispatcher pid-1165 D Focus entered window (0): 3925b0c com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity 2022-12-11 19:22:38.671 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I MSG_WINDOW_FOCUS_CHANGED 1 1 2022-12-11 19:22:38.691 938-938 SurfaceFlinger pid-938 D Display 4630947232161729153 HWC layers: DEVICE | 0xb40000773e280330 | 0102 | RGBA_8888 | 0.0 7.0 1080.0 2280.0 | 0 0 1080 2273 | com.myhexaville.androidwebrtc/com.sh[...]roidwebrtc.LauncherActivity$_19824#0 SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 642 1080 1589 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@3be8020@0#0 SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 1589 1080 2280 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@a51e39e@0#0 DEVICE | 0xb40000773e277600 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 1302.0 | 0 383 1080 1685 | com.myhexaville.androidwebrtc/com.sh[...]c.tutorial.CompleteActivity$_19824#0 DEVICE | 0xb40000773e2654e0 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 112.0 | 0 0 1080 112 | StatusBar$_4855#0 DEVICE | 0xb40000773e26ef00 | 0100 | RGBA_8888 | 0.0 0.0 67.0 424.0 | 1013 542 1080 966 | com.samsung.and 2022-12-11 19:22:38.706 938-938 SurfaceFlinger pid-938 D Display 4630947232161729153 HWC layers: DEVICE | 0xb40000773e2830c0 | 0102 | RGBA_8888 | 0.0 18.0 1080.0 2280.0 | 0 0 1080 2262 | com.myhexaville.androidwebrtc/com.sh[...]roidwebrtc.LauncherActivity$_19824#0 SOLID_COLOR | | 0000 | Unknown | 0.0 0.0 0.0 0.0 | 0 0 1080 2262 | Dim Layer for - ActivityRecord{978d6[...]cherActivity t415} - animating-dim#0 SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 576 1080 1523 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@3be8020@0#0 SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 1523 1080 2280 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@a51e39e@0#0 DEVICE | 0xb40000773e277600 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 1302.0 | 0 317 1080 1619 | com.myhexaville.androidwebrtc/com.sh[...]c.tutorial.CompleteActivity$_19824#0 DEVICE | 0xb40000773e2654e0 | 0100 | RGBA_8888 | 0.0 0.0 1 2022-12-11 19:22:38.791 938-938 SurfaceFlinger pid-938 D Display 4630947232161729153 HWC layers: DEVICE | 0xb40000773e280330 | 0102 | RGBA_8888 | 0.0 57.0 1080.0 2280.0 | 0 0 1080 2223 | com.myhexaville.androidwebrtc/com.sh[...]roidwebrtc.LauncherActivity$_19824#0 SOLID_COLOR | | 0000 | Unknown | 0.0 0.0 0.0 0.0 | 0 0 1080 2223 | Dim Layer for - ActivityRecord{978d6[...]cherActivity t415} - animating-dim#0 SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 343 1080 1290 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@3be8020@0#0 SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 1290 1080 2238 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@a51e39e@0#0 DEVICE | 0xb40000773e277600 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 2196.0 | 0 84 1080 2280 | com.myhexaville.androidwebrtc/com.sh[...]c.tutorial.CompleteActivity$_19824#0 DEVICE | 0xb40000773e2773c0 | 0100 | RGBA_8888 | 0.0 0.0 1 2022-12-11 19:22:38.808 938-938 SurfaceFlinger pid-938 D Display 4630947232161729153 HWC layers: DEVICE | 0xb40000773e2830c0 | 0102 | RGBA_8888 | 0.0 60.0 1080.0 2280.0 | 0 0 1080 2220 | com.myhexaville.androidwebrtc/com.sh[...]roidwebrtc.LauncherActivity$_19824#0 SOLID_COLOR | | 0000 | Unknown | 0.0 0.0 0.0 0.0 | 0 0 1080 2220 | Dim Layer for - ActivityRecord{978d6[...]cherActivity t415} - animating-dim#0 SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 327 1080 1274 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@3be8020@0#0 SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 1274 1080 2222 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@a51e39e@0#0 DEVICE | 0xb40000773e277600 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 2212.0 | 0 68 1080 2280 | com.myhexaville.androidwebrtc/com.sh[...]c.tutorial.CompleteActivity$_19824#0 DEVICE | 0xb40000773e2654e0 | 0100 | RGBA_8888 | 0.0 0.0 1 2022-12-11 19:22:39.049 19824-19892 BufferQueueProducer com.myhexaville.androidwebrtc I SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0#2(BLAST Consumer)2 queueBuffer: queued for the first time. 2022-12-11 19:22:39.052 1165-1473 WindowManager pid-1165 I Reparenting to original parent: Surface(name=Task=415)/@0xa3043e2, destroy=true, surface=Surface(name=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415})/@0x1027f40 2022-12-11 19:22:39.055 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] dp(1) 1 android.view.SurfaceView.updateSurface:1375 android.view.SurfaceView.setFrame:675 android.view.View.layout:24458 2022-12-11 19:22:39.056 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] pdf(0) 1 android.view.SurfaceView.notifyDrawFinished:599 android.view.SurfaceView.performDrawFinished:586 android.view.SurfaceView.$r8$lambda$st27mCkd9jfJkTrN_P3qIGKX6NY:0 2022-12-11 19:22:39.056 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] rdf() 2022-12-11 19:22:39.056 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc D reportDrawFinished (fn: -1) 2022-12-11 19:22:39.059 938-938 SurfaceFlinger pid-938 D Display 4630947232161729153 HWC layers: DEVICE | 0xb40000773e27a6f0 | 0102 | RGBA_8888 | 0.0 71.0 1080.0 2280.0 | 0 0 1080 2209 | com.myhexaville.androidwebrtc/com.sh[...]roidwebrtc.LauncherActivity$_19824#0 SOLID_COLOR | | 0000 | Unknown | 0.0 0.0 0.0 0.0 | 0 0 1080 2209 | Dim Layer for - ActivityRecord{978d6[...]cherActivity t415} - animating-dim#0 SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 1206 1080 2154 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@a51e39e@0#0 DEVICE | 0xb40000773e284a10 | 0102 | RGBx_8888 | 0.0 0.0 1080.0 947.0 | 0 259 1080 1206 | SurfaceView - com.myhexaville.androi[...].CompleteActivity@3be8020@0(BLAST)#0 DEVICE | 0xb40000773e277600 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 2280.0 | 0 0 1080 2280 | com.myhexaville.androidwebrtc/com.sh[...]c.tutorial.CompleteActivity$_19824#0 DEVICE | 0xb40000773e2654e0 | 0100 | RGBA_8888 | 0.0 2022-12-11 19:22:39.059 19824-19855 SurfaceView@3be8020 com.myhexaville.androidwebrtc I aOrMT: vR.mWNT, vR = ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:22:39.059 19824-19855 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: t = android.view.SurfaceControl$Transaction@a4330da fN = 3 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 2022-12-11 19:22:39.059 19824-19855 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: merge t to BBQ 2022-12-11 19:22:39.061 1165-5445 WindowManager pid-1165 D finishDrawingWindow: Window{3925b0c u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} mDrawState=HAS_DRAWN 2022-12-11 19:22:39.068 938-938 Layer pid-938 I id=42858 removedFromDrawingState Surface(name=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415})/@0x1027f40 - animation-leash of app_transition#0 (141) 2022-12-11 19:22:39.068 938-938 Layer pid-938 I id=42859 removedFromDrawingState Surface(name=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415})/@0x1027f40 - animation-bounds#0 (141) 2022-12-11 19:22:39.069 938-938 SurfaceFlinger pid-938 I id=42859 Removed Surface(name=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415})/@0x1027f40 - animation-bounds#0 (141) 2022-12-11 19:22:39.069 938-938 SurfaceFlinger pid-938 I id=42858 Removed Surface(name=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415})/@0x1027f40 - animation-leash of app_transition#0 (141) 2022-12-11 19:22:39.070 938-938 Layer pid-938 I id=42859 Destroyed Surface(name=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415})/@0x1027f40 - animation-bounds#0 2022-12-11 19:22:39.070 938-938 Layer pid-938 I id=42858 Destroyed Surface(name=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415})/@0x1027f40 - animation-leash of app_transition#0 2022-12-11 19:22:39.076 938-938 SurfaceFlinger pid-938 D Display 4630947232161729153 HWC layers: SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 1206 1080 2154 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@a51e39e@0#0 DEVICE | 0xb40000773e284a10 | 0102 | RGBx_8888 | 0.0 0.0 720.0 631.0 | 0 259 1080 1206 | SurfaceView - com.myhexaville.androi[...].CompleteActivity@3be8020@0(BLAST)#0 DEVICE | 0xb40000773e285700 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 2280.0 | 0 0 1080 2280 | com.myhexaville.androidwebrtc/com.sh[...]c.tutorial.CompleteActivity$_19824#0 DEVICE | 0xb40000773e2843e0 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 112.0 | 0 0 1080 112 | StatusBar$_4855#0 DEVICE | 0xb40000773e26ef00 | 0100 | RGBA_8888 | 0.0 0.0 67.0 424.0 | 1013 542 1080 966 | com.samsung.android.app.cocktailbars[...]rservice.CocktailBarService$_11781#0 DEVICE | 0xb40000773e284ce0 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 126.0 | 0 2154 1080 2280 | Navigat 2022-12-11 19:22:41.327 1165-1468 WindowManager pid-1165 D rotationForOrientation, orientationSource=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415} 2022-12-11 19:23:38.658 1165-1574 WindowManager pid-1165 W putStacksToSleep, mResumedActivity=null, mPausingActivity=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415} 2022-12-11 19:23:38.664 1165-5656 WindowManager pid-1165 V Changing focus from Window{3925b0c u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} to null displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:583 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6479 com.android.server.wm.ActivityRecord.commitVisibility:5546 com.android.server.wm.ActivityRecord.setVisibility:5485 2022-12-11 19:23:38.665 1165-5656 WindowManager pid-1165 V Setting visibility of Window{3925b0c u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity}: false, caller=com.android.server.wm.WindowContainer.sendAppVisibilityToClients:1104 com.android.server.wm.WindowToken.setClientVisible:448 com.android.server.wm.ActivityRecord.setClientVisible:6985 com.android.server.wm.ActivityRecord.onAnimationFinished:7872 com.android.server.wm.ActivityRecord.postApplyAnimation:5573 2022-12-11 19:23:38.669 1165-5712 InputDispatcher pid-1165 D Focus left window (0): 3925b0c com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity 2022-12-11 19:23:38.680 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I handleAppVisibility mAppVisible=true visible=false 2022-12-11 19:23:38.680 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I MSG_WINDOW_FOCUS_CHANGED 0 1 2022-12-11 19:23:38.684 19824-19824 SurfaceView@3be8020 com.myhexaville.androidwebrtc I onWindowVisibilityChanged(8) false org.webrtc.SurfaceViewRenderer{3be8020 V.E...... ........ 0,0-1080,947 #7f0900c4 app:id/surface_view} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:23:38.689 19824-19824 SurfaceView@a51e39e com.myhexaville.androidwebrtc I onWindowVisibilityChanged(8) false org.webrtc.SurfaceViewRenderer{a51e39e V.E...... ........ 0,0-1080,948 #7f0900c5 app:id/surface_view2} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:23:38.696 19824-19851 SurfaceView@3be8020 com.myhexaville.androidwebrtc I remove() from RT android.view.SurfaceView$SurfaceViewPositionUpdateListener@a470092 Surface(name=SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0)/@0x553ea63 2022-12-11 19:23:38.697 19824-19851 SurfaceView@3be8020 com.myhexaville.androidwebrtc I remove() org.webrtc.SurfaceViewRenderer{3be8020 V.E...... ........ 0,0-1080,947 #7f0900c4 app:id/surface_view} Surface(name=SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0)/@0x553ea63 2022-12-11 19:23:38.697 19824-19851 SurfaceView@3be8020 com.myhexaville.androidwebrtc I aOrMT: vR.mWNT, vR = ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:23:38.697 19824-19851 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: t = android.view.SurfaceControl$Transaction@dd093de fN = 0 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionLost:1785 2022-12-11 19:23:38.697 19824-19851 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: merge t to BBQ 2022-12-11 19:23:38.702 19824-19851 SurfaceView@a51e39e com.myhexaville.androidwebrtc I remove() from RT android.view.SurfaceView$SurfaceViewPositionUpdateListener@a90c9bf Surface(name=SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0)/@0x5d8488c 2022-12-11 19:23:38.702 19824-19851 SurfaceView@a51e39e com.myhexaville.androidwebrtc I remove() org.webrtc.SurfaceViewRenderer{a51e39e V.E...... ........ 0,0-1080,948 #7f0900c5 app:id/surface_view2} Surface(name=SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0)/@0x5d8488c 2022-12-11 19:23:38.703 19824-19851 SurfaceView@a51e39e com.myhexaville.androidwebrtc I aOrMT: vR.mWNT, vR = ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:23:38.703 19824-19851 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: t = android.view.SurfaceControl$Transaction@a9242db fN = 0 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionLost:1785 2022-12-11 19:23:38.703 19824-19851 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: merge t to BBQ 2022-12-11 19:23:38.720 1165-8458 WindowManager pid-1165 V Relayout Window{3925b0c u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity}: viewVisibility=8 req=1080x2280 d0 2022-12-11 19:23:38.731 938-1847 SurfaceFlinger pid-938 I id=42847 Removed Bounds for - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@0#0 (141) 2022-12-11 19:23:38.739 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I Relayout returned: old=(0,0,1080,2280) new=(0,0,1080,2280) req=(1080,2280)8 dur=12 res=0x5 s={false 0} ch=true fn=4 2022-12-11 19:23:38.740 19824-19824 SurfaceView@3be8020 com.myhexaville.androidwebrtc I windowStopped(true) false org.webrtc.SurfaceViewRenderer{3be8020 V.E...... ........ 0,0-1080,947 #7f0900c4 app:id/surface_view} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:23:38.747 19824-19824 SurfaceView@a51e39e com.myhexaville.androidwebrtc I windowStopped(true) false org.webrtc.SurfaceViewRenderer{a51e39e V.E...... ........ 0,0-1080,948 #7f0900c5 app:id/surface_view2} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:23:38.759 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I stopped(true) old=false 2022-12-11 19:23:38.779 1165-4922 WindowManager pid-1165 E win=Window{3925b0c u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} destroySurfaces: appStopped=true win.mWindowRemovalAllowed=false win.mRemoveOnExit=false win.mViewVisibility=8 caller=com.android.server.wm.ActivityRecord.destroySurfaces:5842 com.android.server.wm.ActivityRecord.destroySurfaces:5823 com.android.server.wm.ActivityRecord.notifyAppStopped:5887 com.android.server.wm.ActivityRecord.activityStopped:6513 com.android.server.wm.ActivityClientController.activityStopped:253 android.app.IActivityClientController$Stub.onTransact:596 com.android.server.wm.ActivityClientController.onTransact:129 2022-12-11 19:23:38.779 1165-4922 WindowManager pid-1165 I Destroying surface Surface(name=com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity$_19824)/@0xb393b8 called by com.android.server.wm.WindowStateAnimator.destroySurface:987 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:518 com.android.server.wm.WindowState.destroySurfaceUnchecked:4229 com.android.server.wm.WindowState.destroySurface:4203 com.android.server.wm.ActivityRecord.destroySurfaces:5842 com.android.server.wm.ActivityRecord.destroySurfaces:5823 com.android.server.wm.ActivityRecord.notifyAppStopped:5887 com.android.server.wm.ActivityRecord.activityStopped:6513 2022-12-11 19:23:38.927 938-938 Layer pid-938 I id=42849 removedFromDrawingState SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0(BLAST)#0 (141) 2022-12-11 19:23:38.927 938-938 Layer pid-938 I id=42850 removedFromDrawingState Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0#0 (141) 2022-12-11 19:23:38.927 938-938 Layer pid-938 I id=42848 removedFromDrawingState SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0#0 (141) 2022-12-11 19:23:38.927 938-938 Layer pid-938 I id=42852 removedFromDrawingState SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0(BLAST)#0 (141) 2022-12-11 19:23:38.927 938-938 Layer pid-938 I id=42853 removedFromDrawingState Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0#0 (141) 2022-12-11 19:23:38.927 938-938 Layer pid-938 I id=42851 removedFromDrawingState SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0#0 (141) 2022-12-11 19:23:38.927 938-938 Layer pid-938 I id=42844 removedFromDrawingState com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity$_19824#0 (141) 2022-12-11 19:23:38.927 938-938 Layer pid-938 I id=42847 removedFromDrawingState Bounds for - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@0#0 (141) 2022-12-11 19:23:38.929 938-938 SurfaceFlinger pid-938 I id=42852 Removed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0(BLAST)#0 (141) 2022-12-11 19:23:38.929 938-938 SurfaceFlinger pid-938 I id=42849 Removed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0(BLAST)#0 (141) 2022-12-11 19:23:38.929 938-938 SurfaceFlinger pid-938 I id=42851 Removed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0#0 (141) 2022-12-11 19:23:38.929 938-938 SurfaceFlinger pid-938 I id=42853 Removed Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0#0 (141) 2022-12-11 19:23:38.929 938-938 SurfaceFlinger pid-938 I id=42848 Removed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0#0 (141) 2022-12-11 19:23:38.929 938-938 SurfaceFlinger pid-938 I id=42844 Removed com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity$_19824#0 (141) 2022-12-11 19:23:38.929 938-938 SurfaceFlinger pid-938 I id=42850 Removed Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0#0 (141) 2022-12-11 19:23:38.930 938-938 Layer pid-938 I id=42844 Destroyed com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity$_19824#0 2022-12-11 19:23:38.930 938-938 Layer pid-938 I id=42847 Destroyed Bounds for - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@0#0 2022-12-11 19:23:38.930 938-938 Layer pid-938 I id=42848 Destroyed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0#0 2022-12-11 19:23:38.930 938-938 Layer pid-938 I id=42850 Destroyed Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0#0 2022-12-11 19:23:38.930 938-938 Layer pid-938 I id=42849 Destroyed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@0(BLAST)#0 2022-12-11 19:23:38.932 938-938 Layer pid-938 I id=42851 Destroyed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0#0 2022-12-11 19:23:38.932 938-938 Layer pid-938 I id=42853 Destroyed Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0#0 2022-12-11 19:23:38.932 938-938 Layer pid-938 I id=42852 Destroyed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@0(BLAST)#0 2022-12-11 19:24:22.374 1165-5712 WindowManager pid-1165 V Setting visibility of Window{3925b0c u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity}: true, caller=com.android.server.wm.WindowContainer.sendAppVisibilityToClients:1104 com.android.server.wm.WindowToken.setClientVisible:448 com.android.server.wm.ActivityRecord.setClientVisible:6985 com.android.server.wm.ActivityRecord.setVisibility:5424 com.android.server.wm.ActivityRecord.setVisibility:5319 2022-12-11 19:24:22.375 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I handleAppVisibility mAppVisible=false visible=true 2022-12-11 19:24:22.375 1165-5712 WindowManager pid-1165 D rotationForOrientation, orientationSource=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415} 2022-12-11 19:24:22.375 1165-5712 WindowManager pid-1165 D rotationForOrientation, orientationSource=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415} 2022-12-11 19:24:22.376 1165-5712 WindowManager pid-1165 D rotationForOrientation, orientationSource=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415} 2022-12-11 19:24:22.380 1165-5712 WindowManager pid-1165 D rotationForOrientation, orientationSource=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415} 2022-12-11 19:24:22.385 4855-4950 StartingSurfaceDrawer pid-4855 D addTaskSnapshotStartingWindow: snapshot=TaskSnapshot{ mId=1670811818640 mTopActivityComponent=com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity mSnapshot=android.hardware.HardwareBuffer@c00515e (1080x2280) mColorSpace=sRGB IEC61966-2.1 (id=0, model=RGB) mOrientation=1 mRotation=0 mTaskSize=Point(1080, 2280) mContentInsets=[0,112][0,126] mIsLowResolution=false mIsRealSnapshot=true mWindowingMode=1 mAppearance=0 mIsTranslucent=true mHasImeSurface=false desc=TaskDescription Label: null Icon: null IconFilename: null colorPrimary: -12627531 colorBackground: -328966 statusBarColor: -13615201 navigationBarColor: -16711423 resizeMode: RESIZE_MODE_RESIZEABLE_VIA_SDK_VERSION minWidth: -1 minHeight: -1 colorBackgrounFloating: -1 2022-12-11 19:24:22.393 19824-19824 SurfaceView@3be8020 com.myhexaville.androidwebrtc I onWindowVisibilityChanged(4) false org.webrtc.SurfaceViewRenderer{3be8020 V.E...... ........ 0,0-1080,947 #7f0900c4 app:id/surface_view} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:24:22.394 19824-19824 SurfaceView@a51e39e com.myhexaville.androidwebrtc I onWindowVisibilityChanged(4) false org.webrtc.SurfaceViewRenderer{a51e39e V.E...... ........ 0,0-1080,948 #7f0900c5 app:id/surface_view2} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:24:22.404 1165-5711 WindowManager pid-1165 V Relayout Window{3925b0c u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity}: viewVisibility=4 req=1080x2280 d0 2022-12-11 19:24:22.416 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I Relayout returned: old=(0,0,1080,2280) new=(0,0,1080,2280) req=(1080,2280)4 dur=16 res=0x1 s={false 0} ch=false fn=-1 2022-12-11 19:24:22.422 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I stopped(false) old=true 2022-12-11 19:24:22.429 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I stopped(false) old=false 2022-12-11 19:24:22.436 19824-19824 SurfaceView@3be8020 com.myhexaville.androidwebrtc I onWindowVisibilityChanged(0) false org.webrtc.SurfaceViewRenderer{3be8020 V.E...... ........ 0,0-1080,947 #7f0900c4 app:id/surface_view} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:24:22.436 19824-19824 SurfaceView@a51e39e com.myhexaville.androidwebrtc I onWindowVisibilityChanged(0) false org.webrtc.SurfaceViewRenderer{a51e39e V.E...... ........ 0,0-1080,948 #7f0900c5 app:id/surface_view2} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:24:22.450 1165-8435 WindowManager pid-1165 V Relayout Window{3925b0c u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity}: viewVisibility=0 req=1080x2280 d0 2022-12-11 19:24:22.450 938-1847 SurfaceFlinger pid-938 I id=42889 createSurf (1080x2280),-3 flag=40004, com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity$_19824#0 2022-12-11 19:24:22.452 1165-8435 WindowManager pid-1165 D makeSurface duration=2 name=com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity$_19824 2022-12-11 19:24:22.460 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I Relayout returned: old=(0,0,1080,2280) new=(0,0,1080,2280) req=(1080,2280)0 dur=12 res=0x7 s={true 515825478736} ch=true fn=-1 2022-12-11 19:24:22.466 19824-19824 SurfaceView@3be8020 com.myhexaville.androidwebrtc I windowStopped(false) true org.webrtc.SurfaceViewRenderer{3be8020 V.E...... ........ 0,0-1080,947 #7f0900c4 app:id/surface_view} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:24:22.466 1165-4946 WindowManager pid-1165 V Changing focus from Window{b4795b5 u0 NotificationShade} to Window{3925b0c u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:583 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6479 com.android.server.wm.WindowManagerService.relayoutWindow:2749 com.android.server.wm.Session.relayout:242 2022-12-11 19:24:22.466 938-1847 SurfaceFlinger pid-938 I id=42890 createSurf (0x0),-1 flag=20004, Bounds for - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@1#0 2022-12-11 19:24:22.467 938-1007 SurfaceFlinger pid-938 I id=42892 createSurf (0x0),-1 flag=80004, SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@1#0 2022-12-11 19:24:22.468 938-1007 SurfaceFlinger pid-938 I id=42893 createSurf (0x0),-1 flag=40400, SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@1(BLAST)#0 2022-12-11 19:24:22.469 938-1847 SurfaceFlinger pid-938 I id=42894 createSurf (0x0),-1 flag=20404, Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@1#0 2022-12-11 19:24:22.471 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] dp(1) 1 android.view.SurfaceView.updateSurface:1375 android.view.SurfaceView.setWindowStopped:383 android.view.SurfaceView.surfaceCreated:2051 2022-12-11 19:24:22.471 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] pdf(0) 1 android.view.SurfaceView.notifyDrawFinished:599 android.view.SurfaceView.performDrawFinished:586 android.view.SurfaceView.$r8$lambda$st27mCkd9jfJkTrN_P3qIGKX6NY:0 2022-12-11 19:24:22.471 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] rdf() 2022-12-11 19:24:22.471 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc D reportDrawFinished (fn: -1) 2022-12-11 19:24:22.472 19824-19824 SurfaceView@a51e39e com.myhexaville.androidwebrtc I windowStopped(false) true org.webrtc.SurfaceViewRenderer{a51e39e V.E...... ........ 0,0-1080,948 #7f0900c5 app:id/surface_view2} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:24:22.472 938-1847 SurfaceFlinger pid-938 I id=42896 createSurf (0x0),-1 flag=80004, SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@1#0 2022-12-11 19:24:22.474 938-1008 SurfaceFlinger pid-938 I id=42897 createSurf (0x0),-1 flag=40400, SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@1(BLAST)#0 2022-12-11 19:24:22.476 1165-5445 WindowManager pid-1165 D finishDrawingWindow: Window{3925b0c u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} mDrawState=DRAW_PENDING 2022-12-11 19:24:22.481 938-1008 SurfaceFlinger pid-938 I id=42898 createSurf (0x0),-1 flag=20404, Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@1#0 2022-12-11 19:24:22.485 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] dp(1) 1 android.view.SurfaceView.updateSurface:1375 android.view.SurfaceView.setWindowStopped:383 android.view.SurfaceView.surfaceCreated:2051 2022-12-11 19:24:22.485 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] pdf(0) 1 android.view.SurfaceView.notifyDrawFinished:599 android.view.SurfaceView.performDrawFinished:586 android.view.SurfaceView.$r8$lambda$st27mCkd9jfJkTrN_P3qIGKX6NY:0 2022-12-11 19:24:22.485 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] rdf() 2022-12-11 19:24:22.485 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc D reportDrawFinished (fn: -1) 2022-12-11 19:24:22.486 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] dp(1) 1 android.view.ViewRootImpl.reportNextDraw:11374 android.view.ViewRootImpl.performTraversals:4167 android.view.ViewRootImpl.doTraversal:2893 2022-12-11 19:24:22.491 19824-19855 SurfaceView@3be8020 com.myhexaville.androidwebrtc I aOrMT: vR.mWNT, vR = ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:24:22.491 19824-19855 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: t = android.view.SurfaceControl$Transaction@4b7b08e fN = 1 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 2022-12-11 19:24:22.491 19824-19855 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: merge t to BBQ 2022-12-11 19:24:22.491 19824-19855 SurfaceView@a51e39e com.myhexaville.androidwebrtc I aOrMT: vR.mWNT, vR = ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:24:22.491 19824-19855 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: t = android.view.SurfaceControl$Transaction@5d5a0af fN = 1 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 2022-12-11 19:24:22.491 19824-19855 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: merge t to BBQ 2022-12-11 19:24:22.493 19824-19851 BufferQueueProducer com.myhexaville.androidwebrtc I ViewRootImpl@4eee746[CompleteActivity]#4(BLAST Consumer)4 queueBuffer: queued for the first time. 2022-12-11 19:24:22.495 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] pdf(0) 1 android.view.ViewRootImpl.lambda$addFrameCompleteCallbackIfNeeded$3$ViewRootImpl:4969 android.view.ViewRootImpl$$ExternalSyntheticLambda16.run:6 android.os.Handler.handleCallback:938 2022-12-11 19:24:22.495 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I [DP] rdf() 2022-12-11 19:24:22.495 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc D reportDrawFinished (fn: -1) 2022-12-11 19:24:22.496 19824-19892 BufferQueueProducer com.myhexaville.androidwebrtc I SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@1#5(BLAST Consumer)5 queueBuffer: queued for the first time. 2022-12-11 19:24:22.498 1165-4946 WindowManager pid-1165 D finishDrawingWindow: Window{3925b0c u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} mDrawState=HAS_DRAWN 2022-12-11 19:24:22.499 1165-5445 InputDispatcher pid-1165 D Focus entered window (0): 3925b0c com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity 2022-12-11 19:24:22.500 938-938 SurfaceFlinger pid-938 D Display 4630947232161729153 HWC layers: SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 0 1080 1363 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@3be8020@1#0 SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 1363 1080 2280 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@a51e39e@1#0 DEVICE | 0xb40000773e284350 | 0000 | RGBA_8888 | 248.0 468.0 832.0 1702.0 | 0 0 1080 2280 | SnapshotStartingWindow for taskId=415$_4855#0 DEVICE | 0xb40000773e2843e0 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 112.0 | 0 0 1080 112 | StatusBar$_4855#0 DEVICE | 0xb40000773e27f370 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 2280.0 | 0 0 1080 2280 | NotificationShade$_4855#0 DEVICE | 0xb40000773e2728f0 | 0100 | RGBA_8888 | 0.0 0.0 67.0 424.0 | 1013 542 1080 966 | com.samsung.android.app.cocktailbars[...]rservice.CocktailBarService$_11781#0 DEVICE | 0xb4000 2022-12-11 19:24:22.503 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I MSG_WINDOW_FOCUS_CHANGED 1 1 2022-12-11 19:24:22.503 1165-4946 WindowManager pid-1165 D finishDrawingWindow: Window{3925b0c u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} mDrawState=HAS_DRAWN 2022-12-11 19:24:22.517 938-938 SurfaceFlinger pid-938 D Display 4630947232161729153 HWC layers: SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 1337 1080 2280 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@a51e39e@1#0 DEVICE | 0xb40000773e27b6b0 | 0102 | RGBx_8888 | 150.0 110.0 570.0 631.0 | 0 0 1080 1337 | SurfaceView - com.myhexaville.androi[...].CompleteActivity@3be8020@1(BLAST)#0 DEVICE | 0xb40000773e282e80 | 0100 | RGBA_8888 | 673.0 1248.0 856.0 1302.0 | 767 1409 1080 1502 | com.myhexaville.androidwebrtc/com.sh[...]c.tutorial.CompleteActivity$_19824#0 DEVICE | 0xb40000773e284350 | 0000 | RGBA_8888 | 224.0 424.0 856.0 1757.0 | 0 0 1080 2280 | SnapshotStartingWindow for taskId=415$_4855#0 DEVICE | 0xb40000773e2843e0 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 112.0 | 0 0 1080 112 | StatusBar$_4855#0 DEVICE | 0xb40000773e27f370 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 2280.0 | 0 0 1080 2280 | NotificationShade$_4855#0 DEVICE | 2022-12-11 19:24:22.583 1165-1165 MdnieScena...rolService pid-1165 D packageName : com.myhexaville.androidwebrtc className : com.shivam.androidwebrtc.tutorial.CompleteActivity 2022-12-11 19:24:22.586 1165-4987 WindowManager pid-1165 I Reparenting to leash, surface=Surface(name=2f18b0f SnapshotStartingWindow for taskId=415)/@0xc1fa130, leashParent=Surface(name=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415})/@0x1027f40 2022-12-11 19:24:22.644 1165-1473 WindowManager pid-1165 I Reparenting to original parent: Surface(name=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415})/@0x1027f40, destroy=true, surface=Surface(name=2f18b0f SnapshotStartingWindow for taskId=415)/@0xc1fa130 2022-12-11 19:24:22.653 938-938 SurfaceFlinger pid-938 D Display 4630947232161729153 HWC layers: SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 1238 1080 2280 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@a51e39e@1#0 DEVICE | 0xb40000773e27c700 | 0102 | RGBx_8888 | 53.0 0.0 667.0 631.0 | 0 127 1080 1238 | SurfaceView - com.myhexaville.androi[...].CompleteActivity@3be8020@1(BLAST)#0 DEVICE | 0xb40000773e26ea80 | 0100 | RGBA_8888 | 80.0 150.0 1000.0 1302.0 | 1 0 1079 1351 | com.myhexaville.androidwebrtc/com.sh[...]c.tutorial.CompleteActivity$_19824#0 DEVICE | 0xb40000773e284350 | 0000 | RGBA_8888 | 80.0 150.0 1000.0 2095.0 | 0 0 1080 2280 | SnapshotStartingWindow for taskId=415$_4855#0 DEVICE | 0xb40000773e2773c0 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 112.0 | 0 0 1080 112 | StatusBar$_4855#0 DEVICE | 0xb40000773e2728f0 | 0100 | RGBA_8888 | 0.0 0.0 67.0 424.0 | 1013 542 1080 966 | com.samsung.android.app.cocktailbars[.. 2022-12-11 19:24:22.667 938-938 SurfaceFlinger pid-938 D Display 4630947232161729153 HWC layers: SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 1233 1080 2280 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@a51e39e@1#0 DEVICE | 0xb40000773e27c700 | 0102 | RGBx_8888 | 45.0 0.0 675.0 631.0 | 0 150 1080 1233 | SurfaceView - com.myhexaville.androi[...].CompleteActivity@3be8020@1(BLAST)#0 DEVICE | 0xb40000773e26ea80 | 0100 | RGBA_8888 | 68.0 128.0 1012.0 1302.0 | 0 0 1080 1342 | com.myhexaville.androidwebrtc/com.sh[...]c.tutorial.CompleteActivity$_19824#0 DEVICE | 0xb40000773e2654e0 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 112.0 | 0 0 1080 112 | StatusBar$_4855#0 DEVICE | 0xb40000773e2728f0 | 0100 | RGBA_8888 | 0.0 0.0 67.0 424.0 | 1013 542 1080 966 | com.samsung.android.app.cocktailbars[...]rservice.CocktailBarService$_11781#0 DEVICE | 0xb40000773e27ef80 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 126.0 | 0 2154 1080 2280 | Navigat 2022-12-11 19:24:22.717 938-938 SurfaceFlinger pid-938 D Display 4630947232161729153 HWC layers: SOLID_COLOR | | 0002 | Unknown | 0.0 0.0 0.0 0.0 | 0 1221 1080 2247 | Background for SurfaceView - com.myh[...]utorial.CompleteActivity@a51e39e@1#0 DEVICE | 0xb40000773e27c700 | 0102 | RGBx_8888 | 27.0 0.0 693.0 631.0 | 0 196 1080 1221 | SurfaceView - com.myhexaville.androi[...].CompleteActivity@3be8020@1(BLAST)#0 DEVICE | 0xb40000773e26ea80 | 0100 | RGBA_8888 | 41.0 77.0 1039.0 2185.0 | 0 0 1080 2280 | com.myhexaville.androidwebrtc/com.sh[...]c.tutorial.CompleteActivity$_19824#0 DEVICE | 0xb40000773e2654e0 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 112.0 | 0 0 1080 112 | StatusBar$_4855#0 DEVICE | 0xb40000773e2728f0 | 0100 | RGBA_8888 | 0.0 0.0 67.0 424.0 | 1013 542 1080 966 | com.samsung.android.app.cocktailbars[...]rservice.CocktailBarService$_11781#0 DEVICE | 0xb40000773e27ef80 | 0100 | RGBA_8888 | 0.0 0.0 1080.0 126.0 | 0 2154 1080 2280 | Navigat 2022-12-11 19:24:22.721 1165-1468 WindowManager pid-1165 D rotationForOrientation, orientationSource=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415} 2022-12-11 19:24:24.193 1165-1468 WindowManager pid-1165 D rotationForOrientation, orientationSource=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415} 2022-12-11 19:25:22.835 1165-1574 WindowManager pid-1165 W putStacksToSleep, mResumedActivity=null, mPausingActivity=ActivityRecord{a56369d u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity t415} 2022-12-11 19:25:22.846 1165-5711 WindowManager pid-1165 V Changing focus from Window{3925b0c u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} to null displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:583 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6479 com.android.server.wm.ActivityRecord.commitVisibility:5546 com.android.server.wm.ActivityRecord.setVisibility:5485 2022-12-11 19:25:22.846 1165-5711 WindowManager pid-1165 V Setting visibility of Window{3925b0c u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity}: false, caller=com.android.server.wm.WindowContainer.sendAppVisibilityToClients:1104 com.android.server.wm.WindowToken.setClientVisible:448 com.android.server.wm.ActivityRecord.setClientVisible:6985 com.android.server.wm.ActivityRecord.onAnimationFinished:7872 com.android.server.wm.ActivityRecord.postApplyAnimation:5573 2022-12-11 19:25:22.866 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I handleAppVisibility mAppVisible=true visible=false 2022-12-11 19:25:22.869 1165-5711 InputDispatcher pid-1165 D Focus left window (0): 3925b0c com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity 2022-12-11 19:25:22.895 19824-19824 SurfaceView@3be8020 com.myhexaville.androidwebrtc I onWindowVisibilityChanged(8) false org.webrtc.SurfaceViewRenderer{3be8020 V.E...... ........ 0,0-1080,947 #7f0900c4 app:id/surface_view} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:25:22.904 19824-19824 SurfaceView@a51e39e com.myhexaville.androidwebrtc I onWindowVisibilityChanged(8) false org.webrtc.SurfaceViewRenderer{a51e39e V.E...... ........ 0,0-1080,948 #7f0900c5 app:id/surface_view2} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:25:22.928 19824-19851 SurfaceView@3be8020 com.myhexaville.androidwebrtc I remove() from RT android.view.SurfaceView$SurfaceViewPositionUpdateListener@12c52a1 Surface(name=SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@1)/@0xa926cc6 2022-12-11 19:25:22.928 19824-19851 SurfaceView@3be8020 com.myhexaville.androidwebrtc I remove() org.webrtc.SurfaceViewRenderer{3be8020 V.E...... ........ 0,0-1080,947 #7f0900c4 app:id/surface_view} Surface(name=SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@1)/@0xa926cc6 2022-12-11 19:25:22.929 19824-19851 SurfaceView@3be8020 com.myhexaville.androidwebrtc I aOrMT: vR.mWNT, vR = ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:25:22.929 19824-19851 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: t = android.view.SurfaceControl$Transaction@dd093de fN = 0 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionLost:1785 2022-12-11 19:25:22.929 19824-19851 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: merge t to BBQ 2022-12-11 19:25:22.931 19824-19851 SurfaceView@a51e39e com.myhexaville.androidwebrtc I remove() from RT android.view.SurfaceView$SurfaceViewPositionUpdateListener@51a77dd Surface(name=SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@1)/@0xeb88f52 2022-12-11 19:25:22.932 19824-19851 SurfaceView@a51e39e com.myhexaville.androidwebrtc I remove() org.webrtc.SurfaceViewRenderer{a51e39e V.E...... ........ 0,0-1080,948 #7f0900c5 app:id/surface_view2} Surface(name=SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@1)/@0xeb88f52 2022-12-11 19:25:22.932 19824-19851 SurfaceView@a51e39e com.myhexaville.androidwebrtc I aOrMT: vR.mWNT, vR = ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:25:22.932 19824-19851 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: t = android.view.SurfaceControl$Transaction@a9242db fN = 0 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionLost:1785 2022-12-11 19:25:22.932 19824-19851 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I mWNT: merge t to BBQ 2022-12-11 19:25:22.936 1165-4946 WindowManager pid-1165 V Relayout Window{3925b0c u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity}: viewVisibility=8 req=1080x2280 d0 2022-12-11 19:25:22.945 938-1847 SurfaceFlinger pid-938 I id=42890 Removed Bounds for - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@1#0 (138) 2022-12-11 19:25:22.947 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I Relayout returned: old=(0,0,1080,2280) new=(0,0,1080,2280) req=(1080,2280)8 dur=10 res=0x5 s={false 0} ch=true fn=3 2022-12-11 19:25:22.948 19824-19824 SurfaceView@3be8020 com.myhexaville.androidwebrtc I windowStopped(true) false org.webrtc.SurfaceViewRenderer{3be8020 V.E...... ........ 0,0-1080,947 #7f0900c4 app:id/surface_view} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:25:22.948 19824-19824 SurfaceView@a51e39e com.myhexaville.androidwebrtc I windowStopped(true) false org.webrtc.SurfaceViewRenderer{a51e39e V.E...... ........ 0,0-1080,948 #7f0900c5 app:id/surface_view2} of ViewRootImpl@4eee746[CompleteActivity] 2022-12-11 19:25:22.951 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I MSG_WINDOW_FOCUS_CHANGED 0 1 2022-12-11 19:25:22.954 19824-19824 ViewRootIm...eActivity] com.myhexaville.androidwebrtc I stopped(true) old=false 2022-12-11 19:25:22.979 1165-4946 WindowManager pid-1165 E win=Window{3925b0c u0 com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity} destroySurfaces: appStopped=true win.mWindowRemovalAllowed=false win.mRemoveOnExit=false win.mViewVisibility=8 caller=com.android.server.wm.ActivityRecord.destroySurfaces:5842 com.android.server.wm.ActivityRecord.destroySurfaces:5823 com.android.server.wm.ActivityRecord.notifyAppStopped:5887 com.android.server.wm.ActivityRecord.activityStopped:6513 com.android.server.wm.ActivityClientController.activityStopped:253 android.app.IActivityClientController$Stub.onTransact:596 com.android.server.wm.ActivityClientController.onTransact:129 2022-12-11 19:25:22.980 1165-4946 WindowManager pid-1165 I Destroying surface Surface(name=com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity$_19824)/@0xd52f9a1 called by com.android.server.wm.WindowStateAnimator.destroySurface:987 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:518 com.android.server.wm.WindowState.destroySurfaceUnchecked:4229 com.android.server.wm.WindowState.destroySurface:4203 com.android.server.wm.ActivityRecord.destroySurfaces:5842 com.android.server.wm.ActivityRecord.destroySurfaces:5823 com.android.server.wm.ActivityRecord.notifyAppStopped:5887 com.android.server.wm.ActivityRecord.activityStopped:6513 2022-12-11 19:25:23.105 938-938 Layer pid-938 I id=42893 removedFromDrawingState SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@1(BLAST)#0 (138) 2022-12-11 19:25:23.105 938-938 Layer pid-938 I id=42894 removedFromDrawingState Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@1#0 (138) 2022-12-11 19:25:23.105 938-938 Layer pid-938 I id=42892 removedFromDrawingState SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@1#0 (138) 2022-12-11 19:25:23.105 938-938 Layer pid-938 I id=42897 removedFromDrawingState SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@1(BLAST)#0 (138) 2022-12-11 19:25:23.105 938-938 Layer pid-938 I id=42898 removedFromDrawingState Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@1#0 (138) 2022-12-11 19:25:23.105 938-938 Layer pid-938 I id=42896 removedFromDrawingState SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@1#0 (138) 2022-12-11 19:25:23.106 938-938 Layer pid-938 I id=42889 removedFromDrawingState com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity$_19824#0 (138) 2022-12-11 19:25:23.106 938-938 Layer pid-938 I id=42890 removedFromDrawingState Bounds for - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@1#0 (138) 2022-12-11 19:25:23.106 938-938 SurfaceFlinger pid-938 I id=42897 Removed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@1(BLAST)#0 (138) 2022-12-11 19:25:23.106 938-938 SurfaceFlinger pid-938 I id=42893 Removed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@1(BLAST)#0 (138) 2022-12-11 19:25:23.106 938-938 SurfaceFlinger pid-938 I id=42896 Removed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@1#0 (138) 2022-12-11 19:25:23.106 938-938 SurfaceFlinger pid-938 I id=42898 Removed Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@1#0 (138) 2022-12-11 19:25:23.106 938-938 SurfaceFlinger pid-938 I id=42892 Removed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@1#0 (138) 2022-12-11 19:25:23.106 938-938 SurfaceFlinger pid-938 I id=42894 Removed Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@1#0 (138) 2022-12-11 19:25:23.106 938-938 SurfaceFlinger pid-938 I id=42889 Removed com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity$_19824#0 (138) 2022-12-11 19:25:23.107 938-938 Layer pid-938 I id=42889 Destroyed com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity$_19824#0 2022-12-11 19:25:23.107 938-938 Layer pid-938 I id=42890 Destroyed Bounds for - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@1#0 2022-12-11 19:25:23.107 938-938 Layer pid-938 I id=42892 Destroyed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@1#0 2022-12-11 19:25:23.107 938-938 Layer pid-938 I id=42894 Destroyed Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@1#0 2022-12-11 19:25:23.108 938-938 Layer pid-938 I id=42893 Destroyed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@3be8020@1(BLAST)#0 2022-12-11 19:25:23.109 938-938 Layer pid-938 I id=42896 Destroyed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@1#0 2022-12-11 19:25:23.109 938-938 Layer pid-938 I id=42898 Destroyed Background for SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@1#0 2022-12-11 19:25:23.109 938-938 Layer pid-938 I id=42897 Destroyed SurfaceView - com.myhexaville.androidwebrtc/com.shivam.androidwebrtc.tutorial.CompleteActivity@a51e39e@1(BLAST)#0

djsamseng commented 1 year ago

Yeah the url on your android device can't be http://localhost:3000 because there is no localhost running on your android device. The server is running on your PC! Thus the ip address in android studio needs to be the ip address of your PC. See this link for an example of what worked for me and how you can find out the ip address of your PC on your local wifi network

ToysoftInc commented 1 year ago

I got the IP to the server running on my windows machine. When I select Start from the Android app I got this log in the console.

Another peer made a request to join room foo main.js:49 This peer is the initiator of room foo! main.js:71 Client received message: got user media main.js:130 >>>>>>> maybeStart() false MediaStream {id: '6nwQtJS7HgdgrecwHUhINKiaz6PBysGuJhXT', active: true, onaddtrack: null, onremovetrack: null, onactive: null, …} true main.js:132 >>>>>> creating peer connection main.js:155 Created RTCPeerConnnection main.js:136 isInitiator false

djsamseng commented 1 year ago

Great it would seem the Android device is now connected to the server. What are the Android logs now? They should be very different. https://github.com/shivammaindola/AndroidWebRTC/blob/master/VideoWebRTC/app/src/main/java/com/shivam/androidwebrtc/tutorial/CompleteActivity.java#L132 Shows the flow on the android side and shows the logs you are looking for to see where it’s stuck.

Also it might be worth trying an input device on your PC that supports both video and audio. That might be a source of mismatch (although if I remember correctly it is possible to do just video and not audio).

If you can’t figure it out post the logs from all devices with the fixed IP address and I’ll take a look and see if I see anything suspicious

djsamseng commented 1 year ago

Oh and make sure you kill all processes between runs. Sometimes you can get stuck with multiple clients running. This implementation only supports 1 peer to 1 peer using a single room named “foo”. So close the browser tab, kill node, Kill the android app. Then start node. Start Android. Start browser

ToysoftInc commented 1 year ago

Good news. I was able to connect now. I had to start the app from Android and then the Browser. Can this be used with multiple browser instances or do I need to deploy the server in the cloud?

thank you

djsamseng commented 1 year ago

Great! Glad to hear it works now.

As in 3 clients sharing video 3 ways? Or multiple rooms each with two clients? Neither are supported as is but the code can be modified to support it.

For sharing video 3 ways you’d have to have the 3rd client join the room “foo” and have the 2 clients already connected each handshake with the third client without RE-handshaking with each other.

For multiple rooms, just have the new clients use a different room name than “foo”