mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2025-06-29 13:31:01 +02:00
Configure and test transcoder
This commit is contained in:
@ -65,7 +65,7 @@ func handleViewer(s *srtgo.SrtSocket, streams map[string]*stream.Stream, name st
|
||||
}
|
||||
|
||||
// Register new output
|
||||
c := make(chan []byte, 128)
|
||||
c := make(chan []byte, 1024)
|
||||
st.Register(c)
|
||||
st.IncrementClientCount()
|
||||
|
||||
|
@ -69,6 +69,9 @@ func Serve(streams map[string]*stream.Stream, authBackend auth.Backend, cfg *Opt
|
||||
continue
|
||||
}
|
||||
|
||||
// FIXME: Flush socket
|
||||
// Without this, the SRT buffer might get full before reading it
|
||||
|
||||
// streamid can be "name:password" for streamer or "name" for viewer
|
||||
streamID, err := s.GetSockOptString(C.SRTO_STREAMID)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user