libdatachannel
libdatachannel copied to clipboard
RTCPeerConnection.getStats()
Hi Guys, Is there a way to get the statistics of the video stream(e.g. frame width, frame height and fps) in libdatachannel ?
Notice: I could get them in the js implementation of WebRTC using RTCPeerConnection.getStats()
This is hardly possible as libdatachannel has no support for media encoding/decoding internally, it only implements the actual media transport and expects the user to perform encoding/decoding externally. Therefore it can't easily retrieve the information from the video stream.