The paper presents a genetic algorithm aimed at solving the minimum-cost paths tree problem in routing for real-time multimedia applications. The algorithm minimizes the cost of paths from a source node to other nodes within a network based on connection and cost matrices, and it is demonstrated through examples involving networks of different sizes. The proposed method is evaluated for efficiency with various network configurations, showcasing its effectiveness in deriving minimum-cost paths trees.