Load balance with native api of mediasoup vs pm2 cluster

In mediasoup, it has worker on cpu to use multicore of cpu. And pm2 also run with cluster mode to use multicore of cpu(so easy, it’s easier than using worker of mediasoup api). What is the difference between ways.

Someone know answer of this question?

If you want to scale audio/video distribution, you not only need to run multiple workers, but also create pipe transports between them to forward media.

Basically, the difference if that PM2 will run multiple independent instances of your app (you can communicate between them, but not for media).

Also generally PM2 seems to be kind of legacy approach nowadays with kubernetes and other orchestration tools.