equal
deleted
inserted
replaced
332 IMPORT_C TInt SendRtpPacket( TRtpId aTranStreamId, |
332 IMPORT_C TInt SendRtpPacket( TRtpId aTranStreamId, |
333 TRtpSequence aSequenceNum, |
333 TRtpSequence aSequenceNum, |
334 const TRtpSendHeader& aHeaderInfo, |
334 const TRtpSendHeader& aHeaderInfo, |
335 const TDesC8& aPayloadData, |
335 const TDesC8& aPayloadData, |
336 TRequestStatus& aStatus ); |
336 TRequestStatus& aStatus ); |
337 |
337 |
|
338 /** |
|
339 * Send an RTP data packet, with a given CSRC list. |
|
340 * @param aHeaderInfo - [input] TRtpSendPktParam and CSRC list. |
|
341 * @return KErrNone if successful; system wide error code otherwise |
|
342 */ |
|
343 IMPORT_C TInt SendRtpPacket( const TRtpSendPktParams& aSendPktParam, |
|
344 TArray<TRtpCSRC> aCSRCList); |
|
345 |
338 |
346 |
339 /** |
347 /** |
340 * Send a non-RTP (control) data packet asynchronously |
348 * Send a non-RTP (control) data packet asynchronously |
341 * @param aSessionId - [input] RTP Session ID |
349 * @param aSessionId - [input] RTP Session ID |
342 * @param aUseRTPSocket - [input] use RTP/RTCP socket |
350 * @param aUseRTPSocket - [input] use RTP/RTCP socket |
531 /** |
539 /** |
532 * Dummy function to fix Raptor error |
540 * Dummy function to fix Raptor error |
533 * @return KErrNone. |
541 * @return KErrNone. |
534 */ |
542 */ |
535 IMPORT_C TInt NotInUseSetNonRTPDataObserver( ); |
543 IMPORT_C TInt NotInUseSetNonRTPDataObserver( ); |
536 |
544 |
537 |
545 |
|
546 /** |
|
547 * Register a callback object for Send RTP data packets from an RTP |
|
548 * Session. Only one Sender callback object is allowed to be |
|
549 * registered for one Session. |
|
550 * MRTPPacketObserver::ReadyToSendRtpPacket function from aRtpObserver object is |
|
551 * called when an RTP data packet is received. |
|
552 * @param aSessionId - [input] RTP Session ID |
|
553 * @param aRtpObserver - [input] Callback object to receive RTP packets |
|
554 * @return KErrNone if successful; system wide error code otherwise |
|
555 */ |
|
556 IMPORT_C TInt RegisterRtpPostProcessingObserver( TRtpId aSessionId, |
|
557 MRtpPostProcessingObserver& aRtpObserver ); |
|
558 |
|
559 |
|
560 /** |
|
561 * Unregister RTP Packet observer callback object associated with an RTP |
|
562 * session. |
|
563 * @param aSessionId - [input] RTP Session ID |
|
564 * @return None |
|
565 */ |
|
566 IMPORT_C void UnregisterRtpPostProcessingObserver( TRtpId aSessionId ); |
|
567 |
538 private: |
568 private: |
539 /** |
569 /** |
540 * C++ default constructor. |
570 * C++ default constructor. |
541 */ |
571 */ |
542 CRtpAPI(); |
572 CRtpAPI(); |