limited-plumber-57970
06/13/2025, 6:21 PMingress.json + then use it to spin up a simple gst-launch-1.0 pipeline that pulls MJPEG/RTSP, transcodes it, and then sends to ingress.freezing-wolf-7180
06/17/2025, 11:26 AMawait session.start(...)
await session.generate_reply(user_input="Hello")
Question: What’s the best way to guarantee the full greeting plays? Should we:
• Delay generate_reply(),
• Wait for a LiveKit/Twilio event (like audio bridge or subscription ready),
Thanks!echoing-glass-72062
06/23/2025, 5:28 PMminiature-spring-29693
06/23/2025, 6:28 PMbumpy-leather-73255
06/28/2025, 7:23 PMgentle-truck-12665
07/02/2025, 3:09 AMcold-angle-82013
07/04/2025, 6:24 AMripe-psychiatrist-10917
07/10/2025, 6:45 PM<https://test-camera-stream-gd7ljdv1.whip.livekit.cloud/w/SPzb9xihZATE>
project url: <wss://test-camera-stream-gd7ljdv1.livekit.cloud>hallowed-breakfast-84608
07/14/2025, 2:58 PMechoing-glass-72062
07/16/2025, 6:35 PMhundreds-battery-20727
07/17/2025, 1:01 AMsilly-noon-22999
07/23/2025, 10:30 PMINFO livekit service/ioservice_ingress.go:79 ingress failed {"error": "Get \"<http://localhost:9090/rtmp/RT_dLxEEeMcD8uw?token=2Uivr4DhQKqC>\": context canceled", "ingressID": "IN_CCU2Vaukv3tR"}
I've attached screenshots of the full logs I get in livekit and ingress. The behavior seems flaky and after restarting the pipeline several times I can eventually get the ingress to succeed.
In my setup for reproducing this issue I'm running redis, livekit, and ingress in 3 separate docker containers.
Here is my command for redis
docker run --network host redis:7.0.4
for livekit
docker run \
--network host \
-v "$(pwd)/livekit.yaml:/livekit.yaml" \
livekit/livekit-server:v1.9.0 \
--config livekit.yaml \
--keys "$LIVEKIT_API_KEY: $LIVEKIT_API_SECRET"
and for ingress
docker run \
--network host \
-v "$(pwd)/ingress.yaml:/ingress.yaml" \
-e LIVEKIT_API_KEY="$LIVEKIT_API_KEY" \
-e LIVEKIT_API_SECRET="$LIVEKIT_API_SECRET" \
-e INGRESS_CONFIG_FILE="/ingress.yaml" \
livekit/ingress:v1.4.3
I then launch a container with gstreamer
docker run --network host -it restreamio/gstreamer:2025-04-03T13-33-21Z-prod
and run this pipeline after creating the ingress and getting the stream key
gst-launch-1.0 \
videotestsrc ! \
video/x-raw,framerate=10/1,width=1280,height=720 ! \
x264enc tune=zerolatency speed-preset=ultrafast ! \
flvmux ! \
rtmpsink location=<rtmp://localhost:1935/rtmp/><stream key>
I've attached the configs for livekit and ingress that I used as well as the ingress.json. Thanks!quick-painter-39455
07/31/2025, 2:33 PMchilly-jordan-11202
08/02/2025, 10:15 AMgreen-dawn-14969
08/06/2025, 3:27 PMadamant-application-83003
08/12/2025, 9:38 PMnice-shoe-83241
08/20/2025, 3:07 AM/GstPipeline:pipeline0/GstLiveKitWebRTCSrc:src/GstBin:bin0/GstWebRTCBin:webrtcbin0/TransportReceiveBin:transportreceivebin0/GstDtlsSrtpDec:dtlssrtpdec0/GstDtlsDec:dtlsdec0:
Fatal SSL error started from yesterday, any ideas?
Nest] 1 - 08/20/2025, 2:59:15 AM LOG [MONITOR_LMVMTPE007337_02-52-05] Room LMVMTPE007337 track published
[Nest] 630 - 08/20/2025, 2:59:16 AM ERROR [RC_LMVMTPE007337_2025-08-20-02-59-15] Error: Could not read from resource.
[Nest] 630 - 08/20/2025, 2:59:16 AM ERROR [RC_LMVMTPE007337_2025-08-20-02-59-15] Debug information: ../ext/dtls/gstdtlsdec.c(504): process_buffer (): /GstPipeline:pipeline0/GstLiveKitWebRTCSrc:src/GstBin:bin0/GstWebRTCBin:webrtcbin0/TransportReceiveBin:transportreceivebin0/GstDtlsSrtpDec:dtlssrtpdec0/GstDtlsDec:dtlsdec0:
Fatal SSL errorfew-energy-45879
08/22/2025, 7:33 AMchilly-ocean-30297
08/26/2025, 5:11 AMhttps://[project_url]/w/stream_key
• Stream Key:
• Media Format:
◦ Video: H.264, 1280x720@10fps, constrained-baseline profile
◦ Audio: Opus, 48kHz mono
• GStreamer Pipeline: whipclientsink with LiveKit endpoint
Additional Information
• Issue occurs consistently - client always reports connected but dashboard always shows error
• Same stream key and endpoint used
• Network connection is stable
How can we debug the "signal connection" in more detail from LiveKit server side? Do you have any ideas?bulky-solstice-44329
09/01/2025, 7:39 AMrefined-caravan-84858
09/17/2025, 5:00 PMfancy-iron-28362
09/26/2025, 7:26 AMdelightful-controller-55441
10/02/2025, 8:39 AMdelightful-helmet-69813
10/08/2025, 1:26 AMbusy-monitor-49778
10/13/2025, 5:44 PMGet "<http://localhost:9191/rtmp/RT_dAMkhQQsUydw?token=7gDaA7TFYLAF>": context canceledsquare-spoon-25272
10/27/2025, 9:43 PMadorable-dream-8909
10/30/2025, 12:21 PMmagnificent-island-84572
11/11/2025, 1:07 AMblue-fall-23940
11/13/2025, 4:52 AMservices:
# --- Redis for Ingress queue ---
redis:
image: redis:7-alpine
container_name: redis
restart: always
ports:
- "6379:6379"
networks: [livekit-net]
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 3s
retries: 5
livekit-server:
image: livekit/livekit-server:latest
container_name: livekit-server
restart: always
volumes:
- ./livekit/livekit.yaml:/config/livekit.yaml
command: ["--config", "/config/livekit.yaml"]
environment:
LIVEKIT_KEYS: "key1: supersecretkeythatlongenough1234567890"
ports:
- "7880:7880/tcp"
- "7881:7881/tcp"
- "7882:7882/udp"
- "1935:1935/tcp"
- "50000-50100:50000-50100/udp"
networks: [livekit-net]
depends_on:
redis:
condition: service_healthy
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "<http://localhost:7880>"]
interval: 10s
timeout: 5s
retries: 3
livekit-ingress:
image: livekit/ingress:latest
container_name: livekit-ingress
restart: always
volumes:
- ./ingress/ingress.yaml:/config/ingress.yaml
environment:
INGRESS_CONFIG_FILE: "/config/ingress.yaml"
ports:
- "8080:8080"
- "7885:7885/udp"
networks: [livekit-net]
depends_on:
redis:
condition: service_healthy
livekit-server:
condition: service_healthy
backend:
build: ./backend
container_name: backend-server
restart: always
env_file: .env
ports:
- "3000:3000"
networks: [livekit-net]
depends_on:
livekit-server:
condition: service_healthy
livekit-ingress:
condition: service_started
networks:
livekit-net:
driver: bridge
livekit.yaml
port: 7880
redis:
address: redis:6379
rtc:
port_range_start: 50000
port_range_end: 50100
tcp_port: 7881
use_external_ip: false
enable_loopback_candidate: false
logging:
level: info
turn:
enabled: false
ingress:
rtmp_base_url: <rtmp://livekit-server:1935/live>
whip_base_url: <http://localhost:8080/w>
ingress.yaml:
api_key: key1
api_secret: supersecretkeythatlongenough1234567890
ws_url: "<ws://livekit-server:7880>"
redis:
address: redis:6379
rtmp_port: 1935
whip_port: 8080
http_relay_port: 9090
logging:
json: false
level: debug
development: true
rtc_config:
udp_port: 7885
use_external_ip: false
enable_loopback_candidate: false
But:
When i stream WHIP by OBS. I can't live streammagnificent-island-84572
11/13/2025, 7:08 PM