Project

General

Profile

Bug #1107

Upon start fetching or publishing rendering window goes black

Added by Peter Gusev over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Bug
Start date:
01/16/2014
Due date:
% Done:

100%

Estimated time:

Description

Sometimes, when fetching (or publishing) starts, rendering window does not display video, though video fetching is performed.
Also, in these cases, rendering window have empty caption (instead of "Local render" for publishing or poruducer name for fetching).

#1

Updated by Peter Gusev over 6 years ago

Rendering is performed using WebRTC class. Additional logging did not reveal the problem - everything seems to work fine, however no image rendering on the window. I've made a 200ms delay after rendering initialization as it seems that with such delay bug does not reproduce.

#2

Updated by Peter Gusev over 6 years ago

  • % Done changed from 0 to 40

Peter Gusev wrote:

Rendering is performed using WebRTC class. Additional logging did not reveal the problem - everything seems to work fine, however no image rendering on the window. I've made a 200ms delay after rendering initialization as it seems that with such delay bug is not reproducable.

#3

Updated by Peter Gusev over 6 years ago

  • Status changed from New to In Progress
#4

Updated by Peter Gusev over 6 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 40 to 100

Figured out the problem - OpenGL canvas was rendering on a window which (sometimes) was not displayed on a screen upon creation. Fixed by forcing window to be displayed once created (http://stackoverflow.com/questions/15936059/how-do-i-detect-invalid-drawable-in-mac-os-x).

Also available in: Atom PDF