客户端播放音乐时,多次推送给客户端
This commit is contained in:
parent
1c7a8905c1
commit
9d8bc48c35
@ -76,7 +76,6 @@ public class MusicActionCommand extends ActionCommand implements IActionCommand
|
|||||||
log.info("推送Box播放音乐");
|
log.info("推送Box播放音乐");
|
||||||
BoxSession boxSession = baseWebSocketService.getBoxSessionWithSn(baseSession.getSn());
|
BoxSession boxSession = baseWebSocketService.getBoxSessionWithSn(baseSession.getSn());
|
||||||
if(boxSession != null){
|
if(boxSession != null){
|
||||||
baseWebSocketService.sendMsg(boxSession, resp);
|
|
||||||
//记录音乐状态
|
//记录音乐状态
|
||||||
if(resp.getMusic().getPlay().equals(PlayEnum.STOP.getCode())){
|
if(resp.getMusic().getPlay().equals(PlayEnum.STOP.getCode())){
|
||||||
//去掉内存中音乐同步对象
|
//去掉内存中音乐同步对象
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user