switched to Twirp for RPC, server skaffold

This commit is contained in:
David Zhao
2020-10-06 23:20:44 -07:00
parent 5117b8bf80
commit 0d6c0adbdd
20 changed files with 2875 additions and 706 deletions
+27
View File
@@ -0,0 +1,27 @@
package service
import (
"context"
"net/http"
"github.com/livekit/livekit-server/proto"
)
type RTCService struct {
}
func (s *RTCService) Offer(ctx context.Context, offer *proto.SessionDescription) (answer *proto.SessionDescription, err error) {
return
}
func (s *RTCService) Trickle(ctx context.Context, req *proto.TrickleRequest) (res *proto.TrickleResponse, err error) {
return
}
func (s *RTCService) Signal(w http.ResponseWriter, r *http.Request) {
}
func NewRTCService() *RTCService {
return &RTCService{}
}