-
Notifications
You must be signed in to change notification settings - Fork 123
Open
Description
When using lk cli to publish a stream from a socket, it could try to republish the track for X seconds/minutes if the stream stops and starts again. Currently, it just logs out "unpublished track" when the tcp stream stops.
Steps I used:
- Start a gstreamer pipeline to tcp port
- Publish to livekit from port
- Confirm video is coming through
- Stop the gstreamer pipeline
- See "unpublished track" event log in the lk cli logs
- Restart gstreamer pipeline
i.e
GStreamer:
gst-launch-1.0 videotestsrc pattern=ball ! clockoverlay font-desc="Sans, 36" ! video/x-raw,format=I420,width=640,height=480,framerate=30/1 ! x264enc key-int-max=10 ! h264parse config-interval=1 ! video/x-h264,stream-format=byte-stream ! tcpserversink host=127.0.0.1 port=5004Lk:
lk room join --api-key={key} --api-secret={secret} --url={lk_url} --identity=video-test --room test-room --publish h264://127.0.0.1:5004Metadata
Metadata
Assignees
Labels
No labels