Commit b4b9ad287362e6fe1f7aa7f592a2a5f8642e65ab
1 parent
e73d0006
修复写入事务信息callid错误
Showing
1 changed file
with
2 additions
and
1 deletions
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommander.java
| @@ -373,7 +373,8 @@ public class SIPCommander implements ISIPCommander { | @@ -373,7 +373,8 @@ public class SIPCommander implements ISIPCommander { | ||
| 373 | }), e -> { | 373 | }), e -> { |
| 374 | ResponseEvent responseEvent = (ResponseEvent) e.event; | 374 | ResponseEvent responseEvent = (ResponseEvent) e.event; |
| 375 | SIPResponse response = (SIPResponse) responseEvent.getResponse(); | 375 | SIPResponse response = (SIPResponse) responseEvent.getResponse(); |
| 376 | - streamSession.put(device.getDeviceId(), channelId, "play", stream, ssrcInfo.getSsrc(), mediaServerItem.getId(), response, | 376 | + String callId = response.getCallIdHeader().getCallId(); |
| 377 | + streamSession.put(device.getDeviceId(), channelId, callId, stream, ssrcInfo.getSsrc(), mediaServerItem.getId(), response, | ||
| 377 | InviteSessionType.PLAY); | 378 | InviteSessionType.PLAY); |
| 378 | okEvent.response(e); | 379 | okEvent.response(e); |
| 379 | }); | 380 | }); |