How to Identify Publishers and Consumers using Red5 API
    public boolean connect(IConnection conn, IScope scope, Object[] params)
        {
            	IClient client = conn.getClient();
            	log.info( "app connect " + conn.getClient().getId() );
            	client.setAttribute( "stamp", new Long( 0 ) );
        	return true;
        }
This is the method which is being called every time Client is connected at my Custom Application in Red5 Server ,so is there a way to identify if a Client is Subscriber (Consumer ,Viewer) or Publisher (User which streams at my server).

Bests
How to Identify Publishers and Consumers using Red5 API
===

    public boolean connect(IConnection conn, IScope scope, Object[] params)
        {
            	IClient client = conn.getClient();
            	log.info( "app connect " + conn.getClient().getId() );
            	client.setAttribute( "stamp", new Long( 0 ) );
        	return true;
        }
This is the method which is being called every time Client is connected at my Custom Application in Red5 Server ,so is there a way to identify if a Client is Subscriber (Consumer ,Viewer) or Publisher (User which streams at my server).

Bests