feat(transcode): add 3D asset support and turntable viewer

This commit is contained in:
yiling
2026-10-08 23:12:09 +08:00
parent 4b1b64fe2b
commit 06ea4eed78
50 changed files with 3645 additions and 25 deletions
+18
View File
@@ -375,6 +375,12 @@ describe('TeamService', () => {
hlsEnabled: false,
hlsResolutions: ['480p', '720p', '1080p'],
},
turntable: {
hasPassword: false,
isEnvConfigured: false,
url: undefined,
username: undefined,
},
appearance: { hideAgent: false },
})
@@ -392,6 +398,12 @@ describe('TeamService', () => {
hlsEnabled: false,
hlsResolutions: ['480p', '720p', '1080p'],
},
turntable: {
hasPassword: false,
isEnvConfigured: false,
url: undefined,
username: undefined,
},
appearance: { hideAgent: false },
})
@@ -418,6 +430,12 @@ describe('TeamService', () => {
hlsEnabled: true,
hlsResolutions: ['720p', '1080p', '2160p'],
},
turntable: {
hasPassword: false,
isEnvConfigured: false,
url: undefined,
username: undefined,
},
appearance: { hideAgent: true },
semanticSearchEnabled: false,
})
+3
View File
@@ -7,6 +7,7 @@ import { getAvatarUrl } from '@shumai/core/src/user/avatar'
import { HTTPException } from 'hono/http-exception'
import { getAllowedAgentRoles } from '@shumai/core/src/agent/permissions'
import { sandboxService } from '@shumai/core/src/sandbox/sandbox-service'
import { turntableService } from '@shumai/core/src/turntable/turntable'
import {
ServiceCreateTeamRequest,
ServiceGetUserTeamsRequest,
@@ -343,6 +344,8 @@ export class TeamService {
settings.appearance.hideAgent = false
}
settings.turntable = await turntableService.getSettings(teamId)
return settings
}