@@ -27,8 +27,8 @@ quick local check.
2727
2828That is only for this camera-validation hop. In the full LiveKit demo below,
2929** port 5005** is reserved for ** TCP** from the camera pipeline into the
30- producer, and ** port 5006 ** is where the consumer serves ** decoded I420 ** to a
31- separate GStreamer visualizer.
30+ producer. The consumer renders the subscribed track directly with SDL, so no
31+ separate GStreamer visualizer terminal is needed .
3232
3333### Send - camera to RTP/UDP 5005
3434
@@ -129,22 +129,10 @@ The producer starts `EncodedTcpIngest`, publishes a camera track named
129129``` bash
130130LIVEKIT_URL=ws://localhost:7880 LIVEKIT_TOKEN=" $CONSUMER_TOKEN " \
131131 ./build/encoded-video-ingest/EncodedVideoIngestConsumer \
132- --tcp-port 5006 \
133- --from encoded-sender
132+ --from encoded-sender \
133+ --track-name encoded-video
134134```
135135
136- The consumer subscribes to ` encoded-sender ` and serves decoded I420 frames on
137- TCP port 5006.
138-
139- ## 4. View the consumer output
140-
141- ``` bash
142- gst-launch-1.0 -v \
143- tcpclientsrc host=127.0.0.1 port=5006 ! \
144- rawvideoparse width=640 height=480 format=i420 framerate=30/1 ! \
145- videoconvert ! autovideosink sync=false
146- ```
147-
148- ` rawvideoparse ` needs the exact width and height that the producer declared.
149- The consumer output is raw I420, not H.265, so do not pipe port 5006 through
150- ` h265parse ` .
136+ The consumer subscribes to ` encoded-sender ` and renders the decoded video track
137+ directly in an SDL window. If your producer token uses a different identity,
138+ pass that value to ` --from ` .
0 commit comments