Skip to content

Commit

Permalink
Merge pull request #1039 from egmen/1031-fix-ivideon-source
Browse files Browse the repository at this point in the history
fix ivideon source
  • Loading branch information
AlexxIT committed Apr 15, 2024
2 parents 5fa31fe + 8d82534 commit 0bda4d8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/ivideon/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ func (c *Client) Handle() error {
case "stream-init":
continue

case "metadata":
continue

case "fragment":
_, data, err = c.conn.ReadMessage()
if err != nil {
Expand Down Expand Up @@ -183,6 +186,9 @@ func (c *Client) getTracks() error {
}

switch msg.Type {
case "metadata":
continue

case "stream-init":
s := msg.CodecString
i := strings.IndexByte(s, '.')
Expand Down

0 comments on commit 0bda4d8

Please sign in to comment.