Skip to content

Error "failed to add element to pipeline: video output bin" when running the ingress service locally (Ubuntu 22.04) #346

@rootdrew27

Description

@rootdrew27

I have built the livekit ingress service binary using mage and then after installing gstreamer with Homebrew (LinuxBrew) I have linked the proper plugins with a wrapping script:

#!/bin/bash
export LD_LIBRARY_PATH=/home/linuxbrew/.linuxbrew/lib:$LD_LIBRARY_PATH
export GST_PLUGINS="/home/linuxbrew/.linuxbrew/lib/gstreamer-1.0"
exec ingress "$@"

Unfortunately, I get the following error(s) in the ingress logs when I attempt to connect with OBS:

Full Output: ingress server log.txt

Snippet:
2025-04-24T21:18:00.757-0500 INFO ingress media/output.go:96 video layer {"nodeID": "NE_gXz2H3v9p4Ty", "ingressID": "IN_jpJ442MykcFP", "resourceID": "RT_S2e8GKYUqM4t", "roomName": "room1", "participantIdentity": "andrew", "kind": "video", "layer": "HIGH", "width": 1280, "height": 720, "threads": 3}

2025-04-24T21:18:00.766-0500 ERROR ingress media/pipeline.go:148 could not add bin {"nodeID": "NE_gXz2H3v9p4Ty", "ingressID": "IN_jpJ442MykcFP", "resourceID": "RT_S2e8GKYUqM4t", "roomName": "room1", "participantIdentity": "andrew", "error": "failed to add element to pipeline: video output bin"}

2025-04-24T21:18:00.766-0500 ERROR ingress utils/handler_logger.go:45 github.com/livekit/ingress/pkg/media.(*Pipeline).onParamsReady {"nodeID": "NE_gXz2H3v9p4Ty", "resourceID": "RT_S2e8GKYUqM4t", "ingressID": "IN_jpJ442MykcFP"}

I am attempting to set this up on Ubuntu 22.04.

Any help is appreciated, and I'd happily provide more information about my setup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions