Commit 84c722f5 authored by liyuanhong's avatar liyuanhong

添加了对CompositionTime的处理(去除逻辑)

parent 85f0c3a1
......@@ -194,8 +194,8 @@ class StreamH264Flv():
def sendVideoFrame(self,fra,timeStamp,avTag):
self.protocal_1078.setSim(self.mobile)
self.protocal_1078.setLogcC(self.channel)
avTimeStamp = timeStamp + self.getCompositionTime(avTag)
self.protocal_1078.setTime(avTimeStamp)
# avTimeStamp = timeStamp + self.getCompositionTime(avTag)
self.protocal_1078.setTime(timeStamp)
frameType = fra[8:10]
if frameType == "65":
self.videoLastKeyTime = timeStamp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment