Discussions
Stop generating the current video to create a new one
4 days ago by eneko
Hi!
I'm using the d-id talk stream API in a React app. Going through all steps describe in the documentation. I send a block of text, and it generate de video and display in my video component, allright. But, since is a chat bot, while the video of the current message is showing up and I'm still receiving bytes for the current video, if the user write a new text and I need to send it to the API to generate a new video, I need that the current video stops playing and the server stops sending me bytes to that stream, and start making the new video and sending the bytes of the new video.
is that possible?
thanks for your time