Commit 083523d2042e4b37f3c3d1cd71d7c3426f2f9754
Committed by
GitHub
Merge pull request #1188 from lunasaw/wvp-28181-2.0-fix
fix find stream
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java
| ... | ... | @@ -394,7 +394,7 @@ public class PlayServiceImpl implements IPlayService { |
| 394 | 394 | deviceChannel.setStreamId(streamInfo.getStream()); |
| 395 | 395 | storager.startPlay(deviceId, channelId, streamInfo.getStream()); |
| 396 | 396 | } |
| 397 | - InviteInfo inviteInfo = inviteStreamService.getInviteInfoByDeviceAndChannel(InviteSessionType.PLAYBACK, deviceId, channelId); | |
| 397 | + InviteInfo inviteInfo = inviteStreamService.getInviteInfoByStream(InviteSessionType.PLAYBACK, ((OnStreamChangedHookParam) param).getStream()); | |
| 398 | 398 | if (inviteInfo != null) { |
| 399 | 399 | inviteInfo.setStatus(InviteSessionStatus.ok); |
| 400 | 400 | ... | ... |