parent
a37b038af6
commit
38e05ab8cb
|
|
@ -100,7 +100,13 @@ void PlayerProxy::play(const string &strUrlTmp) {
|
||||||
strongSelf->_on_close(err);
|
strongSelf->_on_close(err);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
MediaPlayer::play(strUrlTmp);
|
try {
|
||||||
|
MediaPlayer::play(strUrlTmp);
|
||||||
|
} catch (std::exception &ex) {
|
||||||
|
ErrorL << ex.what();
|
||||||
|
_on_play_result(SockException(Err_other, ex.what()));
|
||||||
|
return;
|
||||||
|
}
|
||||||
_pull_url = strUrlTmp;
|
_pull_url = strUrlTmp;
|
||||||
setDirectProxy();
|
setDirectProxy();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue