Last active
June 30, 2020 04:58
-
-
Save kellyjandrews/53c4772dc742ce1b84c40e3fa6669c6e to your computer and use it in GitHub Desktop.
Revisions
-
kellyjandrews revised this gist
Jun 30, 2020 . No changes.There are no files selected for viewing
-
kellyjandrews revised this gist
Jun 30, 2020 . 1 changed file with 0 additions and 16 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -41,22 +41,6 @@ const video = Machine({ }, 'publisher': { id: 'publisher', } }, on: { -
kellyjandrews revised this gist
Jun 30, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const video = Machine({ 'init': { id: 'init', on: { 'VIDEO_ELEMENT_CREATED': { target: 'ready', cond: 'checkToken' } -
kellyjandrews revised this gist
Jun 30, 2020 . No changes.There are no files selected for viewing
-
kellyjandrews revised this gist
Jun 30, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -66,6 +66,6 @@ const video = Machine({ } },{ guards: { checkToken: () => true } }); -
kellyjandrews revised this gist
Jun 30, 2020 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const video = Machine({ on: { 'READY': { target: 'ready', cond: 'checkToken' } } }, @@ -64,4 +64,8 @@ const video = Machine({ } } } },{ guards: { checkToken: true } }); -
kellyjandrews revised this gist
Jun 30, 2020 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,7 +15,10 @@ const video = Machine({ 'init': { id: 'init', on: { 'READY': { target: 'ready', cond: 'true' } } }, 'ready': { -
kellyjandrews revised this gist
Jun 30, 2020 . 1 changed file with 10 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -43,7 +43,16 @@ const video = Machine({ id: 'screenShare', initial: 'idle', states: { 'idle': { on: { 'SHARE': 'active' } }, 'active': { on: { 'STOP_SHARE': 'idle' } } } } }, -
kellyjandrews revised this gist
Jun 29, 2020 . 1 changed file with 0 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,6 @@ const video = Machine({ id: 'video', initial: 'disconnected', states: { disconnected: { id: 'disconnected', -
kellyjandrews revised this gist
Jun 29, 2020 . 1 changed file with 0 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -59,7 +59,4 @@ const video = Machine({ } } } }); -
kellyjandrews revised this gist
Jun 29, 2020 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -21,7 +21,6 @@ const video = Machine({ }, 'init': { id: 'init', on: { 'READY': 'ready' } -
kellyjandrews revised this gist
Jun 29, 2020 . 1 changed file with 11 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,13 @@ const video = Machine({ id: 'video', initial: 'disconnected', context: { session: null, token: null, publisher: null, subscribers: null, screenShare: null }, states: { disconnected: { id: 'disconnected', @@ -14,6 +21,7 @@ const video = Machine({ }, 'init': { id: 'init', on: { 'READY': 'ready' } @@ -52,4 +60,7 @@ const video = Machine({ } } } }, { actions: {}, services: {} }); -
kellyjandrews revised this gist
Jun 29, 2020 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -46,6 +46,9 @@ const video = Machine({ 'idle': {} } } }, on: { 'DISCONNECT': '#disconnected' } } } -
kellyjandrews revised this gist
Jun 29, 2020 . 1 changed file with 16 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -30,9 +30,22 @@ const video = Machine({ id: 'connected', type: 'parallel', states: { 'session': { id: 'session', }, 'subscriber': { id: 'subscriber', }, 'publisher': { id: 'publisher', }, 'screenShare': { id: 'screenShare', initial: 'idle', states: { 'idle': {} } } } } } -
kellyjandrews revised this gist
Jun 29, 2020 . 1 changed file with 22 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,16 +6,33 @@ const video = Machine({ id: 'disconnected', initial: 'idle', states: { 'idle': { id: 'idle', on: { 'START': 'init' } }, 'init': { id: 'init', on: { 'READY': 'ready' } }, 'ready': { id: 'ready', on: { 'CONNECT': '#connected' } } } }, connected: { id: 'connected', type: 'parallel', states: { 'subscribers': {}, 'publisher': {}, 'screenShare': {} } } } -
kellyjandrews created this gist
Jun 29, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ const video = Machine({ id: 'video', initial: 'disconnected', states: { disconnected: { id: 'disconnected', initial: 'idle', states: { 'idle': {}, 'init': {}, 'ready': {} } }, connected: { type: 'parallel', states: { 'published': {}, 'sharing': {} } } } });