mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
This commit is contained in:
@@ -93,7 +93,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