Esempio n. 1
0
 def p_currentTime(self):
     # 当前播放的时间,单位秒
     return r.double(24 * 60 * 60)
Esempio n. 2
0
 def p_volume(self):
     # 设置或返回音频的音量
     return r.double(1)
Esempio n. 3
0
 def m_fastSeek(self):
     # 在音频播放器中指定播放时间
     return r.double(24 * 60 * 60)
Esempio n. 4
0
 def m_fastSeek(self):
     # 在音频播放器中指定播放时间
     return r.double(24*60*60)
Esempio n. 5
0
 def p_currentTime(self):
     # 当前播放的时间,单位秒
     return r.double(24*60*60)
Esempio n. 6
0
 def m_toBlob(self):
     callback = r.Funcs()
     mimeType = r.MIMEType()
     qualityArgument = r.double(1)
     return "'%s','%s',%s" % (callback, mimeType, qualityArgument)
Esempio n. 7
0
 def p_volume(self):
     # 设置或返回音频的音量
     return r.double(1)
Esempio n. 8
0
 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, ""])
Esempio n. 9
0
 def m_captureStream(self):
     return r.choice([r.double(1), ""])
Esempio n. 10
0
 def m_toBlob(self):
     callback = r.Funcs()
     mimeType = r.MIMEType()
     qualityArgument = r.double(1)
     return "'%s','%s',%s" % (callback, mimeType, qualityArgument)
Esempio n. 11
0
 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, ""])
Esempio n. 12
0
 def m_captureStream(self):
     return r.choice([r.double(1), ""])