Ant-Media-Server
                                
                                
                                
                                    Ant-Media-Server copied to clipboard
                            
                            
                            
                        Subscriber Block is not working for the RTMP/SRT stream
Short description
The subscriber ID block does not work for RTMP or SRT streams, as the stream can still be published after the subscriber ID is blocked.
While the subscriber block works properly for WebRTC streams.
Environment
- Ant Media Server version: v2.13.2 and above
 
Steps to reproduce
- Enable the TOTP token for publishing
 - Publish the RTMP stream using the subscriber ID and subscriber Code
 - Block the subscriber ID (For example, 5 minutes)
 
Expected behavior
The stream should stop publishing and same subscriber ID could not be used again for 5 minutes to publish the stream
Actual behavior
The RTMP stream did not stop publishing and same subscriber ID could be used even if the subscriber is blocked