no message
parent
342db31865
commit
2658ac8426
|
@ -71,7 +71,7 @@ void MainWindow::on_pushButton_2_clicked()
|
||||||
mCamera->SetObserver(mVideoCoder);
|
mCamera->SetObserver(mVideoCoder);
|
||||||
|
|
||||||
// todo 根据返回结果判断是否推流
|
// todo 根据返回结果判断是否推流
|
||||||
qDebug()<<"已经连上RTMP服务器"<<ui->lineEdit->text();
|
qDebug()<<"连接RTMP服务器"<<ui->lineEdit->text();
|
||||||
if (!mPusher->IfConnect()) {
|
if (!mPusher->IfConnect()) {
|
||||||
const char* address = ui->lineEdit->text().toLocal8Bit().data();
|
const char* address = ui->lineEdit->text().toLocal8Bit().data();
|
||||||
if (0 == mPusher->RTMP264_Connect("rtmp://127.0.0.1:1935/live/1")) {
|
if (0 == mPusher->RTMP264_Connect("rtmp://127.0.0.1:1935/live/1")) {
|
||||||
|
|
Loading…
Reference in New Issue