class Room

Defined in:

room.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String, key : String, persist : Bool = false) #

[View source]

Instance Method Detail

def client_join(raw_ws : HTTP::WebSocket) #

[View source]
def client_send(cmd, *args) #

[View source]
def client_streamfix_send(cmd, *args) #

[View source]
def close #

[View source]
def closed? : Bool #

[View source]
def handle_host_message(message : String) #

[View source]
def host_join(raw_ws : HTTP::WebSocket) #

[View source]
def id : String #

[View source]
def key : String #

[View source]
def mark_update #

[View source]
def persist? : Bool #

[View source]
def status #

[View source]
def stream : Video | Nil #

[View source]
def timeout_check #

[View source]
def update_key(key) #

[View source]
def video : Video | Nil #

[View source]
def video_paused? : Bool #

[View source]