add Video error return.

This commit is contained in:
Miroslav Šedivý
2021-02-05 18:07:58 +01:00
parent f62d36ac4f
commit 761f6d8a8f
3 changed files with 15 additions and 5 deletions

View File

@ -37,7 +37,7 @@ type CaptureManager interface {
Broadcast() BroadcastManager
Screencast() ScreencastManager
Audio() StreamManager
Video(videoID string) StreamManager
Video(videoID string) (StreamManager, bool)
VideoIDs() []string
StartStream()