Server-side or Client side recording