Changeset 63 for trunk/sources/androidapplestreaming/src/jniwrapper.cpp
- Timestamp:
- 08/11/10 17:51:36 (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/androidapplestreaming/src/jniwrapper.cpp
r56 r63 79 79 } 80 80 81 extern "C" jobject Java_com_rtmpd_CommandsInterface_CommandSelectBandwidth( 82 JNIEnv* pEnv, jobject thiz, jint contextId, jint bandwidth) { 83 Variant result = CommandSelectBandwidth((uint32_t) contextId, 84 (uint32_t) bandwidth); 85 return VariantToJObject(result, pEnv); 86 } 87 88 extern "C" jobject Java_com_rtmpd_CommandsInterface_CommandSeek( 89 JNIEnv* pEnv, jobject thiz, jint contextId, jdouble value) { 90 Variant result = CommandSeek((uint32_t) contextId, (double) value); 91 return VariantToJObject(result, pEnv); 92 } 93 94 extern "C" jobject Java_com_rtmpd_CommandsInterface_CommandSelectAVChannels( 95 JNIEnv* pEnv, jobject thiz, jint contextId, jint audio, jint video) { 96 Variant result = CommandSelectAVChannels((uint32_t) contextId, 97 (uint32_t) audio, (uint32_t) video); 98 return VariantToJObject(result, pEnv); 99 } 100 81 101 extern "C" jobject Java_com_rtmpd_CommandsInterface_InfoListStreams( 82 102 JNIEnv* pEnv, jobject thiz, jint contextId) { … … 88 108 JNIEnv* pEnv, jobject thiz) { 89 109 Variant result = InfoListAllStreams(); 110 return VariantToJObject(result, pEnv); 111 } 112 113 extern "C" jobject Java_com_rtmpd_CommandsInterface_InfoBandwidth( 114 JNIEnv* pEnv, jobject thiz, jint contextId) { 115 Variant result = InfoBandwidth((uint32_t) contextId); 116 return VariantToJObject(result, pEnv); 117 } 118 119 extern "C" jobject Java_com_rtmpd_CommandsInterface_InfoAllBandwidth( 120 JNIEnv* pEnv, jobject thiz) { 121 Variant result = InfoAllBandwidth(); 122 return VariantToJObject(result, pEnv); 123 } 124 125 extern "C" jobject Java_com_rtmpd_CommandsInterface_InfoPlayback( 126 JNIEnv* pEnv, jobject thiz, jint contextId) { 127 Variant result = InfoPlayback((uint32_t) contextId); 128 return VariantToJObject(result, pEnv); 129 } 130 131 extern "C" jobject Java_com_rtmpd_CommandsInterface_InfoAllPlayback( 132 JNIEnv* pEnv, jobject thiz) { 133 Variant result = InfoAllPlayback(); 90 134 return VariantToJObject(result, pEnv); 91 135 }
Note: See TracChangeset
for help on using the changeset viewer.
