UI freeze before playing video in iOS. Getting Main Thread Checker Error in console.
Hi,
I'm facing an issue in iOS application. UI gets freeze before video show on view. I'm using GStreamer version 1.16.2 same issue was facing with GStreamer 1.14.2.
Kindly help me to get rid of this issue.
Please let me know if you guys need more information.
Thanks.
I'm getting this warning:-
Main Thread Checker: UI API called on a background thread: -[UIView layer]
PID: 2222, TID: 880399, Thread name: (none), Queue name: org.freedesktop.gstreamer.glwindow, QoS: 0
Backtrace:
4 Raybaby Dev 0x000000010630d430 gst_gl_context_eagl_update_layer + 144
5 Raybaby Dev 0x00000001063152bc gst_gl_window_eagl_set_window_handle + 92
6 Raybaby Dev 0x0000000106303434 _set_window_handle_cb + 104
7 Raybaby Dev 0x0000000106315594 __gst_gl_window_eagl_send_message_async_block_invoke + 36
8 libdispatch.dylib 0x000000010ac9de1c _dispatch_call_block_and_release + 32
9 libdispatch.dylib 0x000000010ac9f27c _dispatch_client_callout + 20
10 libdispatch.dylib 0x000000010aca690c _dispatch_lane_serial_drain + 720
11 libdispatch.dylib 0x000000010aca74fc _dispatch_lane_invoke + 408
12 libdispatch.dylib 0x000000010acb24dc _dispatch_workloop_worker_thread + 1344
13 libsystem_pthread.dylib 0x00000001abb036d0 _pthread_wqthread + 280
14 libsystem_pthread.dylib 0x00000001abb099e8 start_wqthread + 8
2020-02-19 11:31:43.379524+0530 Raybaby Dev[2222:880399] [reports] Main Thread Checker: UI API called on a background thread: -[UIView layer]
PID: 2222, TID: 880399, Thread name: (none), Queue name: org.freedesktop.gstreamer.glwindow, QoS: 0
Backtrace:
4 Raybaby Dev 0x000000010630d430 gst_gl_context_eagl_update_layer + 144
5 Raybaby Dev 0x00000001063152bc gst_gl_window_eagl_set_window_handle + 92
6 Raybaby Dev 0x0000000106303434 _set_window_handle_cb + 104
7 Raybaby Dev 0x0000000106315594 __gst_gl_window_eagl_send_message_async_block_invoke + 36
8 libdispatch.dylib 0x000000010ac9de1c _dispatch_call_block_and_release + 32
9 libdispatch.dylib 0x000000010ac9f27c _dispatch_client_callout + 20
10 libdispatch.dylib 0x000000010aca690c _dispatch_lane_serial_drain + 720
11 libdispatch.dylib 0x000000010aca74fc _dispatch_lane_invoke + 408
12 libdispatch.dylib 0x000000010acb24dc _dispatch_workloop_worker_thread + 1344
13 libsystem_pthread.dylib 0x00000001abb036d0 _pthread_wqthread + 280
14 libsystem_pthread.dylib 0x00000001abb099e8 start_wqthread + 8