Skip to content

Commit

Permalink
Remove the profile baseline for PI5 #67
Browse files Browse the repository at this point in the history
  • Loading branch information
Lillifee committed Jan 2, 2024
1 parent 455b8ff commit 78bdae5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
"author": "Patrick Matt",
"license": "MIT",
"scripts": {
"start:site": "ts-node-esm ./serve.site.mts",
"start:site": "node --loader ts-node/esm ./serve.site.mts",
"start:server": "npm run build:server && node ./build/server.js",
"code:check": "npm run code:check-eslint && yarn code:check-tsc",
"code:check-eslint": "eslint --fix ./src/",
"code:check-tsc": "tsc -p ./tsconfig.json",
"build": "npm run build:site && npm run build:server",
"build:server": "ts-node-esm ./build.server.mts",
"build:site": "ts-node-esm ./build.site.mts",
"build:server": "node --loader ts-node/esm ./build.server.mts",
"build:site": "node --loader ts-node/esm ./build.site.mts",
"release": "yarn version --patch && git push --follow-tags"
},
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion src/server/control.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ const modeHelper: {
settings: {
...settings,
timeout: 0,
profile: 'baseline',
inline: true,
output: '-',
},
Expand Down
4 changes: 3 additions & 1 deletion src/site/components/main/settings/StreamSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,13 @@ export const StreamSettings: React.FC<StreamSettingsProps> = ({
>
{stream.codec.value === 'H264' && (
<React.Fragment>
<NumberSetting {...stream.bitrate} update={updateStreamField('bitrate')} />
<EnumDropdownSetting
{...application.player}
update={updateApplicationField('player')}
/>
<NumberSetting {...stream.bitrate} update={updateStreamField('bitrate')} />
<EnumDropdownSetting {...stream.profile} update={updateStreamField('profile')} />
<EnumDropdownSetting {...stream.level} update={updateStreamField('level')} />
</React.Fragment>
)}
{stream.codec.value === 'MJPEG' && (
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
"isolatedModules": true
},
"ts-node": {
"esm": true,
"transpileOnly": true,
"files": true, /* Enable d.ts files */
"experimentalResolver": true
"experimentalResolver": true,
},
}

0 comments on commit 78bdae5

Please sign in to comment.