Changeset 5014 for pjproject/trunk/pjsip-apps/src/pjsua/android/jni/pjsua.i
- Timestamp:
- Mar 22, 2015 8:53:03 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/android/jni/pjsua.i
r4496 r5014 4 4 #include "pjsua_app_callback.h" 5 5 #include "../../pjsua_app.h" 6 #include <android/native_window_jni.h> 6 7 7 8 #ifdef __cplusplus … … 17 18 %} 18 19 19 int pjsuaStart(); 20 void pjsuaDestroy(); 21 int pjsuaRestart(); 22 23 /* turn on director wrapping PjsuaAppCallback */ 20 /* Turn on director wrapping PjsuaAppCallback */ 24 21 %feature("director") PjsuaAppCallback; 25 22 23 /* Convert Surface object to ANativeWindow for setIncomingVideoRenderer() */ 24 %typemap(in) jobject surface { 25 $1 = (jobject)ANativeWindow_fromSurface(jenv, $input); 26 } 27 26 28 %include "pjsua_app_callback.h" 27 28 void setCallbackObject(PjsuaAppCallback* callback);29
Note: See TracChangeset
for help on using the changeset viewer.