Hi community,
A new version, v0.24 has been released.
With this version, more flexible stream connections become possible, such as forking and mixing.
A new sample code app_multi.py shows such forking and mixing functionality:
A single input are forked to multiple outputs with different filters:
Multiple inputs with different filters are mixed to a single output:
In addition, app_videochat.py is also an interesting example. Forking and mixing media streams are necessary parts for building a video chat system, in combination with streamlit-server-state, which enables communication across sessions.
Please also see A video chat app with realtime snapchat-like filters! for video chat apps!