Ticket #1829 (new enhancement)

Opened 3 years ago

Avoid recreating video renderer due to format change in the beginning of video session

Reported by: nanang Owned by: bennylp
Priority: normal Milestone: release-2.x
Component: pjsua-lib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

Currently video renderer is precreated with a specific size and when incoming video frame has been successfully decoded and the size has been different, the decoder will send event that format has been changed and renderer will resize, which may require recreating.

Perhaps we should delay the renderer creation or make sure changing renderer size is a lightweight operation.

Note: See TracTickets for help on using tickets.