public IClientBroadcastStream newBroadcastStream(Number streamId) {
        if (isValidStreamId(streamId)) {
            // get ClientBroadcastStream defined as a prototype in red5-common.xml
            ClientBroadcastStream cbs = (ClientBroadcastStream) scope.getContext().getBean("clientBroadcastStream");
            customizeStream(streamId, cbs);
            if (!registerStream(cbs)) {
                cbs = null;
            }
            return cbs;
        }
        return null;
    }
public IClientBroadcastStream newBroadcastStream ( Number streamId ) { if ( isValidStreamId ( streamId ) ) { ClientBroadcastStream cbs = ( ClientBroadcastStream ) scope . getContext ( ) . getBean ( "clientBroadcastStream" ) ; customizeStream ( streamId , cbs ) ; if ( ! registerStream ( cbs ) ) { cbs = null ; } return cbs ; } return null ; }
{@inheritDoc}