mirror of
https://github.com/Monibuca/plugin-rtsp.git
synced 2026-04-22 23:37:11 +08:00
修改正则表达式
This commit is contained in:
@@ -23,8 +23,8 @@ var (
|
||||
)
|
||||
|
||||
func init() {
|
||||
spropReg, _ = regexp.Compile("sprop-parameter-sets=(.+);")
|
||||
configReg, _ = regexp.Compile("config=(.+)(;|$)")
|
||||
spropReg, _ = regexp.Compile("sprop-parameter-sets=([^;]+)")
|
||||
configReg, _ = regexp.Compile("config=([^;]+)")
|
||||
}
|
||||
|
||||
type RtspClient struct {
|
||||
|
||||
Reference in New Issue
Block a user