use preload as format name
This commit is contained in:
@@ -49,10 +49,9 @@ func NewPreload(name string, query url.Values) *Preload {
|
|||||||
return &Preload{
|
return &Preload{
|
||||||
Connection: core.Connection{
|
Connection: core.Connection{
|
||||||
ID: core.NewID(),
|
ID: core.NewID(),
|
||||||
|
FormatName: "preload",
|
||||||
Medias: medias,
|
Medias: medias,
|
||||||
Protocol: "native",
|
|
||||||
RemoteAddr: "localhost",
|
RemoteAddr: "localhost",
|
||||||
UserAgent: "go2rtc/preload",
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user