YiCam + WebRTC implementation

Guys anyone have an idea on how to implemented it on Lovelace especially if I want to add PTZ? Thanks