Re: NPAPI plug-in use case: live video broadcast

2015-09-30 Thread Oliver Lietz
On Wednesday, September 30, 2015 at 3:26:36 AM UTC+2, Chris Pearce wrote:
> On 9/29/2015 11:46 PM, Oliver Lietz wrote:
> > Not sure how MSE plays live broadcasts, as youtube primarily is VOD. 
> > It might be possible with any kind of MPEG DASH combination. Anyway it 
> > is PLAYBACK only, not SEND BROADCASTS from the camera. 
> 
> MSE can play fragmented MP4. If your live broadcast muxes into 
> fragmented MP4, you just need a way to ensure your player is 
> receiving/requesting the most recent fragments, and appending that to 
> the MediaSource's SourceBuffers.

Our issue is doing a live broadcast from within a browser with our native 
nanoStream NPAPI plugin, not playback. 
We currently use RTMP for live streaming, as fragmented files create a longer 
latency and complexity.
Playback is up to the browser, either DASH, RTMP/Flash (yes!), HLS or other 
protocols supported by the streaming server.
These use cases are widely used, and it seems difficult to solve when NPAPI is 
switched off, without any native plugin alternative, except moving back to 
native apps.
What is the mozilla plan for supporting native extensions in the future, 
similar to Chrome extensions (native messaging) ?
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: NPAPI plug-in use case: live video broadcast

2015-09-29 Thread Oliver Lietz
On Saturday, September 26, 2015 at 3:07:03 AM UTC+2, Jonas Sicking wrote:
> On Sep 26, 2015 09:33, "Eric Rescorla" <e...@rtfm.com> wrote:
> >
> > On Fri, Sep 25, 2015 at 3:20 PM, <li...@nanocosmos.de> wrote:
> >
> > > On Saturday, September 19, 2015 at 8:15:50 PM UTC+2, Eric Rescorla
> wrote:
> > > > On Sat, Sep 19, 2015 at 11:09 AM, Oliver Lietz <oli...@gmail.com>
> wrote:
> > > >
> > > > > Hi,
> > > > > our nanoStream plugin supports live encoding and streaming with
> > > > > h264/aac/rtmp from live camera sources and capture devices.
> > > > > We needed to replace this with a native extension on Chrome.
> > > > > WebRTC is a possible future option but not a suitable replacement
> for
> > > all
> > > > > use cases.
> > > > >
> > > >
> > > > One or both of WebRTC and MSE is intended to cover precisely these
> > > > use cases. What are they missing here?
> > > >
> > > > -Ekr
> > > >
> > > >
> > > > NPAPI stills works on Firefox, but how long will it remain?
> > > > > What options do we have in the future for implementing native
> > > extensions?
> > > > > Thanks, Oliver
> > > > > ___
> > > > > dev-platform mailing list
> > > > > dev-platform@lists.mozilla.org
> > > > > https://lists.mozilla.org/listinfo/dev-platform
> > > > >
> > >
> > > MSE is playback only, so no option for live broadcast.
> 
> MSE can be used to play live broadcast. I'm willing to bet that that is
> what YouTube uses for their live broadcast support.
> 
> / Jonas

Not sure how MSE plays live broadcasts, as youtube primarily is VOD.
It might be possible with any kind of MPEG DASH combination.
Anyway it is PLAYBACK only, not SEND BROADCASTS from the camera.

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: NPAPI plug-in use case: live video broadcast

2015-09-29 Thread Oliver Lietz

> 
> 
> Firefox WebRTC supports H.264.
Yes but only Baseline profile and not with high quality.
Focus is for WebRTC, not for streaming.
Broadcast quality encoding requires more than just enabling h264,
it requires specific access on encoding features and algorithms.
(I/P/Keyframe structure, profile/level, bitrate control, ...)
Furthermore there might be specific capture devices which need
special driver support (e.g. Blackmagic)

> 
> In any case, this is the set of use cases WebRTC is intended to support and 
> so the right direction to be going is to work with WebRTC 
> (potentially helping us
> enhance WebRTC to support your applications) rather than doubling
> down on NPAPI.
> 
> -Ekr

We are working with WebRTC and it has it's good use cases.
However it would not replace a complete live broadcast architecture
(at least not yet) without adding a server component which makes
the whole setup much more complicated.
At the moment we can directly send live streams to CDN like Akamai
with highest possible H264 quality.
This is definitely not possible with WebRTC.

What would "helping us" mean for you, and how can we do this?
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: NPAPI plug-in use case: live video broadcast

2015-09-25 Thread lietz
On Saturday, September 19, 2015 at 8:15:50 PM UTC+2, Eric Rescorla wrote:
> On Sat, Sep 19, 2015 at 11:09 AM, Oliver Lietz <oli...@gmail.com> wrote:
> 
> > Hi,
> > our nanoStream plugin supports live encoding and streaming with
> > h264/aac/rtmp from live camera sources and capture devices.
> > We needed to replace this with a native extension on Chrome.
> > WebRTC is a possible future option but not a suitable replacement for all
> > use cases.
> >
> 
> One or both of WebRTC and MSE is intended to cover precisely these
> use cases. What are they missing here?
> 
> -Ekr
> 
> 
> NPAPI stills works on Firefox, but how long will it remain?
> > What options do we have in the future for implementing native extensions?
> > Thanks, Oliver
> > ___
> > dev-platform mailing list
> > dev-platform@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-platform
> >

MSE is playback only, so no option for live broadcast.
WebRTC is VP9 and a peer protocol (RTP) not compatible to existing streaming 
environments (RTMP, HLS). It requires a proxy/transcoder. It also does not 
allow local recording in mp4 properly, and the codec details cannot be 
accessed. Many other features lacking which would be possible in native 
capture/encoding/streaming code.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


NPAPI plug-in use case: live video broadcast

2015-09-19 Thread Oliver Lietz
Hi,
our nanoStream plugin supports live encoding and streaming with h264/aac/rtmp 
from live camera sources and capture devices.
We needed to replace this with a native extension on Chrome.
WebRTC is a possible future option but not a suitable replacement for all use 
cases.
NPAPI stills works on Firefox, but how long will it remain?
What options do we have in the future for implementing native extensions?
Thanks, Oliver
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform