Skip to content

Commit 0c80eaf

Browse files
author
Poule Dodue
authored
Quickstart
Quickstart for those who know nothing about Flutter
1 parent 52b7c88 commit 0c80eaf

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,37 @@ A dart-lang version of the SIP UA stack, ported from [JsSIP](https://github.com/
1616
- [ ] Windows
1717
- [ ] Fuchsia
1818

19+
## Quickstart for Web platform
20+
- [Install Flutter](https://flutter.dev/docs/get-started/install)
21+
- Verify the install:
22+
```
23+
flutter doctor
24+
```
25+
- Run:
26+
```
27+
flutter channel beta
28+
flutter upgrade
29+
flutter config --enable-web
30+
git clone https://github.com/cloudwebrtc/dart-sip-ua.git
31+
cd dart-sip-ua/example
32+
flutter create .
33+
flutter pub get
34+
flutter run -d chrome
35+
```
36+
Application should have loaded in Chrome.
37+
38+
Register with SIP server:
39+
40+
In the application, enter connexion settings by clicking the top-right hamburger menu, then click `Accounts`
41+
- Click `Register`
42+
- If registration is ok, it should say `Status: Registered` at the top
43+
- If it fails to register, open Chrome Dev tools and looks for errors in the Javascript Console.
44+
45+
Calling:
46+
- Once registered, click the top-left `Back Arrow` to return to keypad.
47+
- Enter a phone number
48+
- Click the green phone icone
49+
1950
## NOTE
2051
Thanks to the original authors of [JsSIP](https://github.com/versatica/JsSIP) for providing the JS version, which makes it possible to port the [dart-lang](https://dart.dev).
2152
- [José Luis Millán](https://github.com/jmillan)

0 commit comments

Comments
 (0)