Closed dream811 closed 3 years ago
Also would like to do that. Is it possibly right now ? for example, by changing the name of a file. In response for getting sources i see only that fields:
so i guess, there is no way to change the filename used in this source ?
I kinda solved my issue, if anyone will have the same.
You can add source, and then with websockets you can change it's content like that:
await obs.send("SetSourceSettings", {
sourceName: 'your-created-source-name,
sourceSettings: {
local_file: "/your/path/to/the/file.mov",
},
});
I am going to add and delete mp4 file in source please share source code for me~~~ Thanks contributors.