Ant-Media-Server icon indicating copy to clipboard operation
Ant-Media-Server copied to clipboard

Subscriber Block is not working for the RTMP/SRT stream

Open yashtandon113 opened this issue 5 months ago • 2 comments

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

  1. Enable the TOTP token for publishing
  2. Publish the RTMP stream using the subscriber ID and subscriber Code
  3. 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

yashtandon113 avatar May 26 '25 06:05 yashtandon113