WebRTC refactor -> session dependency removal.

This commit is contained in:
Miroslav Šedivý
2020-10-31 21:20:42 +01:00
parent dadac4f145
commit b1b5a70c64
6 changed files with 25 additions and 28 deletions

View File

@ -12,15 +12,16 @@ type Session interface {
Name() string
Admin() bool
Muted() bool
IsHost() bool
Connected() bool
Member() *Member
SetMuted(muted bool)
SetName(name string) error
SetConnected(connected bool) error
SetConnected(connected bool)
SetSocket(socket WebSocket) error
SetPeer(peer Peer) error
Address() string
Kick(message string) error
Disconnect(message string) error
Send(v interface{}) error
SignalAnswer(sdp string) error
}