Versions in this module Expand all Collapse all v0 v0.0.1 Nov 27, 2023 Changes in this version + var RetryCount = 3 + var SegmenterRetryWait = 500 * time.Millisecond + type LPMS struct + func New(opts *LPMSOpts) *LPMS + func (l *LPMS) HandleHLSPlay(getMasterPlaylist func(url *url.URL) (*m3u8.MasterPlaylist, error), ...) + func (l *LPMS) HandleRTMPPlay(getStream func(url *url.URL) (stream.RTMPVideoStream, error)) error + func (l *LPMS) HandleRTMPPublish(makeStreamID func(url *url.URL) (strmID stream.AppData), ...) + func (l *LPMS) SegmentRTMPToHLS(ctx context.Context, rs stream.RTMPVideoStream, hs stream.HLSVideoStream, ...) error + func (l *LPMS) Start(ctx context.Context) error + type LPMSOpts struct + HttpAddr string + HttpDisabled bool + HttpMux *http.ServeMux + RtmpAddr string + RtmpDisabled bool + VodPath string + WorkDir string + type RTMPSegmenter interface + SegmentRTMPToHLS func(ctx context.Context, rs stream.RTMPVideoStream, hs stream.HLSVideoStream, ...) error