Older/Server/MediaServer.cpp
amass 1a5a903fba
All checks were successful
Deploy / PullDocker (push) Successful in 9s
Deploy / Build (push) Successful in 1m28s
add code.
2024-09-22 23:55:25 +08:00

12 lines
312 B
C++

#include "MediaServer.h"
#include "BoostLog.h"
#include <mk_media.h>
MediaServer::MediaServer() {
uint16_t status = mk_rtsp_server_start(554, 0);
if (status == 0) {
LOG(info) << "rtsp server start failed.";
} else {
LOG(info) << "rtsp server start succeed, port: " << status;
}
}