Optimizing AV1 Encoder for Real-Time Communication