separated join from creation, room options & token

This commit is contained in:
David Zhao
2020-10-07 23:54:44 -07:00
parent 37984bd167
commit 6752c4a91d
13 changed files with 1127 additions and 757 deletions
+7 -3
View File
@@ -4,17 +4,21 @@ import (
"context"
"net/http"
"github.com/livekit/livekit-server/proto"
"github.com/livekit/livekit-server/proto/livekit"
)
type RTCService struct {
}
func (s *RTCService) Offer(ctx context.Context, offer *proto.SessionDescription) (answer *proto.SessionDescription, err error) {
func (s *RTCService) Join(ctx context.Context, req *livekit.JoinRequest) (res *livekit.JoinResponse, err error) {
return
}
func (s *RTCService) Trickle(ctx context.Context, req *proto.TrickleRequest) (res *proto.TrickleResponse, err error) {
func (s *RTCService) Offer(ctx context.Context, offer *livekit.SessionDescription) (answer *livekit.SessionDescription, err error) {
return
}
func (s *RTCService) Trickle(ctx context.Context, req *livekit.TrickleRequest) (res *livekit.TrickleResponse, err error) {
return
}