mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-22 21:37:48 +08:00
Compare commits
3 Commits
a29781392d
...
eece504d9f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eece504d9f | ||
|
|
c1254b5b09 | ||
|
|
c543840830 |
@ -217,7 +217,7 @@ public class InviteRequestProcessor extends SIPRequestProcessorParent implements
|
||||
if (sendRtpItem.isTcpActive()) {
|
||||
MediaServer mediaServer = mediaServerService.getOne(sendRtpItem.getMediaServerId());
|
||||
try {
|
||||
mediaServerService.startSendRtpPassive(mediaServer, sendRtpItem, 5);
|
||||
mediaServerService.startSendRtpPassive(mediaServer, sendRtpItem, 5*1000);
|
||||
DeviceChannel deviceChannel = deviceChannelService.getOneForSourceById(sendRtpItem.getChannelId());
|
||||
if (deviceChannel != null) {
|
||||
redisCatchStorage.sendPlatformStartPlayMsg(sendRtpItem, deviceChannel, platform);
|
||||
|
||||
@ -11,7 +11,7 @@ const actions = {
|
||||
})
|
||||
})
|
||||
},
|
||||
stop({ commit }, [deviceId, channelId]) {
|
||||
stop({ commit }, { deviceId, channelId }) {
|
||||
return new Promise((resolve, reject) => {
|
||||
stop(deviceId, channelId).then(response => {
|
||||
const { data } = response
|
||||
|
||||
@ -422,7 +422,10 @@ export default {
|
||||
})
|
||||
},
|
||||
stopDevicePush: function(itemData) {
|
||||
this.$store.dispatch('play/stop', [this.deviceId, itemData.deviceId]).then(data => {
|
||||
this.$store.dispatch('play/stop', {
|
||||
deviceId: this.deviceId,
|
||||
channelId: itemData.deviceId
|
||||
}).then(data => {
|
||||
this.initData()
|
||||
}).catch((error) => {
|
||||
if (error.response.status === 402) { // 已经停止过
|
||||
|
||||
Loading…
Reference in New Issue
Block a user