Class TingWuRealtimeParams
java.lang.Object
com.alibaba.dashscope.types.tingwu.TingWuRealtimeParams
Parameters for
tingwu().realtime (ws duplex, task protocol). format/
sampleRate default to pcm/16000; named fields win over the TingWuRealtimeParams.Builder.parameters(Map)
escape hatch (1.x wire names: format/sampleRate/terminology/
maxEndSilence). workspaceId/dataId ride in the run-task input.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDefault audio format: pcm.static final intDefault sample rate: 16000. -
Method Summary
Modifier and TypeMethodDescriptionstatic TingWuRealtimeParams.Builderbuilder()getAppId()getModel()Passthrough intopayload.parameters; named fields override it.
-
Field Details
-
DEFAULT_FORMAT
Default audio format: pcm.- See Also:
-
DEFAULT_SAMPLE_RATE
public static final int DEFAULT_SAMPLE_RATEDefault sample rate: 16000.- See Also:
-
-
Method Details
-
builder
-
getModel
-
getAppId
-
getFormat
-
getSampleRate
-
getTerminology
-
getMaxEndSilence
-
getWorkspaceId
-
getDataId
-
getParameters
Passthrough intopayload.parameters; named fields override it.
-