提升rtsp的兼容性

This commit is contained in:
xiongziliang
2019-11-25 17:59:04 +08:00
parent 21cf3bcee0
commit bf70a01f6a
4 changed files with 15 additions and 10 deletions

View File

@@ -351,6 +351,9 @@ inline int RtspPusher::getTrackIndexByTrackType(TrackType type) {
return i;
}
}
if(_aTrackInfo.size() == 1){
return 0;
}
return -1;
}