183 /** |
183 /** |
184 Sends an SDP media field object data to the reference agent server. |
184 Sends an SDP media field object data to the reference agent server. |
185 @param aKey An SDP object data. |
185 @param aKey An SDP object data. |
186 */ |
186 */ |
187 { |
187 { |
188 #ifdef INTERNALLY_ENABLE_UPWARD_DEPENDENCY |
|
189 HBufC8* sdpBuf(0); |
188 HBufC8* sdpBuf(0); |
190 TPtr8 ptr(EncodeLC(aSdp, sdpBuf)); |
189 TPtr8 ptr(EncodeLC(aSdp, sdpBuf)); |
191 User::LeaveIfError(RSessionBase::SendReceive(ESetSdpKeyStream, TIpcArgs(&ptr))); |
190 User::LeaveIfError(RSessionBase::SendReceive(ESetSdpKeyStream, TIpcArgs(&ptr))); |
192 CleanupStack::PopAndDestroy(sdpBuf); |
191 CleanupStack::PopAndDestroy(sdpBuf); |
193 #else |
|
194 (void) aSdp; |
|
195 #endif |
|
196 } |
192 } |
197 |
193 |
198 EXPORT_C void RSraClient::SendSdpDocumentL(const CSdpDocument& aSdpDoc) const |
194 EXPORT_C void RSraClient::SendSdpDocumentL(const CSdpDocument& aSdpDoc) const |
199 /** |
195 /** |
200 Sends an SDP document object data to the reference agent server. |
196 Sends an SDP document object data to the reference agent server. |
201 @param aKey An SDP object data. |
197 @param aKey An SDP object data. |
202 */ |
198 */ |
203 { |
199 { |
204 #ifdef INTERNALLY_ENABLE_UPWARD_DEPENDENCY |
|
205 HBufC8* sdpDocBuf(0); |
200 HBufC8* sdpDocBuf(0); |
206 TPtr8 ptr(EncodeLC(aSdpDoc, sdpDocBuf)); |
201 TPtr8 ptr(EncodeLC(aSdpDoc, sdpDocBuf)); |
207 User::LeaveIfError(RSessionBase::SendReceive(ESetSdpDocument, TIpcArgs(&ptr))); |
202 User::LeaveIfError(RSessionBase::SendReceive(ESetSdpDocument, TIpcArgs(&ptr))); |
208 CleanupStack::PopAndDestroy(sdpDocBuf); |
203 CleanupStack::PopAndDestroy(sdpDocBuf); |
209 #else |
204 } |
210 (void) aSdpDoc; |
|
211 #endif |
|
212 |
|
213 } |
|