Developing and testing features or extensions for Microsoft Edge
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Microsoft Edge does not publish (send) H.265/HEVC video codec in WebRTC streams, even on hardware that supports HEVC encoding. Google Chrome supports H.265 publishing in WebRTC. This creates an interoperability gap for video streaming applications.
Edge should be able to negotiate and publish H.265 video in WebRTC peer connections, consistent with Chrome's behavior and the hardware capabilities of the device.
When attempting to publish an H.265 stream via WebRTC in Edge, the codec is either:
The same application and hardware works correctly in Chrome, which successfully publishes H.265.
RTCPeerConnection with H.265 codec preference set via RTCRtpSender.setParameters() or setCodecPreferences()).This is a blocker for video analytics and real-time streaming pipelines that rely on H.265 for its superior compression efficiency over H.264, especially relevant for multi-stream datacenter and edge deployments.
Developing and testing features or extensions for Microsoft Edge
Hello Yashraj Singh,
Thanks for the detailed write-up — this looks like an expected gap rather than a bug on your end.
WebRTC H.265 send/receive landed in upstream Chromium behind the WebRtcAllowH265Send / WebRtcAllowH265Receive feature flags, and Google flipped them on by default starting Chrome 136, which is why publishing works there. Edge is Chromium-based but hasn't enabled those flags by default yet, so H.265 simply isn't advertised in the SDP offer regardless of HEVC hardware or the HEVC Video Extensions (those only cover <video> playback, not WebRTC). There's an open tracker on the official Microsoft Edge Explainers repo where others are reporting the exact same behavior with RTSP cameras, MediaMTX, vdo.ninja, etc., and it's still unassigned with no ETA: MicrosoftEdge/MSEdgeExplainers #1273.
As an unofficial thing to try in the meantime, you can launch Edge from the command line with msedge.exe --enable-features=WebRtcAllowH265Send,WebRtcAllowH265Receive and see if the codec shows up in your offer.
For an actual product change, the best path is to file it on the Edge Feedback Hub (... menu > Help and feedback > Send feedback) and add a like to the GitHub issue above — that's where the Edge team tracks WebRTC codec asks.
Hope this clears up what's going on, and let me know how the flag attempt goes if you try it.
Best regards,