Add support backchannel for Tapo source

This commit is contained in:
Alexey Khit
2023-02-16 11:29:10 +03:00
parent 9fd783793e
commit 70c415a1d8
8 changed files with 498 additions and 76 deletions
-6
View File
@@ -15,11 +15,5 @@ func handle(url string) (streamer.Producer, error) {
if err := conn.Dial(); err != nil {
return nil, err
}
if err := conn.Play(); err != nil {
return nil, err
}
if err := conn.Handle(); err != nil {
return nil, err
}
return conn, nil
}