| | |
| | | } |
| | | |
| | | // 国标流 |
| | | if ("rtp".equals(param.getApp())) { |
| | | if ("rtp".equals(param.getApp()) ) { |
| | | String ssrc = String.format("%010d", Long.parseLong(param.getStream(), 16)); |
| | | InviteInfo inviteInfo = inviteStreamService.getInviteInfoBySSRC(ssrc); |
| | | |
| | |
| | | String deviceId = s[0]; |
| | | String channelId = s[1]; |
| | | Device device = redisCatchStorage.getDevice(deviceId); |
| | | if (device == null) { |
| | | if (device == null || !device.isOnLine()) { |
| | | defaultResult.setResult(new HookResult(ErrorCode.ERROR404.getCode(), ErrorCode.ERROR404.getMsg())); |
| | | return defaultResult; |
| | | } |