Changeset 5969 for pjproject/trunk/pjsip-apps/src/swig/java/android/app
- Timestamp:
- Apr 15, 2019 10:52:16 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/swig/java/android/app/src/main/java/org/pjsip/pjsua2/app/MyApp.java
r5952 r5969 98 98 pjsua_call_media_status.PJSUA_CALL_MEDIA_REMOTE_HOLD)) 99 99 { 100 // unfortunately, on Java too, the returned Media cannot be101 // downcasted to AudioMedia102 Media m = getMedia(i);103 AudioMedia am = AudioMedia.typecastFromMedia(m);104 105 100 // connect ports 106 101 try { 102 AudioMedia am = getAudioMedia(i); 107 103 MyApp.ep.audDevManager().getCaptureDevMedia(). 108 104 startTransmit(am); … … 110 106 getPlaybackDevMedia()); 111 107 } catch (Exception e) { 108 System.out.println("Failed connecting media ports" + 109 e.getMessage()); 112 110 continue; 113 111 }
Note: See TracChangeset
for help on using the changeset viewer.