Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-11631

RTCP: SR sender info: fix RTP timestamp for video

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 20.19.2, 1.8.6
    • Component/s: core
    • Labels:
      None
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      a893cefd22020d411d21fb134525485f0a27b6f5
    • GIT Master Revision hash::
      a893cefd22020d411d21fb134525485f0a27b6f5

      Description

      in rtcp_generate_sender_info() we have:
      sr->ts = htonl(rtp_session->last_write_ts);
      This is currently 0 for video because rtp_session->last_write_ts is not set in rtp_common_write() , it's set only for audio.
      For video we can use:
      sr->ts = htonl(rtp_session->ts_norm.ts);

        Attachments

          Activity

            People

            • Assignee:
              dragos_oancea Dragos Oancea
              Reporter:
              dragos_oancea Dragos Oancea
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: