更新代码

This commit is contained in:
feiyangqingyun
2021-11-25 20:00:02 +08:00
parent 8bb21ab880
commit b4289f86d5
71 changed files with 164 additions and 159 deletions

View File

@@ -6,11 +6,7 @@
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QFont font;
font.setFamily("MicroSoft Yahei");
font.setPixelSize(12);
a.setFont(font);
a.setFont(QFont("Microsoft Yahei", 9));
#if (QT_VERSION <= QT_VERSION_CHECK(5,0,0))
#if _MSC_VER
@@ -28,7 +24,7 @@ int main(int argc, char *argv[])
Widget w;
w.setWindowTitle("视频流播放mpv内核 (QQ: 517216493 WX: feiyangqingyun)");
w.show();
w.show();
return a.exec();
}

View File

@@ -9,12 +9,8 @@ Widget::Widget(QWidget *parent) : QWidget(parent), ui(new Ui::Widget)
QStringList urls;
urls << "https://hls01open.ys7.com/openlive/6e0b2be040a943489ef0b9bb344b96b8.hd.m3u8";
urls << "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov";
urls << "rtsp://admin:Admin123456@192.168.1.64:554/Streaming/Channels/102?transportmode=unicast&profile=Profile_2";
urls << "rtsp://192.168.1.108:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif";
urls << "rtsp://192.168.1.15:554/media/video1";
urls << "rtsp://192.168.1.15:554/media/video2";
urls << "rtsp://192.168.1.247:554/av0_0";
urls << "rtsp://192.168.1.247:554/av0_1";
urls << "http://vfx.mtime.cn/Video/2019/02/04/mp4/190204084208765161.mp4";
urls << "rtsp://admin:Admin123456@192.168.0.15:554/media/video1";
ui->cboxUrl->addItems(urls);
ui->cboxUrl->setCurrentIndex(0);
}