Skip to content
Snippets Groups Projects
  • Joshua Colp's avatar
    1cac856e
    rtp: Preserve timestamps on video frames. · 1cac856e
    Joshua Colp authored
    Currently when receiving video over RTP we store only
    a calculated samples on the frame. When starting the video
    it can take some time for this calculation to actually yield
    a value as it requires constant changing timestamps. As well
    if a video frame passes over multiple RTP packets this calculation
    will fail as the timestamp is the same as the previous RTP
    packet and the number of samples calculated will be 0.
    
    This change preserves the timestamp on the frame and allows
    it to pass through the core. When sending the video this timestamp
    is used instead of a new one being calculated.
    
    ASTERISK-26367 #close
    
    Change-Id: Iba8179fb5c14c9443aee4baf670d2185da3ecfbd
    1cac856e
    History
    rtp: Preserve timestamps on video frames.
    Joshua Colp authored
    Currently when receiving video over RTP we store only
    a calculated samples on the frame. When starting the video
    it can take some time for this calculation to actually yield
    a value as it requires constant changing timestamps. As well
    if a video frame passes over multiple RTP packets this calculation
    will fail as the timestamp is the same as the previous RTP
    packet and the number of samples calculated will be 0.
    
    This change preserves the timestamp on the frame and allows
    it to pass through the core. When sending the video this timestamp
    is used instead of a new one being calculated.
    
    ASTERISK-26367 #close
    
    Change-Id: Iba8179fb5c14c9443aee4baf670d2185da3ecfbd