fix ivideon source
This commit is contained in:
@@ -132,6 +132,9 @@ func (c *Client) Handle() error {
|
|||||||
case "stream-init":
|
case "stream-init":
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
case "metadata":
|
||||||
|
continue
|
||||||
|
|
||||||
case "fragment":
|
case "fragment":
|
||||||
_, data, err = c.conn.ReadMessage()
|
_, data, err = c.conn.ReadMessage()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -183,6 +186,9 @@ func (c *Client) getTracks() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch msg.Type {
|
switch msg.Type {
|
||||||
|
case "metadata":
|
||||||
|
continue
|
||||||
|
|
||||||
case "stream-init":
|
case "stream-init":
|
||||||
s := msg.CodecString
|
s := msg.CodecString
|
||||||
i := strings.IndexByte(s, '.')
|
i := strings.IndexByte(s, '.')
|
||||||
|
|||||||
Reference in New Issue
Block a user