| | |
| | | |
| | | Conf conf = new Conf(); |
| | | conf.setSource(ardVtdu.getRtspSource()); |
| | | if(!"publisher".equalsIgnoreCase(conf.getSource())) { |
| | | conf.setSourceOnDemand(true); |
| | | } |
| | | conf.setRunOnDemandRestart(false); |
| | | conf.setRunOnDemandCloseAfter("5s"); |
| | | conf.setMaxReaders(100); |
| | |
| | | Conf conf = new Conf(); |
| | | conf.setSource(ardVtdu.getRtspSource()); |
| | | conf.setName(ardVtdu.getName()); |
| | | if(!"publisher".equalsIgnoreCase(conf.getSource())) { |
| | | conf.setSourceOnDemand(true); |
| | | } |
| | | conf.setRunOnDemandRestart(false); |
| | | conf.setRunOnDemandCloseAfter("5s"); |
| | | conf.setMaxReaders(100); |