You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using v2.1.0 of the framework and implementing a two-way videochat. When the app goes to background (Home button pressed) it crashes with the following trace:
#1 0x000000019d2b91bc in ___lldb_unnamed_symbol545$$AGXGLDriver ()
#2 0x00000001987faf44 in gpusSubmitDataBuffers ()
#3 0x000000019d2ba77c in ___lldb_unnamed_symbol566$$AGXGLDriver ()
#4 0x000000019d2b5f74 in ___lldb_unnamed_symbol512$$AGXGLDriver ()
#5 0x000000019d2aef3c in ___lldb_unnamed_symbol317$$AGXGLDriver ()
#6 0x000000019da31fcc in glTexSubImage2D_Exec ()
#7 0x00000001007cef74 in tex_sub_image2D(__GLIContextRec*, unsigned int, int, int, int, int, int, unsigned int, unsigned int, void const*) ()
#8 0x000000018b315af8 in glTexSubImage2D ()
#9 0x00000001000b1a3c in on_draw_frame at /Users/infrared5/Documents/TeamCity/buildAgent/work/fd7584733d331e84/red5streaming/src/renderer.c:428
#10 0x00000001000a02e4 in ::-[R5VideoViewController update]() at /Users/infrared5/Documents/TeamCity/buildAgent/work/fd7584733d331e84/red5streaming/src/R5VideoViewController.mm:342
#11 0x00000001000a0920 in ::-[R5VideoViewController glkView:drawInRect:](GLKView *, CGRect) at /Users/infrared5/Documents/TeamCity/buildAgent/work/fd7584733d331e84/red5streaming/src/R5VideoViewController.mm:425
#12 0x0000000192e07934 in -[GLKView _display:] ()
#13 0x00000001000a012c in ::-[R5VideoViewController render:](NSTimer *) at /Users/infrared5/Documents/TeamCity/buildAgent/work/fd7584733d331e84/red5streaming/src/R5VideoViewController.mm:316
#14 0x00000001009efae4 in -[DYDisplayLinkInterposer forwardDisplayLinkCallback:] ()
#15 0x000000018bf1af24 in CA::Display::DisplayLinkItem::dispatch(unsigned long long) ()
#16 0x000000018bf1add0 in CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) ()
#17 0x0000000188f32094 in IODispatchCalloutFromCFMessage ()
#18 0x0000000188c5ae50 in __CFMachPortPerform ()
#19 0x0000000188c73218 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ ()
#20 0x0000000188c729cc in __CFRunLoopDoSource1 ()
#21 0x0000000188c704b0 in __CFRunLoopRun ()
#22 0x0000000188b9e2b8 in CFRunLoopRunSpecific ()
#23 0x000000018a652198 in GSEventRunModal ()
#24 0x000000018ebe57fc in -[UIApplication _run] ()
#25 0x000000018ebe0534 in UIApplicationMain ()
#26 0x000000010009c5e4 in main at
#27 0x0000000187b815b8 in start ()
I try to pause the stream video setting pauseVideo property to YES when going to background and then resume it on foreground but I receive this other trace:
#0 0x00000001987f9f94 in gpus_ReturnNotPermittedKillClient ()
#1 0x000000019d2b91bc in ___lldb_unnamed_symbol545$$AGXGLDriver ()
#2 0x00000001987faf44 in gpusSubmitDataBuffers ()
#3 0x000000019d2ba77c in ___lldb_unnamed_symbol566$$AGXGLDriver ()
#4 0x000000019db03f9c in gliPresentViewES_Exec ()
#5 0x000000019db03e98 in gliPresentViewES ()
#6 0x000000018b31ac08 in -[EAGLContext presentRenderbuffer:] ()
#7 0x0000000100af201c in EAGLContext_presentRenderbuffer(EAGLContext*, objc_selector*, unsigned long) ()
#8 0x0000000192e07994 in -[GLKView _display:] ()
#9 0x0000000100227afc in ::-[R5VideoViewController render:](NSTimer *) at /Users/infrared5/Documents/TeamCity/buildAgent/work/fd7584733d331e84/red5streaming/src/R5VideoViewController.mm:316
#10 0x0000000101d1bae4 in -[DYDisplayLinkInterposer forwardDisplayLinkCallback:] ()
#11 0x000000018bf1af24 in CA::Display::DisplayLinkItem::dispatch(unsigned long long) ()
#12 0x000000018bf1add0 in CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) ()
#13 0x0000000188f32094 in IODispatchCalloutFromCFMessage ()
#14 0x0000000188c5ae50 in __CFMachPortPerform ()
#15 0x0000000188c73218 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ ()
#16 0x0000000188c729cc in __CFRunLoopDoSource1 ()
#17 0x0000000188c704b0 in __CFRunLoopRun ()
#18 0x0000000188b9e2b8 in CFRunLoopRunSpecific ()
#19 0x000000018a652198 in GSEventRunModal ()
#20 0x000000018ebe57fc in -[UIApplication _run] ()
#21 0x000000018ebe0534 in UIApplicationMain ()
#22 0x00000001000df85c in main at
#23 0x0000000187b815b8 in start ()
I tried also to stop the videoCapture when going to background with [[self.stream getVideoSource] stopVideoCapture]; but that didn't work either.
What is the proper way to pause video when going to background, keeping the audio on, and then resume video on foreground?
The text was updated successfully, but these errors were encountered:
I'm using v2.1.0 of the framework and implementing a two-way videochat. When the app goes to background (Home button pressed) it crashes with the following trace:
I try to pause the stream video setting
pauseVideo
property to YES when going to background and then resume it on foreground but I receive this other trace:I tried also to stop the videoCapture when going to background with
[[self.stream getVideoSource] stopVideoCapture];
but that didn't work either.What is the proper way to pause video when going to background, keeping the audio on, and then resume video on foreground?
The text was updated successfully, but these errors were encountered: