Skip to content

best way to save what you love

one more fix

wukkoe0af5ef1cf5e
diff --git a/src/modules/stream/types.js b/src/modules/stream/types.js
index d844ccce..50cd11c6 100644
--- a/src/modules/stream/types.js
+++ b/src/modules/stream/types.js
@@ -152,7 +152,7 @@ export function streamVideoOnly(streamInfo, res) {
'-c', 'copy'
]
if (streamInfo.mute) args.push('-an');
- if (streamInfo.service === "vimeo" || streamInfo.service === "twitch") args.push('-bsf:a', 'aac_adtstoasc');
+ if (streamInfo.service === "vimeo") args.push('-bsf:a', 'aac_adtstoasc');
if (format === "mp4") args.push('-movflags', 'faststart+frag_keyframe+empty_moov');
args.push('-f', format, 'pipe:3');
const ffmpegProcess = spawn(ffmpeg, args, {
diff --git a/src/test/tests.json b/src/test/tests.json
index 08d3c9af..80b05c95 100644
--- a/src/test/tests.json
+++ b/src/test/tests.json
@@ -1099,33 +1099,5 @@
"code": 200,
"status": "stream"
}
- }, {
- "name": "video",
- "url": "https://twitch.tv/videos/1315890970",
- "params": {},
- "expected": {
- "code": 200,
- "status": "stream"
- }
- }, {
- "name": "video (isAudioOnly)",
- "url": "https://twitch.tv/videos/1315890970",
- "params": {
- "isAudioOnly": true
- },
- "expected": {
- "code": 200,
- "status": "stream"
- }
- }, {
- "name": "video (isAudioMuted)",
- "url": "https://twitch.tv/videos/1315890970",
- "params": {
- "isAudioMuted": true
- },
- "expected": {
- "code": 200,
- "status": "stream"
- }
}]
}