<commit_before><html>
<head>
<title>WebRTC Streamer</title>
<link rel="icon" type="image/png" href="webrtc.png" />
<link rel="stylesheet" type="text/css" href="styles.css">
<script src="libs/request.min.js" ></script>
<script src="sendrequest.js" ></script>
<script src="webrtcstreamer.js" ></script>
<script>
	// ------------------------------------------
	// WebRTC connections
	// ------------------------------------------	
	var webRtcServerList = {};

	// ------------------------------------------
	// decode URL arguments
	// ------------------------------------------	
	var argurl = { video:location.search.slice(1) };
	var argoptions = "rtptransport=tcp";
	var layout = null;
	if (typeof URLSearchParams != 'undefined') {
		var params = new URLSearchParams(location.search.slice(1));
		argurl = { video:params.get("video"), audio:params.get("audio") };
		argoptions = params.get("options");
		layout = params.get("layout");
	} else {
		console.log("URLSearchParams not supported then no argument could be used");
	}
		
	// ------------------------------------------
	// get text from url object (video,audio)
	// ------------------------------------------	
	function getText(url) {
		var text;
		if (url.video) {
			text = url.video + " ";
		}
		if (url.audio) {
			text += url.audio + " ";
		}<commit_msg>change default options for connection<commit_after><html>
<head>
<title>WebRTC Streamer</title>
<link rel="icon" type="image/png" href="webrtc.png" />
<link rel="stylesheet" type="text/css" href="styles.css">
<script src="libs/request.min.js" ></script>
<script src="sendrequest.js" ></script>
<script src="webrtcstreamer.js" ></script>
<script>
	// ------------------------------------------
	// WebRTC connections
	// ------------------------------------------	
	var webRtcServerList = {};

	// ------------------------------------------
	// decode URL arguments
	// ------------------------------------------	
	var argurl = { video:location.search.slice(1) };
	var argoptions = null;
	var layout = null;
	if (typeof URLSearchParams != 'undefined') {
		var params = new URLSearchParams(location.search.slice(1));
		argurl = { video:params.get("video"), audio:params.get("audio") };
		argoptions = params.get("options");
		if (!argoptions) {
			argoptions = "rtptransport=tcp&timeout=60"
		}
		layout = params.get("layout");
	} else {
		console.log("URLSearchParams not supported then no argument could be used");
	}
		
	// ------------------------------------------
	// get text from url object (video,audio)
	// ------------------------------------------	
	function getText(url) {
		var text;
		if (url.video) {
			text = url.video + " ";
		}
		if (url.audio) {
			text += url.audio + " ";
		}
{'fraction_non_alphanumeric': 0.33124308373293987, 'fraction_numerical': 0.0022132054592401327, 'mean_word_length': 1.8045501551189245, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2077670', 'n_tokens_mistral': 828, 'n_tokens_neox': 785, 'n_words': 170}