Skip to content

gstreamer publish no video #483

@shoyu666

Description

@shoyu666
livekit:version": "1.8.0
lk version 2.3.0

can work

lk **** --publish-demo

can work

  gst-launch-1.0 videotestsrc is-live=true ! \
        video/x-raw,width=1280,height=720 ! \
        clockoverlay ! \
        videoconvert ! \
        x264enc tune=zerolatency key-int-max=60 bitrate=2000 ! \
        tcpserversink host=127.0.0.1 port=5000

n@ndeMacBook-Pro ~ % gst-launch-1.0 videotestsrc is-live=true ! \
        video/x-raw,width=1280,height=720 ! \
        clockoverlay ! \
        videoconvert ! \
        x264enc tune=zerolatency key-int-max=60 bitrate=2000 ! \
        tcpserversink host=127.0.0.1 port=5000
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
Redistribute latency...
0:00:09.8 / 99:99:99.

ffplay -f h264 -codec:v h264  tcp://127.0.0.1:5000 

not work

  gst-launch-1.0 videotestsrc is-live=true ! \
        video/x-raw,width=1280,height=720 ! \
        clockoverlay ! \
        videoconvert ! \
        x264enc tune=zerolatency key-int-max=60 bitrate=2000 ! \
        tcpserversink host=127.0.0.1 port=5000

lk ****  --publish h264://127.0.0.1:5000

can join room, but no video

livekit/gstreamer-publisher#41

#282

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