transcoder

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_transcoder_proto protoreflect.FileDescriptor

Functions

func RegisterTranscoderServer

func RegisterTranscoderServer(s *grpc.Server, srv TranscoderServer)

Types

type Reply

type Reply struct {

	// Types that are assignable to Payload:
	//	*Reply_OfferSdp
	//	*Reply_AnswerSdp
	//	*Reply_Trickle
	Payload isReply_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*Reply) Descriptor deprecated

func (*Reply) Descriptor() ([]byte, []int)

Deprecated: Use Reply.ProtoReflect.Descriptor instead.

func (*Reply) GetAnswerSdp

func (x *Reply) GetAnswerSdp() string

func (*Reply) GetOfferSdp

func (x *Reply) GetOfferSdp() string

func (*Reply) GetPayload

func (m *Reply) GetPayload() isReply_Payload

func (*Reply) GetTrickle

func (x *Reply) GetTrickle() string

func (*Reply) ProtoMessage

func (*Reply) ProtoMessage()

func (*Reply) ProtoReflect

func (x *Reply) ProtoReflect() protoreflect.Message

func (*Reply) Reset

func (x *Reply) Reset()

func (*Reply) String

func (x *Reply) String() string

type Reply_AnswerSdp

type Reply_AnswerSdp struct {
	AnswerSdp string `protobuf:"bytes,2,opt,name=answer_sdp,json=answerSdp,proto3,oneof"`
}

type Reply_OfferSdp

type Reply_OfferSdp struct {
	OfferSdp string `protobuf:"bytes,1,opt,name=offer_sdp,json=offerSdp,proto3,oneof"`
}

type Reply_Trickle

type Reply_Trickle struct {
	Trickle string `protobuf:"bytes,3,opt,name=trickle,proto3,oneof"`
}

type Request

type Request struct {

	// Types that are assignable to Payload:
	//	*Request_OfferSdp
	//	*Request_AnswerSdp
	//	*Request_Trickle
	Payload isRequest_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated

func (*Request) Descriptor() ([]byte, []int)

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetAnswerSdp

func (x *Request) GetAnswerSdp() string

func (*Request) GetOfferSdp

func (x *Request) GetOfferSdp() string

func (*Request) GetPayload

func (m *Request) GetPayload() isRequest_Payload

func (*Request) GetTrickle

func (x *Request) GetTrickle() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

func (x *Request) ProtoReflect() protoreflect.Message

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type Request_AnswerSdp

type Request_AnswerSdp struct {
	AnswerSdp string `protobuf:"bytes,2,opt,name=answer_sdp,json=answerSdp,proto3,oneof"`
}

type Request_OfferSdp

type Request_OfferSdp struct {
	OfferSdp string `protobuf:"bytes,1,opt,name=offer_sdp,json=offerSdp,proto3,oneof"`
}

type Request_Trickle

type Request_Trickle struct {
	Trickle string `protobuf:"bytes,3,opt,name=trickle,proto3,oneof"`
}

type TranscoderClient

type TranscoderClient interface {
	Signal(ctx context.Context, opts ...grpc.CallOption) (Transcoder_SignalClient, error)
}

TranscoderClient is the client API for Transcoder service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewTranscoderClient

func NewTranscoderClient(cc grpc.ClientConnInterface) TranscoderClient

type TranscoderServer

type TranscoderServer interface {
	Signal(Transcoder_SignalServer) error
}

TranscoderServer is the server API for Transcoder service.

type Transcoder_SignalClient

type Transcoder_SignalClient interface {
	Send(*Request) error
	Recv() (*Reply, error)
	grpc.ClientStream
}

type Transcoder_SignalServer

type Transcoder_SignalServer interface {
	Send(*Reply) error
	Recv() (*Request, error)
	grpc.ServerStream
}

type UnimplementedTranscoderServer

type UnimplementedTranscoderServer struct {
}

UnimplementedTranscoderServer can be embedded to have forward compatible implementations.

func (*UnimplementedTranscoderServer) Signal

Jump to

Keyboard shortcuts

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