release: v1.2.2

This commit is contained in:
acgnhiki 2021-12-04 14:24:15 +08:00
parent 62c1abfd24
commit 36f09499af
3 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,9 @@
# 更新日志
## 1.2.2
- 避免 url 失效出现一直超时不能录制
## 1.2.1
- 兼容 flv 头不正确的直播流

View File

@ -1,4 +1,4 @@
__prog__ = 'blrec'
__version__ = '1.2.1'
__version__ = '1.2.2'
__github__ = 'https://github.com/acgnhiki/blrec'

View File

@ -317,6 +317,7 @@ class StreamRecorder(
logger.warning(repr(e))
except FlvStreamCorruptedError as e:
logger.warning(repr(e))
url = self._get_live_stream_url()
def _streaming(self, url: str) -> None:
logger.debug('Getting the live stream...')