-
Sunject: When streaming via WebRTC through a browser (using OvenLiveKit with WSS or WHIP), the incoming video resolution is incorrectly detected as 640x360, even though the browser reports the source resolution as 1920x1080 (verified via Key Details:
Questions:
Any insights or workarounds are appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I also logged {
"id": "OTsouq3v1V789268016",
"timestamp": 1740886702808.764,
"type": "outbound-rtp",
"codecId": "COTsouq3v1_100_;level-asymmetry-allowed=1;max-fr=30;max-fs=8160;packetization-mode=1;profile-level-id=4D0029",
"kind": "video",
"mediaType": "video",
"ssrc": 789268016,
"transportId": "Tsouq3v1",
"bytesSent": 373114,
"packetsSent": 367,
"active": true,
"encoderImplementation": "OpenH264",
"firCount": 0,
"frameHeight": 360,
"frameWidth": 640,
"framesEncoded": 45,
"framesPerSecond": 30,
"framesSent": 45,
"headerBytesSent": 14735,
"hugeFramesSent": 1,
"keyFramesEncoded": 1,
"mediaSourceId": "SV114",
"mid": "souq3v",
"nackCount": 0,
"pliCount": 0,
"powerEfficientEncoder": false,
"qpSum": 744,
"qualityLimitationDurations": {
"bandwidth": 1.947,
"cpu": 0,
"none": 0.02,
"other": 0
},
"qualityLimitationReason": "bandwidth",
"qualityLimitationResolutionChanges": 0,
"remoteId": "RIV789268016",
"retransmittedBytesSent": 0,
"retransmittedPacketsSent": 0,
"scalabilityMode": "L1T1",
"targetBitrate": 5000000,
"totalEncodeTime": 0.077,
"totalEncodedBytesTarget": 0,
"totalPacketSendDelay": 1.111802
}
...
{
"id": "SV114",
"timestamp": 1740886702808.764,
"type": "media-source",
"kind": "video",
"trackIdentifier": "37f98d43-e15b-43a1-917b-e27ebae43aaa",
"frames": 59,
"framesPerSecond": 31,
"height": 1080,
"width": 1920
} Over the time of 10-15 seconds, the Is there a way to ensure OME updates the stream resolution in real-time as the PS: |
Beta Was this translation helpful? Give feedback.
-
OME's encoder does not dynamically change the Output Resolution. This is fine for WebRTC playback, but not so good for HLS. If you really want it, you'll have to Bypass the encoding. |
Beta Was this translation helpful? Give feedback.
-
Found some solutions:
|
Beta Was this translation helpful? Give feedback.
Found some solutions:
x-google-max-bitrate=5000;x-google-min-bitrate=2500;x-google-start-bitrate=4500;
chrome start stream with native resolution