Project

General

Profile

Moonshot » History » Version 4

Adrian Georgescu, 05/13/2015 02:41 AM

1 3 Adrian Georgescu
h1. Project Moonshot (a.k.a. WebSylk)
2 1 Adrian Georgescu
3 4 Adrian Georgescu
Adding WebRTC and video capability to SylkServer. This will allow anyone with basic computer knowledge to setup a zero-configuration meeting point that can be used to join a multi-party conference using standards-based clients like SIP, XMPP, IRC and and Web-browsers.
4 1 Adrian Georgescu
5
(Items in this list are not necessarily in order)
6
7
h2. Add VP8 support to SIP SIMPLE Client SDK
8
9
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.
10
11
We need to add support for it to the SDK so we can transparently interoperate with WebRTC endpoints without the need for transcoding.
12
13
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.
14
15 4 Adrian Georgescu
h2. 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(S) endpoint where applications tap into and serve content.
16 1 Adrian Georgescu
17
Example URLs:
18
19
https://conference.sip2sip.info/sylk/conference/screen-sharing/
20
https://conference.sip2sip.info/sylk/conference/
21
https://conference.sip2sip.info/sylk/webrtcgateway/
22
23
24
h2. Design SylkRTC
25
26
The WebSocket API for gatewaying WebRTC endpoints to the SIP world. It needs to cover:
27
28
h3. Phase 1
29
30
* Registration of multiple accounts
31
* Multiple sessions
32
* Audio / video sessions
33
34
h3. Phase 2
35
36
* Chat
37
* Presence
38
* Contacts management
39
40
h3. Phase 3
41
42
* File transfer
43
* Screen sharing
44
45
46
h2. Implement the gateway skeleton (first alpha release)
47
48
It needs to cover:
49
50
* Multiple accounts
51
* Single session per account
52
* Audio and video
53
54
55
h2. Gateway phase 2
56
57
* Chat
58
* Presence
59
* Contact management
60
61
62
h1. Other
63
64
Random notes, thoughts, etc.
65
66
67
h2. Write our own Janus SIP plugin
68
69
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.
70
71
The SylkRTC API would not change, but it should facilitate some features such as multiple sessions per account.
72
73
h2. Multi-party video
74
75
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.
76
77
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.
78
79
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.
80
81
I'm not sure if Janus supports simulcast. (sending one big picture and the rest as thumbnails)
82
83
84
h2. Streaming
85
86
This can probably be offloaded to Janus.