Closed yukitaka13-1110 closed 4 years ago
can you try putting the expire time a little bit longer? say 5 mins
I'm having this issue as well. I set mine to 60 seconds.
The stream will continue working as if nothing's wrong. As soon as you make a change to your client (like ending your stream), it will throw a token expired error without any additional onTokenPrivilegeWillExpire
or onTokenPrivilegeDidExpire
events, and the token will no longer be usable.
5 minutes expire time does not work either.
we confirmed this is current behavior and we are checking when SDK team can fix it.
@plutoless Any updates from SDK team ?
@yukitaka13-1110 we have an internal jira following on this issue. i think they are still working on the fix.
@plutoless Could you share an update on that jira ticket?
@peicodes i was told this issue has been fixed. could you pls help double check?
@plutoless I just re-implemented a 60 second expiry, and it's working. Thanks for the fix!
I use appCertificate in my project. After implement server side (token expired time -> 60s), I tried to retrieve token and
renewToken
.onTokenPrivilegeWillExipire
triggered and I could success callrenewToken
with token that first time I generate, and continue to stream video. But secondonTokenPrivilegeWillExipire
event has not been fired. However, video streaming has continued all the time.My server side code is the following.