在 send_auth 时使用主播 uid 作为默认 uid

This commit is contained in:
Xu Siyuan 2023-07-03 16:02:11 +08:00 committed by John Smith
parent 924b99eed6
commit 9d92fcdc91

View File

@ -444,7 +444,7 @@ class BLiveClient:
发送认证包 发送认证包
""" """
auth_params = { auth_params = {
'uid': self._uid, 'uid': self._uid or self.room_owner_uid or 0,
'roomid': self._room_id, 'roomid': self._room_id,
'protover': 3, 'protover': 3,
'platform': 'web', 'platform': 'web',