< "mode", G_TYPE_INT, rtpilbcdepay->mode, NULL); --- > "mode", G_TYPE_INT, rtpilbcdepay->mode == GST_ILBC_MODE_30 ? 30 : 20, NULL);