{"action":"created","issue":{"url":"https://api.github.com/repos/Palakis/obs-websocket/issues/206","repository_url":"https://api.github.com/repos/Palakis/obs-websocket","labels_url":"https://api.github.com/repos/Palakis/obs-websocket/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/Palakis/obs-websocket/issues/206/comments","events_url":"https://api.github.com/repos/Palakis/obs-websocket/issues/206/events","html_url":"https://github.com/Palakis/obs-websocket/issues/206","id":309780879,"number":206,"title":"Making a source visible from a script timer stops OBS-Websocket updates","user":{"login":"JustinLove","id":54438,"avatar_url":"https://avatars3.githubusercontent.com/u/54438?v=4","gravatar_id":"","url":"https://api.github.com/users/JustinLove","html_url":"https://github.com/JustinLove","followers_url":"https://api.github.com/users/JustinLove/followers","following_url":"https://api.github.com/users/JustinLove/following{/other_user}","gists_url":"https://api.github.com/users/JustinLove/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinLove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinLove/subscriptions","organizations_url":"https://api.github.com/users/JustinLove/orgs","repos_url":"https://api.github.com/users/JustinLove/repos","events_url":"https://api.github.com/users/JustinLove/events{/privacy}","received_events_url":"https://api.github.com/users/JustinLove/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-29T14:37:33Z","updated_at":"2018-05-07T16:01:58Z","closed_at":null,"author_association":"NONE","body":"##### Issue type\r\nBug Report (cross posted from OBS forum, not sure where things are going wrong)\r\n\r\n##### Description\r\nI've got a weird interaction going on. I've two types of extensions interfering with each other.\r\n\r\n1. OBS-Websockets application that listens for StreamStatus messages and polls some information \r\n2. Lua Script where I am trying to move some of that functionality.\r\n\r\nAn operation in the script is causing updates to the websocket messages to cease arriving. Reconnecting the websocket works. I believe I've isolated the cause to making a source visible from within a script timer, see attached script.\r\n\r\n##### Steps to reproduce and other useful info\r\nSee attached script.\r\n[script-websockets-example.lua.txt](https://github.com/Palakis/obs-websocket/files/1860527/script-websockets-example.lua.txt)\r\n\r\nI've been using [http://wondible.com/obs-mic-check/](http://wondible.com/obs-mic-check/) as the websocket client\r\n\r\n##### Technical information\r\n- **Windows 10** :\r\n- **OBS Studio 21.1.0** :"},"comment":{"url":"https://api.github.com/repos/Palakis/obs-websocket/issues/comments/387113841","html_url":"https://github.com/Palakis/obs-websocket/issues/206#issuecomment-387113841","issue_url":"https://api.github.com/repos/Palakis/obs-websocket/issues/206","id":387113841,"user":{"login":"JustinLove","id":54438,"avatar_url":"https://avatars3.githubusercontent.com/u/54438?v=4","gravatar_id":"","url":"https://api.github.com/users/JustinLove","html_url":"https://github.com/JustinLove","followers_url":"https://api.github.com/users/JustinLove/followers","following_url":"https://api.github.com/users/JustinLove/following{/other_user}","gists_url":"https://api.github.com/users/JustinLove/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinLove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinLove/subscriptions","organizations_url":"https://api.github.com/users/JustinLove/orgs","repos_url":"https://api.github.com/users/JustinLove/repos","events_url":"https://api.github.com/users/JustinLove/events{/privacy}","received_events_url":"https://api.github.com/users/JustinLove/received_events","type":"User","site_admin":false},"created_at":"2018-05-07T16:01:58Z","updated_at":"2018-05-07T16:01:58Z","author_association":"NONE","body":"I traced in a bit. OBS events are still happening and getting to pClient->sendTextMessage(message), but it is a bit of a black box from there."}}
{"actor":{"display_login":"JustinLove"}}