Media/WebRTC/SIPCCMessaging: Difference between revisions

Jump to navigation Jump to search
Line 7: Line 7:




* Add the new API to the the concrete <code>CC_SIPCall</code> implementation in <code>media/webrtc/signaling/src/softphonewrapper.h</code>:
* Add the new API to the the concrete <code>CC_SIPCall</code> implementation in <code>media/webrtc/signaling/src/softphonewrapper/CC_SIPCCCall.h</code>:


         virtual void setPeerConnection(const std::string& handle);
         virtual void setPeerConnection(const std::string& handle);


* And <code>media/webrtc/signaling/src/softphonewrapper.cpp</code>. Note that this is just calling a wrapper and this is where the C++/C transition takes place:
* And <code>media/webrtc/signaling/src/softphonewrapper/CC_SIPCCCall.cpp</code>. Note that this is just calling a wrapper and this is where the C++/C transition takes place:


   void CC_SIPCCCall::setPeerConnection(const std::string& handle)
   void CC_SIPCCCall::setPeerConnection(const std::string& handle)
   {
   {
     CSFLogDebug(logTag, "setPeerConnection");
     CSFLogDebug(logTag, "setPeerConnection");
      
     peerconnection = handle;
     CCAPI_SetPeerConnection(callHandle, handle.c_str());
     CCAPI_SetPeerConnection(callHandle, handle.c_str());
   }
   }
Confirmed users
69

edits

Navigation menu