jlibrtp
Interface RTCPAVPFIntf


public interface RTCPAVPFIntf

This is the callback interface for the AVPF profile (RFC 4585) It is optional, you do not have to register it. If there are specific events you wish to ignore, you can simply implement empty functions. These are all syncrhonous, make sure to return quickly or do the handling in a new thread.

Author:
Arne Kepp

Method Summary
 void PSFBPktAppLayerFBReceived(long ssrcPacketSender, byte[] alfBitString)
          This function is called when a Transport Layer Feedback Messages is received
 void PSFBPktPictureLossReceived(long ssrcPacketSender)
          This function is called when a Picture Loss Indication (PLI, FMT = 1) is received
 void PSFBPktRefPictureSelIndic(long ssrcPacketSender, int rpsiPayloadType, byte[] rpsiBitString, int rpsiPaddingBits)
          This function is called when a Reference Picture Selection Indication (RPSI, FMT=3) is received
 void PSFBPktSliceLossIndic(long ssrcPacketSender, int[] sliceFirst, int[] sliceNumber, int[] slicePictureId)
          This function is called when a Slice Loss Indication (SLI, FMT=2) is received
 void RTPFBPktReceived(long ssrcPacketSender, int FMT, int[] packetID, int[] bitmaskLostPackets)
          This function is called when a Transport Layer Feedback Messages is received
 

Method Detail

PSFBPktPictureLossReceived

void PSFBPktPictureLossReceived(long ssrcPacketSender)
This function is called when a Picture Loss Indication (PLI, FMT = 1) is received

Parameters:
ssrcPacketSender - the SSRC of the participant reporting loss of picture

PSFBPktSliceLossIndic

void PSFBPktSliceLossIndic(long ssrcPacketSender,
                           int[] sliceFirst,
                           int[] sliceNumber,
                           int[] slicePictureId)
This function is called when a Slice Loss Indication (SLI, FMT=2) is received

Parameters:
ssrcPacketSender - the SSRC of the participant reporting loss of slice(s)
sliceFirst - macroblock address of first macroblock
sliceNumber - number of lost macroblocks, in scan order
slicePictureId - the six least significant bits of the picture identifier

PSFBPktRefPictureSelIndic

void PSFBPktRefPictureSelIndic(long ssrcPacketSender,
                               int rpsiPayloadType,
                               byte[] rpsiBitString,
                               int rpsiPaddingBits)
This function is called when a Reference Picture Selection Indication (RPSI, FMT=3) is received

Parameters:
ssrcPacketSender - the SSRC of the participant reporting the selection
rpsiPayloadType - the RTP payload type related to the RPSI bit string
rpsiBitString - the RPSI information as natively defined by the video codec
rpsiPaddingBits - the number of padding bits at the end of the string

PSFBPktAppLayerFBReceived

void PSFBPktAppLayerFBReceived(long ssrcPacketSender,
                               byte[] alfBitString)
This function is called when a Transport Layer Feedback Messages is received

Parameters:
ssrcPacketSender -
alfBitString -

RTPFBPktReceived

void RTPFBPktReceived(long ssrcPacketSender,
                      int FMT,
                      int[] packetID,
                      int[] bitmaskLostPackets)
This function is called when a Transport Layer Feedback Messages is received

Parameters:
ssrcPacketSender -
FMT - 1: NACK, 0,2-30: unassigned, 31: reserved
packetID - the RTP sequence number of the lost packet
bitmaskLostPackets - the bitmask of following lost packets