Enhancing Pedestrian Safety And Traffic Analytics Through Onvif Metadata Processing And V2X Communication