You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QDialog *holder = new QDialog(this);
holder->resize(600,300);
QString url = "rtsp://admin:admin@192.168.1.110:554/cam/realmonitor?channel=1subtype=1";
VlcWidgetVideo *video = new VlcWidgetVideo(holder);
VlcInstance *_instance = new VlcInstance(VlcCommon::args(), this);
VlcMediaPlayer *_player = new VlcMediaPlayer(_instance);
_player->setVideoWidget(video);
holder->show();
VlcMedia *_media = new VlcMedia(url, _instance);
_player->open(_media);
}
When i press the button that activates this slot i see the QDialog but the VlcWidgetVideo is not there and i cant see the stream ;(. Funny thing is if i dont set a VlcVideoWidget to _player, the direct3D stream is outputed in another window and i can see the video stream so i know that it exists. I cant figure out why i cant see the VlcWidgetVideo widget.
Does anyone know a fix about this problem?
Thanks in advance
The text was updated successfully, but these errors were encountered:
hello
this is a slot i activate via qpushbutton:
void OPQWidgetOverload::openVideo()
{
}
When i press the button that activates this slot i see the QDialog but the VlcWidgetVideo is not there and i cant see the stream ;(. Funny thing is if i dont set a VlcVideoWidget to _player, the direct3D stream is outputed in another window and i can see the video stream so i know that it exists. I cant figure out why i cant see the VlcWidgetVideo widget.
Does anyone know a fix about this problem?
Thanks in advance
The text was updated successfully, but these errors were encountered: