Commit 054270022500824b9c88b93acbdd4854767402ac

Authored by chenzhangyue
1 parent a0129560

fix find stream

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  
... ...