diff --git a/doc/Media2.xml b/doc/Media2.xml index 717edabb6..3c12195d7 100644 --- a/doc/Media2.xml +++ b/doc/Media2.xml @@ -2355,7 +2355,52 @@ When the size of the audio clip upload exceeds the MaxAudioClipSize parameter in KB, the device should return an HTTP 413, Request Entity Too Large error to the client. - + +
+ AddTTSAudioClip + This operation adds a text, audio clip configuration and TTS configuration to the device, for device converting the text to an audio clip based on the TTS configuration. + The response to the command includes a unique token for this converted audio clip. + If the device is unable to support language specified in the TTS configuration, the associated configuration will be deleted from the device. + + + request + + Token - optional[tt:ReferenceToken] + Optional token associated with the audio clip. + Configuration - + [tr2:AudioClip] + Audio clip configuration to add. + TTSConfiguration - + [tr2:TTSAudio] + TTS configuration for converting a text to an audio clip. + + + + response + + Token - [tt:ReferenceToken] + Unique token assigned by device for the TTS audio clip. + + + + faults + + env:Receiver - ter:Action - ter:MaxAudioClipLimit + The maximum number of audio clip configurations supported by the device has been reached. + env:Sender - ter:InvalidArgVal - ter:InvalidConfig + The configuration parameters are not possible to set. + env:Sender - ter:InvalidArgVal - ter:InvalidLanguage + The language is not supported. + + + + access class + + WRITE_SYSTEM + + + +
SetAudioClip This operation modifies the existing audio clip configuration on the device. @@ -2765,6 +2810,10 @@ SupportedAudioClipFormat Enumerates the supported audio clip formats. See tr2: SupportedAudioClipFormat. + + + TTSCapabilities + Indicates device supports TTS function and TTS configuration. See tr2: TTSCapabilities.
diff --git a/wsdl/ver20/media/wsdl/media.wsdl b/wsdl/ver20/media/wsdl/media.wsdl index 8212b02c7..c76128b53 100644 --- a/wsdl/ver20/media/wsdl/media.wsdl +++ b/wsdl/ver20/media/wsdl/media.wsdl @@ -202,6 +202,13 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO + + + + Indicates device has TTS capability. + + + @@ -222,6 +229,40 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO + + + + + + + + Indicates the maximum length of content of a text for device to convert to an audio clip. + + + + + + List of supported languages. Uses ISO 639-1 alpha-2 language codes, such as"en" for English. See Codes for the Representation of Names of Languages. + Optionally combined with ISO 3166-1 alpha-2 country codes using the "language-country" format to specify regional variations, such as"en-US" for American English. For country codes, see ISO 3166-1 Country Codes. + + + + + + List of supported voice types. See tr2: TTSVoiceType. + + + + + + + + + + + + + @@ -1445,8 +1486,34 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO - - + + + + + + Content of the audio clip. + + + + + + The language that is supported by the device and used for TTS audio clip playback. + Uses ISO 639-1 alpha-2 language codes for definition, such as"en" for English. See Codes for the Representation of Names of Languages. + Optionally combined with ISO 3166-1 alpha-2 country codes using the "language-country" format to specify regional variations, such as"en-US" for American English. For country codes, see ISO 3166-1 Country Codes. + + + + + + The voice type that is supported by the device and used for TTS audio clip playback. See tr2: TTSVoiceType. + + + + + + + + @@ -1579,7 +1646,40 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO - + + + + + + + Optional token associated with the audio clip. + + + + + Audio clip configuration to add. + + + + + The configuration for the TTS audio clip to add. + + + + + + + + + + + Unique token assigned by device for the TTS audio clip. + + + + + + @@ -2018,6 +2118,14 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO + + + + + + + + @@ -2412,6 +2520,13 @@ image will be updated automatically and independent from calls to GetSnapshotUri + + + This operation sends a text and its configuartion to device that supports TTS function, so that device could convert the text into an audio clip and play it according to audio clip Configuration and TTS Configuration. + + + + This operation modifies the existing audio clip configuration on the device. @@ -2940,6 +3055,17 @@ image will be updated automatically and independent from calls to GetSnapshotUri + + + + + + + + + + +