Changeset 370:bed640c909ce in mediastreamer2
- Timestamp:
- Mar 27, 2009 3:52:29 PM (4 years ago)
- Branch:
- default
- Location:
- p2pproxy
- Files:
-
- 2 edited
-
launcher/src/p2pproxy.c (modified) (1 diff)
-
plugin-src/fonis.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
p2pproxy/launcher/src/p2pproxy.c
r368 r370 175 175 return lResult; 176 176 } 177 177 178 int p2pproxy_application_get_state() { 178 179 jmethodID stateMethod; 179 180 GET_JNI_ENV 180 181 stateMethod = (*lJniEnv)->GetStaticMethodID(lJniEnv, lMainClass, "getState", "()I"); 182 if (stateMethod==NULL) { 183 lResult=P2PPROXY_ERROR_APPLICATION_NOT_STARTED; 184 goto end; 185 } 181 186 lResult = (*lJniEnv)->CallStaticIntMethod(lJniEnv, lMainClass, stateMethod); 187 goto end; 188 end: 182 189 (*p2pproxy_application_jvm)->DetachCurrentThread(p2pproxy_application_jvm); 183 190 return lResult; -
p2pproxy/plugin-src/fonis.c
r368 r370 30 30 31 31 static void *fonis_thread_func(void *arg){ 32 if (p2pproxy_application_start(0,NULL)!=0){ 32 char *argv[]={"-edge-only","-sip", "5058",NULL}; 33 if (p2pproxy_application_start(3,argv)!=0){ 33 34 ms_error("Fail to start fonis thread !"); 34 35 }
Note: See TracChangeset
for help on using the changeset viewer.
