You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Red5-1.0.4 and having an issue with Red5.getConnectionLocal().getScope(). I work with an external system, operating with an API.
In some methods, I need to make something like this:
Red5.getConnectionLocal().getScope(); // returns the correct Scope
// Do some call to an API via HTTP
Red5.getConnectionLocal().getScope(); // sometimes returns the correct Scope and some others returns null
As a workaround, I'm saving the result of the .getScope() method before the API call, so I can use it after that without any problem.
The text was updated successfully, but these errors were encountered:
Why would the ThreadLocal value in Red5 change due to your API call? The only way I see this happening is if you are somehow modifying it or your in a method where you are not maintaining access to the connection instance.
I'm using Red5-1.0.4 and having an issue with Red5.getConnectionLocal().getScope(). I work with an external system, operating with an API.
In some methods, I need to make something like this:
As a workaround, I'm saving the result of the
.getScope()
method before the API call, so I can use it after that without any problem.The text was updated successfully, but these errors were encountered: