Issue 1540: Expose payload type in IVAS_RTP_PACK_UpdateHeader API
During course of Interop demo preparation/debug it was discovered that the RTP Header updation API doesnot have the ability to set Payload Type and it is always 0, leading to packet type G711 in RTP.
Since payload types equal to or greater than 96 are negotiated in SDP offer/answer, the actual payload type is dynamic and must match in the RTP header, otherwise packet filtering in many implementation might reject all incoming packets.
Hence, there is a need to update the API IVAS_RTP_PACK_UpdateHeader to provide a way to setup payload type bits and also set the default payload type to 96 as it indicates dynamic payload type.
Description of the change
- Default Payload type of 96 is set in RTP Header
- RTP API exposes way to provide any PT value to be set to RTP Header in pack
RTP stream produced will have 96 instead of 0 in the RTP headers