Changeset 90
- Timestamp:
- 08/22/10 22:14:41 (18 months ago)
- Location:
- trunk
- Files:
-
- 6 edited
-
builders/androidapplestreaming/src/org/apache/android/media/VideoViewDemo.java (modified) (4 diffs)
-
builders/cmake/run (modified) (1 diff)
-
sources/androidapplestreaming/include/api.h (modified) (1 diff)
-
sources/androidapplestreaming/include/jniwrapper.h (modified) (1 diff)
-
sources/androidapplestreaming/src/api.cpp (modified) (1 diff)
-
sources/androidapplestreaming/src/jniwrapper.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/builders/androidapplestreaming/src/org/apache/android/media/VideoViewDemo.java
r87 r90 68 68 _thread = new Thread() { 69 69 public void run() { 70 _ci.EnvRun(callbackObj, "0.0.0.0", 55 544);70 _ci.EnvRun(callbackObj, "0.0.0.0", 5544); 71 71 } 72 72 }; … … 144 144 return; 145 145 146 url="http://10.0.2.1/~shiretu/jwp/m.m3u8";147 String key="mv/riCUfFPozkOrRbr5ddlSFozU=";148 String sessId="playback=HTTP_CLOUD_WIRED&contentId=7320085&appAccountName=mlb&eventId=14-263849-2010-04-08&ipid=11627706&sessionKey=f8ZFssJ4sqRLYIU1VAXCxyvM5mc%3D";146 //url="http://10.0.2.1/~shiretu/jwp/m.m3u8"; 147 //String key="mv/riCUfFPozkOrRbr5ddlSFozU="; 148 //String sessId="playback=HTTP_CLOUD_WIRED&contentId=7320085&appAccountName=mlb&eventId=14-263849-2010-04-08&ipid=11627706&sessionKey=f8ZFssJ4sqRLYIU1VAXCxyvM5mc%3D"; 149 149 150 150 //url="http://mlbvod-akc.mlb.com/mlbam/2010/04/08/MLB_GAME_VIDEO_LANPIT_HOME_20100408/master_mobile.m3u8"; … … 152 152 //String sessId="playback=HTTP_CLOUD_WIRED&contentId=7320085&appAccountName=mlb&eventId=14-263849-2010-04-08&ipid=11627706&sessionKey=GBncPsxRBV02IC9n80RP1Sdr9ew%3D"; 153 153 154 //url="http://mediadownloads.mlb.com/mlbam/2010/06/29/9505835_m3u8/128/dropf_9505835_100m_128K.m3u8";155 //String key="";156 //String sessId="";154 url="http://mediadownloads.mlb.com/mlbam/2010/06/29/9505835_m3u8/128/dropf_9505835_100m_128K.m3u8"; 155 String key=""; 156 String sessId=""; 157 157 158 158 //url="http://mlbsegqa.mlb.com/mlbam/2010/08/17/MLB_GAME_VIDEO_DETNYA_HOME_20100817/master_mobile.m3u8"; 159 159 //String key="/AMhXX7vmDTcQrsJndNI/TEw+sM="; 160 160 //String sessId="playback=HTTP_CLOUD_MOBILE&contentId=10111969&appAccountName=mlb&eventId=14-265611-2010-08-18&ipid=11627706&sessionKey=f8ZFssJ4sqRLYIU1VAXCxyvM5mc%3D&deviceId=ANDROID_356698030670609&country=us&postalCode=10011&platform=ANDROID"; 161 162 163 //url="http://mlbsegqa.mlb.com/mlbam/2010/08/17/MLB_GAME_VIDEO_DETNYA_HOME_20100817/master_mobile.m3u8"; 164 //String key="fzi/ekWlN/nJY7M7zyODvnWvwCk="; 165 //String sessId="playback=HTTP_CLOUD_MOBILE&contentId=10111969&appAccountName=mlb&eventId=14-265611-2010-08-18&ipid=23272205&sessionKey=lCzgmwnNPsLrnlcqm8bZ8Fk6GEM%3D&country=us&postalCode=10292&platform=ANDROID"; 161 166 162 167 Toast.makeText(getApplicationContext(), "Opening: " + url, Toast.LENGTH_LONG).show(); … … 213 218 } 214 219 215 final String path = "rtsp://127.0.0.1:55 544/" + msgInfoListStreams.getStreamName(0);220 final String path = "rtsp://127.0.0.1:5544/" + msgInfoListStreams.getStreamName(0); 216 221 Log.v(TAG, "path: " + path); 217 222 if (path == null || path.length() == 0) { -
trunk/builders/cmake/run
r33 r90 25 25 #./tssplitter/tssplitter ./tssplitter/tssplitter.lua 26 26 #./vmtests/vmtests ./vmtests/vmtests.lua ./vmtests/utils.lua 27 ./rtmpserver/rtmpserver ./rtmpserver/rtmpserver.lua28 #./androidapplestreaming/androidapplestreaming27 #./rtmpserver/rtmpserver ./rtmpserver/rtmpserver.lua 28 ./androidapplestreaming/androidapplestreaming 29 29 #./tests/tests 30 30 #./vmtests/vmtests -
trunk/sources/androidapplestreaming/include/api.h
r87 r90 29 29 void EnvRun(string ip, uint16_t port); 30 30 #endif /* ANDROID */ 31 void WaitEnvReady(); 31 32 void EnvStop(); 32 33 -
trunk/sources/androidapplestreaming/include/jniwrapper.h
r89 r90 32 32 jstring ip, 33 33 jint port); 34 extern "C" void Java_com_rtmpd_CommandsInterface_WaitEnvReady( 35 JNIEnv* pEnv, 36 jobject thiz); 34 37 extern "C" void Java_com_rtmpd_CommandsInterface_EnvStop( 35 38 JNIEnv* pEnv, jobject thiz); -
trunk/sources/androidapplestreaming/src/api.cpp
r88 r90 183 183 } 184 184 185 void WaitEnvReady() { 186 // VariantConnection vc; 187 // while (!vc.Connect(gAddress)) { 188 // sleep(1); 189 // } 190 sleep(4); 191 } 192 185 193 void EnvStop() { 186 194 IOHandlerManager::SignalShutdown(); -
trunk/sources/androidapplestreaming/src/jniwrapper.cpp
r89 r90 35 35 ci.callbackMethodName = env->GetStringUTFChars(callbackMethodName, NULL); 36 36 EnvRun(env->GetStringUTFChars(ip, NULL), (uint16_t) port, ci); 37 } 38 39 extern "C" void Java_com_rtmpd_CommandsInterface_WaitEnvReady( 40 JNIEnv* pEnv, 41 jobject thiz) { 42 WaitEnvReady(); 37 43 } 38 44
Note: See TracChangeset
for help on using the changeset viewer.
