CLR Browser Source Plugin [OBS Classic ONLY]

Faruton

Developer
Faruton submitted a new resource:

CLR Browser Source Plugin - Allows you to add web-based content as a source, such as web pages and Flash SWFs

Currently on Chromium 31.0.1621.0

No know bugs or crashes. Please let me know if you find anything that can cause it to crash or anything peculiar.

At this point there is almost no reason to use the older BrowserSourcePlugin.

There is a small issue where SWF's that are hosted locally won't show up with wmode=transparent unless you are in Single Process mode. You can find this setting in Settings->Browser->Runtime. You'll need to restart the application before it takes effect....

Read more about this resource...
 
Last edited by a moderator:

GrooveM

New Member
Re: CLR Browser Source Plugin

I've been testing your plugin for 15-20 minutes with various websites and it runs very stable and most websites load perfectly! The only site I have problems with is the Twitch chat popout (e.g. http://www.twitch.tv/chat/embed?channel ... _chat=true).
Also an advanced setting to adjust volume / mute would come in handy when opening websites with audio.
 

Lange

Member
Re: CLR Browser Source Plugin

I'm having difficulty getting the CLR Browser Source to load. CLR Host loads, but not the Browser Source plugin. Any thoughts? Log below:

Code:
11:46:38: CLR host plugin strings not found, dynamically loading 4 strings
11:46:38: CLRHost::Initialize() attempting to load and start the .NET runtime (null)
11:46:38: CLRHost::Initialize() attempting to use v4.0.30319 .NET runtime
11:46:38: CLRHost::LoadInteropLibrary() load the assembly plugins\CLRHostPlugin\CLRHost.Interop.dll
11:46:38: CLRHost::LoadPlugins() attempting to load the plugin assembly CLRBrowserSourcePlugin
11:46:38: Failed to invoke OnStopStream on managed instance: 0x80131604
11:46:38: CLRHost::LoadPlugins() no valid plugin types found in assembly CLRBrowserSourcePlugin
11:46:38: Server Ping plugin strings not found, dynamically loading 24 strings
11:46:40: Open Broadcaster Software v0.552b - 32bit (´・ω・`)
11:46:40: -------------------------------
11:46:40: CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
11:46:40: CPU Speed: 3400MHz
11:46:40: Physical Memory:  4095MB Total, 4095MB Free
11:46:40: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
11:46:40: monitor 1: pos={0, 0}, size={1920, 1080}
11:46:40: Windows Version: 6.1 Build 7601 S
11:46:40: Aero is Enabled
11:46:40: -------------------------------
11:46:40: OBS Modules:
11:46:40: Base Address     Module
11:46:40: 001A0000         OBS.exe
11:46:40: 66550000         OBSApi.dll
11:46:40: 66E50000         CLRHostPlugin.dll
11:46:40: 61F10000         DShowPlugin.dll
11:46:40: 61EF0000         GraphicsCapture.dll
11:46:40: 61ED0000         NoiseGate.dll
11:46:40: 5E850000         PSVPlugin.dll
11:46:40: 5E810000         ServerPingPlugin.dll
11:46:40: 5E7E0000         WebSocketAPIPlugin.dll
11:46:40: ------------------------------------------
11:46:40: Adapter 1
11:46:40:   Video Adapter: AMD Radeon HD 7800 Series
11:46:40:   Video Adapter Dedicated Video Memory: 1046683648
11:46:40:   Video Adapter Shared System Memory: 3248218112
11:46:40: =====Stream Start: 2013-08-23, 11:46:40===============================================
11:46:40:   Multithreaded optimizations: On
11:46:40:   Base resolution: 1280x720
11:46:40:   Output resolution: 1280x720
11:46:40: ------------------------------------------
11:46:40: Loading up D3D10 on AMD Radeon HD 7800 Series...
11:46:40: Playback device Default
11:46:40: ------------------------------------------
11:46:40: Using desktop audio input: Speakers (Realtek High Definition Audio)
11:46:40: ------------------------------------------
11:46:40: Audio Encoding: AAC
11:46:40:     bitrate: 160
11:46:40: Using graphics capture
11:46:40: ------------------------------------------
11:46:40: Video Encoding: x264
11:46:40:     fps: 60
11:46:40:     width: 1280, height: 720
11:46:40:     preset: veryfast
11:46:40:     CBR: yes
11:46:40:     CFR: yes
11:46:40:     max bitrate: 3000
11:46:40: ------------------------------------------
11:46:40: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 352800, samples per sec is 44100
 

Faruton

Developer
Re: CLR Browser Source Plugin

I seem to have missed you on irc, sorry about that.

The fix seems to be to install .NET Framework 4.5

I unnecessarily targeted 4.5 with these binaries. The quick fix is to install 4.5, but I'll release a new version that *might* fix your problem depending on what .NET version you have installed.
 

Faruton

Developer
Re: CLR Browser Source Plugin

The new version targets .NET framework 4.0 so it should lower the bar a bit. If I do 3.5 then there is an additional requirement for VS2008 runtimes.
 

Faruton

Developer
Re: CLR Browser Source Plugin

Unfortunately that is just a limitation of offscreen rendering in CEF at the moment.
 

Faruton

Developer
Re: CLR Browser Source Plugin

Drumstix42 said:
Plans for 64bit version? :D :D :D

I have a working 64bit version but flash currently crashes on it. And a version without flash working seems pretty useless :p

I can build it for you if you really, really want though.
 

Jack0r

The Helping Squad
Re: CLR Browser Source Plugin

Actually, for the scoreboard stuff I am working on, with Stream Control, flash would not be needed.
To work with obs it uses html files and more or less javascript etc.

Flash is a bitch anyway, hope you can tame her =)
 

someonepl

New Member
Re: CLR Browser Source Plugin

Hello,

Is this plugin supporting swf files with transparent background? I use wmode=transparent in template but nothing is showing in the preview. wmode=window working fine, but I need to load this swf without background.
 

ColterTV

Member
Re: CLR Browser Source Plugin

I'm using transparent flash without problems
For SWF files to be shown by this plugin, for now you need to go settings menu, under browser->runtime you need to set the singleprocess option to TRUE
 

Faruton

Developer
Re: CLR Browser Source Plugin

You can view any swf without wmode=transparent in Multiprocess, but for some reason wmode=transparent requires single process.
 
Re: CLR Browser Source Plugin

Faruton said:
Drumstix42 said:
Plans for 64bit version? :D :D :D

I have a working 64bit version but flash currently crashes on it. And a version without flash working seems pretty useless :p

I can build it for you if you really, really want though.

I would be interested even without flash support, definitely. I'm looking to include things like Twitch chat and simple web content. Would love to test it out.
I'm just very used to using the 64bit OBS, and have a wide range of apps and games that I use.
 

Faruton

Developer
Re: CLR Browser Source Plugin

I'll get that out hopefully today then.

Remember the twitch chat is flash though ;(
 

Faruton

Developer
Re: CLR Browser Source Plugin

Drumstix42 said:
Faruton said:
Drumstix42 said:
Plans for 64bit version? :D :D :D

I have a working 64bit version but flash currently crashes on it. And a version without flash working seems pretty useless :p

I can build it for you if you really, really want though.

I would be interested even without flash support, definitely. I'm looking to include things like Twitch chat and simple web content. Would love to test it out.
I'm just very used to using the 64bit OBS, and have a wide range of apps and games that I use.

Alright, the 64bit version is available to try now.

p.s. flash works
 

Jack0r

The Helping Squad
Re: CLR Browser Source Plugin (New 64bit version, needs test

Tested madness build 03 and currrent beta release 554b. Cannot get the 64bit version to work:

http://pastebin.com/8fhW0tWm
Code:
16:52:39: CLRHost::Initialize() attempting to load and start the .NET runtime (null)
16:52:39: CLRHost::Initialize() Found version v2.0.50727 .NET runtime
16:52:39: CLRHost::Initialize() Found version v4.0.30319 .NET runtime
16:52:39: CLRHost::Initialize() attempting to use v4.0.30319 .NET runtime
16:52:39: CLRHost::LoadInteropLibrary() load the assembly plugins\CLRHostPlugin\CLRHost.Interop.dll
16:52:39: CLRHost::LoadInteropLibrary() failed to load the assembly: 0x8007007e

Tried new OBS installation, even HomeWorld sent me his folder without luck, maybe you have an idea!
 

Faruton

Developer
Re: CLR Browser Source Plugin (New 64bit version, needs test

Jack0r said:
Tested madness build 03 and currrent beta release 554b. Cannot get the 64bit version to work:

http://pastebin.com/8fhW0tWm
Code:
16:52:39: CLRHost::Initialize() attempting to load and start the .NET runtime (null)
16:52:39: CLRHost::Initialize() Found version v2.0.50727 .NET runtime
16:52:39: CLRHost::Initialize() Found version v4.0.30319 .NET runtime
16:52:39: CLRHost::Initialize() attempting to use v4.0.30319 .NET runtime
16:52:39: CLRHost::LoadInteropLibrary() load the assembly plugins\CLRHostPlugin\CLRHost.Interop.dll
16:52:39: CLRHost::LoadInteropLibrary() failed to load the assembly: 0x8007007e

Tried new OBS installation, even HomeWorld sent me his folder without luck, maybe you have an idea!

Oops I did it again

Its probably looking for mvcrt debug dlls
 
Top