Skip to content

latency/framedrops with NDI input #30

@Friismestemacher

Description

@Friismestemacher

hey there,
i use raspberry ninja as a NDi to webRTC brigde by using the --pipeline statement and having a NDI gstreamer plugin. That works in general, however I get some ugly framedrops and latency issues and I am woundering if that is my pipeline that might be not ideal or if there is something in rasberry_ninja going on.

That is my pipeline:
webrtcbin name=sendrecv stun-server=stun://stun4.l.google.com:19302 bundle-policy=max-bundle ndisrc ndi-name="MACBOOK-PRO-2\ \(NDI1\)" url-address=192.168.0.224:5961 ! ndisrcdemux name=demux demux.video ! queue ! videoconvert ! queue max-size-buffers=1 ! openh264enc bitrate=2500000 name="encoder" complexity=0 ! video/x-h264,profile=constrained-baseline ! queue max-size-time=1000000000 max-size-bytes=10000000000 max-size-buffers=1000000 ! h264parse ! rtph264pay config-interval=-1 aggregate-mode=zero-latency ! application/x-rtp,media=video,encoding-name=H264,payload=96 ! queue ! sendrecv. demux.audio ! queue ! audioconvert ! audioresample quality=0 resample-method=0 ! opusenc bitrate-type=1 bitrate=64000 inband-fec=true ! rtpopuspay pt=100 ssrc=1 ! application/x-rtp,media=audio,encoding-name=OPUS,payload=100 ! queue ! sendrecv.

And this is how the output of rasberry_ninja looks like, with a new ping happening like almost every second:

PINGED
Packet loss:0
Trying to increase change bitrate...
2500
object of type `GstVP8Enc' does not have property `bitrate'
PONG: 1682786541.0604208
PINGED

Thats a lot for your help in the last time!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions