How Do I Fix Screen Mirroring Lag?

How do I fix casting lag?

.

How do I make AirPlay smoother?

How do I stop screen mirroring from lagging?

How do I increase screen mirroring speed?