Ignore:
Timestamp:
Dec 10, 2019 3:55:51 AM (5 years ago)
Author:
nanang
Message:

Close #2255: Add API for making video window full screen.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua2/media.cpp

    r6112 r6117  
    12811281#endif 
    12821282} 
     1283 
     1284void VideoWindow::setFullScreen(bool enabled) PJSUA2_THROW(Error) 
     1285{ 
     1286#if PJSUA_HAS_VIDEO 
     1287    PJSUA2_CHECK_EXPR( pjsua_vid_win_set_fullscreen(winId, enabled) ); 
     1288#else 
     1289    PJ_UNUSED_ARG(enabled); 
     1290#endif 
     1291} 
     1292 
    12831293/////////////////////////////////////////////////////////////////////////////// 
    12841294VideoPreviewOpParam::VideoPreviewOpParam() 
Note: See TracChangeset for help on using the changeset viewer.