livekit / sip

SIP to WebRTC bridge for LiveKit
99 stars 25 forks source link

latency and pub error #166

Open Hollymingyi opened 1 month ago

Hollymingyi commented 1 month ago

dear author, i found an error when i publish video into livekit room, below are my invoke function:

videoRTCPFeedback := []webrtc.RTCPFeedback{{"ccm", "fir"}, {"ccm", "tmmbr"}, {"nack", ""}, {"nack", "pli"}}
videoTrack, err := webrtc.NewTrackLocalStaticRTP(webrtc.RTPCodecCapability{
MimeType: webrtc.MimeTypeH264,
ClockRate: 90000,
SDPFmtpLine: "level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f",
RTCPFeedback: videoRTCPFeedback,
}, "video", "pion2")

and the livekit log as below:

ERROR livekit supervisor/participant_supervisor.go:156 supervisor error on publication {"room": "62316388", "roomID": "RM_jme3z4WDbQKp", "participant": "sip_19373086225", "pID": "PA_LUb4DHbZ3VtW", "remote": false, "trackID": "TR_AM2hbgHd8dvSzp", "error": "publish time out"}

plus , the sip server and the livekit server at the same host, and the pcap attached is nothing wrong could u give me some advice to handle the issue, thanks very much!!! wait for your message . kadun.zip

dennwc commented 2 weeks ago

This doesn't seem to be SIP-specific. Maybe worth opening an issue on the main LiveKit repository?