Comparative Study of Audio and Video Chat Application Over The Internet
Comparative Study of Audio and Video Chat Application Over The Internet
2) H.225.0
3) H.245
4) MEDIA CODEC
252
Authorized licensed use limited to: ULAKBIM-UASL - Abant Izzet Baysal Univ Library. Downloaded on November 18,2023 at 17:20:02 UTC from IEEE Xplore. Restrictions apply.
– Media Stream: It allows browser to use camera and the video packet and error-concealment to reduce the
microphone of the user system. effect of packet loss and jitter.
– RTC Peer Communication: It is responsible for
establishing VoIP calls. C. ACOUSTIC ECHO CANCELLER (AEC)
– RTC Data Channel: It allows to send data via peer-to- Acoustic Echo Canceller (AEC) [10, 11] is used to
peer connections. remove echo from the data signals to provide good
quality speech. Different algorithms are used to filter out
Since WebRTC uses browser to perform audio/video
the noise signals from the digital data. This system also
communication, it needs to access the system hardware
reduce the background noise and enhance the voice
(Camera and Microphone) to capture audio/video streams.
quality. Good AEC system pro- vides high crystal clarity
Captured streams need to be processed to enhance the
audio under different noisy environment Figure 8.
quality by re- moving noise and echo cancellation, bit rate
Acoustic echo canceller system receive
must be able to adjust with variable bandwidth and latency
between users.
253
Authorized licensed use limited to: ULAKBIM-UASL - Abant Izzet Baysal Univ Library. Downloaded on November 18,2023 at 17:20:02 UTC from IEEE Xplore. Restrictions apply.
for computation or have some complex logical computation 2: Root the phone: I have used SuperSU v2.49 for
working iteratively. It process the signals in real time. It tries rooting my phone. Any method can be used to
to find out the output signal from the input signal. Its root the phone
parameters are adjusted to make relationship between input 3: Now install BusyBox, Terminal Emulator, and VoIP
signal and output signal. Cost minimization and minimum apps (Only one VoIP app at a time for the
error is done by adjusting the filter function on next experiment).
iteration. Where k is the sample number, x is the reference 4: Now download the tcpdump file from the internet.
input, X is the set of recent value of x, d is the desired 5: Open the Terminal Emulator application and type
input, W is the filter coefficient, E is the error, f is the filter the following commands:
response, upper rectangle is for linear filter and lower – su
rectangle for adaption algorithm Figure 9. – mount -o remount, rw /system
6: Now remove any tcpdump file present at location
/sys- tem/xbin with following command:
II. METHODOLOGY
– cd /system/xbin
For the purpose of this study following are the requirements:
1. Two Android smart phones – rm tcpdump
2. Internet hotspot (Wi-Fi) and a router (to control band- 7: Now copy the tcpdump file from download location
width) to
3. Wireshark and Steel Central Packet Analyzer /system/xbin with following command:
4. MATLAB – cp /sdcard/tcpdump /system/xbin
– chmod 777 tcpdump
8: Now open the installed VoIP app on both phones
A. EXPERIMENT SETUP and login via with phone number
For the purpose of experiment any one of the Android smart- 9: Check for VoIP communication by making a VoIP
phone is rooted. The whole experimental setup is shown in call. If call is successful disconnect the call. If any
Figure 3. Rooted phone is used for sniffing the network error occur check for the solution.
traffic with the help of tcpdump. Wi-Fi router is used so that 10: Make sure that all other apps are restricted from
both the phone uses the same bandwidth. Router is access- ing the internet to avoid any bandwidth
configured as shown in Table 2. After configuring the setup sharing among various apps.
VoIP 11: Now back to Terminal Emulator and type the
Table 2 Bandwidth Control Rules following command to start capturing the traffic
– tcpdump nnvvSXs 0 w /sdcard/t
Egress Ingress file.pcap 12: Start the VoIP communication
Bandwidth(Kbps) Bandwidth(Kbps) 13: After the communication is done stop the tcpdump
Description M Mi Ma
Min ax n x with command: volume key + z
User 1 2 10 2 100 14: This process is repeated for all the VoIP applications.
0
User 2 2 10 2 100 After analyzing the existing VoIP application it is
0
Network 204 204 found that echo is the main problem for quality of the
8 8 VoIP calls so following steps are followed:
– Echo cancellation code is developed with the help
app was run on both the phone and communication was of MATLAB.
esbablished. For all apps network traffic was captured by – The code is then converted in to jar package.
the phone in pcap format. Other apps on the phone have – Android application (My Video) is developed and
been restricted to established network connection to avoid jar package is integrated in it that gives provide
any bandwidth use. The captured file was analyzed with the VoIP calls support.
help of Wireshark and SteelCentral Packet Analyzer. – After the successful development of the
Based on the obtain traffic we draw graphs with the help of application the application is again tested as
MATLAB. discussed in section 2.1.1.
– Generated results are compared to see whether
B. EXPERIMENT PROCESS enhance- ment has been made or not which is
To perform this experiment two Android smart phones
discussed in section 3.
with Android version 5.1 was used. Step by step process for
per- forming this experiment is discussed below: III. RESULTS AND DISCUSSION
One by one VoIP app was used for the communication
1: Reset your both phones and their network traffic was captured in a pcap format.
To analyze the pcap file Wireshark and SteelCentral
Packet Analyzer is used.
254
Authorized licensed use limited to: ULAKBIM-UASL - Abant Izzet Baysal Univ Library. Downloaded on November 18,2023 at 17:20:02 UTC from IEEE Xplore. Restrictions apply.
The obtained data was saved in excel and then used for
generating graphs with the help of MATLAB. Bandwidth,
and packet loss was analyzed for the existing android
application as well as developed application.
B. PACKET LOSS
Since VoIP applications are using UDP protocol there is no be measured for packet loss analysis so packet loss
acknowledgement and no retransmission of packets that can analysis has been done using identification (ip.id) as
each packet that
255
Authorized licensed use limited to: ULAKBIM-UASL - Abant Izzet Baysal Univ Library. Downloaded on November 18,2023 at 17:20:02 UTC from IEEE Xplore. Restrictions apply.
cations are measured and is given in Table 3. Packet Loss
comparison shows that Imo application suffers most in the
given test condition as it occurs 87.85% packet loss, Google
Duo with 11.49%, Skype with 7.34%, and My Video with
6.32% packet loss respectively.
IV. CONCLUSION
REFERENCES
[1] AT&T Picturephone. URL http://atwiki.assistivetech
net/index.php/Videophone
[2] Getting Started—WebRTC. URL https://webrtc.org
[3] VoIP: Voice Over Internet Protocol Architecture and Features.
[4] WebRTC Tutorial. URL http://www.tutorialspoint.com/
webrtc/index.htm
[5] Alexander Gramham Bell Quote (1927). URL
https://books.google.co.in/books?id=SdIABAAAQBAJ{&}pg
Figure 17 My Video Packets over Time =PA50{&}dq=the+day+would+come+when+the+man+at+the
+telephone+would+be+able+to+see+the+distant+person+to+
whom+he+was+speaking+article+in+new+york+times{&}hl=
en{&}sa=X{&}ved=0ahUKEwitwpC-
pass through network has unique ip.id. Any missing ip.id is 5tfQAhWLN48KHdYDBO0Q6AEIGzAA
the cause of packet loss. Packet loss for all the VoIP appli [6] Daengsi, T., Wuttidittachotti, P., Wutiwiwatchai, C.,
Preechayasomboon,A., Sukparungsee, S.: Voip quality of
experience: Aproposed subjective mos estimation model
based-on thai users.In: Ubiquitous and Future Networks
(ICUFN), 2013 Fifth InternationalConference on, pp. 407–
412. IEEE (2013)
256
Authorized licensed use limited to: ULAKBIM-UASL - Abant Izzet Baysal Univ Library. Downloaded on November 18,2023 at 17:20:02 UTC from IEEE Xplore. Restrictions apply.
[7] Daldal, B., Bilgin, I., Basaran, D., Metin, S.: Using web
services for webrtc signaling interoperability. In: Network
Operations and Management Symposium (NOMS), 2016
IEEE/IFIP, pp. 780– 783. IEEE (2016)
[8] Forouzan, B.A.: Data Communications and Networking,
fourth edi edn. McGraw-Hill
[9] Johnston, A., Yoakum, J., Singh, K.: Taking on webRTC in
anenterprise. IEEE Communications Magazine 51(4), 48–54
(2013)
[10] Kadam, P.P., Saquib, Z., Lahane, A.: Adaptive echo
cancellation in voip network. In: Engineering and Technology
(ICETECH), 2016 IEEE International Conference on, pp.
295–299. IEEE (2016)
[11] Madhavi, T., Krishna, B.H., Kanth, L.P.: A novel approach
forvoice quality enhancement for voip applications using dsp
processor.In: Electrical, Electronics, and Optimization
Techniques(ICEEOT), International Conference on, pp. 4946–
4951. IEEE(2016)
[12] Sharma, I., Mehra, R., Singh, M.: Adaptive filter design for
ecgnoise reduction using lms algorithm. In: Reliability,
InfocomTechnologies and Optimization (ICRITO)(Trends and
Future Directions),2015 4th International Conference on, pp.
1–6. IEEE(2015)
[13] Sredojev, B., Samardzija, D., Posarac, D.: Webrtc
technologyoverview and signaling solution design and
implementation. In:Information and Communication
Technology, Electronics and Microelectronics (MIPRO), 2015
38th International Convention on, pp. 1006–1009. IEEE
(2015)
[14] Zheng, Z., Liu, Z., Zhao, H., Yu, Y., Lu, L.: Robust Set-
Membership Normalized Subband Adaptive Filtering
Algorithms and Their Application to Acoustic Echo
Cancellation. IEEE Transactions on Circuits and Systems I:
Regular Papers (2017)
257
Authorized licensed use limited to: ULAKBIM-UASL - Abant Izzet Baysal Univ Library. Downloaded on November 18,2023 at 17:20:02 UTC from IEEE Xplore. Restrictions apply.