优化子码流切换逻辑,去除主子多开逻辑。优化单端口模式ssrc变化导致的无法移出点播缓存 #895
This commit is contained in:
@@ -122,7 +122,7 @@ public class ApiStreamController {
|
||||
MediaServerItem newMediaServerItem = playService.getNewMediaServerItem(device);
|
||||
|
||||
|
||||
playService.play(newMediaServerItem, serial, code,false, (errorCode, msg, data) -> {
|
||||
playService.play(newMediaServerItem, serial, code, (errorCode, msg, data) -> {
|
||||
if (errorCode == InviteErrorCode.SUCCESS.getCode()) {
|
||||
InviteInfo inviteInfo = inviteStreamService.getInviteInfoByDeviceAndChannel(InviteSessionType.PLAY, serial, code);
|
||||
if (inviteInfo != null && inviteInfo.getStreamInfo() != null) {
|
||||
|
||||
Reference in New Issue
Block a user