The invention discloses a general player applied to Android and Linux smart televisions. The general player is divided into three layers, namely an application interface layer, a data processing layer and a hardware abstraction layer. The application interface layer provides a unified media calling method for a streaming media application, and comprises a playing control interface, a parameter feedback interface and a service quality interface. Functions of data processing layer are mainly achieved by a media plug-in system, and the data processing layer comprises a receiving sub module, a packet analysis sub module, a demultiplexing sub module, a decoding sub module, an output sub module, etc. The hardware abstraction layer mainly comprises a hardware decoding link, an audio output link and a video output link, and upwards exists on a platform hardware adaptation layer in streaming media middleware in a local interface base mode. The general player applied to the Android and Linux smart televisions solves the problem of player compatibility, and can provide a streaming media playing function and a better service streaming media business.