I am using OpenTok.Net SDK for video recording. I want to extend the EXPIRE_TIME of token.
For that i have added
- Code: Select all
Dictionary<string, object> tokenOptions = new Dictionary<string, object>();
tokenOptions.Add(TokenPropertyConstants.ROLE, RoleConstants.MODERATOR);
tokenOptions.Add(TokenPropertyConstants.EXPIRE_TIME, new DateTime(2012, 11, 11));
string token = openTok.GenerateToken(session_id, tokenOptions);
of Exception: 1004::Invalid authentication information passed in Session.connect(). Token expired on 518400.
So can you please let me know that how can I extend Expire time of token..asap?
Thanks