Added dispatcher to prepare data for dispatch.

We now use opus encoder to encode the data.