whitphx / streamlit-webrtc

Real-time video and audio processing on Streamlit
https://discuss.streamlit.io/t/new-component-streamlit-webrtc-a-new-way-to-deal-with-real-time-media-streams/8669
MIT License
1.36k stars 182 forks source link

Session-specific caching mechainsm #894

Closed whitphx closed 2 years ago

whitphx commented 2 years ago

https://github.com/whitphx/streamlit-webrtc/pull/747/files#diff-568470d013cd12e4f388206520da39ab9a4e4c3c6b95846cbc281abc1ba3c959R303

The cached values must be released when the session is closed.

whitphx commented 2 years ago

Already asked at https://discuss.streamlit.io/t/session-specific-caching/271

whitphx commented 2 years ago

This can be done with session_state? -> Are the values in session_state cleared when the session closes?

whitphx commented 2 years ago

https://discuss.streamlit.io/t/revisit-session-specific-cache/27017