|  |  | 
 |  |  |       if ("rtp".equals(app) && !regist ) {
 | 
 |  |  |          if (streamInfo!=null){
 | 
 |  |  |             redisCatchStorage.stopPlay(streamInfo);
 | 
 |  |  |             storager.stopPlay(streamInfo.getDeviceID(), streamInfo.getChannelId());
 | 
 |  |  |          }else{
 | 
 |  |  |             streamInfo = redisCatchStorage.queryPlaybackByStreamId(streamId);
 | 
 |  |  |             redisCatchStorage.stopPlayback(streamInfo);
 | 
 |  |  | 
 |  |  |       StreamInfo streamInfo = redisCatchStorage.queryPlayByStreamId(streamId);
 | 
 |  |  |       if (streamInfo!=null){
 | 
 |  |  |          redisCatchStorage.stopPlay(streamInfo);
 | 
 |  |  |          storager.stopPlay(streamInfo.getDeviceID(), streamInfo.getChannelId());
 | 
 |  |  |       }else{
 | 
 |  |  |          streamInfo = redisCatchStorage.queryPlaybackByStreamId(streamId);
 | 
 |  |  |          redisCatchStorage.stopPlayback(streamInfo);
 |