onSubscribePrivilegeTokenWillExpire property
Callback triggered 30s before the subscribing privilege of the Token expires.
After receiving this callback, you must call RTCRoom.updateToken to update the subscribing privilege Token. After a user's subscribing privilege expires, the user will fail to subscribe to new streams, or the subscribed streams will be removed, and he/she will receive onStreamStateChanged with error code "-1003" indicating no permission to subscribe to streams.
Implementation
EmptyCallbackType? onSubscribePrivilegeTokenWillExpire;