Files
remote-desktop/rtc/service.go
2023-04-15 17:49:13 +05:30

20 lines
293 B
Go

package rtc
import (
"io"
)
type videoStreamer interface {
start()
close()
}
type RemoteScreenConnection interface {
io.Closer
ProcessOffer(offer string) (string, error)
}
type Service interface {
CreateRemoteScreenConnection(screenIx int, fps int) (RemoteScreenConnection, error)
}