Re: WebRTC support and Chromium Embedded Framework in LiveCode

2014-07-02 Thread David Bovill
On 1 July 2014 21:03, Mark Wilcox m...@sorcery-ltd.co.uk wrote:

 Alternatively it's simple enough that you could contract
 someone to do it after all the refactoring is sorted for significantly
 less than the cost of a Premium license.


Sounds a way to go. Even better would be to have a well structured and
promoted bounty platform for open source code. Richard


 Now iOS 8
 has added a new WKWebView with a much nicer way of doing it (and much
 better JavaScript performance!)


Just did a little reading about WKWebView (thanks for the tip)  - this is a
good review with some speed tests -
http://developer.telerik.com/featured/why-ios-8s-wkwebview-is-a-big-deal-for-hybrid-development/


I'm looking to have good interoperability between JavaScript/HTML5,
LiveCode, and C++. It looks like there are powerful things on the horizon
with regard to LiveCode / C++
http://livecode.com/blog/2014/05/29/eating-our-own-haggis/ but it's not
so clear with regard to HTML5/Javascript which has always seemed to be
treated as more of an competitor than a friend to embrace. Though this may
be simply that not many people use this aspect of Livecode?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: WebRTC support and Chromium Embedded Framework in LiveCode

2014-07-01 Thread David Bovill
Thanks Alejandro - I just tested and on OSX with revBrowserOpenCEF (which
is Chrome 32) - I get a score of 472 rather than 503 for Chrome 32. It
looks like webRTC is not available on Chrome 32 version in CEF for OSX.

I'm not sure about Android and iOS versions yet?


On 1 July 2014 00:13, Alejandro Tejada capellan2...@gmail.com wrote:

 According to http://html5test.com/
 this new Chromium Embedded Framework
 is identified as Chrome 31 and scores 450
 from 555 points.

 http://forums.livecode.com/viewtopic.php?f=89t=20501



 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/WebRTC-support-and-Chromium-Embedded-Framework-in-LiveCode-tp4680734p4680747.html
 Sent from the Revolution - User mailing list archive at Nabble.com.

 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: WebRTC support and Chromium Embedded Framework in LiveCode

2014-07-01 Thread Mark Wilcox
I assume CEF doesn't build the WebRTC support in the Chromium project by
default because it has extra dependencies on the audio stack. I guess
LiveCode could include such support if it wanted.

Does LiveCode plan to bundle CEF on Android? Given the built-in web view
in Android is already based on Chromium that would seem like a lot of
bloat for little gain.

For iOS it's against the App Store rules to include your own browser
engine (no downloadable code execution allowed) and not even technically
possible to ship the V8 JavaScript engine (because you can't mark memory
both writable and executable - so can't ship your own JIT compiler). As
far as I know Safari doesn't yet support WebRTC on Mac OS or iOS. Even
when it does, there's not yet any guarantee that it will have a common
video codec with other implementations because the standards people
can't agree on a mandatory one.


-- 
  Mark Wilcox
  m...@sorcery-ltd.co.uk

On Tue, Jul 1, 2014, at 02:40 AM, David Bovill wrote:
 Thanks Alejandro - I just tested and on OSX with revBrowserOpenCEF (which
 is Chrome 32) - I get a score of 472 rather than 503 for Chrome 32. It
 looks like webRTC is not available on Chrome 32 version in CEF for OSX.
 
 I'm not sure about Android and iOS versions yet?
 
 
 On 1 July 2014 00:13, Alejandro Tejada capellan2...@gmail.com wrote:
 
  According to http://html5test.com/
  this new Chromium Embedded Framework
  is identified as Chrome 31 and scores 450
  from 555 points.
 
  http://forums.livecode.com/viewtopic.php?f=89t=20501
 
 
 
  --
  View this message in context:
  http://runtime-revolution.278305.n4.nabble.com/WebRTC-support-and-Chromium-Embedded-Framework-in-LiveCode-tp4680734p4680747.html
  Sent from the Revolution - User mailing list archive at Nabble.com.
 
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: WebRTC support and Chromium Embedded Framework in LiveCode

2014-07-01 Thread David Bovill
Ah yes - I see the Chromium Embedded framework is really desktop only - I
missed that. I'd like to down what the long term strategy regards browser
controls cross mobile and desktop is.

For instance *revBrowserAddJavaScriptHandler* is for now CEF specific - is
the plan to add this to mobile platforms?


On 1 July 2014 14:08, Mark Wilcox m...@sorcery-ltd.co.uk wrote:


 For iOS it's against the App Store rules to include your own browser
 engine (no downloadable code execution allowed) and not even technically
 possible to ship the V8 JavaScript engine (because you can't mark memory
 both writable and executable - so can't ship your own JIT compiler). As
 far as I know Safari doesn't yet support WebRTC on Mac OS or iOS. Even
 when it does, there's not yet any guarantee that it will have a common
 video codec with other implementations because the standards people
 can't agree on a mandatory one.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: WebRTC support and Chromium Embedded Framework in LiveCode

2014-07-01 Thread Mark Wilcox
I'm getting the impression that the LiveCode roadmap is primarily user
demand driven, so there isn't really a long term strategy apart from
keep the platform relevant and grow the user base. :)

If you really want something relatively simple like this in the roadmap
I think pledging for the new campaign with a Premium (or maybe Pro)
license and asking them to do it sooner rather than later is the best
way forward! Alternatively it's simple enough that you could contract
someone to do it after all the refactoring is sorted for significantly
less than the cost of a Premium license.

I think the main issue with doing this for mobile platforms is backwards
compatibility. On Android the WebView completely changed (to a modern
Chromium base from an old WebKit base) in one of the recent releases
(can't remember which 4.x version) - making sure it works identically on
both might be tricky - Android has always had a simple method for doing
this though. On iOS this was only doable via fake URL load requests in
the WebView before iOS 7, then iOS 7 added an almost completely
undocumented and slightly cumbersome way of doing it properly. Now iOS 8
has added a new WKWebView with a much nicer way of doing it (and much
better JavaScript performance!).

So, it's going to be cheaper and easier to do via an external/extension
if you only care about newer platform versions but to get it into the
engine where it belongs means supporting all the platform versions that
LiveCode does.

-- 
  Mark Wilcox
  m...@sorcery-ltd.co.uk

On Tue, Jul 1, 2014, at 09:28 AM, David Bovill wrote:
 Ah yes - I see the Chromium Embedded framework is really desktop only - I
 missed that. I'd like to down what the long term strategy regards browser
 controls cross mobile and desktop is.
 
 For instance *revBrowserAddJavaScriptHandler* is for now CEF specific -
 is
 the plan to add this to mobile platforms?
 
 
 On 1 July 2014 14:08, Mark Wilcox m...@sorcery-ltd.co.uk wrote:
 
 
  For iOS it's against the App Store rules to include your own browser
  engine (no downloadable code execution allowed) and not even technically
  possible to ship the V8 JavaScript engine (because you can't mark memory
  both writable and executable - so can't ship your own JIT compiler). As
  far as I know Safari doesn't yet support WebRTC on Mac OS or iOS. Even
  when it does, there's not yet any guarantee that it will have a common
  video codec with other implementations because the standards people
  can't agree on a mandatory one.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


WebRTC support and Chromium Embedded Framework in LiveCode

2014-06-30 Thread David Bovill
Anyone tried / no if WebRTC works with the version of Chromium Embedded
Framework http://en.wikipedia.org/wiki/Chromium_Embedded_Framework (CEF)
shipping with the newer LiveCode releases? In fact anyone no what version
of CEF http://en.wikipedia.org/wiki/Chromium_Embedded_Framework is
included?

It seems the browser native real time video streaming (WebRTC
http://en.wikipedia.org/wiki/WebRTC#Support) is now supported on Android
at least since Google Chrome 28 (enabled by default since 29). Anyone
looked into this?


   - http://en.wikipedia.org/wiki/WebRTC#Support
   - http://en.wikipedia.org/wiki/Chromium_Embedded_Framework
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: WebRTC support and Chromium Embedded Framework in LiveCode

2014-06-30 Thread Alejandro Tejada
According to http://html5test.com/
this new Chromium Embedded Framework
is identified as Chrome 31 and scores 450
from 555 points.

http://forums.livecode.com/viewtopic.php?f=89t=20501



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/WebRTC-support-and-Chromium-Embedded-Framework-in-LiveCode-tp4680734p4680747.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode