Hi, I have been checking out the screen sharing feature in the stream realtime section in google studio, but I the steram gets disconnected after few minutes, and then I have to resart new stream with completely new context. I just wanted to know if there is a time limit on the api?
Hi @vikrant17, Welcome to the forum !!!
There are some limitations of Multimodal Live API and Gemini 2.0.
Maximum session duration :
Session duration is limited to up to 15 minutes for audio or up to 2 minutes of audio and video. When the session duration exceeds the limit, the connection is terminated.
The model is also limited by the context size. Sending large chunks of content alongside the video and audio streams may result in earlier session termination.
Please refer this doc
Hey, I’ve faced the same issue while sharing the screen.
You’re claiming that the session lasts for 15 minutes, but in my case session terminates in a few minutes estimated up to 2-5 minutes
We need to use the feature for a longer duration which will help to improve productivity and complete tasks without disconnecting
I hope it will remove restrictions on the session limit for this feature.
@Parth_Pathak According to what @Govind_Keshari stated above, the screen sharing feature appears to be limited to two minutes, and it will remain active up to fifteen minutes if you are only using the audio feature. It appears to be the case based on my checks. These restrictions may only be imposed when using the AI Studio for free experimentation. Perhaps with more credits, you could use it for a lot longer.