fix(egress): 1s keyframe interval so YouTube Live leaves "Preparing" … #347
Annotations
3 errors and 2 warnings
|
Test
Process completed with exit code 1.
|
|
Test
@pairux/web#test: command (/home/runner/work/pairux.com/pairux.com/apps/web) /home/runner/setup-pnpm/node_modules/.bin/bin/pnpm run test exited (1)
|
|
src/app/api/stream/egress/start/route.test.ts > POST /api/stream/egress/start > starts a room composite egress streaming to every destination:
apps/web/src/app/api/stream/egress/start/route.test.ts#L100
AssertionError: expected "spy" to be called with arguments: [ …(3) ]
Received:
1st spy call:
[
"session-00000000-0000-0000-0000-000000000001",
- ObjectContaining {
- "stream": ObjectContaining {
+ {
+ "stream": {
+ "protocol": 1,
"urls": [
"rtmp://a.rtmp.youtube.com/live2/yt-key",
"rtmp://live.twitch.tv/app/tw-key",
],
},
},
- ObjectContaining {
- "encodingOptions": ObjectContaining {
+ {
+ "encodingOptions": {
+ "audioBitrate": 128,
+ "framerate": 30,
"height": 1080,
- "keyFrameInterval": 2,
+ "keyFrameInterval": 1,
+ "videoBitrate": 4500,
+ "width": 1920,
},
"layout": "speaker",
},
]
Number of calls: 1
❯ src/app/api/stream/egress/start/route.test.ts:100:42
|
|
Lint:
apps/web/src/hooks/useWebRTC.ts#L456
React Hook useCallback has a missing dependency: 'sendSignal'. Either include it or remove the dependency array
|
|
Lint:
apps/web/src/hooks/useWebRTC.ts#L412
React Hook useCallback has a missing dependency: 'sendSignal'. Either include it or remove the dependency array
|