Documentation
¶
Index ¶
- type AudioCodecClient
- type AudioGroupClient
- func (c *AudioGroupClient) Clear(ctx context.Context, handle int64) error
- func (c *AudioGroupClient) GetMode(ctx context.Context, handle int64) (int32, error)
- func (c *AudioGroupClient) GetStreams(ctx context.Context, handle int64) (int64, error)
- func (c *AudioGroupClient) SendDtmf(ctx context.Context, handle int64, arg0 int32) error
- func (c *AudioGroupClient) SetMode(ctx context.Context, handle int64, arg0 int32) error
- type AudioStreamClient
- func (c *AudioStreamClient) GetCodec(ctx context.Context, handle int64) (int64, error)
- func (c *AudioStreamClient) GetDtmfType(ctx context.Context, handle int64) (int32, error)
- func (c *AudioStreamClient) GetGroup(ctx context.Context, handle int64) (int64, error)
- func (c *AudioStreamClient) IsBusy(ctx context.Context, handle int64) (bool, error)
- func (c *AudioStreamClient) Join(ctx context.Context, handle int64, arg0 int64) error
- func (c *AudioStreamClient) SetCodec(ctx context.Context, handle int64, arg0 int64) error
- func (c *AudioStreamClient) SetDtmfType(ctx context.Context, handle int64, arg0 int32) error
- type StreamClient
- func (c *StreamClient) Associate(ctx context.Context, arg0 int64, arg1 int32) error
- func (c *StreamClient) GetLocalAddress(ctx context.Context) (int64, error)
- func (c *StreamClient) GetLocalPort(ctx context.Context) (int32, error)
- func (c *StreamClient) GetMode(ctx context.Context) (int32, error)
- func (c *StreamClient) GetRemoteAddress(ctx context.Context) (int64, error)
- func (c *StreamClient) GetRemotePort(ctx context.Context) (int32, error)
- func (c *StreamClient) IsBusy(ctx context.Context) (bool, error)
- func (c *StreamClient) Release(ctx context.Context) error
- func (c *StreamClient) SetMode(ctx context.Context, arg0 int32) error
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.
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) GetStreams ¶
GetStreams calls the GetStreams 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) GetDtmfType ¶
GetDtmfType calls the GetDtmfType RPC.
func (*AudioStreamClient) SetDtmfType ¶
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) 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.