问题描述
我正在尝试在Android App上使用WebRTC,以使用USB网络共享连接流式传输到在我的工作站上运行的媒体服务器。我看到有很好的信号传递,提供了关于IP地址似乎很有意义的报价和答案,但是我没有收到任何UDP流流量。
Android WebRtc库中是否有某些东西可以忽略此class users:
def __init__(self,username,password,age):
self.username = username
self.password = password
self.age = age
@classmethod
def register(cls):
return cls(
str(input("Email: ")),int(input("ID Pin Number XXXX: ")),int(input("Age: "))
)
def load_func(file):
#Open the security file if present
if file == "security":
try:
with open("security.txt","rb") as sct:
return pickle.load(sct)
except IOError:
with open("security.txt","w+") as sct:
pickle.dump(dict(),sct)
return dict()
elif file == "userDatabase":
try:
with open("userDatabase.txt","rb") as dat:
return pickle.load(dat)
except IOError:
with open("userDatabase.txt","w+") as dat:
pickle.dump(dict(),dat)
return dict()
def saveData(file,data):
if file == "security":
with open("security.txt","wb") as sct:
pickle.dump(data,sct)
elif file == "userDatabase":
with open("userDatabase.txt","wb") as dat:
pickle.dump(data,dat)
else:
print("Error with saving file")
接口?通过Wi-Fi,一切都会按预期运行,但如果只有有线以太网是唯一连接,则无法正常运行。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)