service

package
v0.0.0-...-505e429 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewKakaService)

Functions

This section is empty.

Types

type KakaService

type KakaService struct {
	pb.UnimplementedKakaServer
	rtsp.UnimplementedServerHandler
	// contains filtered or unexported fields
}

func NewKakaService

func NewKakaService(logger log.Logger, useCase *biz.KakaUseCase) *KakaService

func (*KakaService) ANNOUNCE

func (s *KakaService) ANNOUNCE(req rtsp.Request, res rtsp.Response, tx rtsp.Transaction)

func (*KakaService) DESCRIBE

func (s *KakaService) DESCRIBE(req rtsp.Request, res rtsp.Response)

func (*KakaService) Debug

func (s *KakaService) Debug(ctx context.Context, _ *pb.DebugRequest) (*pb.DebugReply, error)

func (*KakaService) PLAY

func (s *KakaService) PLAY(req rtsp.Request, res rtsp.Response, tx rtsp.Transaction) error

func (*KakaService) RECORD

func (s *KakaService) RECORD(req rtsp.Request, res rtsp.Response, tx rtsp.Transaction) error

func (*KakaService) SETUP

func (s *KakaService) SETUP(req rtsp.Request, res rtsp.Response, tx rtsp.Transaction) error

func (*KakaService) TEARDOWN

func (s *KakaService) TEARDOWN(req rtsp.Request, res rtsp.Response, tx rtsp.Transaction) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL