Skip to content

Instantly share code, notes, and snippets.

View svagionitis's full-sized avatar

stavros vagionitis svagionitis

View GitHub Profile
title Set mute
participant JavaScript
participant WebKitPlayer
participant IrisPlayer
note right of WebKitPlayer: readyState >= HAVE_METADATA
JavaScript ->+ WebKitPlayer: muted(true)
WebKitPlayer ->+ IrisPlayer: sesnSetAudioMute(true)
IrisPlayer -->- WebKitPlayer:
title Set volume
participant JavaScript
participant WebKitPlayer
participant IrisPlayer
note right of WebKitPlayer: readyState >= HAVE_METADATA
JavaScript ->+ WebKitPlayer: volume()
WebKitPlayer ->+ IrisPlayer: sesnSetAudioVol()
@svagionitis
svagionitis / Pause.wsd
Last active December 17, 2015 17:09
Pause
title Pause
participant JavaScript
participant WebKitPlayer
participant IrisPlayer
note right of WebKitPlayer:
networkState: NETWORK_LOADING
readyState: HAVE_ENOUGH_DATA
end note
@svagionitis
svagionitis / Seeking.wsd
Last active December 17, 2015 16:19
Seeking
title Seeking
participant JavaScript
participant WebKitPlayer
participant IrisPlayer
note right of WebKitPlayer:
networkState: NETWORK_LOADING
readyState: HAVE_ENOUGH_DATA
end note
JavaScript ->+ WebKitPlayer: play()
WebKitPlayer -> IrisPlayer: sesnStart()
@svagionitis
svagionitis / PlaybackNoErrorsHLSOrOtherNetworkBasedSource.wsd
Last active December 17, 2015 16:09
Playback - No errors - HLS or other network based source
title Playback - No errors - HLS or other network based source
participant JavaScript
participant WebKitPlayer
participant IrisPlayer
note right of WebKitPlayer:
networkState: NETWORK_IDLE
readyState: HAVE_ENOUGH_DATA
end note
@svagionitis
svagionitis / .gitignore_global
Created May 14, 2013 13:55
Dot file .gitignore_global
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@svagionitis
svagionitis / .gdbinit
Created May 14, 2013 13:54
Dot file .gdbinit
set history filename ~/.gdb_history
set history save
@svagionitis
svagionitis / .vimrc
Last active December 17, 2015 07:39
Dot file .vimrc
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Maintainer:
" Amir Salihefendic
" http://amix.dk - [email protected]
"
" Version:
" 5.0 - 29/05/12 15:43:36
"
" Blog_post:
" http://amix.dk/blog/post/19691#The-ultimate-Vim-configuration-on-Github
@svagionitis
svagionitis / .gitconfig
Last active December 17, 2015 06:39
Dot files .gitconfig
# Reference https://github.com/durdn/cfg/blob/master/.gitconfig
# Dave's dot file
[color]
ui = auto
[color "branch"]
current = red reverse
local = blue
remote = green
[color "diff"]
meta = yellow bold
@svagionitis
svagionitis / .bashrc
Last active December 17, 2015 06:39
Dot files .bashrc Ubuntu 11.10/12.04 64bit
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace