补充 备注 1小时自动关闭实时流

This commit is contained in:
shikong 2024-01-07 02:00:22 +08:00
parent 5bda3a2d51
commit dfba129768

View File

@ -204,6 +204,7 @@ public class PlayService {
subscribe.getSipResponseSubscribe().delPublisher(subscribeKey); subscribe.getSipResponseSubscribe().delPublisher(subscribeKey);
} }
}; };
// 1小时自动关闭
byeSubscribe(inviteRequestBuilder,provider,callId,3600,()->{ byeSubscribe(inviteRequestBuilder,provider,callId,3600,()->{
RedisUtil.KeyOps.delete(key); RedisUtil.KeyOps.delete(key);
}); });