Browser source plugin (1.0-24-g30ce603 2013/5/21)

Status
Not open for further replies.

GuardianX

New Member
Re: Browser source plugin (1.0-11-gfb5082d 2013/4/26)

Faruton said:
1. The source code for my plugin is in the first post
It's quite a bit more difficult than renaming the file as dll

2. What exactly doesn't work in your example?

3. Or OBS in general?

4. If you have any features you'd like added please let me know

1. I wouldn't doubt that it is, from my CURSORY understanding of programming, a plugin requires a .dll file and a .dll file requires compiling. Thats the sum of my understanding of plugins, but I'd like to learn more, that is what I was getting at mainly.

2. My code is fine now, a bit hacked and you certainly wouldn't send it on a fashion runway with one ear hanging off but it can...walk...down the runway?

3. Was meaning OBS in general, I mean this time I hacked together code to do something that I think I could do in a plugin with less headache and more options.

4. Certainly, this is an amazing plugin as I said before. You basically gave us a way to build whatever we want inside a scene.

-----

R3mbrant said:
GuardianX
For
viewtopic.php?f=22&t=2614
need .xml or .txt

Do me a favor :)

Uhh, I don't know what you are suggesting. If you are suggesting that I convert something or do any meaningful coding, "you goanna have a hard time son" doesn't really even begin to encompass this LOL.

I butchered this code and this was pretty simple code for most people who can work code. I'm not kidding when I say that I had this:

2366414413_404186e965_z.jpg


going on in my head the whole time I was doing it.
 

WayZHC

Member
Re: Browser source plugin (1.0-11-gfb5082d 2013/4/26)

Awesome plugin. Now i can finally add my friends webcam to the stream!
 

Shirin

New Member
Re: Browser source plugin (1.0-23-gf2f2f8b 2013/5/17)

Hi! Is it possible to have the browser source in the scene load at the same time as everything else? Not a few secs behind? Im trying to make a cool transition effect with it, but that requires it to load before or at the same time as everything else to obscure the rest of the scene.
 

Faruton

Developer
Re: Browser source plugin (1.0-23-gf2f2f8b 2013/5/17)

At the moment there is no perfect way of doing this but I have a branch that implements this functionality.
 

Jack0r

The Helping Squad
Re: Browser source plugin (1.0-23-gf2f2f8b 2013/5/17)

Maybe a combination of Global Sources + your branch will help achieve this?
 

Faruton

Developer
Very cool :-) It's always interesting to see how people use it. You might consider sharing it so other people might use it as well.
 

shoja

New Member
This is a great plugin! You've kinda obviated the need for handling SWF support in OBS proper and being able to easily integrate websites as overlays is pretty fantastic. I'm looking forward to the 64bit release.
 

Fire

Member
Is there anything I can do to figure out why certain pages don't load? ie: twitch chat does not work ( Try adding http://www.twitch.tv/chat/embed?channel=fire , it results in an infinite-load bug, the swf irc client on the page never connects to the irc server ) http://i.imgur.com/262vpUQ.png
It should be noted that the steam overlay browser as well as xsplit's own browser source implemented ( disabled since before it was even officially released ) both suffer the same issue ( both are cef ) , but as of yet I've been unable to figure out /why/ it doesn't work.

-snip- found the debug page on 127.0.0.1:1337 , but sadly there's no indication anywhere of why the chat never loads.

side question: what are the cross-domain restrictions set to on your implementation? as I recall, web security is a bool in awesomium
 

atmo

New Member
Fire said:
side question: what are the cross-domain restrictions set to on your implementation? as I recall, web security is a bool in awesomium

cross domain scripting is permitted, apparently

Code:
14:25 < faruton> I enabled it explicitly :p
14:25 < faruton> or thought I had
14:25 < faruton> did you try to see if it worked?
14:26 < faruton> On the embedded browser
14:26 < faruton> I thought I enabled it by default
14:26 < faruton> since I figured people would know what they were feeding it

Fire said:
Is there anything I can do to figure out why certain pages don't load? ie: twitch chat does not work ( Try adding http://www.twitch.tv/chat/embed?channel=fire , it results in an infinite-load bug, the swf irc client on the page never connects to the irc server ) http://i.imgur.com/262vpUQ.png
It should be noted that the steam overlay browser as well as xsplit's own browser source implemented ( disabled since before it was even officially released ) both suffer the same issue ( both are cef ) , but as of yet I've been unable to figure out /why/ it doesn't work.

-snip- found the debug page on 127.0.0.1:1337 , but sadly there's no indication anywhere of why the chat never loads.


hope the webchat thing gets fixed because I look like a bit of an idiot right now ( http://teamfortress.tv/forum/thread/884 ... -on-stream )
 

Faruton

Developer
I encountered the webchat problem as well. My solution was to just build a build-in chat mechanism.

http://www.twitch.tv/faruton/b/410118773

This gives you the equivalent chat mechanism with what I think is a much easier to use interface and easily customizable.

This is the least-tested area of the plugin so expect some bugs to be present.
http://www.catchexception.org/examples/chat-example.zip

Also the new version of the plugin that is not yet released allows you to specify the irc server/port as well. (In case Twitch chat DNS goes down or you prefer a different irc channel)
 

Fire

Member
Faruton said:
I encountered the webchat problem as well. My solution was to just build a build-in chat mechanism.

http://www.twitch.tv/faruton/b/410118773

This gives you the equivalent chat mechanism with what I think is a much easier to use interface and easily customizable.

This is the least-tested area of the plugin so expect some bugs to be present.
http://www.catchexception.org/examples/chat-example.zip

Also the new version of the plugin that is not yet released allows you to specify the irc server/port as well. (In case Twitch chat DNS goes down or you prefer a different irc channel)

That's a nice idea and works for absolute basics, but emote integration is pretty important as well. I'm trying to talk to one of the engineers about this to hopefully figure out why it dies ( since it's not just this that's affected, every implementation of cef that I've seen has this problem ).

I sent you a pm regarding this project, by the way :D
 

Faruton

Developer
The emotes are available through the API, so you should be able to render them yourself with the embedded chat as well. It would just take a little more legwork.
 

Fire

Member
Faruton said:
The emotes are available through the API, so you should be able to render them yourself with the embedded chat as well. It would just take a little more legwork.

Yeah, except subscriber-only emotes require both knowing which emote is on which channel, and having the ability to check if the user is subscribed to that channel, the latter of which is impossible to do and I think you can easily find out the former ( at least not with kraken ).
 

Faruton

Developer
I looked at the traffic of the SWF based twitch chat and figured out how to get the emoticon/subscriber/turbo user information.

I'll release a new version later today that exposes this information to build-in chat so you can display the correct information.
 

Fire

Member
Faruton said:
I looked at the traffic of the SWF based twitch chat and figured out how to get the emoticon/subscriber/turbo user information.

I'll release a new version later today that exposes this information to build-in chat so you can display the correct information.

subscriber usermessages are room-inspecific so I presume you're talking about the EMOTESET messages? ( send a JTVCLIENT raw from your irc client to get both those and USERCOLOR messages pm'd from 'jtv' )
 

Faruton

Developer
Yeah, sending 'TWITCHCLIENT 2' to the server.

I also noticed the SWF client sent JTVROOMS #channelname but wasn't able to notice any differences if I sent it or not.

If you are only in one channel, aren't they (the SPECIALUSER messages) technically room specific?
 
Status
Not open for further replies.
Top