-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
options.html
73 lines (73 loc) · 3.54 KB
/
options.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html ng-app="SIPOptions">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="css/angular-csp.css">
<link rel="stylesheet" type="text/css" href="css/options.css">
<title>Chrome SIP Client Options</title>
</head>
<body>
<form ng-controller="SIPOptionsCtrl" ng-submit="submit()">
<button type="button" ng-click="grabMedia()">Check Media Permissions</button>
<fieldset>
<legend>Basic Options</legend>
<div>
<label for="realm">Realm:</label>
<input type="text" id="realm" name="realm" ng-model="options.realm" placeholder="example.com">
</div>
<div>
<label for="impi">Private Identifier:</label>
<input type="text" id="impi" name="impi" ng-model="options.impi" placeholder="user">
</div>
<div>
<label for="impu">Public Identifier:</label>
<input type="text" id="impu" name="impu" ng-model="options.impu" placeholder="sip:user@example.com">
</div>
<div>
<label for="password">Password:</label>
<input type="password" id="password" name="password" ng-model="options.password">
</div>
<div>
<label for="display_name">Display Name:</label>
<input type="text" id="display_name" name="display_name" ng-model="options.display_name" placeholder="First Last">
</div>
</fieldset>
<fieldset>
<legend>Advanced Options</legend>
<div>
<label for="websocket_proxy_url">WebSocket Proxy:</label>
<input type="text" id="websocket_proxy_url" name="websocket_proxy_url" ng-model="options.websocket_proxy_url">
</div>
<div>
<label for="outbound_proxy_url">Outbound Proxy:</label>
<input type="text" id="outbound_proxy_url" name="outbound_proxy_url" ng-model="options.outbound_proxy_url">
</div>
<div>
<label for="enable_webrtc_breaker">RTCWeb Breaker:</label>
<input type="checkbox" id="enable_rtcweb_breaker" name="enable_rtcweb_breaker" ng-model="options.enable_rtcweb_breaker">
</div>
<div>
<label for="enable_early_ims">Enable Early IMS:</label>
<input type="checkbox" id="enable_early_ims" name="enable_early_ims" ng-model="options.enable_early_ims">
</div>
<div>
<label for="enable_media_stream_cache">Enable Media Stream Cache:</label>
<input type="checkbox" id="enable_media_stream_cache" name="enable_media_stream_cache" ng-model="options.enable_media_stream_cache">
</div>
<fieldset>
<legend>ICE Servers <button type="button" ng-click="addICEServer()">+</button>
</legend>
<div id="ice_list" ng-repeat="server in options.ice_servers">
<input type="text" name="ice_servers_url" ng-model="server.url">
<button type="button" ng-click="removeICEServer($index)">×</button>
</div>
</fieldset>
</fieldset>
<button type="submit">Save</button>
</form>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/angular.js"></script>
<script type="text/javascript" src="js/options.js"></script>
</body>
</html>