#2187 closed enhancement (fixed)
Delay the creation of video capture until it is needed
Reported by: | ming | Owned by: | ming |
---|---|---|---|
Priority: | normal | Milestone: | release-2.9 |
Component: | pjsua-lib | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description (last modified by ming)
This can be useful in situations where video camera access is exclusive, so when we don't need it, the video camera can still be used by the user or other apps.
This ticket will include:
- Avoid creating the video capture if the setting vid_out_auto_transmit is false
- Decrease the video capture reference count when the outgoing transmission is disabled (via the API pjsua_call_set_vid_strm() with op PJSUA_CALL_VID_STRM_STOP_TRANSMIT). When the reference count reaches zero (i.e. no other calls nor the preview window is using it), then the video capture will be released.
Change History (4)
comment:1 Changed 6 years ago by ming
- Owner set to ming
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 6 years ago by ming
- Description modified (diff)
- Summary changed from Avoid starting video capture if the setting vid_out_auto_transmit is false to Delay the creation video capture until it is needed
comment:3 Changed 6 years ago by ming
- Summary changed from Delay the creation video capture until it is needed to Delay the creation of video capture until it is needed
comment:4 Changed 6 years ago by ming
In 5962:
Note: See
TracTickets for help on using
tickets.
In 5961: