Add support incoming MJPEG stream
This commit is contained in:
+1
-1
@@ -136,7 +136,7 @@ func (c *Client) startMJPEG(boundary string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if s != boundary {
|
||||
if !strings.HasPrefix(s, boundary) {
|
||||
return errors.New("wrong boundary: " + s)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user