QSMVM: QoS-Aware and Social-Aware Multimetric Routing Protocol for Video-Streaming Services over MANETS

A mobile ad hoc network (MANET) is a set of autonomous mobile devices connected by wireless links in a distributed manner and without a fixed infrastructure. Real-time multimedia services, such as video-streaming over MANETs, offers very promising applications, e.g., two members of a group of tourists who want to share a video transmitted through the MANET they form, a video-streaming service deployed over a MANET where users watch a film, among other examples. On the other hand, social web technologies, where people actively interact online with others through social networks, are leading to a socialization of networks. Information of interaction among users is being used to provide socially-enhanced software. To achieve this, we need to know the strength of the relationship between a given user and each user they interact with. This strength of the relationship can be measured through a concept called tie strength (TS), first introduced by Mark Granovetter in 1973. In this article, we modify our previous proposal named multipath multimedia dynamic source routing (MMDSR) protocol to include a social metric TS in the decisions taken by the forwarding algorithm. We find a trade-off between the quality of service (QoS) and the trust level between users who form the forwarding path in the MANET. Our goal is to increase the trust metric while the QoS is not affected significantly.

quality of service (QoS) and the trust level between users who form the forwarding path in the MANET.Our goal is to increase the trust metric while the QoS is not affected significantly.A

Index Terms
Mobile ad hoc networks; multimetric routing; social-aware routing; tie strength; video-streaming services

I. INTRODUCTION
A mobile ad hoc network (MANET) is a set of autonomous mobile devices connected by wireless links that cooperate with each other to achieve network functionalities in a distributed way and without a fixed infrastructure.Since mobile devices are free to move arbitrarily, this makes the network topology change dynamically [Dressler, 2008] [ Boukerche, 2009].
This work is based on our previous proposal named multipath multimedia dynamic source routing (MMDSR), which was previously presented in [Mezher et al., 2015b] and [Mezher et al., 2015a].The goal of this article is to further improve our proposal considering the social dimension by including a new tie strength (TS) metric as a measure of the interaction among users in social networks.As a result, our new proposal named QoS-aware and social-aware multimetric routing protocol for video-streaming services over MANETs (QSMVM) is able to offer a good trade-off between QoS and confidence in the forwarding nodes involved in the path.
Providing multimedia services over MANETs represent a very attractive application of wireless networks for many cases, for instance in a disaster scenario or for entertainment purposes.The growth and big interest in ad hoc wireless networks has brought the development of new routing protocols and applications in many research areas such as governmental or commercial sector, where ad hoc networks can be used in emergency or rescue operations for natural disasters (an earthquake, flood, etc.) where it is very likely the network infrastructure get destroyed [Bader and Alouini, 2017].Also, video-streaming services allow citizens to report any incident in the city (e.g., a traffic accident or a traffic jam), so that city authorities could have a better idea of the situation with a short and light video than just with a text message [Aguilar Igartua et al., 2020].Another example for entertainment purposes is a video-streaming service to watch movies over MANETs [Igartua et al., 2012], [Igartua et al.,0112].
On the other hand, social web technologies, where people actively interact online with others through social networks, share multimedia contents, post comments and so on, are leading to a socialization of networks.Nowadays, users not only ask for information but also produce it.Currently, information of interaction among users in social networks is used to provide socially-enhanced software, always aware of the social environment of the users.To achieve this, we need to know the strength of the relationship between a given user and each user they interact with.
The concept of tie strength (TS) was firstly introduced by Granovetter in 1973 [Granovetter, 1973] as a function of duration, emotional intensity, intimacy and exchange of services.He distinguished two kinds of ties in social networks: strong and weak ties [Servia-Rodríguez et al., 2014].The TS concept summarizes the idea of social closeness between human beings.We claim that TS could also be used as a measure of trust in network communications.This aspect is relevant when information travels throughout different actors/elements, since trust (or closeness) may be used to assure the information travels through actors or elements that the two ends of the communication (i.e., sender and receiver) trust.Thus, considering together a social metric like the TS along with traditional QoS metrics (e.g., packet losses, packet delay, bandwidth...) in the design of routing protocols, can offer a clear benefit to individuals concerned not only by the QoS level but also by the privacy of their communications.
Motivation of our proposal: Our main motivation is to jointly consider several QoS metrics together with a new social metric in the design of a multimetric routing protocol for MANETs.The goal is to provide video-streaming services over MANETs improving not only the QoS offered to the end user, but also improving the trust on the December 13, 2023 DRAFT intermediate forwarding nodes along the path from source to destination.Thus, our multimetric routing protocol for MANETs focuses on maximizing both the QoS and the trust of the forwarding path.
Our main contributions can be summarized as follows: • We aim to exploit the aforementioned information of interaction among users and develop a QoS-aware and TS-aware routing protocol to provide video-streaming services over MANETs.Our routing protocol considers both the relationship among users while providing a good performance in terms of quality of service.
• We claim that this idea can be useful to deal with possible network security trust issues in MANETs, since with our approach users' information is routed through paths formed by users with high interaction and trust with each other.Therefore, with our proposal, packets are preferably forwarded by trusted nodes rather than by strangers that are not trusted, which leads to increased trust in communication.
• In this work we find a trade-off between (i) the user performance in terms of QoS parameters (focusing mainly in the percentage of packet losses and the end-to-end packet delay) and (ii) a good level of trust or confidence from the user's point of view, represented by the average TS of the forwarding nodes.
• We include simulation results under different scenarios that show the benefits of our proposal.
The rest of the paper is structured as follows.Section III introduce the basics of our framework.In Section IV we summarize the main features of our proposal of a QoS-aware multimetric routing protocol.Section V gives a brief explanation of the TS concept and its application in a social-aware routing protocol to select the best forwarding path.Simulation results are shown and analyzed in section VII.Finally, conclusions and future work are given in section VIII.

II. RELATED WORK
In this section we highlight some related works from recent years abut the topics related to our proposal: (i) video-streaming services over MANETs, (ii) QoS-aware multimetric routing for MANETs, (iii) social MANETs.
(i) There are several proposals about video-streaming services over MANETs in the last decade.The work [Takahata et al., ] introduces an optimal rate control for video stream transmission to minimize both the client buffer utilization and the video transmission rate.The optimal sending data rate from server is analytically derived and the buffer occupancy is numerically calculated.The approach presented in [Tsai, 2009] chooses the better quality links for routing instead of the minimum hop-count path.Then, they distribute the video-streaming to receivers by using multicasting in multi-channel Wireless Mesh Networks.They design a multicast version of the well-known AODV routing protocol to construct two disjoint multicast trees as the backbone for a peer-to-peer structure.Finally, they adopt the multiple description coding scheme to encode the video into two independent sub-streams and transmit them separately along those multicast trees.NS-2 simulations show that in higher traffic load environment, their scheme reduces latency and improves the packet delivery ratio.In [Greco et al., 2012a], the authors propose a cross-layer congestion control strategy where the MAC layer is video-coding aware and adjusts its transmission parameters via congestion/distortion optimization, showing a gain in terms of PSNR and delay reduction.The authors in [Greco et al., 2012b] propose a multi-objective function that minimizes the number of packets injected in the network and maximizes the path diversity among the different video encoding descriptions.They also include a cross-layer congestion control strategy where the MAC layer is video-coding aware, achieving a consistent gain in terms of both PSNR and delay reduction.The authors in [Mezher et al., 2015a] propose a multipath game-theoretical routing protocol to transmit video-warning messages over MANETs.The considered scenario is a video-warning service in smart cities, so that when an accident happens, dynamic sensors (e.g., citizens with smart phones or tablets, smart vehicles and buses) shoot a video clip of the accident and send it through the MANET.Instead of sending video frames always through the best available path, users play a strategic routing game according which video frames are sent through one of the two best paths according to a probability p that varies on some network December 13, 2023 DRAFT features (e.g., number of nodes).Simulation results show the outcome of the proposal in terms of percentage of packets losses, end-to-end average packet delay and average delay jitter.
(ii) Several works include proposals about QoS-aware multimetric routing for MANETs.The work [Kone and Nandi, 2006] presents an on-demand routing adaptive protocol named adaptive quality of service routing (AQR), which takes into account the QoS parameters of bandwidth, delay and cost.AQR has QoS violation detection and recovery mechanisms which enables quick re-routing of the packets along new paths.NS-2 simulations show that AQR achieves the QoS performance claimed and adapts well to different topologies and mobility conditions.In [Venkatesh et al., 2019] the authors present a modification of the basic AODV routing protocol able to create optimal routes considering the available bandwidth to fulfill the video stream requirements.The work [Weng et al., 2010] presents a poweraware on-demand routing protocol for MANETs using bandwidth and power information gathered from the 1-hop neighbors of the nodes, in order to improve path bandwidth and reduce the overall power consumption.Similarly, in [Taha et al., 2017] the authors introduce a fitness function technique to optimize the energy consumption in MANETs to find the optimal path from source to destination to reduce the energy consumption in multipath routing.
The work [Paramasivan et al., 2015] presents a game theoretical routing protocols for MANETs that improves QoS provision by focusing on the collaboration between nodes.Their approach minimizes the utility of malicious nodes and motivates cooperation between nodes by using a reputation system.The work [Bhardwaj and El-Ocla, 2020] introduces a multipath routing protocol using genetic algorithm to select efficient routes that have the shortest route, maximum residual energy and less overhead.Also, we highlight our previous proposal named multipath multimedia dynamic source routing (MMDSR) [Mezher et al., 2015b] which considers the specific characteristics of the video when it establishes a QoS-aware path to forward packets from source to destination looking to provide the best QoS.
The QoS metrics considered are available bandwidth, packet losses, packet delay, packet delay jitter, hop count to destination, reliability metric and mobility metric.The MMDSR operation is detailed in section IV.
(iii) Regarding social MANETs, the work in [Chen et al., 2013] proposes to combine social trust metrics derived from social networks with QoS trust metrics derived from communication networks to obtain a composite trust metric for evaluating trust of mobile nodes in MANETs.As social trust metrics they use social ties (two nodes have a lot of direct or indirect interaction experiences with each other) and honesty (a belief of whether a node is malicious or not).As QoS trust metrics they use energy (residual energy of a node) and cooperativeness (whether the node is cooperative in routing and forwarding packets).They find the best protocol settings to decrease the trust bias between subjective and objective trust evaluation results, which happens around a 80% of using direct observations (i.e., 20% of indirect observations from trustworthy recommenders) for subjective trust evaluation.In [Jeong and Shin, 2018], the authors propose a hierarchical cooperation protocol where the forwarding path from source to destination is formed taking into account the nodes' density (γ) and the number of social contacts per node (q).They model the probability that any two nodes in distance d away from each other are socially connected is assumed to be proportional to They analyze the throughput-delay trade-off in dense and sparse networks for different parameters (q, d, γ).
Their results show that as γ grows the throughput-delay trade-off improves when considering the social information between nodes.
As far as we know, there is still no proposal that addresses the issue of providing video-streaming services through MANETs using a multimetric routing protocol that includes a social metric, which is the objective of our work.In the next two sections we summarize in a nutshell the basics of our QoS-aware multimetric routing protocol MMDSR, previously presented in [Mezher et al., 2015a].Afterwards, in section V we introduce a new social-aware metric named tie strength (TS).This TS will be included in the MMDSR forwarding scheme by means of a new QoS-aware and social-aware multimetic score, presented in section VI.

III. BASICS OF OUR FRAMEWORK TO PROVIDE VIDEO-STREAMING SERVICES OVER MANETS
In this section we review the basic features of the video transmitted.Video frames are distributed using RTP/RTCP (Real-time Transport Protocol/RTP Control Protocol) over UDP as transport layer protocols.
The considered video-streaming service uses a basic layered MPEG-2 VBR video coder.The video flow is composed of sets of frames, usually 4 to 20 frames, named group of pictures (GoP).A GoP has three kind of video frames: I, P and B, with a frame-pattern repeated in each GoP.The composition of a GoP and the relationship between frames in the decoding process is depicted in Figure 1.I (Intra) frames encode spatial redundancy and form the base layer, providing a basic video quality.I frames carry the most important information for the decoder.If an I frame is lost, the whole corresponding GoP will be useless for the decoder and will be discarded.P (Predicted) and B (Bi-directional) frames carry differential information with regards to preceding (for P) or preceding and posterior (for B) frames, respectively.We considered those features to assign different to each video frame according to their importance in the video stream.Thus, I frames have the highest priority, P frames a medium priority and B frames the lowest one.
We assume that the IEEE 802.11e [IEE, ] standard works in the media access control (MAC) layer.This standard provides QoS support for services such as video-streaming.The IEEE 802.11e includes four different access categories (AC).Each packet from the higher network layer arrives at the MAC layer with a given priority.That packet is classified at the MAC layer to the proper AC.We defined a mapping between the different classes of packets into one of the four ACs: • AC0: signaling • AC1: high priority packets (I frames) • AC2: medium priority packets (P frames) • AC3: low priority packets (B frames + best effort traffic)

MANETS
In this section we summarize the operation of our proposal called multipath multimedia dynamic source routing (MMDSR) previously presented in [Mezher et al., 2015b] and [Mezher et al., 2015a].MMDSR is a QoS-aware multimetric routing protocol specially designed to transmit video-streaming over IEEE 802.11e [IEE, ] MANETs.
MMDSR considers the specific characteristics of the video while establishing the forwarding path to transmit packets from source to destination, aiming to provide a good QoS.

A. Dynamic source routing (DSR)
Dynamic source routing (DSR) [RFC 4728, 2007] is a distance-based routing protocol where a source node establishes an end-to-end forwarding path from source to destination.Nodes periodically interchange small hello messages (also named beacons) to announce its presence to their neighboring nodes in transmission range, i.e. to December 13, 2023 DRAFT their one-hop neighbors.With this information, every node builds a one-hop neighbors' table, to be used by the routing protocol to make forwarding decisions.In DSR, the forwarding path is formed by those nodes which form the shortest path to destination.DSR is the routing engine used by our proposal MMDSR to find out all the available forwarding routes from source to destination.Then, MMDSR selects the best path to transmit the video frames according to a QoS-aware forwarding algorithm which is described in the next subsection.
B. QoS-aware multimetric dynamic source routing Basically, MMDSR uses DSR to search all the available paths from source to destination.Over those available paths, MMDSR sends monitoring probe message (PM) packets.Afterwards, a probe message reply (PMR) packet generated at destination is sent back to the source.The PMR packet gathers the collected information about the quality of all the available paths from source to destination.Figure 2 shows PM and PMR packets which are periodically interchanged between source and destination.
Those paths are then filtered to check if they fulfill the user's QoS requirements (customerrequest) according to the required video quality, see Eq. ( 1).We consider the following QoS parameters: minimum expected bandwidth (BWmin), maximum percentage of packet losses (Lmax), maximum packet delay (Dmax) and maximum delay jitter The paths that fulfill the user's requirements are then arranged according to a QoS multimetric score assigned to each one of the paths using the feedback QoS information carried in the PMR packets received at the source node.

QoS multimetric score
where i is the algorithm iteration and k means each one of the available paths.The QoS metrics used to compute the multimetric score associated to each path k, are: end-to-end available bandwidth (BW i k ), percentage of packet losses (L i k ), average end-to-end packet delay (D i k ), average packet delay jitter (J i k ), hop-count distance (H i k ), reliability metric (RM i k ) calculated from the signal-to-noise ratio (SNR) of the links involved in each path k, and mobility metric (M M i k ) calculated from the relative mobility of the neighboring nodes within each path k.The set of available paths from source to destination is updated periodically (iteration i by iteration) because of the dynamic topology of MANETs, whose nodes move producing frequent link breakages.Finally, the source node selects the best path (i.e., the one with the highest score) over which the video frames will be transmitted.1) Dynamic self-configuration of the video-streaming framework: In this section we summarize the basics of the self-configuration operation, which is fully detailed in [Mezher et al., 2015a].Due to the inherently dynamic network topology of MANETs, suitable routing protocols should be dynamically self-configured.
In this sense, MMDSR periodically monitors the current state of the MANET.Upon detection of network changes, the routing protocol modifies the refreshing period Trouting to update the set of available paths from source to destination.To do so, we use a tuning function (expressed below in Eq. ( 4)) to dynamically adjust the refreshing period depending on a parameter called NState.NState gathers information about the global network state at each iteration i, as follows: In the previous equation, the upper bars mean the average for each QoS parameter calculated for each available path k.The weights wi have suitable values that sum one.In this work we have set them equally to 1/7, although other values could be chosen to highlight a metric over the others in the computation of the network state.When a source receives a new PMR packet with feedback information from the network (algorithm iteration i), it updates the N State i with Eq. ( 3).
Finally, we design a proper tuning function to dynamically update the period Trouting to refresh the set of available paths from which the best path is selected: To obtain the previous equation, a high number of simulations were conducted under a wide range of network conditions where the network performance was good, normal or bad.For the scenario under consideration used in the present work, the obtained values were α = 10 and β = 3.The idea behind this equation is that when the global network state is in good conditions (i.e., N State i is high) the current forwarding paths can be used longer (i.e., Trouting increases), whereas when the network state is in bad conditions (i.e., N State i is low) the forwarding scheme should be updated sooner (i.e., Trouting decreases).

V. TIE STRENGTH APPLIED TO MANETS
The idea of measuring relationship strength among users in a MANET scenario will allow us to select the path to forward packets from source to destination according to a forwarding algorithm designed not only based on QoS parameters, but also on a certain level of confidence between the forwarding nodes from source to destination.
Our routing proposal is designed to balance the trade-off in the forwarding path between confidence level and QoS parameters (percentage of packet losses and average end-to-end packet delay).To attain or goal, in Section V-B we define a new social metric named tie strengh to be included in the computation of the multimetric score to classify the available forwarding paths.
It is important to notice that in social media there is no distinction between users, i.e. they are treated all the same either as trusted friend or stranger.This topic has been investigated for years and it is somehow assessed with the tie strength concept.The idea of closeness between users in social media has been analyzed in different application fields, such as recommendation of goods [Song et al., 2017], the word-of-mouth spread of information [Choi et al., 2017], or even has been explored to know how the closeness between two users can be extended to a triadic (group of three people) [Huang et al., 2018].Our work is inspired by a previous research work developed in [Servia-Rodríguez et al., 2014], where they introduced a predictive model that maps social media data to tie strength related to the research performance over time.In this section, we will summarize briefly some of the basic ideas built up to be applied in this new field of study.

A. Social spheres
A social sphere represents the social contacts and topics of interest of a user when using social networks.In a previous research work [Servia-Rodríguez et al., 2014], a model was built exclusively taking into account the interaction data gathered from public APIs (with users' permission) in Facebook and Twitter.Interesting interaction evidences or tie signs (private messages, retweets, mentions, etc.) were firstly identified, as it is summarized in Table I (Facebook evidences) and Table II (Twitter evidences).Then, they were analyzed to assess the strength of the social ties between users.For this to be possible, tie signs were tagged as direct or indirect interactions and as public or private interactions.In order to contextualize these tie signs, different social contexts were also taken into account, such as personal, familiar, professional, etc.Therefore, the tie signs between two users are weighted according to the following parameters: the different categories of the tie sign or evidence (private/public, direct/indirect) and the different context in which the tie sign occurred.Belonging to the same public group x x Attending to the same private event x x Attending to the same public event x x Being subscribed to the same user x x Being subscribed by the same user x x There is a web service, coined as mySocialSphere, that can be accessed throughout a public API to obtain the public social sphere of any user.Thus, given a user u, this web service analyzes the strength of his/her tie signs with other users and provides a tie strength index (a value between 0 and 1, being 1 the highest tie strength possible) that assesses the number and quality of the interactions of u with any other user v.It is needed to remark that the tie strength index is inherently asymmetric, since the tie strength perceived for u about his/her relationship with v may be different from the tie strength perceived for v about his/her relationship with u.A simple and extreme example is the following one: user u often chats with v but also with other users, whereas v only chats with u, the tie from v's perspective will be stronger than from u's one.
Although all the mathematical details to compute the tie strength between two users are explained in [Servia-Rodríguez et al., 2014], we consider that it is adequate for the purpose of this paper to mention here the following most relevant aspects.The tie strength of the relationship between user u and user v, from the user u's perspective, is denoted as Tu(v) and it is obtained as follows: December 13, 2023 DRAFT where where S u|k (v) refers to the number of interactions of type k that u has with v; N is the number of different tie signs analyzed (shown in Table I and Table II); and k refers to the type of interaction.α k denotes the weights of an interaction that belongs to type k (i.e., the influence of each type of interaction in the calculation of the tie strength).
For instance, private interactions have a higher weight than public interactions; consequently, the α k is higher for private interactions than for public ones.Finally, function f is the following normalisation function: where x is the mean and xmax the maximum value of variable x.Therefore, f (x) tends to 1 if x > x, f (x) tends to 0 if x < x and f (x) tends to 0.5 if x ∼ x.Function f (x) guarantees that 0 ≤ Tu(v) ≤ 1.
Finally, tie strength indexes are dynamic values that must be constantly updated (i) to take into account new interaction evidences and give them more relevance in the index calculation and (ii) to reflect that old interaction evidences are progressively less important and, consequently, have less relevance in the index calculation [Servia-Rodríguez et al., 2014].With this aim, we apply a decreasing exponential function to Eq. ( 5) as follows: where µ is the decreasing factor and t is the time since the latest updated of the sign.Notice that, in order to obtain a representative value of the tie strength that for u has his/her relationship with v, the index has to be obtained when needed, since historic values may not properly reflect the current interaction between them.

B. Computation of average tie strength of a forwarding path in a MANET
We define five integer values to measure the strength of a tie (tie strength) between an individual and each one of the other individuals in a MANET.This way, TS takes integer values from 0 to 4, where 4 represents the strongest tie (high interaction and/or trust) and 0 represents the weakest tie (very poor or no interaction and/or untrusted December 13, 2023 DRAFT relationship).We have chosen five values following the same structure traditionally done in the mean opinion score (MOS) metric used to assess subjective quality of service (QoS) in multimedia applications [Streijl et al., 2016].
Notice that the tie strength (TS) is asymmetrical (i.e., T Su(v) ̸ = T Sv(u) ) and that the tie between a given user and itself is 0 (i.e., T Su(u) = 0).
Finally, we define the average tie strength T S k of a path k by means of the geometric mean of each T S k,j between every node j of the path and its neighbor j + 1, from a source S to its destination D, see Eq. ( 8), for a MANET general scheme represented in Figure 3. N F k stands for the number of forwarding nodes that compose path k.

VI. ALGORITHM TO ARRANGE THE AVAILABLE PATHS
In this section we present our proposal of algorithm to arrange the available paths found from source to destination.
Finally, our QoS-aware social-aware routing protocol to provide video-streaming services over MANETs (QSMVM), will select the forwarding path with the highest multimetric score, see Eq. ( 9).
Once the source has filtered out the set of paths that meets the user's QoS requirements (see Eq. ( 1)), a multimetric score is computed for every path, taking into account the qualifications of the QoS parameters as well as the tie strength (TS) qualification.This multimetric score is computed as follows, for each path k at each iteration i of the algorithm: where wQoS and wT S are weights that sum one, see Eq. ( 10).In Eq. ( 9), wQoS is the weight given to the set of QoS parameters.In this work we give the same weight to all QoS metrics.Alternatively, we could also assign different weights if we want some parameter to have more importance than the others in the M Score i k calculation.Besides, in Eq. ( 9) wT S is the weight given to the TS of path k.The computation of the TS associated to each path is computed wQoS = 1 − wT S (10) Once computed the M Score i k for each available path k in iteration i, the source arranges them from the highestquality path to the worse-quality path.Finally, the source selects the path with the highest M Score i k score.Notice that as the wT S increase, the average level of confidence among nodes forming a particular path becomes more decisive in the M Score and therefore, in the selection of the best path.Nonetheless, there will be a trade-off between the confidence level among the forwarding nodes that compose the selected path and the QoS provided by that path.
In the next section we will carry out a performance evaluation to asses the benefits of our proposal regarding the QoS in terms of packet losses and packet delay, and also in terms of confidence level of the relying nodes.
Additionally, we will analyse the trade-off between QoS and confidence level of the forwarding path.

VII. PERFORMANCE EVALUATION AND SIMULATION RESULTS
We have used the open source network simulator ns-2 (v2.27) [ns2, ] to implement and evaluate the performance of our proposal named QoS-aware and social-aware multimetric routing protocol for video-streaming services over MANETs (QSMVM).We have carried out a set of simulations with 5 repetitions per each simulation point with independent scenario seeds and all the figures show confidence intervals of 90%.We have used the Bonnmotion tool [bon, ] to generate the MANET scenarios.Furthermore, interfering CBR traffic was generated to constrain the paths.
There are two source nodes and two destination nodes, so that each source sends packets related to a video-streaming service.The evaluation is done under two different nodes' densities: (i) a medium nodes' density (100 nodes/km 2 ) and (ii) a high nodes' density (200 nodes/km 2 ).Simulation settings of the scenarios are shown in Table III.
We analyse the effect of wT S regarding the value of the multimetric score M Score i k in path k for iteration i (see Eq. ( 9)).We make wT S vary from 0 (i.e., only QoS parameters are considered) to 1 (only the average TS is considered) and see the impact of giving more importance to the level of confidence of a path (T S) over the QoS metrics.Specifically, we analyse the effect in the percentage of packet losses and in the average end-to-end packet delay.
We have generated different scenarios regarding the social confidence level between couples of users.Accordingly, we have scenarios from low tie strength values between every couple of users (i.e., a scenario with low social media interaction between users), to scenarios with high tie strength values between couple of users (i.e., a scenario with friends and acquaintances, with a high social media interaction).To obtain the diverse scenarios we generate values of tie strength (TS) between nodes following a normal distribution with a mean taken values from µ = 1 to µ = 4, with standard deviation of σ = 1 for all the scenarios.The choice of these parameters gives us a very wide range of possible TS values between pairs of individuals in the population considered.As a result, we will obtain a large representative number of different simulation scenarios.
Notice that since TS is an asymmetrical measure, TS from a given user u towards a user v is different to the TS from user v towards user u (T Su−v ̸ = T Sv−u).Also, notice that TS between a given mobile node and itself is zero (T Su−u = 0).The simulation settings of the evaluated scenarios are shown in Table III  the inherent low-connectivity feature of MANETs.MANET nodes constantly move, which produces frequent link breakages and consequently packet losses increase.To cope with this, our multimetric proposal MMDSR notably outperforms vanilla distance-based DSR, showing an improvement around 10 dB in the PSNR [Igartua et al., 2012].
We compare the results to the case of not considering the average tie strength T S (wT S = 0) in the path selection process, i.e. we always select the path with best QoS performance without taking the level of confidence among forwarding nodes into account.
In the x-axis we vary the weight wT S in Eq. ( 9) to give more or less importance to the social metric in front of the traditional QoS metrics.Therefore, in the computation of the multimetric score M Score used to arrange the available forwarding paths, see Eq. ( 9) we have changed the weight wT S as follows: • When wT S =0 we do not consider the social TS metric in the computation of the multimetric score M Score.That is, the forwarding path selected is the one with the highest QoS performance no matter the level of confidence among relying users.
• When wT S =0.125, we have wQoS=0.875,see Eq. ( 10).Since there are 7 QoS metrics (see Eq. ( 9)), in this case all metrics (i.e., each QoS metric and the TS metric) have the same weight in the computation of M Score.That is, each individual QoS metric would have a weight of 0.875/7=0.125,which equals wT S .A. Results for a very low social media interaction.TS normal distribution with mean µ = 1, standard deviation σ = 1.
In this set of scenarios, according to Figures 4 to 7 we can notice a low variation of values as wT S grows.This has sense because although we increase wT S , the qualification of the T S k parameter of the paths k (see Eq. ( 8)) most likely will be very low (near 0) since we are in a scenario with a very low tie strength between users.This means that QoS parameters outweigh TS in the computation of M Score, see Eq. ( 9)).
1) Very low social media interaction.Node's density = 100 nodes/km 2 : We can see in Figure 4 that the values for the percentage of packet losses are around 21%, for all values of wT S .There is no much variation in packet losses when we vary the weight wT S in the computation of the multimetric score to arrange the available paths, see Eq. ( 9).This has sense because although we increase wT S , the qualification of the T S k parameter of the paths (see Eq. ( 8)) will be very low since we are in a scenario with very low tie strength between users.This means that only QoS parameters have importance in the computation of M Score, see Eq. ( 9)).Actually, the T S k measured in the paths k taken by packets from source to destination (see blue line in Fig. ( 4)), for all the cases was always 0 in all the simulations.Regarding the average end-to-end packet delay, it is around 0.7 sec for all wT S values.
To sum up, in this scenario with very low social media interaction among users, the forwarding paths were formed by nodes with no tie strength between pairs of nodes.Thus, this scenario will be a reference to compare the rest of the scenarios where the social media interaction among users increases.
2) Very low social media interaction.Node's density = 200 nodes/km 2 : In this scenario with a higher nodes' density with very low social interaction, the forwarding paths established from source to destination shows a variable T S around 0.3, measured in the simulations when we vary wT S from 0.2 to 0.8, see the blue line in Fig. (6).
For wT S = 0 (i.e., wQoS = 1 according to Eq. ( 10)), the selection of the best forwarding path is done considering only QoS parameters, and consequently the percentage of packet losses is low, around 15% (see red line in Fig. ( 6)).
For wT S = 1 (i.e., wQoS = 0), the selection of the best forwarding path is done considering only the social TS parameter, and consequently the percentage of packet losses is the highest, around 25%.
The average end-to-end packet delay is around 0.9 sec for all wT S values, slightly higher than for the scenario with 100 nodes/km 2 .Also, the percentage of packet losses is slightly lower in this case, around 19%, see Fig. ( 6).
The reason is that for a higher nodes' density of 200 nodes/km 2 the network connectivity improves compared to the case of 100 nodes/km 2 , and consequently packet losses decreases.Thus, packet delay increases as more packets that took longer routes made it to their destination.
December 13, 2023 DRAFT B. Results for a low social media interaction.TS normal distribution with mean µ = 2, standard deviation σ = 1.
For a scenario with a low social media interaction between users, the tie strength (TS) between consecutive nodes in the forwarding nodes from source to destination is going to increase its importance in the forwarding decision and will produce higher values in the T S measured in the simulation.
1) Low social media interaction.Node's density = 100 nodes/km 2 : In Fig. 8 we can see a percentage of packet losses between 20% and 24% for 0 ≤ wT S ≤ 1.Again, there is no much variation in the packet losses when we vary the weight wT S , since the TS values between pairs of neighbors are low.Consequently, the measured T S of the established forwarding paths is low and quite stable for any wT S (around 1.8, see blue line in Fig. 8).A suitable value for wT S could be 0.4, with a 21% of packet losses, an average confidence measured T S=1.8 and an average packet delay of 0.76 sec.
2) Low social media interaction.Node's density = 200 nodes/km 2 : As it happened in the previous case with a very low social media interaction, here as we increase the nodes' density the network connectivity increases and there is a higher chance to establish a forwarding path with nodes whose confidence level is higher.Therefore, as wT S increases (we give more importance to the confidence level than to the QoS) the measured T S will increase (see blue line in Fig. 10).
As we can see, we get the lowest packet losses (17.5%) when wT S = 0, i.e. when we select the path with best QoS performance.The highest packet losses (23%) is obtained when wT S = 1, i.e. when we do not consider QoS performance of the paths but just their TS values.We can consider a good trade-off when wT S = 0.6 as we give a good importance to the tie strength parameter with not a big increase in the packet losses (18.4%).Regarding the average end-to-end packet delay, for wT S = 0.6 it is near 0.9 sec and very similar for wT S = 0, see Figure 11.
C. Results for a high social media interaction.TS normal distribution with mean µ = 3, standard deviation σ = 1.
For a scenario with a high social media interaction between users, the tie strength (TS) between consecutive nodes in the forwarding nodes from source to destination is going to be more significant in the forwarding decision and will have a higher impact in the T S measured in the simulation.
1) High social media interaction.Node's density = 100 nodes/km 2 : Figure 12 shows a percentage of packet losses in the range 22% (when wT S = 0, i.e.only QoS parameters are considered to select the forwarding path, see Eq. ( 9)) to 26% (when wT S = 1, i.e.only TS parameter are considered).Between those wT S = values packet losses fluctuates around 23%.The T S measured in the forwarding paths established during simulations varies around 3, see blue line in Fig. 12, slightly increasing as wT S = grows since we are giving more importance to the social confidence in front of the QoS offered by the forwarding path.The average end-to-end packet delay ranges between 0.7 and 1.2 sec increasing while wT S grows and reaching 1.6 sec for wT S = 1.To sum up, a proper value for wT S = could be 0.8, that well balances a trade-off with low packet losses (23%), low packet delay (0.94 sec) and high T S = 2.6.
2) High social media interaction.Node's density = 200 nodes/km 2 : In a high nodes' density scenario, network connectivity improves and there are more neighboring nodes to be chosen to establish the forwarding path.
Furthermore, when the social media interaction between users is high, the wT S = parameter is more significant in the path selection process, see Eq. ( 9).Consequently, we clearly see how the packet losses curve grows as wT S = grows, see red line in Fig. 14.Also, the T S measured grows, see blue line in the same figure.
In Fig. 14, we can see that the lowest packet loss percentage (15.3%)takes place for wT S = 0, i.e. when we select the path with best QoS performance.The highest packet loss percentage (26%) occurs for wT S = 1, i.e. when we do not consider QoS performance of the paths but only their TS values.A good trade-off could be 0.8, with acceptable packet losses (22.2%), low packet delay (1 sec) and high T S = 2.8.Nonetheless, specially for applications sensitive to packet losses, a better option is just considering the best QoS path (wT S = 0) which produces 15% of packet losses.In that case, the measured T S = 2.7 is almost the same.The reason is that in this scenario all the nodes have a high social interaction, so the best strategy to select the forwarding nodes is considering the QoS parameters, since the T S will be high for any wT S .
D. Results for a very high social media interaction.TS normal distribution with mean µ = 4, standard deviation σ = 1.
For a scenario with a very high social media interaction between users, the tie strength (TS) between consecutive nodes in the forwarding nodes from source to destination will be even more decisive in the forwarding operation and will produce a higher T S measured in the simulation.
1) Very high social media interaction.Node's density = 100 nodes/km 2 : Figure 16 shows the average percentage of packet losses.As we can see, we get the lowest value (around 20%) for wT S = 0 (i.e., we select the path with best QoS performance), and the highest value (around 23%) for wT S = 1 (i.e., when we just consider the TS values of the paths).Again, there is no much variation in the values when we vary the weight wT S , since this density of nodes all the paths have more or less the same QoS performance.Also, for this low σ = 1 (compared to Nodes' density = 100 nodes/km 2 . the average µ = 4) nodes show very similar high social media interaction with the other nodes.Therefore, the best wT S is 0, since the T S measured is very near to 4 in all the cases.
2) Very high social media interaction.Node's density = 200 nodes/km 2 : The same conclusion as in the previous case also applies in this case which even can be seen more clearly.For this low σ = 1 (compared to the average µ = 4) nodes show very similar TS values regarding the other nodes.Therefore, the best wT S is 0, since the T S measured is very near to 4 in all the cases.The lowest percentage of packet losses (15%) is obtained for wT S = 0 (i.e., when we select the path with best QoS performance), which in this case produces a T S=4.
Concluding, for this higher nodes' density, it is specially important to consider the QoS performance of the available paths to select the best one.Furthermore, since the TS is very high in all the nodes, the selected path will offer a high T S for any wT S .

VIII. CONCLUSIONS AND FUTURE WORK
Providing real-time multimedia services over MANETs represent a very promising and attractive topic due to its interesting applications and challenges.In this work, we have presented a new proposal named QoS-aware and social-aware multimetric routing protocol for video-streaming services over MANETs (QSMVM).We have shown that we can take advantage of the growing omnipresence of the social web technologies through the information of interaction among users in social networks to design routing protocols for MANETs.Our goal is to achieve a good trade-off between QoS and confidence in the forwarding path established by our self-configured dynamic framework to offer video-streaming services over MANETs.
Simulation results show the benefits of our approach in terms of QoS provided (percentage of packet losses and average end-to-end packet delay) and average tie strength measured in the forwarding path.In this work, we have modeled a social tie strength (TS) that follows a normal distribution with a given average µ and a standard deviation σ.Benefices are specially noticeable under a high nodes' density (200 nodes/km 2 ) with a high social media interaction between enough pairs of users.We have analysed the effect of the weight of the social confidence provided by the forwarding path (wT S in Eq. ( 9)) in front of the weight of the QoS provided by the forwarding path (wQoS in Eq. ( 9)), looking to the suitable wT S value that balances a good trade-off between QoS and social confidence.The goal is to give a high importance to the level of trust among users forming the forwarding paths through which packets are routed, although till a maximum wT S that guarantees that we do not have a big impact in the QoS.
In this article, we have emulated diverse scenarios from (i) scenarios with users without social interaction between users (low tie strength values, e.g. a big city like New York), to (ii) scenarios with high social interaction between users (high tie strength values, e.g. a University Campus).We have modeled the tie strength (TS) values with a normal distribution with means µ = 1, 2, 3 and 4 and standard deviation of σ = 1.A good suggestion for future work would be to carry out simulations in a scenario with real values of the tie strength gathered from social networks such as Twitter or Facebook.
In this work, we have given the same weight wQoS to all the QoS parameters (see Eq. ( 9)).Thus, in this work we have analysed the trade-off between a global measure of the QoS and the T S. That is, we have given the same importance to all QoS parameters (available bandwidth, packet losses, packet delay, delay jitter, hop-count distance to destination, reliability metric, mobility metric).We are currently working on the design of different weights to those QoS metrics, e.g.giving higher values to the percentage of packet losses or packet delay so that they have a higher impact on the selection of forwarding paths, which may be interesting depending on the applications.

Fig. 1 .
Fig. 1.Structure of a group of pictures (GoP) formed by IPB video frames.

Fig. 2 .
Fig. 2. Probe message (PM) packets periodically flooded from source to destination.Probe message reply (PMR) packets gather QoS feedback about the available paths k found in iteration i.

Fig. 3 .
Fig. 3. General MANET scheme to transmit video frames from a source S to its destination D. Paths are arranged according to a combined QoS and social multimetric score, see Eq. (9).
Figures 4 to 19 show the average percentage of packet losses and the average end-to-end packet delay, for a TS normal distribution whose parameters are σ = 1 and µ = 1 to µ = 4. Notice that the percentage of packet losses, which show values around 20%, apparently might seem quite high.However, we must contextualize those results to

Fig. 4 .
Fig. 4. Percentage of packet losses and average tie strength of the forwarding path.Scenario with very low social media interaction (TS normal distribution with µ = 1 and σ = 1).Nodes' density = 100 nodes/km 2 .

Fig. 10 .
Fig. 10.Percentage of packet losses and average tie strength of the forwarding path.Scenario with low social media interaction (TS normal distribution with µ = 2 and σ = 1).Nodes' density = 200 nodes/km 2 .

Fig. 12 .
Fig. 12. Percentage of packet losses and average tie strength of the forwarding path.Scenario with high social media interaction (TS normal distribution with µ = 3 and σ = 1).Nodes' density = 100 nodes/km 2 .

Fig. 14 .
Fig. 14.Percentage of packet losses and average tie strength of the forwarding path.Scenario with high social media interaction (TS normal distribution with µ = 3 and σ = 1).Nodes' density = 200 nodes/km 2 .

Fig. 16 .
Fig. 16.Percentage of packet losses and average tie strength of the forwarding path.Scenario with very high social media interaction (TS normal distribution with µ = 4 and σ = 1).Nodes' density = 100 nodes/km 2 .

Fig. 18 .
Fig. 18.Percentage of packet losses and average tie strength of the forwarding path.Scenario with very high social media interaction (TS normal distribution with µ = 4 and σ = 1).Nodes' density = 200 nodes/km 2 .

TABLE III SIMULATION
SETTINGS OF THE SCENARIOS EVALUATED.