This message was deleted.
# helpdesk
s
This message was deleted.
a
if you join the room on example.livekit.io, do you see the track?
l
On my web interface I do see a video
a
can you try doing
Copy code
pub, err := room.LocalParticipant.PublishTrack(track, &lksdk.TrackPublicationOptions{})
and using
pub.SID()
instead of
track.ID()
in your request?
l
It worked, Thanks
One more question related to Egress. Is there any way I can tell egress to split file by files with size or time limit. For example I want to split recorded video track by 10 minutes. Or I have to implement it on my side to stop/start recording every 10 minutes ?
e
I’ll leave the answering to the experts (@able-gigabyte-21598), but maybe this will be helpful. There is a SegmentedFileOutput: https://docs.livekit.io/server/egress/#segmentedfileoutput where you can set
segment_duration
.
a
Segmented file will split the files with a time limit into an m3u8 playlist, but if you want to specifically have mp4s you would need a process that stops the egress and starts a new one