rtp

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AudioCodecClient

type AudioCodecClient struct {
	// contains filtered or unexported fields
}

AudioCodecClient wraps the gRPC AudioCodecService client.

func NewAudioCodecClient

func NewAudioCodecClient(cc grpc.ClientConnInterface) *AudioCodecClient

NewAudioCodecClient creates a new AudioCodec client.

func (*AudioCodecClient) GetCodec

func (c *AudioCodecClient) GetCodec(ctx context.Context, arg0 int32, arg1 string, arg2 string) (int64, error)

GetCodec calls the GetCodec RPC.

func (*AudioCodecClient) GetCodecs

func (c *AudioCodecClient) GetCodecs(ctx context.Context) (int64, error)

GetCodecs calls the GetCodecs RPC.

type AudioGroupClient

type AudioGroupClient struct {
	// contains filtered or unexported fields
}

AudioGroupClient wraps the gRPC AudioGroupService client.

func NewAudioGroupClient

func NewAudioGroupClient(cc grpc.ClientConnInterface) *AudioGroupClient

NewAudioGroupClient creates a new AudioGroup client.

func (*AudioGroupClient) Clear

func (c *AudioGroupClient) Clear(ctx context.Context, handle int64) error

Clear calls the Clear RPC.

func (*AudioGroupClient) GetMode

func (c *AudioGroupClient) GetMode(ctx context.Context, handle int64) (int32, error)

GetMode calls the GetMode RPC.

func (*AudioGroupClient) GetStreams

func (c *AudioGroupClient) GetStreams(ctx context.Context, handle int64) (int64, error)

GetStreams calls the GetStreams RPC.

func (*AudioGroupClient) SendDtmf

func (c *AudioGroupClient) SendDtmf(ctx context.Context, handle int64, arg0 int32) error

SendDtmf calls the SendDtmf RPC.

func (*AudioGroupClient) SetMode

func (c *AudioGroupClient) SetMode(ctx context.Context, handle int64, arg0 int32) error

SetMode calls the SetMode RPC.

type AudioStreamClient

type AudioStreamClient struct {
	// contains filtered or unexported fields
}

AudioStreamClient wraps the gRPC AudioStreamService client.

func NewAudioStreamClient

func NewAudioStreamClient(cc grpc.ClientConnInterface) *AudioStreamClient

NewAudioStreamClient creates a new AudioStream client.

func (*AudioStreamClient) GetCodec

func (c *AudioStreamClient) GetCodec(ctx context.Context, handle int64) (int64, error)

GetCodec calls the GetCodec RPC.

func (*AudioStreamClient) GetDtmfType

func (c *AudioStreamClient) GetDtmfType(ctx context.Context, handle int64) (int32, error)

GetDtmfType calls the GetDtmfType RPC.

func (*AudioStreamClient) GetGroup

func (c *AudioStreamClient) GetGroup(ctx context.Context, handle int64) (int64, error)

GetGroup calls the GetGroup RPC.

func (*AudioStreamClient) IsBusy

func (c *AudioStreamClient) IsBusy(ctx context.Context, handle int64) (bool, error)

IsBusy calls the IsBusy RPC.

func (*AudioStreamClient) Join

func (c *AudioStreamClient) Join(ctx context.Context, handle int64, arg0 int64) error

Join calls the Join RPC.

func (*AudioStreamClient) SetCodec

func (c *AudioStreamClient) SetCodec(ctx context.Context, handle int64, arg0 int64) error

SetCodec calls the SetCodec RPC.

func (*AudioStreamClient) SetDtmfType

func (c *AudioStreamClient) SetDtmfType(ctx context.Context, handle int64, arg0 int32) error

SetDtmfType calls the SetDtmfType RPC.

type StreamClient

type StreamClient struct {
	// contains filtered or unexported fields
}

StreamClient wraps the gRPC StreamService client.

func NewStreamClient

func NewStreamClient(cc grpc.ClientConnInterface) *StreamClient

NewStreamClient creates a new Stream client.

func (*StreamClient) Associate

func (c *StreamClient) Associate(ctx context.Context, arg0 int64, arg1 int32) error

Associate calls the Associate RPC.

func (*StreamClient) GetLocalAddress

func (c *StreamClient) GetLocalAddress(ctx context.Context) (int64, error)

GetLocalAddress calls the GetLocalAddress RPC.

func (*StreamClient) GetLocalPort

func (c *StreamClient) GetLocalPort(ctx context.Context) (int32, error)

GetLocalPort calls the GetLocalPort RPC.

func (*StreamClient) GetMode

func (c *StreamClient) GetMode(ctx context.Context) (int32, error)

GetMode calls the GetMode RPC.

func (*StreamClient) GetRemoteAddress

func (c *StreamClient) GetRemoteAddress(ctx context.Context) (int64, error)

GetRemoteAddress calls the GetRemoteAddress RPC.

func (*StreamClient) GetRemotePort

func (c *StreamClient) GetRemotePort(ctx context.Context) (int32, error)

GetRemotePort calls the GetRemotePort RPC.

func (*StreamClient) IsBusy

func (c *StreamClient) IsBusy(ctx context.Context) (bool, error)

IsBusy calls the IsBusy RPC.

func (*StreamClient) Release

func (c *StreamClient) Release(ctx context.Context) error

Release calls the Release RPC.

func (*StreamClient) SetMode

func (c *StreamClient) SetMode(ctx context.Context, arg0 int32) error

SetMode calls the SetMode RPC.

Jump to

Keyboard shortcuts

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