12 lines
312 B
C++
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;
|
|
}
|
|
} |