Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gstreamer gstreamer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 933
    • Issues 933
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 438
    • Merge requests 438
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamerGStreamer
  • gstreamergstreamer
  • Merge requests
  • !1936

rtspsrc: Bring latency property in sync with rtpjitterbuffer

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Edward Hervey requested to merge bilboed/gstreamer:rtsp-latency into main Mar 12, 2022
  • Overview 3
  • Commits 1
  • Pipelines 2
  • Changes 1

Previously rtspsrc would set a 2s latency on rtpjitterbuffer. The problem with this is that it introduces a non-trivial latency, which cumulated with all the other sources of latency in a pipeline (decoders, parsers, ...) result in live playback being delayed by an unreasonable amount.

The whole point of the rtpjitterbuffer latency size is to be able to cope with "jitter" up to that point (i.e. the quality of your connection) and also provide some room for retransmission if activated. It is NOT to cope with the transmission delay, and it is NOT to cope with buffering.

If you don't have retransmission activated, a 200ms jitter should cover the vast majority of rtsp users. Buffering and transmission delay are handled by other elements in the pipeline.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: rtsp-latency