修单机录像播不出
This commit is contained in:
@@ -2930,7 +2930,7 @@ function Player:update(dt)
|
|||||||
end
|
end
|
||||||
while self.trigFrame>=1 do
|
while self.trigFrame>=1 do
|
||||||
if self.streamProgress then
|
if self.streamProgress then
|
||||||
local dataDelta=0 -- How much data wating to be process
|
local dataDelta -- How much data wating to be process
|
||||||
if self.type=='remote' then
|
if self.type=='remote' then
|
||||||
if self.loseTimer then
|
if self.loseTimer then
|
||||||
self.loseTimer=self.loseTimer-1
|
self.loseTimer=self.loseTimer-1
|
||||||
@@ -2940,6 +2940,8 @@ function Player:update(dt)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
dataDelta=#self.stream-self.streamProgress
|
dataDelta=#self.stream-self.streamProgress
|
||||||
|
else
|
||||||
|
dataDelta=1
|
||||||
end
|
end
|
||||||
if dataDelta>0 then
|
if dataDelta>0 then
|
||||||
for _=1,
|
for _=1,
|
||||||
|
|||||||
Reference in New Issue
Block a user