┌──────────────────────────────────────────────────┬────────────────────────────────────────────────────┐
│Patient App │ Dr App │
└──────────────────────────────────────────────────┴────────────────────────────────────────────────────┘
CallActivity —————————————————————————————————————————————————————————▶︎ Incoming Activity
│
┌───────────────────────────────────────────────┐ │
And then print:
print box
# =>
# ┌───────────────────────┐
# │ │
# │ │
# │ │
# │ Drawing a box in │
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/ | |
// APIManager.swift | |
// iOSDuComm | |
// | |
// Created by Sufian on 20/6/19. | |
// Copyright © 2019 Abu Sufian. All rights reserved. | |
// | |
import UIKit | |
import Alamofire |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⎡‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾⎤ | |
⎢ Peer to Peer Connection ⎥ | |
⎣__________________________⎦ | |
_______________________________________________________________________ | |
Patient App | Dr App | |
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ | |
CallActivity ————————————————————————————————▶︎ Incoming Activity | |
│ | |
▼ | |
Accept Call |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####################################Doctor App ############################################################# | |
2020-03-31 12:26:09.171 32560-2012/com.doctordekhao.doctor D/SocketIo: Socket Connected | |
2020-03-31 12:26:09.171 32560-2012/com.doctordekhao.doctor D/SocketIo: Socket ID: PkvPBHzvc_e8SMLuASns | |
2020-03-31 12:26:09.410 32560-2017/com.doctordekhao.doctor D/SocketIo: Socket Reconnect | |
2020-03-31 12:26:09.414 32560-2017/com.doctordekhao.doctor D/SocketIo: Socket Connected | |
2020-03-31 12:26:09.414 32560-2017/com.doctordekhao.doctor D/SocketIo: Socket ID: njM3yhbWcDLUqUU-ASoa | |
2020-03-31 12:26:09.536 32560-2020/com.doctordekhao.doctor D/SocketIo: Socket Reconnect | |
2020-03-31 12:26:09.539 32560-2020/com.doctordekhao.doctor D/SocketIo: Socket Connected | |
2020-03-31 12:26:09.539 32560-2020/com.doctordekhao.doctor D/SocketIo: Socket ID: njM3yhbWcDLUqUU-ASoa | |
2020-03-31 12:26:10.907 32560-2022/com.doctordekhao.doctor D/SocketIo: Socket Disconnected |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CallStatus Related Problem | |
Patient app | Dr App | |
—————————————————————————————————————————————————————————— | |
1. Create Call ————————————————————> No Incoming Call | |
Time Out | |
Show Network Error Dialog | |
2. Create Call ————————————————————> Not Accept Call |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Call Establishment Problem | |
——————————————————————————— | |
Patient App Dr App | |
——————————————————————————————————————————————————————————————————————— | |
CallActivity ———————————————————————————————> Incoming Activity | |
| | |
Accept Call | |
| | |
Call Activity Open | |
| |
NewerOlder