Skip to content

_remove/update on a block not working. #13

Description

@parthmehta

Hi,

Config example :

rtmp{
  server{

    application A{
      live on;
      #..othercommands
    }

    application B{
      live on;
      #..othercommands
    }

    application C{
      live on;
      #..othercommands
    }

  }
}

Have added application blocks using _addVerbatimBlock function. Currently, there is no update function. So, for updating, I remove the block and add it again. But the following remove functions does not work :

 conf.nginx.rtmp.server._remove("application A")
 conf.nginx.rtmp.server._remove("application A",0)
 conf.nginx.rtmp.server._remove("application", "A")

Which is the correct way to remove or update the block ?

  • Cant use index of application ( application[1] ) to remove.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions