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.
Hi,
Config example :
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 :
Which is the correct way to remove or update the block ?