Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-bad gst-plugins-bad
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 972
    • Issues 972
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 105
    • Merge requests 105
  • 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
  • gst-plugins-badgst-plugins-bad
  • Issues
  • #1361
Closed
Open
Issue created Jul 15, 2020 by karan tandel@tandelkaran

Stream latency issue

I have aPC application which receives Video stream using JPEG over RTP and also create webrtc audio call with Android application. All this media pipeline is implemented using gstreamer.

But there is a strange issue running the application: when I get only JPEG stream on PC using this pipeline,

Android: udpsrc port=49199 buffer-size=100000 ! queue ! jpegparse ! tee name=t ! queue ! jpegdec ! videoconvert ! queue ! glimagesink qos=false sync=false t. ! queue ! rtpjpegpay ! udpsink host=pc_ip port=5000 sync=false PC: udpsrc port=5000 ! rtpjitterbuffer ! rtpjpegdepay ! videoconvert ! queue ! autovideosink -v For Audio Call: Android : openslessrc ! queue ! audioconvert ! audioresample ! audiorate ! audio/x-raw,format=S16LE,channels=2,rate=48000 ! queue ! opusenc ! rtpopuspay ! queue ! wbebrtcbin, PC: autoaudiosrc ! queue ! audioconvert ! audioresample ! audiorate ! audio/x-raw,format=S16LE,channels=2,rate=48000 ! queue ! opusenc ! rtpopuspay ! queue ! wbebrtcbin,

Both pipelines are working fine when I run only one application - either video streaming or audio call. But when both run applications run together, I am receiving non consistent JPEG stream, and the stream is delayed version.

I have profiled application on both CPU and Android Side. At PC side the usage is 20% and Android Side 70%. Also I checked the network usage and it is spiking up. Am I missing something in running pipeline?

Do you have any idea what the issue can be?

Assignee
Assign to
Time tracking