Use webrtc browser

This commit is contained in:
dmohanty-r7
2017-06-05 01:57:19 -05:00
parent 56b3b0e00d
commit d2cccae2a1
@@ -118,8 +118,8 @@ module Rex
client.mic.mic_stop(index)
end
def cmd_listen(stream_path, player_path="/Applications/VLC.app/Contents/MacOS/VLC")
system("#{player_path} #{stream_path} &")
def cmd_listen(stream_path)
Rex::Compat.open_webrtc_browser("file://#{::File.absolute_path(stream_path)}")
end
end
end