stream-server/srt/protocol.go

20 lines
239 B
Go

package srt
import (
"fmt"
)
const (
INDUCTION uint8 = iota
CONCLUSION
DATA_LOOP
)
type SRTManager struct {
state uint8
}
func (proto *SRTManager) Decide(packet *Packet) (*Packet, error) {
fmt.Println(*packet)
return nil, nil
}