Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SFUServer ¶
type SFUServer struct { rtc.UnimplementedRTCServer sync.Mutex SFU *sfu.SFU // contains filtered or unexported fields }
func NewSFUServer ¶
func (*SFUServer) BroadcastTrackEvent ¶
type WrapperedGRPCWebServer ¶
type WrapperedGRPCWebServer struct { GRPCServer *grpc.Server // contains filtered or unexported fields }
func NewWrapperedGRPCWebServer ¶
func NewWrapperedGRPCWebServer(options WrapperedServerOptions, s *grpc.Server) *WrapperedGRPCWebServer
func (*WrapperedGRPCWebServer) Serve ¶
func (s *WrapperedGRPCWebServer) Serve() error
type WrapperedServerOptions ¶
type WrapperedServerOptions struct { Addr string Cert string Key string AllowAllOrigins bool AllowedOrigins *[]string AllowedHeaders *[]string UseWebSocket bool WebsocketPingInterval time.Duration }
func DefaultWrapperedServerOptions ¶
func DefaultWrapperedServerOptions() WrapperedServerOptions
func NewWrapperedServerOptions ¶
func NewWrapperedServerOptions(addr, cert, key string, websocket bool) WrapperedServerOptions
Click to show internal directories.
Click to hide internal directories.