Set WebRTC latency

Is there a parameter on stream or on application for latency. I’m trying to have a more fluent playback and overcome various network conditions. A cost of 1 second, maybe 2 in some cases would be fine.