Version 1/14 - Next ยป - Current version
Adrian Georgescu, 05/12/2015 12:56 pm


Project Moonshot

Adding WebRTC and video capability to SylkServer.

(Items in this list are not necessarily in order)

Add VP8 support to SIP SIMPLE Client SDK

WebRTC mandates implementing both VP8 and H264, but the H264 part is getting quite some resistance. The current state (as of 12th of May 2015) is: Chrome does not implement H264, and in Firefox it has to be manually enabled through the advanced configuration menu.

We need to add support for it to the SDK so we can transparently interoperate with WebRTC endpoints without the need for transcoding.

Apparently libvpx already has VP9 support, which is currently behind a flag in Chrome, it's probably a good idea to try to add it too.

Extend SylkServer with a web framework any application can tap into

Different applications might need to serve web content: screensharing images, conference web page, WebRTC endpoint, etc. There should be a single HTTP endpoint where applications tap into and serve content.

Example URLs:

https://conference.sip2sip.info/sylk/conference/screen-sharing/
https://conference.sip2sip.info/sylk/conference/
https://conference.sip2sip.info/sylk/webrtcgateway/

Design SylkRTC

The WebSocket API for gatewaying WebRTC endpoints to the SIP world. It needs to cover:

Phase 1

  • Registration of multiple accounts
  • Multiple sessions
  • Audio / video sessions

Phase 2

  • Chat
  • Presence
  • Contacts management

Phase 3

  • File transfer
  • Screen sharing

Implement the gateway skeleton (first alpha release)

It needs to cover:

  • Multiple accounts
  • Single session per account
  • Audio and video

Gateway phase 2

  • Chat
  • Presence
  • Contact management

Other

Random notes, thoughts, etc.

Write our own Janus SIP plugin

Based on the existing one, but using PJSIP instead. It will become clearer once we are further in the project. We'd use just the SIP signaling part, not any media capability, that's taken care of.

The SylkRTC API would not change, but it should facilitate some features such as multiple sessions per account.

Multi-party video

There is a Janus plugin for that, maybe we can leverage it. Adding support for this to our SDK is a no go, in it's current state.

Adding support for "transparent streams" (and sessions) might be required. Basically we'd need a Session which doesn't really handle media, but it takes some SDP that got passed to it and deals with it.

We'd use multiple Video streams in a single session, and some way to correlate them, probably piggibacking on what WebRTC already does with BUNDLE, for example.

I'm not sure if Janus supports simulcast. (sending one big picture and the rest as thumbnails)

Streaming

This can probably be offloaded to Janus.