livekit-cli icon indicating copy to clipboard operation
livekit-cli copied to clipboard

gstreamer publish no video

Open shoyu666 opened this issue 1 year ago • 0 comments

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

https://github.com/livekit/gstreamer-publisher/issues/41

https://github.com/livekit/livekit-cli/issues/282

shoyu666 avatar Dec 18 '24 06:12 shoyu666