Prevent SimpleWebRTC from creating a video element if none was given
When no element is given "attachMediaStream()" creates and returns a new
element with the stream attached to it. If no element is given
SimpleWebRTC does not use the returned element, so there is no need to
initialize it.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Loading
Please register or sign in to comment