Skip to main content

Accept Undefined Streams

This application setting is checking if the live stream is registered on Ant Media Server.

undefined-streams

For example, if Ant Media Server accepts undefined streams, it will accept any incoming streams. If the Accept Undefined Streams option is disabled in application settings, then only streams with their streamId in the database are being accepted by Ant Media Server.

You can find more details about AMS application properties here

If this setting is disabled, then first register stream on the server by creating a live stream in the application with stream Id and stream name.

Now only the live stream with created streamId will be published on the server and rest other unregistered streams will be rejected.