mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
19 lines
309 B
Go
19 lines
309 B
Go
package types
|
|
|
|
type Sample struct {
|
|
Data []byte
|
|
Samples uint32
|
|
}
|
|
|
|
type WebRTCManager interface {
|
|
Start()
|
|
Shutdown() error
|
|
CreatePeer(id string, session Session) (string, bool, []string, error)
|
|
}
|
|
|
|
type Peer interface {
|
|
SignalAnswer(sdp string) error
|
|
WriteData(v interface{}) error
|
|
Destroy() error
|
|
}
|