mirror of
https://github.com/krishpranav/remote-desktop.git
synced 2025-10-08 09:30:19 +08:00
20 lines
293 B
Go
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)
|
|
}
|