add webcam viewer

This commit is contained in:
Seth Call 2015-07-02 11:02:14 -05:00
parent 6f9d6c2fb5
commit c96a19d1b4
3 changed files with 9 additions and 1 deletions

View File

@ -18,6 +18,7 @@
//= require ga
//= require utils
//= require playbackControls
//= require webcam_viewer
//= require react
//= require react_ujs
//= require react-init

View File

@ -69,7 +69,10 @@ MixerActions = @MixerActions
componentDidMount: () ->
context.jamClient.SessionSetUserName(this.props.participant.client_id, this.props.name)
if this.props.participant.client_id?
context.jamClient.SessionSetUserName(this.props.participant.client_id, this.props.name)
else
logger.error("no participant client ID")
$root = $(this.getDOMNode())
$mute = $root.find('.track-icon-mute')

View File

@ -319,6 +319,10 @@ $session-screen-divider: 1415px;
text-decoration: none;
font-size:12px;
margin-left:5px;
&:hover {
text-decoration:underline;
}
}
}
}