Media Server 12.12

# NewSpeaker

Adds a new speaker to a database of speakers.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`database` | The name of the database to add the speaker to. The database must already exist. | Yes
`identifier` | A unique identifier for the speaker (maximum 254 bytes). If you do not set this parameter, Media Server generates an identifier automatically. | No

## Example

The following example adds a speaker to the `news` database:

    /action=NewSpeaker&database=news

You can use the person's name as the identifier, but all identifiers must be unique within the database:

    /action=NewSpeaker&database=news&identifier=JohnSmith

## Response

The action returns the identifier assigned to the speaker:

    <autnresponse>
      <action>NEWSPEAKER</action>
      <response>SUCCESS</response>
      <responsedata>
        <identifier>a4a28eb52367f51057c9904807a9d564</identifier>
      </responsedata>
    </autnresponse>

## See Also

- After adding a speaker, add audio samples for the speaker with the action AddSpeakerAudio.
- If you haven't created a database for storing speakers, first run the action CreateSpeakerDatabase.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Media Server 12.12

Topic Title: NewSpeaker