equal
deleted
inserted
replaced
60 const TUint8 KMccPTNotDefined = 128; |
60 const TUint8 KMccPTNotDefined = 128; |
61 |
61 |
62 // Used to define exitence of codec which is not supported by mcc |
62 // Used to define exitence of codec which is not supported by mcc |
63 const TUint32 KMccFourCCUnsupported = 0x4EEEEEEE; |
63 const TUint32 KMccFourCCUnsupported = 0x4EEEEEEE; |
64 |
64 |
65 const TInt KMccFourCCArraySize = 10; |
65 const TInt KMccFourCCArraySize = 15; |
66 |
66 |
67 // Use TPckgBuf<TInt> as a parameter value. Should not overlap with values from API. |
67 // Use TPckgBuf<TInt> as a parameter value. Should not overlap with values from API. |
68 const TUint32 KMccPrerollTime = 60; |
68 const TUint32 KMccPrerollTime = 60; |
69 |
69 |
70 // Increased RTP socket size in bytes, default socket size is around 4KB |
70 // Increased RTP socket size in bytes, default socket size is around 4KB |
103 #define MCC_ENDPOINT_ID(a) reinterpret_cast<TUint32>( a ) |
103 #define MCC_ENDPOINT_ID(a) reinterpret_cast<TUint32>( a ) |
104 |
104 |
105 #define IS_MCC_EVENT(a)\ |
105 #define IS_MCC_EVENT(a)\ |
106 ( a.iEventType == KUidMediaTypeAudio ||\ |
106 ( a.iEventType == KUidMediaTypeAudio ||\ |
107 a.iEventType == KUidMediaTypeVideo ||\ |
107 a.iEventType == KUidMediaTypeVideo ||\ |
|
108 a.iEventType == KUidMediaTypeMessage ||\ |
108 a.iEventType == KMccFileSinkUid ||\ |
109 a.iEventType == KMccFileSinkUid ||\ |
109 a.iEventType == KMccFileSourceUid ||\ |
110 a.iEventType == KMccFileSourceUid ||\ |
110 a.iEventType == KMccRtpSourceUid ||\ |
111 a.iEventType == KMccRtpSourceUid ||\ |
111 a.iEventType == KMccRtpSinkUid ||\ |
112 a.iEventType == KMccRtpSinkUid ||\ |
112 a.iEventType == KMccVideoSourceUid ||\ |
113 a.iEventType == KMccVideoSourceUid ||\ |
114 a.iEventType == KMccJitterBufferUid ||\ |
115 a.iEventType == KMccJitterBufferUid ||\ |
115 a.iEventType == KMccAmrFormatterUid ||\ |
116 a.iEventType == KMccAmrFormatterUid ||\ |
116 a.iEventType == KMccMultiplexerUid ||\ |
117 a.iEventType == KMccMultiplexerUid ||\ |
117 a.iEventType == KMccDtmfFormatterUid ||\ |
118 a.iEventType == KMccDtmfFormatterUid ||\ |
118 a.iEventType == KMccAnySourceUid ||\ |
119 a.iEventType == KMccAnySourceUid ||\ |
|
120 a.iEventType == KMccMsrpSourceUid ||\ |
|
121 a.iEventType == KMccMsrpSinkUid ||\ |
119 a.iEventType == KMccAnySinkUid ) |
122 a.iEventType == KMccAnySinkUid ) |
120 |
123 |
121 #define MCC_STREAM_STATE_CHANGE_EVENT( aEvent )\ |
124 #define MCC_STREAM_STATE_CHANGE_EVENT( aEvent )\ |
122 ( aEvent->iEventCategory == KMccEventCategoryStream &&\ |
125 ( aEvent->iEventCategory == KMccEventCategoryStream &&\ |
123 ( aEvent->iEventType == KMccStreamPrepared ||\ |
126 ( aEvent->iEventType == KMccStreamPrepared ||\ |
132 aEndpointUid == KImplUidMccJitterBuffer ||\ |
135 aEndpointUid == KImplUidMccJitterBuffer ||\ |
133 aEndpointUid == KImplUidRtpDataSource ||\ |
136 aEndpointUid == KImplUidRtpDataSource ||\ |
134 aEndpointUid == KImplUidRtpDataSink ||\ |
137 aEndpointUid == KImplUidRtpDataSink ||\ |
135 aEndpointUid == KImplUidMccVideoSource ||\ |
138 aEndpointUid == KImplUidMccVideoSource ||\ |
136 aEndpointUid == KImplUidMccVideoSink ||\ |
139 aEndpointUid == KImplUidMccVideoSink ||\ |
|
140 aEndpointUid == KImplUidMccMsrpSink ||\ |
|
141 aEndpointUid == KImplUidMccMsrpSource ||\ |
137 aEndpointUid == KImplUidMccAnySource ||\ |
142 aEndpointUid == KImplUidMccAnySource ||\ |
138 aEndpointUid == KImplUidMccAnySink ) |
143 aEndpointUid == KImplUidMccAnySink ) |
139 |
144 |
140 |
145 |
141 #define MCC_IS_AVC_USER_ENTRY( a ) \ |
146 #define MCC_IS_AVC_USER_ENTRY( a ) \ |
214 EMccGetEndpointParameter, |
219 EMccGetEndpointParameter, |
215 EMccGetReferenceCount, |
220 EMccGetReferenceCount, |
216 EMccTranscodeFile, |
221 EMccTranscodeFile, |
217 EMccCancelTranscodeFile, |
222 EMccCancelTranscodeFile, |
218 EMccBindContextIntoStream, |
223 EMccBindContextIntoStream, |
219 EMccRemoveContext |
224 EMccRemoveContext, |
|
225 EMccSetRemoteMsrpPath |
220 }; |
226 }; |
221 |
227 |
222 |
228 |
223 /* |
229 /* |
224 * Message class for redundancy configuration |
230 * Message class for redundancy configuration |
279 iRemoteAddress( KInetAddrAny ), |
285 iRemoteAddress( KInetAddrAny ), |
280 iLocalAddress( KInetAddrAny ), |
286 iLocalAddress( KInetAddrAny ), |
281 iLocalRtcpAddress( KInetAddrAny ), |
287 iLocalRtcpAddress( KInetAddrAny ), |
282 iIapId( 0 ), |
288 iIapId( 0 ), |
283 iIpTOS( 0 ), |
289 iIpTOS( 0 ), |
284 iMediaSignaling( 0 ) |
290 iConnStatus(KNullDesC8), |
|
291 iMediaSignaling( 0 ), |
|
292 iLocalMsrpPath(NULL), |
|
293 iFileName(NULL), |
|
294 iFileSize(0), |
|
295 iFileType(NULL), |
|
296 iFileShare(EFalse), |
|
297 iFTProgressNotification(EFalse) |
285 {} |
298 {} |
286 |
299 |
287 TUint32 iSessionID; |
300 TUint32 iSessionID; |
288 TInt iLinkType; |
301 TInt iLinkType; |
289 TUint32 iLinkID; |
302 TUint32 iLinkID; |
290 TInetAddr iRemoteAddress; |
303 TInetAddr iRemoteAddress; |
291 TInetAddr iLocalAddress; |
304 TInetAddr iLocalAddress; |
292 TInetAddr iLocalRtcpAddress; |
305 TInetAddr iLocalRtcpAddress; |
293 TInt iIapId; |
306 TInt iIapId; |
294 TInt iIpTOS; |
307 TInt iIpTOS; |
|
308 TBuf8<10> iConnStatus; |
295 TInt iMediaSignaling; |
309 TInt iMediaSignaling; |
|
310 TBuf8<150> iLocalMsrpPath; |
|
311 TFileName iFileName; |
|
312 TInt iFileSize; |
|
313 TBuf8<70> iFileType; |
|
314 TBool iFileShare; |
|
315 TBool iFTProgressNotification; |
296 }; |
316 }; |
297 |
317 |
298 typedef TPckgBuf<TMccCreateLink> TMccCreateLinkPckg; |
318 typedef TPckgBuf<TMccCreateLink> TMccCreateLinkPckg; |
299 |
319 |
300 /* |
320 /* |
449 |
469 |
450 TUint32 iSessionID; |
470 TUint32 iSessionID; |
451 TUint32 iLinkID; |
471 TUint32 iLinkID; |
452 TUint32 iStreamID; |
472 TUint32 iStreamID; |
453 TInetAddr iAddress; |
473 TInetAddr iAddress; |
|
474 TBuf8<256> iRemoteMsrpPath; |
|
475 TBuf8<10> iConnStatus; |
454 }; |
476 }; |
455 |
477 |
456 typedef TPckgBuf<TMccAddress> TMccAddressPckg; |
478 typedef TPckgBuf<TMccAddress> TMccAddressPckg; |
457 |
479 |
458 |
480 |