Commit 7b60f8b0 by ziyue

优化完善代码

parent 4dbe0a1d
......@@ -309,11 +309,9 @@ API_EXPORT float API_CALL mk_player_progress(mk_player ctx) {
return obj->getProgress();
}
API_EXPORT int API_CALL mk_player_progress_pos(mk_player ctx)
{
API_EXPORT int API_CALL mk_player_progress_pos(mk_player ctx) {
assert(ctx);
MediaPlayerForC& obj = **((MediaPlayerForC::Ptr*)ctx);
MediaPlayerForC &obj = **((MediaPlayerForC::Ptr *) ctx);
return obj->getProgressPos();
}
......
......@@ -782,7 +782,7 @@ void RtspSession::handleReq_Play(const Parser &parser) {
//这是设置播放速度
auto speed = atof(strScale.data());
play_src->speed(speed);
InfoP(this) << "rtp set play speed:" << speed;
InfoP(this) << "rtsp set play speed:" << speed;
}
if (!strRange.empty()) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论