- Timestamp:
- Mar 22, 2015 9:39:31 AM (10 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-videodev/android_opengl.c
r5014 r5016 230 230 struct andgl_stream *stream = (struct andgl_stream *)data; 231 231 232 if ( !stream->window|| stream->err_rend == 0)232 if (stream->display == EGL_NO_DISPLAY || stream->err_rend == 0) 233 233 return PJ_SUCCESS; 234 234 … … 482 482 pj_status_t status; 483 483 484 if (!stream->is_running || !stream->window)484 if (!stream->is_running || stream->display == EGL_NO_DISPLAY) 485 485 return PJ_EINVALIDOP; 486 486 -
pjproject/trunk/pjsip-apps/src/swig/java/android/src/org/pjsip/pjsua2/app/MyApp.java
r5014 r5016 96 96 cmi.getVideoIncomingWindowId() != pjsua2.INVALID_ID) 97 97 { 98 vidWin = cmi.getVideoWindow();98 vidWin = new VideoWindow(cmi.getVideoIncomingWindowId()); 99 99 } 100 100 } -
pjproject/trunk/pjsip-apps/src/swig/pjsua2.i
r5014 r5016 108 108 %ignore pj::WindowHandle::window; 109 109 %typemap(in) jobject surface { 110 $1 = ( jobject)ANativeWindow_fromSurface(jenv, $input);110 $1 = ($input? (jobject)ANativeWindow_fromSurface(jenv, $input): NULL); 111 111 } 112 112 %extend pj::WindowHandle {
Note: See TracChangeset
for help on using the changeset viewer.