def p_currentTime(self): # 当前播放的时间,单位秒 return r.double(24 * 60 * 60)
def p_volume(self): # 设置或返回音频的音量 return r.double(1)
def m_fastSeek(self): # 在音频播放器中指定播放时间 return r.double(24 * 60 * 60)
def m_fastSeek(self): # 在音频播放器中指定播放时间 return r.double(24*60*60)
def p_currentTime(self): # 当前播放的时间,单位秒 return r.double(24*60*60)
def m_toBlob(self): callback = r.Funcs() mimeType = r.MIMEType() qualityArgument = r.double(1) return "'%s','%s',%s" % (callback, mimeType, qualityArgument)
def m_toDataURL(self): # 将canvas转换为基于Base64编码的图像 type = r.choice(["image/png", "image/jpeg"]) args = r.double(1) return r.choice(["'%s',%s" % (type, args), "'%s'" % type, ""])
def m_captureStream(self): return r.choice([r.double(1), ""])