mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-27 04:20:13 +08:00
bug fix
This commit is contained in:
parent
8318ccd92a
commit
412424b2bb
@ -83,7 +83,7 @@ add_library(zlmediakit STATIC ${MediaKit_src_list})
|
||||
|
||||
if (WIN32)
|
||||
list(APPEND LINK_LIB_LIST WS2_32 Iphlpapi shlwapi)
|
||||
elseif(NOT ANDROID and NOT IOS)
|
||||
elseif(NOT ANDROID OR IOS)
|
||||
list(APPEND LINK_LIB_LIST pthread)
|
||||
endif ()
|
||||
|
||||
|
@ -58,7 +58,7 @@ void PlayerProxy::play(const char* strUrl) {
|
||||
return;
|
||||
}
|
||||
if(strongSelf->m_pChn){
|
||||
strongSelf->m_pChn->inputH264((char *)data.data.data(), data.data.size(), data.timeStamp);
|
||||
strongSelf->m_pChn->inputH264((char *)data.data.data(), data.data.size(), 0);
|
||||
}else{
|
||||
strongSelf->initMedia();
|
||||
}
|
||||
@ -69,7 +69,7 @@ void PlayerProxy::play(const char* strUrl) {
|
||||
return;
|
||||
}
|
||||
if(strongSelf->m_pChn){
|
||||
strongSelf->m_pChn->inputAAC((char *)data.data, data.aac_frame_length, data.timeStamp);
|
||||
strongSelf->m_pChn->inputAAC((char *)data.data, data.aac_frame_length, 0);
|
||||
}else{
|
||||
strongSelf->initMedia();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user