fix find stream
This commit is contained in:
parent
a01295603a
commit
0542700225
@ -394,7 +394,7 @@ public class PlayServiceImpl implements IPlayService {
|
|||||||
deviceChannel.setStreamId(streamInfo.getStream());
|
deviceChannel.setStreamId(streamInfo.getStream());
|
||||||
storager.startPlay(deviceId, channelId, streamInfo.getStream());
|
storager.startPlay(deviceId, channelId, streamInfo.getStream());
|
||||||
}
|
}
|
||||||
InviteInfo inviteInfo = inviteStreamService.getInviteInfoByDeviceAndChannel(InviteSessionType.PLAYBACK, deviceId, channelId);
|
InviteInfo inviteInfo = inviteStreamService.getInviteInfoByStream(InviteSessionType.PLAYBACK, ((OnStreamChangedHookParam) param).getStream());
|
||||||
if (inviteInfo != null) {
|
if (inviteInfo != null) {
|
||||||
inviteInfo.setStatus(InviteSessionStatus.ok);
|
inviteInfo.setStatus(InviteSessionStatus.ok);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user