Documentation

​
​

Development

User Acquisition

Monetization

Industry

Vivox Unity SDK

Vivox Unity SDK

Vivox
​
​
Vivox Unity SDK
  • Overview
  • Get started
  • Release notes
  • Developer guide
    • Set up your project
    • Create voice and text channels
    • Messaging
    • Player management
    • Device management
    • Audio management
    • Mobile development
    • Text-to-speech
    • Speech-to-text
    • Real-time recording
    • Server-side-recording
      • Migrate from V1 to V2
      • Callback Server
    • Troubleshooting
  • Tutorials
  • Reference
  1. Vivox Unity SDK documentation
  2. Server-side recording

Callback server

Set up a callback server for Vivox server-side recording.
Read time 1 minute
Last updated 8 months ago

SSR provides a callback mechanism to notify you when a recording job is complete. This allows you to take action on the recording once it is complete.

Set up a callback server

  1. To set up a callback server, you need to create a server that can receive a POST request from the SSR API. The request will contain a JSON payload with the job's status.
  2. SSR makes a request to any URL in the
    callbackUri
    field of the request. If you specify a
    callbackKey
    Vivox includes this in the header of the request under
    Authorization
    .

Callback payload

The payload of the callback contains the following fields:
{ "job_status": "string", "job_id": "string", "code": "string", "metadata": "object"}
  • job_status
    will either be
    complete
    ,
    fail
    , or
    partial
    .
    • When a job is
      partial
      , this means that not all of the audio recorded or decoded successfully.
  • job_id
    is the ID of the job. It corresponds to
    job_id
    in the response of the original request.
  • code
    is the error code if the job failed. Refer to error codes for more information.
  • metadata
    is any metadata you passed in the original request. If you did not set any
    metadata
    this field will be omitted from the request.

Error codes

Code

Description

2001Service is not enabled.
2002Internal service error.
2003No audio was found for the channel requested.
2004Invalid Storage.
2005Internal service error.
2006No audio decoded due to
filterUri
parameters.
2103Unsupported audio format.
2107AWS bucket is throttled.

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.

  • On this page
    • Set up a callback server

    • Callback payload

    • Error codes


Report a problem with this page