mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 23:26:54 +08:00
This commit is contained in:
@@ -92,7 +92,10 @@ func (sh *serverHandler) OnAnnounce(ctx *gortsplib.ServerHandlerOnAnnounceCtx) (
|
||||
Server: sh.s,
|
||||
Desc: ctx.Description,
|
||||
}
|
||||
sh.stream.Initialize()
|
||||
err := sh.stream.Initialize()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
sh.publisher = ctx.Session
|
||||
|
||||
return &base.Response{
|
||||
|
Reference in New Issue
Block a user