Documentation
¶
Index ¶
- type MediaRecorderClient
- func (c *MediaRecorderClient) GetActiveMicrophones(ctx context.Context, handle int64) (int64, error)
- func (c *MediaRecorderClient) GetActiveRecordingConfiguration(ctx context.Context, handle int64) (int64, error)
- func (c *MediaRecorderClient) GetAudioSourceMax(ctx context.Context, handle int64) (int32, error)
- func (c *MediaRecorderClient) GetLogSessionId(ctx context.Context, handle int64) (int64, error)
- func (c *MediaRecorderClient) GetMaxAmplitude(ctx context.Context, handle int64) (int32, error)
- func (c *MediaRecorderClient) GetMetrics(ctx context.Context, handle int64) (int64, error)
- func (c *MediaRecorderClient) GetPreferredDevice(ctx context.Context, handle int64) (int64, error)
- func (c *MediaRecorderClient) GetRoutedDevice(ctx context.Context, handle int64) (int64, error)
- func (c *MediaRecorderClient) GetRoutedDevices(ctx context.Context, handle int64) (int64, error)
- func (c *MediaRecorderClient) GetSurface(ctx context.Context, handle int64) (int64, error)
- func (c *MediaRecorderClient) IsPrivacySensitive(ctx context.Context, handle int64) (bool, error)
- func (c *MediaRecorderClient) Pause(ctx context.Context, handle int64) error
- func (c *MediaRecorderClient) Prepare(ctx context.Context, handle int64) error
- func (c *MediaRecorderClient) RegisterAudioRecordingCallback(ctx context.Context, handle int64, arg0 int64, arg1 int64) error
- func (c *MediaRecorderClient) Release(ctx context.Context, handle int64) error
- func (c *MediaRecorderClient) RemoveOnRoutingChangedListener(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaRecorderClient) Reset(ctx context.Context, handle int64) error
- func (c *MediaRecorderClient) Resume(ctx context.Context, handle int64) error
- func (c *MediaRecorderClient) SetAudioChannels(ctx context.Context, handle int64, arg0 int32) error
- func (c *MediaRecorderClient) SetAudioEncoder(ctx context.Context, handle int64, arg0 int32) error
- func (c *MediaRecorderClient) SetAudioEncodingBitRate(ctx context.Context, handle int64, arg0 int32) error
- func (c *MediaRecorderClient) SetAudioProfile(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaRecorderClient) SetAudioSamplingRate(ctx context.Context, handle int64, arg0 int32) error
- func (c *MediaRecorderClient) SetAudioSource(ctx context.Context, handle int64, arg0 int32) error
- func (c *MediaRecorderClient) SetCamera(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaRecorderClient) SetCaptureRate(ctx context.Context, handle int64, arg0 float64) error
- func (c *MediaRecorderClient) SetInputSurface(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaRecorderClient) SetLocation(ctx context.Context, handle int64, arg0 float32, arg1 float32) error
- func (c *MediaRecorderClient) SetLogSessionId(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaRecorderClient) SetMaxDuration(ctx context.Context, handle int64, arg0 int32) error
- func (c *MediaRecorderClient) SetMaxFileSize(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaRecorderClient) SetNextOutputFile1(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaRecorderClient) SetNextOutputFile1_1(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaRecorderClient) SetOnErrorListener(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaRecorderClient) SetOnInfoListener(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaRecorderClient) SetOrientationHint(ctx context.Context, handle int64, arg0 int32) error
- func (c *MediaRecorderClient) SetOutputFile1(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaRecorderClient) SetOutputFile1_1(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaRecorderClient) SetOutputFile1_2(ctx context.Context, handle int64, arg0 string) error
- func (c *MediaRecorderClient) SetOutputFormat(ctx context.Context, handle int64, arg0 int32) error
- func (c *MediaRecorderClient) SetPreferredDevice(ctx context.Context, handle int64, arg0 int64) (bool, error)
- func (c *MediaRecorderClient) SetPreferredMicrophoneDirection(ctx context.Context, handle int64, arg0 int32) (bool, error)
- func (c *MediaRecorderClient) SetPreferredMicrophoneFieldDimension(ctx context.Context, handle int64, arg0 float32) (bool, error)
- func (c *MediaRecorderClient) SetPreviewDisplay(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaRecorderClient) SetPrivacySensitive(ctx context.Context, handle int64, arg0 bool) error
- func (c *MediaRecorderClient) SetProfile(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaRecorderClient) SetVideoEncoder(ctx context.Context, handle int64, arg0 int32) error
- func (c *MediaRecorderClient) SetVideoEncodingBitRate(ctx context.Context, handle int64, arg0 int32) error
- func (c *MediaRecorderClient) SetVideoEncodingProfileLevel(ctx context.Context, handle int64, arg0 int32, arg1 int32) error
- func (c *MediaRecorderClient) SetVideoFrameRate(ctx context.Context, handle int64, arg0 int32) error
- func (c *MediaRecorderClient) SetVideoProfile(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaRecorderClient) SetVideoSize(ctx context.Context, handle int64, arg0 int32, arg1 int32) error
- func (c *MediaRecorderClient) SetVideoSource(ctx context.Context, handle int64, arg0 int32) error
- func (c *MediaRecorderClient) Start(ctx context.Context, handle int64) error
- func (c *MediaRecorderClient) Stop(ctx context.Context, handle int64) error
- func (c *MediaRecorderClient) UnregisterAudioRecordingCallback(ctx context.Context, handle int64, arg0 int64) error
- type MediaRecorderOnErrorListenerClient
- type MediaRecorderOnInfoListenerClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MediaRecorderClient ¶
type MediaRecorderClient struct {
// contains filtered or unexported fields
}
MediaRecorderClient wraps the gRPC MediaRecorderService client.
func NewMediaRecorderClient ¶
func NewMediaRecorderClient(cc grpc.ClientConnInterface) *MediaRecorderClient
NewMediaRecorderClient creates a new MediaRecorder client.
func (*MediaRecorderClient) GetActiveMicrophones ¶
func (c *MediaRecorderClient) GetActiveMicrophones(ctx context.Context, handle int64) (int64, error)
GetActiveMicrophones calls the GetActiveMicrophones RPC.
func (*MediaRecorderClient) GetActiveRecordingConfiguration ¶
func (c *MediaRecorderClient) GetActiveRecordingConfiguration(ctx context.Context, handle int64) (int64, error)
GetActiveRecordingConfiguration calls the GetActiveRecordingConfiguration RPC.
func (*MediaRecorderClient) GetAudioSourceMax ¶
GetAudioSourceMax calls the GetAudioSourceMax RPC.
func (*MediaRecorderClient) GetLogSessionId ¶
GetLogSessionId calls the GetLogSessionId RPC.
func (*MediaRecorderClient) GetMaxAmplitude ¶
GetMaxAmplitude calls the GetMaxAmplitude RPC.
func (*MediaRecorderClient) GetMetrics ¶
GetMetrics calls the GetMetrics RPC.
func (*MediaRecorderClient) GetPreferredDevice ¶
GetPreferredDevice calls the GetPreferredDevice RPC.
func (*MediaRecorderClient) GetRoutedDevice ¶
GetRoutedDevice calls the GetRoutedDevice RPC.
func (*MediaRecorderClient) GetRoutedDevices ¶
GetRoutedDevices calls the GetRoutedDevices RPC.
func (*MediaRecorderClient) GetSurface ¶
GetSurface calls the GetSurface RPC.
func (*MediaRecorderClient) IsPrivacySensitive ¶
IsPrivacySensitive calls the IsPrivacySensitive RPC.
func (*MediaRecorderClient) Pause ¶
func (c *MediaRecorderClient) Pause(ctx context.Context, handle int64) error
Pause calls the Pause RPC.
func (*MediaRecorderClient) Prepare ¶
func (c *MediaRecorderClient) Prepare(ctx context.Context, handle int64) error
Prepare calls the Prepare RPC.
func (*MediaRecorderClient) RegisterAudioRecordingCallback ¶
func (c *MediaRecorderClient) RegisterAudioRecordingCallback(ctx context.Context, handle int64, arg0 int64, arg1 int64) error
RegisterAudioRecordingCallback calls the RegisterAudioRecordingCallback RPC.
func (*MediaRecorderClient) Release ¶
func (c *MediaRecorderClient) Release(ctx context.Context, handle int64) error
Release calls the Release RPC.
func (*MediaRecorderClient) RemoveOnRoutingChangedListener ¶
func (c *MediaRecorderClient) RemoveOnRoutingChangedListener(ctx context.Context, handle int64, arg0 int64) error
RemoveOnRoutingChangedListener calls the RemoveOnRoutingChangedListener RPC.
func (*MediaRecorderClient) Reset ¶
func (c *MediaRecorderClient) Reset(ctx context.Context, handle int64) error
Reset calls the Reset RPC.
func (*MediaRecorderClient) Resume ¶
func (c *MediaRecorderClient) Resume(ctx context.Context, handle int64) error
Resume calls the Resume RPC.
func (*MediaRecorderClient) SetAudioChannels ¶
SetAudioChannels calls the SetAudioChannels RPC.
func (*MediaRecorderClient) SetAudioEncoder ¶
SetAudioEncoder calls the SetAudioEncoder RPC.
func (*MediaRecorderClient) SetAudioEncodingBitRate ¶
func (c *MediaRecorderClient) SetAudioEncodingBitRate(ctx context.Context, handle int64, arg0 int32) error
SetAudioEncodingBitRate calls the SetAudioEncodingBitRate RPC.
func (*MediaRecorderClient) SetAudioProfile ¶
SetAudioProfile calls the SetAudioProfile RPC.
func (*MediaRecorderClient) SetAudioSamplingRate ¶
func (c *MediaRecorderClient) SetAudioSamplingRate(ctx context.Context, handle int64, arg0 int32) error
SetAudioSamplingRate calls the SetAudioSamplingRate RPC.
func (*MediaRecorderClient) SetAudioSource ¶
SetAudioSource calls the SetAudioSource RPC.
func (*MediaRecorderClient) SetCaptureRate ¶
SetCaptureRate calls the SetCaptureRate RPC.
func (*MediaRecorderClient) SetInputSurface ¶
SetInputSurface calls the SetInputSurface RPC.
func (*MediaRecorderClient) SetLocation ¶
func (c *MediaRecorderClient) SetLocation(ctx context.Context, handle int64, arg0 float32, arg1 float32) error
SetLocation calls the SetLocation RPC.
func (*MediaRecorderClient) SetLogSessionId ¶
SetLogSessionId calls the SetLogSessionId RPC.
func (*MediaRecorderClient) SetMaxDuration ¶
SetMaxDuration calls the SetMaxDuration RPC.
func (*MediaRecorderClient) SetMaxFileSize ¶
SetMaxFileSize calls the SetMaxFileSize RPC.
func (*MediaRecorderClient) SetNextOutputFile1 ¶
func (c *MediaRecorderClient) SetNextOutputFile1(ctx context.Context, handle int64, arg0 int64) error
SetNextOutputFile1 calls the SetNextOutputFile1 RPC.
func (*MediaRecorderClient) SetNextOutputFile1_1 ¶
func (c *MediaRecorderClient) SetNextOutputFile1_1(ctx context.Context, handle int64, arg0 int64) error
SetNextOutputFile1_1 calls the SetNextOutputFile1_1 RPC.
func (*MediaRecorderClient) SetOnErrorListener ¶
func (c *MediaRecorderClient) SetOnErrorListener(ctx context.Context, handle int64, arg0 int64) error
SetOnErrorListener calls the SetOnErrorListener RPC.
func (*MediaRecorderClient) SetOnInfoListener ¶
func (c *MediaRecorderClient) SetOnInfoListener(ctx context.Context, handle int64, arg0 int64) error
SetOnInfoListener calls the SetOnInfoListener RPC.
func (*MediaRecorderClient) SetOrientationHint ¶
func (c *MediaRecorderClient) SetOrientationHint(ctx context.Context, handle int64, arg0 int32) error
SetOrientationHint calls the SetOrientationHint RPC.
func (*MediaRecorderClient) SetOutputFile1 ¶
SetOutputFile1 calls the SetOutputFile1 RPC.
func (*MediaRecorderClient) SetOutputFile1_1 ¶
SetOutputFile1_1 calls the SetOutputFile1_1 RPC.
func (*MediaRecorderClient) SetOutputFile1_2 ¶
func (c *MediaRecorderClient) SetOutputFile1_2(ctx context.Context, handle int64, arg0 string) error
SetOutputFile1_2 calls the SetOutputFile1_2 RPC.
func (*MediaRecorderClient) SetOutputFormat ¶
SetOutputFormat calls the SetOutputFormat RPC.
func (*MediaRecorderClient) SetPreferredDevice ¶
func (c *MediaRecorderClient) SetPreferredDevice(ctx context.Context, handle int64, arg0 int64) (bool, error)
SetPreferredDevice calls the SetPreferredDevice RPC.
func (*MediaRecorderClient) SetPreferredMicrophoneDirection ¶
func (c *MediaRecorderClient) SetPreferredMicrophoneDirection(ctx context.Context, handle int64, arg0 int32) (bool, error)
SetPreferredMicrophoneDirection calls the SetPreferredMicrophoneDirection RPC.
func (*MediaRecorderClient) SetPreferredMicrophoneFieldDimension ¶
func (c *MediaRecorderClient) SetPreferredMicrophoneFieldDimension(ctx context.Context, handle int64, arg0 float32) (bool, error)
SetPreferredMicrophoneFieldDimension calls the SetPreferredMicrophoneFieldDimension RPC.
func (*MediaRecorderClient) SetPreviewDisplay ¶
func (c *MediaRecorderClient) SetPreviewDisplay(ctx context.Context, handle int64, arg0 int64) error
SetPreviewDisplay calls the SetPreviewDisplay RPC.
func (*MediaRecorderClient) SetPrivacySensitive ¶
func (c *MediaRecorderClient) SetPrivacySensitive(ctx context.Context, handle int64, arg0 bool) error
SetPrivacySensitive calls the SetPrivacySensitive RPC.
func (*MediaRecorderClient) SetProfile ¶
SetProfile calls the SetProfile RPC.
func (*MediaRecorderClient) SetVideoEncoder ¶
SetVideoEncoder calls the SetVideoEncoder RPC.
func (*MediaRecorderClient) SetVideoEncodingBitRate ¶
func (c *MediaRecorderClient) SetVideoEncodingBitRate(ctx context.Context, handle int64, arg0 int32) error
SetVideoEncodingBitRate calls the SetVideoEncodingBitRate RPC.
func (*MediaRecorderClient) SetVideoEncodingProfileLevel ¶
func (c *MediaRecorderClient) SetVideoEncodingProfileLevel(ctx context.Context, handle int64, arg0 int32, arg1 int32) error
SetVideoEncodingProfileLevel calls the SetVideoEncodingProfileLevel RPC.
func (*MediaRecorderClient) SetVideoFrameRate ¶
func (c *MediaRecorderClient) SetVideoFrameRate(ctx context.Context, handle int64, arg0 int32) error
SetVideoFrameRate calls the SetVideoFrameRate RPC.
func (*MediaRecorderClient) SetVideoProfile ¶
SetVideoProfile calls the SetVideoProfile RPC.
func (*MediaRecorderClient) SetVideoSize ¶
func (c *MediaRecorderClient) SetVideoSize(ctx context.Context, handle int64, arg0 int32, arg1 int32) error
SetVideoSize calls the SetVideoSize RPC.
func (*MediaRecorderClient) SetVideoSource ¶
SetVideoSource calls the SetVideoSource RPC.
func (*MediaRecorderClient) Start ¶
func (c *MediaRecorderClient) Start(ctx context.Context, handle int64) error
Start calls the Start RPC.
func (*MediaRecorderClient) Stop ¶
func (c *MediaRecorderClient) Stop(ctx context.Context, handle int64) error
Stop calls the Stop RPC.
func (*MediaRecorderClient) UnregisterAudioRecordingCallback ¶
func (c *MediaRecorderClient) UnregisterAudioRecordingCallback(ctx context.Context, handle int64, arg0 int64) error
UnregisterAudioRecordingCallback calls the UnregisterAudioRecordingCallback RPC.
type MediaRecorderOnErrorListenerClient ¶
type MediaRecorderOnErrorListenerClient struct {
// contains filtered or unexported fields
}
MediaRecorderOnErrorListenerClient wraps the gRPC MediaRecorderOnErrorListenerService client.
func NewMediaRecorderOnErrorListenerClient ¶
func NewMediaRecorderOnErrorListenerClient(cc grpc.ClientConnInterface) *MediaRecorderOnErrorListenerClient
NewMediaRecorderOnErrorListenerClient creates a new MediaRecorderOnErrorListener client.
type MediaRecorderOnInfoListenerClient ¶
type MediaRecorderOnInfoListenerClient struct {
// contains filtered or unexported fields
}
MediaRecorderOnInfoListenerClient wraps the gRPC MediaRecorderOnInfoListenerService client.
func NewMediaRecorderOnInfoListenerClient ¶
func NewMediaRecorderOnInfoListenerClient(cc grpc.ClientConnInterface) *MediaRecorderOnInfoListenerClient
NewMediaRecorderOnInfoListenerClient creates a new MediaRecorderOnInfoListener client.