Show fps in webrtc streamer

When deloy object detection by webrtc streamer, how do I show fps at other column? As I understood, can’t run st.markdown at recv().

        col_monitor, col_result = st.columns((6, 2)) # webcam here
        col_cam, col_rep_img, col_detail = st.columns((6, 1, 1))
        col_fr, col_dt, col_iw, _  = st.columns((2, 2, 2, 2))
        kpi1_text = None
        with col_fr:
              st.markdown('**Frame Rate of Camera**') # I want to show fps here
             kpi1_text = st.markdown("0")
1 Like