Class media_stream
Class defined in:public/src/media_stream.js:18
Class for media streaming applications, no block streaming
draw
( date
)
public/src/media_stream.js:118
Draw function
Parameters:-
date
<Date>current time from the server
event
( eventType, position, user_id, data, date
)
public/src/media_stream.js:141
Handles event processing for the app
Parameters:init
( data
)
public/src/media_stream.js:25
Init method, creates a 'img' tag in the DOM
Parameters:-
data
<Object>contains initialization values (id, width, height, ...)
resize
( date
)
public/src/media_stream.js:132
After resize
Parameters:-
date
<Date>current time from the server