Changeset 89 for trunk/sources/androidapplestreaming/src/jniwrapper.cpp
- Timestamp:
- 08/22/10 21:58:42 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/androidapplestreaming/src/jniwrapper.cpp
r85 r89 18 18 */ 19 19 20 21 20 #include "jniwrapper.h" 22 21 #include "api.h" 23 22 24 23 extern "C" void Java_com_rtmpd_CommandsInterface_EnvRun( 25 JNIEnv* pEnv, jobject thiz, jobject pInterface, jstring host, jint port) { 24 JNIEnv* env, 25 jobject thiz, 26 jobject callbackHandler, 27 jstring callbackClassName, 28 jstring callbackMethodName, 29 jstring ip, 30 jint port) { 26 31 CallBackInfo ci; 27 ci.pEnv = pEnv; 28 ci.pInterface = pInterface; 29 EnvRun(pEnv->GetStringUTFChars(host, NULL), (uint16_t) port, ci); 32 ci.env = env; 33 ci.callbackHandler = callbackHandler; 34 ci.callbackClassName = env->GetStringUTFChars(callbackClassName, NULL); 35 ci.callbackMethodName = env->GetStringUTFChars(callbackMethodName, NULL); 36 EnvRun(env->GetStringUTFChars(ip, NULL), (uint16_t) port, ci); 30 37 } 31 38
Note: See TracChangeset
for help on using the changeset viewer.
