Ignore:
Timestamp:
Aug 21, 2015 6:46:32 AM (6 years ago)
Author:
ming
Message:

Fixed #1880: Incorrect orientation after switching video capture or when using back camera

Included in this fix:

  • Change the spec & doc of pjmedia_orient enumeration
  • Change iOS sample app to rotate all video devices upon orientation change event.
  • Set orientation as well when fast switching cameras (for iOS and Android)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-videodev/ios_dev.m

    r5138 r5166  
    963963            strm->param.cap_id = p->target_id; 
    964964             
     965            /* Set the orientation as well */ 
     966            ios_stream_set_cap(s, PJMEDIA_VID_DEV_CAP_ORIENTATION, 
     967                               &strm->param.orient); 
     968             
    965969            return PJ_SUCCESS; 
    966970        } 
Note: See TracChangeset for help on using the changeset viewer.