Changes between Version 3 and Version 4 of pjsip-doc/call
- Timestamp:
- Dec 4, 2013 8:02:54 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pjsip-doc/call
v3 v4 90 90 for (unsigned i = 0; i < ci.media.size(); i++) { 91 91 if (getMedia(i)) { // Check if the media is valid 92 AudioMedia *aud_med = getMedia(i); 92 AudioMedia *aud_med = (AudioMedia *)getMedia(i); 93 93 94 // Connect the call audio media to sound device 94 95 AudDevManager& mgr = Endpoint::instance().audDevManager(); 95 96 aud_med->startTransmit(mgr.getPlaybackDevMedia()); 96 mgr.getCaptureDevMedia() ->startTransmit(*aud_med);97 mgr.getCaptureDevMedia().startTransmit(*aud_med); 97 98 } 98 99 }