[英]OpenTok has duplicated sessions in MS Teams integration on IOS
guys.伙计们。 I use IPhone 7 (IOS version is 15.0).
我使用 iPhone 7(IOS 版本为 15.0)。 I am integrating app in MS Teams application.
我正在将应用程序集成到 MS Teams 应用程序中。 My app uses OpenTok.
我的应用程序使用 OpenTok。 I faced with the next problem: when user open tab of my app in meeting, new session created.
我面临下一个问题:当用户在会议中打开我的应用程序的选项卡时,创建了新的 session。 It's correct.
这是正确的。 After that user returns to the main screen of the meeting (session of my app is on - it's correct too) and opens tab of my app again.
在该用户返回到会议的主屏幕之后(我的应用程序的会话已打开 - 这也是正确的)并再次打开我的应用程序的选项卡。 When tab opens old session is continuing to work and new session created too.
打开旧session时,也继续工作,新的session也创建了。 And that is wrong, because i expect that old session will be destroy (like on desktop version).
这是错误的,因为我希望旧的 session 会被破坏(就像在桌面版本上一样)。 I have one code for desktop and mobile.
我有一个适用于桌面和移动设备的代码。 I would appreciate any help.
我将不胜感激任何帮助。
From our sessions docs , OpenTok sessions do not expire.从我们的会话文档中,OpenTok 会话不会过期。 However, authentication tokens do expire.
但是,身份验证令牌确实会过期。 Also, note that sessions cannot explicitly be destroyed.
另外,请注意会话不能显式销毁。 You can create very short-lived tokens, so when a user leaves a tab they will not be able to reenter.
您可以创建非常短暂的令牌,因此当用户离开选项卡时,他们将无法重新进入。 More information is available here: https://tokbox.com/developer/guides/create-token/
更多信息可在此处获得: https://tokbox.com/developer/guides/create-token/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.