lmmili.blogg.se

Fluid browser constanty reloads ypoutube
Fluid browser constanty reloads ypoutube













fluid browser constanty reloads ypoutube

I just wrapped your code in a source shell. I don't use PTZOptics cameras, nor do I use a browser to interface my Visca PTZ Cameras with OBS, so it might need testing. I have this feature as a checkbox in the controller I wrote as well as a "delay" option so the camera will move after the transition but following a preset delay so the move does not show up in any crossfade transitions. Add the new lua script in OBS and it should offer you a new "source" that you can add to a scene to refresh the browser when it is loaded in a preview window. C:\Program Files\obs-studio\data\obs-plugins\frontend-tools\scripts. ++-Ĭopy the script text and save it as a. Obs.obs_data_set_int(settings,"fps",fps - 1)Ĭlick to expand.Copy the script text and save it as a. Obs.obs_data_set_int(settings,"fps",fps + 1) Local fps = obs.obs_data_get_int(settings, "fps") Local settings = obs.obs_source_get_settings(source)

fluid browser constanty reloads ypoutube

Local source_id = obs.obs_source_get_unversioned_id(source) Local source = obs.obs_sceneitem_get_source(scene_item) Local scene_items = obs.obs_scene_enum_items(scene)įor _, scene_item in ipairs(scene_items) do Local scene_name = obs.obs_source_get_name(scenesource) Local scene = obs.obs_scene_from_source(scenesource) Local scenesource = obs.obs_frontend_get_current_preview_scene() Source_def.create = function(settings, source)

fluid browser constanty reloads ypoutube

Source_def.get_properties = function (data) Return "Adds a Refresh Browser On Show Source" Source_def.output_flags = bit.bor(obs.OBS_SOURCE_CUSTOM_DRAW) You could also do it as a source so you would not need to press a button.















Fluid browser constanty reloads ypoutube