[Spice-devel] About Opus encoding on spice

Frediano Ziglio fziglio at redhat.com
Mon Dec 9 11:35:26 UTC 2019


> 
> I'm developing a tool to connect Voip calls to a Spice server using
> Asterisk PBX.
> 
> I'm receiving the playback packets, but cannot decode them from the opus
> codec.
> 
> I tried many options, but the tool always claims that the data is not
> encoded with opus.
> 
> 
> I receive the data packets and save them in files.opus. Then I'm trying
> to decode using opusdec tool.
> 
> 
> Do you know how do I need to configure it?
>

Are you sure server is sending data using Opus encoder?

See common/snd_codec.c in spice-common repository.

Not sure which format opusdec is expecting.

Frediano



More information about the Spice-devel mailing list