Changes between Version 3 and Version 4 of pjsip-doc/call


Ignore:
Timestamp:
Dec 4, 2013 8:02:54 AM (7 years ago)
Author:
ming
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pjsip-doc/call

    v3 v4  
    9090        for (unsigned i = 0; i < ci.media.size(); i++) { 
    9191            if (getMedia(i)) { // Check if the media is valid 
    92                 AudioMedia *aud_med = getMedia(i); 
     92                AudioMedia *aud_med = (AudioMedia *)getMedia(i); 
     93 
    9394                // Connect the call audio media to sound device 
    9495                AudDevManager& mgr = Endpoint::instance().audDevManager(); 
    9596                aud_med->startTransmit(mgr.getPlaybackDevMedia()); 
    96                 mgr.getCaptureDevMedia()->startTransmit(*aud_med); 
     97                mgr.getCaptureDevMedia().startTransmit(*aud_med); 
    9798            } 
    9899        }