Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1362 closed task (fixed)

Support for fast switching between devices — at Version 6

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-2.0-alpha2
Component: pjmedia-videodev Version: 2.0-dev-branch
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description (last modified by bennylp)

Some platforms have an optimized method to switch video devices while the session is running without causing long delay or stuttering. For example, iPhone 4 allows switching between front and rear cameras while the capture session is running.

This ticket implements a capability to allow video stream to switch it's underlying device while it is running. The capability should support both capture and render device.

Reference:

Change History (6)

comment:1 Changed 13 years ago by bennylp

  • Summary changed from Camera type support to Device camera type support

comment:2 Changed 13 years ago by bennylp

  • Description modified (diff)
  • Summary changed from Device camera type support to Support for fast switching between devices

comment:3 Changed 13 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

(In [3781]) Added PJMEDIA_VID_DEV_CAP_SWITCH capability to allow fast switching to another device while the video device stream is running. Currently not implemented on any devices.(This closes #1362)

comment:4 Changed 13 years ago by bennylp

(In [3787]) More re #1362: actually try to use the device switching capability in pjsua-lib, in pjsua_call_set_vid_strm(PJSUA_CALL_VID_STRM_CHANGE_CAP_DEV) operation

comment:5 Changed 13 years ago by bennylp

(In [3788]) Fixed missing updating of call_med's cap_dev after fast switching (re #1362)

comment:6 Changed 13 years ago by bennylp

  • Description modified (diff)
Note: See TracTickets for help on using tickets.