- Timestamp:
- Jan 18, 2017 10:55:35 AM (8 years ago)
- Location:
- pjproject/branches/projects/uwp
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/uwp
- Property svn:mergeinfo changed
/pjproject/trunk merged: 5516-5525,5527,5530-5531
- Property svn:mergeinfo changed
-
pjproject/branches/projects/uwp/pjsip-apps/src/pjsua/android/app/src/main/java/MainActivity.java
r5508 r5532 139 139 } 140 140 } 141 142 @Override 143 public void onCallVideoStart() { 144 MainActivity ma = ((MyHandler)ui_handler.get()).mTarget.get(); 145 SurfaceView surfaceView = (SurfaceView) 146 ma.findViewById(R.id.surfaceViewIncomingCall); 147 148 WindowHandle wh = new WindowHandle(); 149 wh.setWindow(surfaceView.getHolder().getSurface()); 150 pjsua.setVideoWindow(wh); 151 } 141 152 } 142 153 … … 262 273 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) 263 274 { 264 pjsua.setIncomingVideoRenderer(holder.getSurface()); 275 WindowHandle wh = new WindowHandle(); 276 wh.setWindow(holder.getSurface()); 277 pjsua.setVideoWindow(wh); 265 278 } 266 279 267 280 public void surfaceCreated(SurfaceHolder holder) 268 281 { 269 pjsua.setIncomingVideoRenderer(holder.getSurface()); 282 270 283 } 271 284 272 285 public void surfaceDestroyed(SurfaceHolder holder) 273 286 { 274 pjsua.setIncomingVideoRenderer(null); 287 WindowHandle wh = new WindowHandle(); 288 wh.setWindow(null); 289 pjsua.setVideoWindow(wh); 275 290 } 276 291 -
pjproject/branches/projects/uwp/pjsip-apps/src/pjsua/android/app/src/main/java/org/pjsip/pjsua
- Property svn:ignore
-
old new 1 1 Pjsua*.java 2 2 pjsua*.java 3 SWIG*.java 4 WindowHandle.java 5
-
- Property svn:ignore
Note: See TracChangeset
for help on using the changeset viewer.