A Multi-User Game-Theoretical Multipath Routing Protocol to Send Video-Warning Messages over Mobile Ad Hoc Networks

The prevention of accidents is one of the most important goals of ad hoc networks in smart cities. When an accident happens, dynamic sensors (e.g., citizens with smart phones or tablets, smart vehicles and buses, etc.) could shoot a video clip of the accident and send it through the ad hoc network. With a video message, the level of seriousness of the accident could be much better evaluated by the authorities (e.g., health care units, police and ambulance drivers) rather than with just a simple text message. Besides, other citizens would be rapidly aware of the incident. In this way, smart dynamic sensors could participate in reporting a situation in the city using the ad hoc network so it would be possible to have a quick reaction warning citizens and emergency units. The deployment of an efficient routing protocol to manage video-warning messages in mobile Ad hoc Networks (MANETs) has important benefits by allowing a fast warning of the incident, which potentially can save lives. To contribute with this goal, we propose a multipath routing protocol to provide video-warning messages in MANETs using a novel game-theoretical approach. As a base for our work, we start from our previous work, where a 2-players game-theoretical routing protocol was proposed to provide video-streaming services over MANETs. In this article, we further generalize the analysis made for a general number of N players in the MANET. Simulations have been carried out to show the benefits of our proposal, taking into account the mobility of the nodes and the presence of interfering traffic.Finally, we also have tested our approach in a vehicular ad hoc network as an incipient start point to develop a novel proposal specifically designed for VANETs.


Introduction
A Mobile Ad hoc NETwok (MANET) is a group of self-organized wireless mobile nodes (MNs) able to communicate with each other without the need of any fixed network infrastructure nor centralized administrative support. MANETs suffer from link breakages due to nodes that move and have limited battery life, which produce frequent changes in the network topology. In addition, the transmission range in such mobile devices is limited, so multi-hop paths as well as efficient routing protocols will be needed. Each MANET node will operate both as a terminal host and as a forwarding node. MANETs should adapt dynamically to be able to maintain communications despite of all these issues [1].
MANETs have attracted much attention from the research community over the last years and important technical advances have risen. These multi-hop networks are foreseen as an important kind of next generation access networks, where multimedia services will be demanded by end users from their wireless devices everywhere. In many situations and areas, users may spontaneously form an infrastructureless ad hoc network to share their resources and contents. Besides, MANETs can be used together with existing cellular networks forming a hybrid cellular-ad hoc network as MANETs can extend the coverage, capacity and interconnectivity of current cellular networks [2]. Multimedia services require Quality of Service (QoS) provision. The special characteristics of MANETs, such as mobility, dynamic network topology, energy constraints, infrastructureless and variable link capacity, make the QoS provision over these networks an important challenge. In particular, instead of using fixed network configuration parameters, a better solution would be to adjust the framework parameters according to the current environmental conditions.
On the other hand, smart city applications are promising new services that involve vehicles, drivers, citizens and city infrastructure are about to emerge. Smart city applications could be used in emergency situations that require the coordination and collaboration between implicated parts in order to treat urgently the wounded who have suffered an accident. Emergency prevention and response are key issues for smart cities to face any kind of sudden incident such as traffic accidents, traffic jams, public transport delays, etc. For example, when an accident happens, dynamic sensors (e.g., citizens with smart phones) could make a video of the accident and send it through the MANET. With a video message, the level of seriousness of the accident could be better interpreted by the authorities (i.e., health care unit, police, ambulance drivers, etc.) than with a simple text message. In this way, dynamic sensors could participate in reporting a situation in the city using the MANET network so it would be possible to have a quick answer warning citizens and emergency units. The prevention of accidents is one of the most important goals in smart cities, and nowadays Information and Communication Technologies (ICTs) and citizens play an essential role in this field.
A good management of video-warning messages after accidents would lead to an immediate call to health agencies and ambulances. In these kinds of situations, MANETs [1] and citizens play an important role in the new smart cities. Nowadays, a high percentage of citizens carry at least one smart communications device in their pockets or bags. In the smart cities, citizens are welcome to participate and interact with the management of their city. Diverse kind of data could be gathered from the smart phones or tablets of volunteers, e.g., mobility information or need for health care after an incident in the city. This way, the public administration would have an interactive network of citizens who actively participate in the management of the city. It would be possible to have a quick answer to solve daily problems and help the emergency units (e.g., police, ambulances, health care units) in case of incidents (e.g., traffic accidents).
Our research focuses on the deployment of an efficient multipath routing protocol to manage video-warning messages in MANETs. In this work, we aimed to design a dynamic selection of the data forwarding paths using a game-theoretical approach plus a multipath multimedia routing protocol that we previously introduced in [3]. This contribution seeks to further enhance the overall performance of the service.
The rest of the paper is structured as follows. Section 2 includes some relevant related work. In Section 3 we summarize the features of our multipath routing protocol. Section 4 gives a brief explanation of the game-theoretical proposal. Section 5 describes analytically our novel game-theoretical model to send video-warning messages over MANETs. Section 6 describes a method to calculate a specific parameter of the model. Simulation results are shown and analyzed in Section 7. Finally, conclusion and future work are given in Section 8.

Related Work
Routing is the process of selecting the best path or paths in a network through which data will be forwarded. Forwarding paths are not necessarily the shortest ones and are selected usually seeking to improve the service performance. Proposals of routing protocols for ad hoc networks similar to our work can be classified in four categories: (a) single path routing; (b) general multipath routing; (c) multipath routing used to transmit video; and (d) game-theoretical algorithms used in the routing. In the following we summarize some representative works related to our proposal for each category.
(a) Regarding single path routing, many protocols were designed in the last years for MANETs [4][5][6][7][8][9][10] based on improvements of basic and widely referenced ad hoc routing protocols such as ad hoc on-demand distance vector (AODV) [11] and dynamic source routing (DSR) [12]. Based on AODV, [4] incorporates an admission control scheme and a feedback scheme to satisfy the QoS-requirements of real-time applications; [5] adds a route fragility coefficient (RFC) as a metric to find stable routes; [6] proposes an efficient algorithm to balance energy consumption among all participating nodes; and [7] provides n backup routes in case of link failure instead of one. On the other side, based on DSR, [8] presents a pragmatic scheme to establish and sustain trustworthy routes in the network; [9] introduces a new route maintenance strategy called distance based route maintenance (DISTANCE) to prevent link failure; and [10] uses the ant colony optimization (ACO) algorithm producing a significantly improvement in terms of packet losses, end-to-end delay, routing overhead and energy consumption. (b) Some works like [13][14][15][16][17] tackle the congestion problem present when the MANET is heavily loaded, since this factor negatively affects the packet losses. To cope with this issue, multipath routing protocols were proposed to alleviate congestion, optimize the use of the scarce MANET resources, increase the packet delivery ratio and improve the offered quality of service. For example, authors in [13] proposed the congestion-adaptive routing protocol (CRP) to prevent congestion. Simulation results show that CRP improves significantly the packet loss rate and the end-to-end delay compared to AODV and DSR. In [14], the authors introduced a type of service aware routing protocol (TSA) which uses both the packet type of service and the traditional hop count as route selection metrics. This proposal tries to avoid congestion by distributing the load over a potentially greater area. A linear load balancing protocol using multiple paths is proposed in [15], where n routes are sorted in increasing order of their hop count and have assigned priority values so that the shorter the path the higher the priority of the path to be selected to distribute the transmitted packets. In [16], the authors introduced a mechanism to find a primary forwarding route using the basic AODV engine and an alternative backup path to be used when the main route is broken. The backup path excludes nodes already used in the primary path, so that they are node-disjoint paths. The work [17] presented the Fibonacci multipath load balancing protocol (FMLB) for MANETs to distribute transmitted packets over multiple paths through the mobile nodes using an algorithm based on the Fibonacci sequence. (c) Multipath routing protocols offer interesting benefits to increase the available bandwidth, which is suitable to transmit video over ad hoc networks where the bandwidth is a scarce resource. Several works such as [18][19][20][21][22] presented interesting approaches to transmit video flows over multipath frameworks. In [18], the authors analyzed the topic of multipath routing for multiple description video coding in wireless ad hoc networks. They found that genetic algorithms (GAs) are effective to address this type of cross-layer optimization problems. They demonstrate using numerical results the superior performance of their GA-based approach. In [19] the authors proposed an optimal routing algorithm to distribute video over multiple paths seeking to minimize congestion and to improve the video quality. In [20] the authors designed an adaptive multipath multimedia dynamic source routing (MMDSR) protocol able to self-configure dynamically depending on the state of the network while taking into account the special features of the video frames to distribute them over the multipath scheme. The authors in [21] proposed an extension of multipath optimized link state routing protocol (MP-OLSR) named fuzzy-based quality of service MP-OLSR (FQ-MP-OLSR) integrating two fuzzy systems. The first is used to calculate a multi-constrained QoS metric based on delay, throughput and signal to interference plus noise ratio (SINR) while the second is applied to adapt cost functions used to penalize paths previously computed by the Dijkstra's algorithm. Simulation results showed that FQ-MP-OLSR achieves a significant improvement in terms of QoS and quality of experience (QoE). The work in [22] presented a QoS-aware routing framework combining three QoS mechanisms, i.e., cross-layer communication mechanism, session admission control and QoS-aware multipath routing to achieve an efficient video transmission over MANETs. Simulation results showed the improvement obtained in terms of video quality. (d) Concerning the application of game theory in the routing for ad hoc networks, works in the literature deal mainly with two important issues: proposals that include incentives to encourage nodes to cooperate [23,24] and proposals that apply game theory to attain a QoS-aware framework [25][26][27]. In the case of MANET nodes that do not belong to a single authority, nodes do not have a common goal and seek to maximize their own utility trying to save their limited resources by reducing packet forwarding for others. Besides, mobility in MANETs causes hard challenges in the provision of the QoS required to distribute multimedia data. In [23], an analysis of cooperation incentives provided by reputation systems, price-based systems and an incentive strategy using game theory was presented. Also, the authors proposed an integrated system combining the previous strategies. Results clearly prove the benefits of the integrated system over the individual reputation system and the price-based system in terms of cooperation's effectiveness as well as in selfish node detection. In [24], the authors presented a novel incentive scheme for probabilistic routing which stimulates selfish nodes to participate. Results showed a 75.8% gain in delivery ratio compared to the case of a probabilistic routing providing no incentive. In [25], a dynamic probabilistic protocol based on game theory, called forwarding game routing protocol (FGRP), was introduced for the selection process of the forwarding nodes. In this protocol, a node is a player of the forwarding game and takes the forwarding decision upon the reception of a flooding packet. Each node tries to maximize its utility by selecting an appropriate strategy. Simulations show the benefits of FGRP in terms of end-to-end delay and packet delivery ratio. Current works in the literature that are similar to ours are [26,27].
In [26] the authors use game theory to design a self-optimizing algorithm to minimize the end-to-end delay in a multi-class MANET. The approach consists of a fully distributed algorithm based on AODV for which they analytically prove that it reaches an optimal routing for each user in terms of delay, and which also minimizes the overall delay in the network. They apply a potential game that meets the principle of individual optimization provides a global optimal configuration. They include a numerical evaluation that shows improvement compared to AODV. In our case, we use a multipath (instead of only one path) forwarding scheme to transmit real video (instead of Poisson traffic) and we use several metrics (instead of only using the delay) to arrange the paths. The work [27] studies the optimal forwarding problem in MANETs based on a generalized two-hop relay (the source node replicates copies of its packets to other relaying nodes so that each packet travels at most two hops to reach its destination) with limited packet redundancy f (f -cast, each packet can be replicated to at most f different relaying nodes) for packet routing. They propose a forwarding game where each node i individually decides a probability p i to send its own traffic and helps to forward other traffic with probability 1 − p i . The payoff for a node is the achievable throughput capacity of its own traffic. They obtain the optimal forwarding strategy that each node should adopt to ensure the optimum per node throughput capacity. Similarly to us they also mathematically derive a per node forwarding probability using game theory, although in their case it is used by a node to send/forward or not a packet, whereas in our case it is used by a node to decide if it sends a video frame through the best path or through the second best one. Besides, we use different forwarding schemes.
In this present work, we deal with the issue of QoS provision and leave cooperation encouragement for future work. After analyzing the multipath routing protocols presented in this section, for our purpose of distributing video messages over MANETs and VANETs, the most suitable approach as a reference are our previous proposals MMDSR [20] and g-MMDSR [3]. MMDSR is a QoS-aware self-configured multipath routing protocol that dynamically adapts to the changing environment, whereas g-MMDSR enhances MMDSR by including a 2-player game-theoretical algorithm in the forwarding scheme. To the best of our knowledge, the aim to apply together a QoS-aware multipath routing scheme and a multi-user game-theoretical approach that includes the particular features of the video frames into the game model to efficiently distribute video warning messages over ad hoc networks in smart cities is novel. In this work, the multipath routing scheme of MMDSR is enhanced by including a multi-user game-theoretical algorithm so that competing nodes share the scarce resources in a more suitable and efficient way. Our previous proposal [3] introduced a 2-player game-theoretical routing scheme to improve MMDSR, and in this present work we will develop a general multi-player game-theoretical routing protocol. In the next section, we summarize MMDSR in a nutshell.

Multipath Multimedia Dynamic Source Routing (MMDSR)
In this section, we give a brief summary of the main features of the MMDSR routing protocol, whose detailed description was presented in [3]. In this present article, we further improve the routing scheme by designing a novel game-theoretical model to provide video-streaming in MANETs. The framework is able to provide video-streaming services over IEEE 802.11e [28] MANETs and to dynamically adapt to the changing network conditions inherent in MANETs.

Basics of the General Framework
The multipath routing scheme of MMDSR is based on the DSR (Dynamic Source Routing) protocol [12] to find available paths from source to destination. Video is distributed using RTP/RTCP (Real-time Transport Protocol/Real-time Control Protocol) [29] over UDP as transport protocols. Our system uses a layered MPEG-2 VBR coding of the video flow, which is formed by sets of frames, usually 4 to 20 frames, called GoP (Groups of Pictures), see Figure 1. A GoP has three types of frames: I, P and B, and has a unique frame-pattern in a video repeated in each GoP. I (Intra) frames encode spatial redundancy, they form the base layer, provide a basic video quality and carry the most important information for the decoding process at the receiving side. The whole GoP would be lost if the corresponding I frame were not available at decoding time. P (Predicted) and B (Bi-directional) frames carry differential information from preceding (P) or preceding and posterior (B) frames, respectively. Considering these characteristics, we assign different priorities to the video frames according to their importance within the video flow. Therefore, I frames should have the highest priority, P frames the medium priority and B frames the lowest one.
In the MAC (Media Access Control) layer, we use the IEEE 802.11e [28] standard, which provides QoS support. It consists of four different Access Categories (AC), each with their own configuration parameters, i.e. contention window minimum (CW min ) and maximum (CW max ), arbitration interframe space (AIFS) and transmission opportunity (TxOp). Each packet from the higher layers arrives at the MAC layer with a specific priority value and is mapped into the proper AC. We defined the mapping of the different packets into each one of the four AC s as follows: • AC0: signaling.

Multipath Routing Scheme in MMDSR
MMDSR is a multipath routing protocol that uses the standard DSR as the engine to search for available paths. MMDSR uses up to three paths through which the three types of video frames will be sent. As Figure 2 shows, traditionally the most important video frames (I frames) would be sent through the best available path, P frames through the second best path and B frames through the third best path (worst one). In our results, we obtained that there are notable benefits in arranging two or three paths to transmit the video frames. However, arranging more than three paths in a multipath scheme does not provide a big improvement, while increases unnecessarily the management. Similar results were obtained in [30]. The user requirements are negotiated using QoS parameters to provide the required image quality. We use the following parameters: minimum expected bandwidth (BW min ), maximum percentage of packet losses (L max ), maximum delay (D max ) and maximum delay jitter (J max ).

MMDSR Control Packets
Decisions such as path selection or tuning of configuration parameters are operated from the source. MMDSR periodically discovers AP available paths between source and destination by sending monitoring Probe Message (PM) packets. After that, a Probe Message Reply (PMR) packet is generated at destination to carry the collected information about the quality of the available paths. The reduced size of these packets (around 64 bytes, depending on the number of paths found out) and the low frequency of sending them (every 3-18 s depending on the network state, see Equation (4)) makes the incurred overhead almost negligible. Figure 3 shows PM and PMR packets which are periodically interchanged between source and destination. Then, a score is given to each one of the paths after analyzing the feedback information at the source node to classify them accordingly. That score is updated continuously after the reception of each PMR packet. Looking at the QoS parameters of the paths, the source selects three paths (if it is possible, or less if it is not) to compose the multipath scheme. The vector path − state j k contains all the quality parameters calculated for each one of the available paths: where j is the iteration number of the algorithm and k refers to each one of the paths (with k ≤ AP ). The QoS parameters are: available bandwidth (BW j k ), percentage of packet losses (L j k ), delay (D j k ), delay jitter (J j k ), hop distance (H j k ), reliability metric (RM j k ) calculated from the SNR (Signal to Noise Ratio) of the links involved in each path, and mobility metric M M j k calculated from the relative mobility of the neighboring nodes within each path. The last two metrics were previously proposed in [3].
This process is repeated periodically to refresh the paths since the topology of MANETs vary and might produce link breakages. The routing period depends on the network state, as it is explained in Section 3.5.

Path Classification in MMDSR
Once the source has selected a set of paths that fulfil the requirements depicted in Equation (1), the classification of those paths is done by checking sequentially the qualifications of the QoS parameters, according to the following list: We first arrange the available paths looking at the metrics RM and MM, since we prefer the most reliable and stable paths to distribute video over MANETs. In case of draw, the decision is taken depending on the hop-count metric (H) which decides the shortest path. In case of another draw, we consider bandwidth (BW ), then losses (L) and delay jitter (J), and finally delay (D). Nonetheless, other alternative algorithms to arrange the available paths could also be considered. Finally, the source selects the k paths (with k ≤ AP ) required to compose the multipath routing scheme. In our case, k = 3 paths. Notice that if only two paths were available, we still could differentiate both paths (i.e., the best and the medium-quality path), but if only one was available then all the packets would be sent through that single path.

MMDSR Self-Configuration
Due to the highly variable network topology of MANETs, any proposed routing protocol should be dynamic. Having this in mind, MMDSR is able to self-configure. Here, we will just point out the basics of the self-configuration operation.
Our framework monitors the current state of the network and in case of changes, the algorithm modifies the routing period of the algorithm and the thresholds to classify paths. We adjust those parameters dynamically depending on a parameter called NState, which brings information about the global network state and is updated by the algorithm iteration by iteration. NState is computed as follows: In Equation (3), the upper bars denote averages and the ws are the weights assigned to each metric. When the source receives the feedback from the network by means of PMR packets, it calculates the NState using Equation (3) from the QoS parameters of all the k paths (see Equation (2)) on that itereation j.
The routing period (T routing ) to refresh the multipath scheme also varies dynamically and is calculated according to Equation (4), so that when the network is behaving well (i.e., N State is high), T routing is also high and the paths that form the multipath scheme will be used longer. Conversely, if the network is behaving bad (i.e., N State is low) then T routing is low and the paths are refreshed sooner.
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 and bad. For the scenario under consideration (also used in the present paper), the obtained values were γ = 10 and θ = 3.
Till now, we have summarized the basics of the previous QoS-aware adaptive multipath routing protocol [3]. Next, we introduce our novel game-theoretical routing scheme to further improve the transmission of video over MANETs.

A Game-Theoretical Routing Protocol for MANETs
Game Theory is a branch of applied mathematics that has been used basically in economics to model competition between companies. During the last years, Game Theory has also been used in networking to solve routing and resource allocation problems in a competitive environment. MANET nodes take decentralized decisions, and resource management mechanisms can help those nodes to behave constructively improving the network performance as a whole [31]. In this work we apply Game Theory in the multipath routing protocol to further improve our proposal. We assume that each source node has a set of I, P and B video frames of a video flow to be transported; also, we assume that each source has three paths through which those frames could be sent. Nodes play a routing game to distribute the video flows seeking their own best performance. The players of the game are the MANET nodes and the action of the game is to select the proper route to forward their video-streams. In the following section, we will introduce the game-theoretical proposal included in the multipath routing scheme.  Traditionally, nodes always would try to send the most important video frames through the best available path obtained by the multipath routing protocol. This means that I frames, which are the biggest ones and carry the most important video information, will be sent through the best path, whereas the least important frames (i.e., B frames) will be sent through the worst one. Nevertheless, if each node sends the most important frames through the best path, this path could get congested. As a consequence, that best path could suffer more losses than the others, which would lead to classify it as a worse path. This behavior could produce an oscillatory performance that might affect the video experience of users if it happened frequently. Figure 5. Three possible allocation situations after playing the game. F and M represent the number of (I+P) and B frames to be sent, respectively. All the B frames are always sent through the worst path. (a) All the I+P frames are sent through the best path; (b) All the I+P frames are sent through the medium-quality path; (c) I+P frames will be sent through the best path with a certain probability p and through the second best path with a probability 1-p. F 1 and F 2 represent the number of (I+P) frames sent through the best path and the medium-quality path, respectively, being

The Bases of Our Proposal
To cope with this issue, users could play a game such that the best two paths (best, medium) could be selected by each player to transmit the most important video frames (i.e., I+P frames). That is, each user could prefer to send sometimes the most important frames through the medium-quality path. Just for simplicity, B frames are considered always to be sent through the third path, which is the worst one. Also, I and P frames belonging to the same video stream are going to be sent through the same path to make more evident the inconveniences of sharing the same path, since there are more P frames than I frames per flow.
In our game, in each iteration, users select paths for their respective video flows. As it is shown in Figure 5, we have three possible situations. Without playing the game, all users would always send the important frames through the best path ( Figure 5a). Alternatively, they could play our routing game. Notice that case (Figure 5b) is worse than (Figure 5a) for all users since they are sending their frames together through the medium-quality path (this should not happen often). In the third case (Figure 5c), I+P frames will be sent through the best available path by each user with a certain probability p and through the second best path available with a probability 1 − p.
Notice that players (users) must decide their choices simultaneously and without communicating with each other. If we have a number of I+P frames equal to F to be sent, depending on the p value, a number of I+P frames equal to F 1 will be sent through the best path and a number of I+P frames equal to F 2 will be sent through the medium-quality one, being F = F 1 + F 2 . M represents the number of B frames to be sent, always through the worst path.
In the next section we will compute the optimal probability p (called p * ) of sending I+P frames through the best path that produces the best outcome for each player.

Game-Theoretical Routing Scheme for Video-Streaming in MANETs
A game can be described by listing the players participating in the game, a set of strategies for those players, and a specification of payoffs for each combination of strategies. Let S be a finite set of N players 1, ..., N. Each player i has a finite set of available actions A i . Let a i ∈ A i be each particular action chosen by player i. The action space, A, is the cartesian product of all A i , i.e., A = A 1 × A 2 × ...A N . An N-tuple action, a, is a point in the action space A. A pure strategy provides a complete definition of how a player will play a game. In particular, it determines the move a player will make for any situation it could face. A mixed strategy of player i, α i , is an assignment of a probability, p i ∈ P = [0, 1], to each pure strategy. This allows a player to randomly select among the set of pure strategies. Let α = (α 1 , α 2 , ..., α N ) be the mixed strategy profile, then the probability that a particular N-tuple action, a = (a 1 , a 2 , ..., a N ), will occur, p(a), is formed from the product of the probabilities assigned to a by α. Let u i be the utility function of player i in the strategic form game occurring in each stage. The utility function is a mathematical description of preferences that maps the action space to a set of real numbers. A utility function for a given player assigns a real number for every possible outcome of the game, so that a higher number implies that the outcome is more preferred.
is the expected utility for player i for the mixed strategy profile α, and has the following expression: A strategic game G can be expressed using three primary components: the set of players S, the action space A, and the set of individual utility functions for player i, u i .
A mixed strategies extension to G is given by the next expression, where ∆(A i ) is the set of all probability distributions over A i and U i is the set of all expected utilities to i.
A best response is a strategy which produces the most favorable outcome for a player, taking other players' strategies as given. A Nash Equilibrium (NE) [32] is a solution in which each player plays a best response to the strategies of other players. Each player is assumed to know the strategies of the other players, and no player has incentive to unilaterally change their current strategy while the other players keep theirs unchanged. Players are in equilibrium if a change in strategies by any one of them would lead that player to earn less than if they remained with their current strategy. It is a mathematical fact that every mixed extension of a strategic game has at least one mixed strategy Nash equilibrium [32].
To define best responses more generally, we need a notation for the set of strategies used by all players other than player i, named α −i : Strategy α * i is a best response for player i to the strategies of all players except i, α * −i , if: This means that if α * i is a best response for player i to the assumed set of strategies α * −i played by the other N-1 players, then it must give player i a payoff at least as large as the player would get if they placed any other strategy α i from their set of allowed strategies. Equivalently, a best response (BR) correspondence to player i is given by : Let us remark that argmax x F (x) is the value of x for which F (x) has the largest value. A joint strategy α * = (α * 1 , ..., α * N ) is a NE if, for each player i, α * i is a best response to α * −i . Remember that every finite game (finite number of players, each of which with a finite set of strategies) has Nash equilibria in either mixed or pure strategies [33,34].

The Benefit of Using a Particular Path to Transmit the I+P Video Frames
Before defining the player's utility of the game, we will define a parameter that evaluates the benefit of using a particular path. As we have mentioned before, we assume that we always have at least two available paths (best and medium-quality paths) to send packets. Each path will have its own benefit as we describe next.
Definition: The benefit of a path k is: if the path fulfills the QoS requirements (see Equation (1) where φ k ∈ R * . Let us assign φ k = φ b as the benefit for the best path and φ k = φ m as the benefit for the medium-quality path, where φ b and φ m ∈ R * . Later, we will relate φ b and φ m with the subjective QoS experienced by the users regarding the video frames received from each path (see Equation (23)). Strategy α i is defined as follows: Transmit using the best path.
Transmit using the medium-quality path.
Probability p is the probability of sending (I+P) frames through the best path and probability (1 − p) is the probability of sending those frames through the medium-quality path.

Design of the Utility Function
The utility function U i designed for our game-theoretical routing protocol aims at achieving two goals: Minimizing the rate of (I+P) frames lost and minimizing the delay jitter, since these two parameters are most significant in video-streaming services. An initial short delay can be easily bearable by the user. Part of that delay would be produced after gathering frames in the reception buffer to reorder frames before the decoding process. The proposed utility function for player i is the following: Medium path (14) All variables presented in Equation (14) are defined in Table 1. Table 1. Definitions of the variables presented in Equation (14).
Variable Definition i = 1, 2, 3..., N is a generic player, being N the number of players p i Player's i probability of sending the (I+P) frames through his/her best path φ b,i Player's i benefit for the best path φ m,i player's i benefit for the medium-quality path n sb,i Number of (I+P) frames sent by player i through the best path n rb,i Number of (I+P) frames received from player i through the best path n sm,i Number of (I+P) frames sent by player i through the medium-quality path n rm,i Number of (I+P) frames received from player i through the medium-quality path J b,i Delay jitter of player i through the best path J m,i Delay jitter of player i through the medium-quality path Now let us relate n sb,i and n sm,i with n s,i : where n s,i = n sb,i + n sm,i . Substituting Equations (15) and (16) in Equation (14) we get the following: Medium path (17) Notice that each player makes his/her own path classification, i.e., each player might have different best and medium-quality paths.
In Equation (14), we have made our utility function U i to be proportional to the negative of the I+P frames losses. This way, the utility increases as the losses decrease, for both the best and the medium-quality paths. Besides, U i is a concave function so that we ensure to have a p value that produces the maximum utility. In Equation (14), is the negative of the I+P frame losses through the best path and n rm,i −n sm,i n sm,i is the negative of the I+P frame losses through the medium-quality path. Besides, U i is proportional to the benefit of the path (β k , expressed in Equation (12)), that equals φ b and φ m for the best and the medium-quality path, respectively. Finally, U i is inversely proportional to the jitter delay, so that the utility increases as the jitter delay decreases. This is reflected as ( 1 J b,i ) and ( 1 J m,i ), for the best and the medium-quality paths, respectively. We can see a numerical example of the utility function in Section (7.2.3).
Depending upon the values of the utilities, pure strategies may not exist, but in that case there are always mixed strategies [33,34]. The mixed strategy α * i is a (NE) if the utilities U i (i = 1, ..., N ), satisfy Equation (11). If there exists a mixed Nash equilibrium, player i will have a best response. To obtain it, U i must be maximized: For the sake of a simpler writing we will omit the i index to refer the user in the previous variables shown in Table 1. Thus, we will use n sb instead of n sb,i , and so on.
Then, applying Equation (18) in Equation (17) we obtain: To simplify the previous equation, we assume that J b , J m , n sb , n sm and n s are greater than zero. This assumption has sense since a jitter equal to zero is very improbable and at least one frame should have been sent as well. We define the following variables: Next, we substitute Equation (20) in Equation (19) and we get: Then, by combining both Equations (18) and (21), we attain the solution for the best probability of sending (I+P) frames through the best path, that gives a NE in the utility function U i . This is called as the best response of the game. Thus, using p * i to compute the probability of sending I+P frames through the best path, is a strategy which produces the most favorable outcome for player i, taking the other players' strategies as a given.
This way, each player i will continuously update his/her best response p * i using Equation (22). To do so, the user easily obtains from the RTCP feedback packets: the number of I+P frames received so far from the best and the medium-quality paths (n rb and n rm , respectively), the number of I+P frames sent so far (n s ) and the jitter delay through the best and the medium-quality paths (J b and J m , respectively). In the next section, we explain how the user computes the benefits for the best and the medium-quality paths.

Paths' Benefits Computation
We have designed the value of the benefit of a path to be proportional to the subjective video quality perceived by the user regarding the video frames received from that path. In this work, we use the MOS (Mean Opinion Score) as a measure of the subjective QoS.
Accordingly, we define the following equations to compute the benefits of the best and medium-quality paths, φ b and φ m , respectively: where k b and k m are constants, [k b , k m ] ∈ R * . Notice that k b and k m cannot equal zero because in this case, φ b and φ m would be zero too, which means that both paths would not satisfy the QoS parameters (see Equation (12)). The first condition for a path to be used by the sources is Equation (12); otherwise that path would not be taken into consideration.
Substituting Equation (23) in Equation (20), we get Next, using Equation (24) in Equation (22) we have this expression for the best response probability, p * i : Let k b km = k b/m . As k m is different from zero, we can divide the whole equation Equation (25) by k m . After substituting, we obtain the Nash Equilibrium strategy for player i: We designed U i to be a concave function, so that there is one p * value where U i is on its maximum value. Due to that, ∂ 2 U i ∂ 2 p i must be less than zero. This way, deriving Equation (21) we obtain: As we need that Concluding, if player i adopts the strategy to send his/her (I+P) frames through the best path with a certain probability that equals p * i (see Equation (26)), his/her own benefit and the whole benefit of the network will be the highest.
All values needed to compute p * i , except k b/m , can be obtained during normal network operation from the feedback information given by the RTCP packets. This way, users will update the probability p * i with the current QoS parameters carried in the last received RTCP packet. Thus, k b/m is the single pending parameter to be obtained in Equation (26). In the next section, we will give a method to calculate analytically this parameter.

A Method to Calculate k b/m
M OS b and M OS m are the mean opinion score values measured in the best and the medium-quality path, respectively. They can take any value between 1 and 5, where 5 means Excellent, 4 means Good, 3 Fair, 2 Poor and 1 Bad. After making a video-streaming test, we obtained the following results shown in Table 2 and Figure 6. For further information about the test please see the Appendix A. Table 2. Mapping of mean opinion scores (MOS) and fraction of packet losses (FPL) for (I+P) frames in a general MANET scenario.

5-Excellent
Now, our goal is to calculate k b/m so we can compute the value of p * i using Equation (26). Three conditions will limit the computing of k b/m : 0 ≤ p i ≤ 1 and U i being a concave function. Below, we will study separately those three conditions.  Combining Equation (22) with p i ≥ 0, we get that: Remember that Equation (28), which is the denominator of Equation (29) must also be fulfilled. Thus, we need: After that, we substitute Equation (24) in Equation (30) to get the following first condition to be fulfilled by k b/m : Now, if we multiply the whole inequation Equation (31) by 1 km (∀ k m ∈ R + ) and rename k b km by k b/m :

Condition 2: p i ≤ 1
Combining Equation (22) with p i ≤ 1 leads to: Looking at Equation (28), we can write: Now, we substitute Equation (24) in Equation (36) to get: Again, we multiply the whole inequation by 1 km (∀ k m ∈ R + ) and rename k b km by k b/m : and removing 2 · M OSm Jm from both sides, we reach to: Now, before we continue we will find out which is the sign of the expression (n b − 2).n b was defined in Equation (20) as the relation between the number of I+P frames received from the best path (n rb ) and the total number of I+P frames sent (n s ).
since n rb ≤ n sb (some I+P frames might have been lost through the best path) and min(n sm ) = 0 (that minimum value is obtained when no frame was sent through the medium-quality path).
Finally, the second inequation to be fulfilled by k b/m is:

Condition 3: Concave Function U i
For U i to be a concave function, Equation (28) must be fulfilled. Substituting Equation (24) in Equation (28), we get: If we multiply the whole inequation by 1 km (∀ k m ∈ R + ) and rename k b km by k b/m , we get: Finally, we obtain Equation (45) as the third condition to be fulfilled by k b/m :

The Three Inequations to Be Fulfilled by k b/m
We first rewrite the three inequations to be satisfied by k b/m : Equations (34), (42) and (45). Besides, we will rename the thresholds of the three inequations as α 0 , α 1 and α 2 , respectively.
We need to find a value for k b/m that satisfies the three inequations. First of all, the range of solutions for k b/m is ]K b/m , +∞), where K b/m will be the maximum value among α 0 , α 1 and α 2 . The probability p * i (k b/m ) of sending (I+P) frames through the best path is depicted in Figure 7. The limit of p * i (k b/m ) when k b/m → ∞ (horizontal asymptote) can be obtained from Equation (26) and it has the following value: The vertical asymptote occurs at k b/m -value that makes the denominator zero (i.e., k b/m = α 0 ). We should find a value for k b/m in the range ]K b/m , +∞) with which p * i (k b/m ) changes softly throughout time. This way, the transition in the selection between the best and the medium-quality paths will be smooth producing a more stable system. For that, we calculate the first derivative ∂k b/m , which represents the slope value for each k b/m > K b/m (i.e., Zone of interest).
After simplifying the equation, we obtain: and we get the following expression: Here, we can see that (n b +n m − 2) ≤ 0, sincen b = n rb ns = n rb n sb +nsm ≤ 1, andn m = nrm ns = nrm n sb +nsm ≤ 1. Look at Equation (40) to see the easy justification for both expressions. Consequently, we need that ∂p * i ∂k b/m ≤ 0 to compute a proper k b/m value. The parameters of Equation (50) that can be calculated during operation time are: the number of I+P frames received from the best path (n rb ) and the number of I+P frames sent through the best path (n sb ) to computen b = n rb n sb ; the number of I+P frames received from the medium-quality path (n rm ) and the number of I+P frames sent through the medium-quality path (n sm ) to computen m = nrm nsm ; the jitter delay through the best and the medium-quality paths (J b and J m , respectively) computed from the RTCP packets; and the MOS of the best and the medium-quality paths, computed with Equation (B1) presented in the Appendix B.
The only variable in Equation (50) that is not defined yet is , we see that we have two possible values for k b/m , one of them is higher than K b/m and the other one is lower than K b/m , so we take the one which belongs to the range ]K b/m , +∞).

To design a proper value for
To conclude with, Algorithm 1 summarizes the methodology to compute the best response probability p * i for player i to send his/her I+P frames through the best path.
Algorithm 1 Calculation of p * i , the best response probability for player i that maximizes his/her utility function U i . Require: Obtain updated QoS values from the periodically received RTCP packets. 1: Obtain the values of (M OS b , M OS m , J b , J m ,n b ,n m ) 2: Compute the k b/m parameter designed that fulfills the requirements.
3: Calculate the probability p * i to send I+P frames through the best path, that maximizes the utility function U i

Simulation Results
In this section, we first depict a case study in a smart city about which we will set the NS2 simulation scenarios. The case study involves an emergency situation in MANETs and VANETs to transmit a multimedia warning message to the closest emergency unit and to alert other citizens around. After that, we present a performance evaluation in a MANET scenario in Subsection 7.2, and in a VANET scenario in Subsection 7.3.

A Case Study in a Smart City
We focus this research work on two realistic smart city scenarios. A mobile adhoc network (MANET) and a vehicular ad hoc network (VANET), where emergency prevention and response are key issues. In the two scenarios under consideration, we assume that in a given moment an accident happened. Most of the citizens nowadays carry mobile phones or tablets. In the MANET/VANET scenario, we assume that a smart citizen/driver witnesses the situation, makes a short video-warning message (the driver will just push a button that will make a small exterior car-mounted camera shoot the video) about the accident and sends it through the MANET/VANET to the nearest emergency unit (e.g., police, ambulances, hospitals). Authorities will respond upon receiving the video and will take proper actions. This way, with a video-warning message the emergency can be evaluated much better than with a simple text. It would be easier to ensure an accurate interpretation of the situation and the accident could be treated with the adequate level of seriousness. The smart citizen/driver sends a multimedia message which includes different information regarding the incident, e.g., the GPS location, a voice message and a short video of the incident. A suitable kind of smart-911 (112 in Europe) application in the citizen's mobile/vehicle sends the multimedia message to the smart-911 emergency center, who manages the proper actions for that incident. For instance, ambulances and paramedical will be sent there, traffic lights will turn to red around the accident, a green wave of traffic lights will help the ambulances get there sooner, the nearest hospital is warned, the doctors wait for the injuries, etc. A video of the incident facilitates a preliminary evaluation of the wounded people as well as helps to better determine the requirements needed to manage the dangerous situation. Our purpose in this work is to design a game-theoretical multipath routing protocol suitable to transmit those video-warning messages over MANETs/VANETs in this kind of smart city scenarios. In the next section, a detailed performance evaluation in the MANET scenario will be studied, whereas a first brief performance evaluation in a VANET scenario is done in Section 7.3.

Performance Evaluation in a MANET Scenario
We implemented our proposal in the open source network simulator NS2 [35] where we conducted simulations to evaluate the benefits of our approach. The MANET scenario was generated with the Bonnmotion tool [36]. The same quantity of interfering CBR traffic was generated in each simulation to constrain the paths. For instance, for 2 players, we generated interfering CBR traffic at 300 Kbps, 200 Kbps for 3 players, 150 kbps for 4 players and 120 kbps for 5 players. This way, a total interference CBR raffic of 600 Kbps was sent whatever the number of players was. The simulation settings of the scenario are shown in Table 3. All the figures show confidence intervals (CI) of 90 percent obtained from 20 simulations per point, each simulation with an independent Bonnmotion scenario.
The scenario used to test the proposal consists of a set of 50 mobile nodes distributed in a MANET of 520 × 520 m 2 . The transmission range of the nodes is 120 m. Nodes move with a speed up to 2 m/s. Video flows are transmitted from nodes S i to nodes D i , 1 ≤ i ≤ N where N is the number of players (sources). The paths discovered by the MMDSR routing protocol are classified by each user using the MMDSR path classification described in Section 3.4. Each source decides the path to route packets according to the game-theoretical routing algorithm presented in Section 5 and depicted in Figure 5.   Figure 8 shows the average percentage of packet losses when using the game-theoretical scheme for a variable p value calculated using Algorithm 1 against the case of non using it (Non game option). We can clearly notice how including the game-theoretical routing scheme, the average video packet losses are reduced around 10% for N = 2 to 5 users. The average packet losses decreases due to the optimal selection of paths based on a probability value (i.e., p * ) that optimally balances the load among the two paths at stake (i.e., the best and the medium-quality paths). Figure 9 depicts the (I+P) packet losses throughout simulation time. In this case, we see how using the game-theoretical model, losses are around 20% lower than non using it.  Figure 9. Percentage of packet losses vs time (N = 3 users). Figure 10 depicts the average end-to-end packet delay. We can see that the case including the Game scheme improves the delay compared to the Non Game case. This is specially notable (around half a second) for a high number of sources N = 4 or 5, since in those cases, the amount of traffic is much higher and a smart selection of the forwarding paths gains importance. Average end-to-end packet delay (s)

Number of sources (N)
Game Non Game Figure 10. Average end-to-end packet delay. Figures 11 and 12 depict the average delay jitter suffered by packets through the best and the medium-quality path, respectively. In both cases, the jitter using the game-theoretical scheme shows a slightly better result against the Non Game case for 2 to 4 players. The improvement is notably higher for 5 sources, when the jitter is also higher due to the high traffic that produces a higher variation in the packet delays.  Figure 13. Peak Signal to Noise Ratio (PSNR). Figure 13 depicts the peak signal-to-noise ratio (PSNR) obtained for 2, 3, 4 and 5 players. We can see that the case including the Game scheme improves the PSNR compared to the Non Game case. Also, PSNR decreases as N increases. This is because as N increases, the number of video frames to be sent increases, causing more packet losses and as a result a lower PSNR.

Gain for I and P Frames
To better see separately the gain obtained for I and P frames, we define the following parameters: where • i: 2, 3, 4 and 5 sources (players).
• ILN G i : percentage of packet losses for I frames when the game-theoretical scheme is not used.
• ILG i : percentage of packet losses for I frames when the game-theoretical scheme is used.
• P LN G i : percentage of packet losses for P frames when the game-theoretical scheme is not used.
• P LG i : percentage of packet losses for P frames when the game-theoretical scheme is used.
• GainI i : Gain obtained for I frames using the game-theoretical scheme with respect to not using it.
• GainP i : Gain obtained for P frames using the game-theoretical scheme with respect to not using it. Figure 14 shows the average of all the simulation results for %GainP i and %GainI i . We can see that when the game-theoretical scheme is applied, the gain is 11%, 18%, 25%, 32% for I packets (dark bars) and 95%, 83%, 75%, 69% for P packets (light bars), for 2, 3, 4 and 5 players, respectively. As we can observe, %GainP i > %GainI i in all the cases. This is because there are much more P frames than I frames (see Figure 1) per player so the benefits are more noticeable for P frames. When N increases, the difference is lower, since the number of I frames increases.  Figure 14. Gain in terms of packet losses for I and P video frames using the game-theoretical scheme with respect to not using it.
In addition, we observe a slightly increment for %GainI i (dark bars) as N increases. This is because as N increases, the number of I frames increases and this makes the game-theoretical scheme benefits more noticeable. On the other hand, %GainP i decreases as N increases. The reason is that as N increases, there are too many P frames (more collisions), higher loads to be balanced and as a result we obtain a lower benefit. Nonetheless, %GainP i is still high (around 70% for 5 sources).

Utility Function Values
In this section, we will compute the gain of our game-theoretical routing scheme. Let us define U G i as the utility function for player i when the game-theoretical scheme is used and U N G i as the utility function when it is not used. Both utility function values will be computed using Equation (17). G i is the gain obtained for player i by using the game-theoretical scheme with respect to not using it, 0 ≤ G i ≤ 1.

A Numerical Example
In this section, we show a numerical example to calculate the gain obtained with our proposal for N = 2 users using Equation (54), i.e., G 1 and G 2 . To do that, we use the values obtained during simulation from the RTCP packets. They are shown in Table 4. We calculate the variable k b/m,1 and k b/m,2 for players 1 and 2 using Equation (50) and the simulation output values shown in Table 4. Results are shown in Table 5. After that, we simplify n rb,i −n sb,i n sb,i and n rm,i −n sm,i n sm,i as seen in Equations (55) and (56) in order to be easily calculated later using Table 4.
Next, we calculate φ b and φ m for each player using Equation (23) so they can be substituted in Equation (17).
These values mean that for player 1 the gain is 65% more using the game-theoretical model instead of not using it. In the same way, for player 2 the gain is 85%. Figure 15a, It is important to analyze the behavior of p * i when the fraction of packet losses through the best or through the medium-quality paths (F P L b or F P L m ) changes. We can easily guess that if the packet losses through the best path (i.e., F P L b ) increases, the probability to sent (I+P) frames through that best path p * i should decrease, so more (I+P) packets would be sent through the medium-quality path. On the other hand, if the packet losses through the medium path (i.e., F P L m ) increases, p * i should increase, so more (I+P) packets would be sent through the best path.
A way to check this logical behavior is to analyze an interval of time of a simulation where jitter and losses behave almost constant in one path (best or medium-quality path) and see how jitter and losses in the other path behave. However, it was impossible to find such an interval. Due to that, we decided to prove it mathematically taking some values of our simulations as inputs. This will help us to analyze the p * i behavior when F P L b or F P L m changes, which are shown in Figures 16 and 17. As we can see, we only study the behavior of p * i as a function of the F P L till 40% of packet losses since above that threshold it is considered as a non interest range. We show the average results of three different simulations.
Figure16 depicts the behavior of the best response probability p * i of sending I+P frames through the best path for player i when the fraction of packet losses (F P L) through the medium-quality path F P L m increases. It is important to mention that as F P L m increases, p * i increases as well. The reason is that when F P L m increases that means that we are loosing more packets in the medium-quality path, so we should better send the packets through the best path (i.e., increase p * i ) in order to alleviate the congestion in the medium-quality path.
In the same way, Figure 17 depicts the behavior of the best response probability p * i of sending I+P frames through the best path for player i (i.e., p * i ) when the fraction of packet losses (F P L) through the best quality path F P L b increases. We can see that when F P L b increases, p * i decreases. The reason is that when F P L b increases that means that we are loosing more packets in the best path, so we should send more packets through the medium-quality pat (i.e., decrease p * i ) in order to avoid congestion in the best path.
For further information about how we obtained Figures 16 and 17, please see the Appendix B.
In the next section, we present an initial performance evaluation of our proposal in a VANET scenario to show the benefits of our approach in this kind of vehicular scenario. As pointed out in Section 8, we are currently developing a multi-user game-theoretical geographic routing protocol specifically designed to cope with the inherent issues of VANETs, and that will be based on this current work as a starting point.  Probability of sending I+P frames through the best path Percentage of packet losses through the best path (%) Figure 17. Behaviour of p * i as the fraction of packet losses (F P L) through the best path (F P L b ) increases. Here the FPL through the medium-quality path remains constant.

Performance Evaluation in a VANET Scenario
In this subsection we introduce a brief performance evaluation of our proposal in a VANET scenario, where we proved the MMDSR protocol plus the multi-user game-theoretical approach described in Section 4. Video flows are transmitted from two vehicles to two access points AP1 and AP2 (see Figure 18), respectively. AP1 is the Ana Torres Institute (a surgery clinic) and AP2 is the Hospital Clinic of Barcelona, which represent two emergency units where vehicles will send their multimedia warning messages upon the event of a traffic accident. Each vehicle will send its multimedia warning message to the closest AP. We carried out ten simulations per point using the NS2 [35]. Figure 19 shows the results with confidence intervals (CI) of 90 percent. In the simulations, we used a real city area obtained from the example district of Barcelona, Spain (see Figure 18). In order to simulate a realistic scenario, the CityMob for Roadmaps (C4R) [38] simulator was used to obtain the mobility model. C4R is a mobility generator that uses the Simulation of Urban MObility (SUMO) engine [39]. Besides, C4R imports maps directly from OpenStreetMap [40] and generates NS2 compatible files to specify the mobility model for the vehicles through the city along the whole simulation. The simulation settings of the VANET scenario are shown in Table 6.  Figure 19a shows the average percentage of packet losses for N = 2 users when using the game-theoretical scheme against the case of non using it (Non game option). We can see how including the game-theoretical routing scheme, the average video packet losses are reduced from 26% to 11%. This decrement of the average packet losses is due to the optimal selection of paths based on a probability value (i.e., p * ) that optimally balances the load among the two paths at stake (i.e., the best and the medium-quality paths) depending on the quality of the paths. Figure 19b depicts the average end-to-end packet delay. We can see that the case including the Game scheme improves the delay compared to the Non Game case. It is reduced from 0.09 s to 0.04 s. Figure 19c depicts the average jitter delay suffered by the packets. Here, we observe that the jitter using the game-theoretical scheme shows slightly better result compared to the Non Game case for 2 players.
This has been a first performance evaluation of our game-theoretical routing approach applied in vehicular ad hoc networks. Results show clear benefits after including our game-theoretical approach in a multipath location-based routing protocol over VANETs. Based on these incipient results, in a next work we will further develop a multi-hop geographical routing protocol for VANETs based on a game-theoretical approach to send video warning messages in a smart city following a similar work strategy made in this paper. Our previous experience with VANET routing protocols [41,42] will be a good starting point since in our design we will consider the special inherent features of VANETs. The main difference with this current work will be the design of the game-theoretical routing algorithm based on a hop-by-hop forwarding strategy instead of on an end-to-end forwarding path strategy as we did in this present work. We foresee enhanced results for VANETs after including this modification.

Conclusions and Future Work
In this paper, we have designed a new rooting protocol for MANETs to send video-warning messages in a smart city. The routing protocol is based on a game-theoretical scheme for N users. Our framework could be used in smart cities where prevention of accidents is an important goal. We understand that with a video message, the level of seriousness of the accident could be much better evaluated by the authorities allowing a fast warning of the incident to emergency units, which potentially could save lives.
The users of the framework could be any dynamic sensor such as citizens with smart phones or tablets that could participate in the MANET to send the video to the competent authorities. Also, smart citizens would easily be warned by other citizens about any situation in the city, which would improve the quality of life in the smart cities.
In our framework, the probability p of sending the most important video frames (i.e., I+P frames) through the best available path varies depending on some network characteristics. This way, instead of sending the I+P video frames always through the best available path, users play a strategic routing game where these frames will be sent through one of the two best paths according to a certain probability p * .
Simulation results in the MANET scenario show the benefits of our proposal by outperforming the results compared to the case of non using our game-theoretical routing. In terms of packets losses, delay and jitter, results notably improve for N = 2, 3, 4 and 5 users, due to the new way of selecting the forwarding path based on p * . Our proposal makes the network more efficient as well as achieves a higher degree of satisfaction of the users by receiving much more (I+P) frames with a lower average end-to-end delay and jitter. This definitively will improve the quality of the video perceived by the end user. Moreover, improvements are also shown for N = 2 users in the simulation results of a VANET scenario, in terms of percentage of packet losses, average packet delay and average delay jitter.
As a future work, we are planning a further contribution with a multi-user game-theoretical forwarding algorithm included in the operation of a geographical routing protocol specially designed to distribute multimedia data over VANETs in smart cities. In this kind of scenarios, video-streaming services are taking an important attention from the interest to distribute light and short videos to allow drivers, passengers, paramedics, and first responder teams to capture, share, and watch video sequences from accidents and other emergencies that happened in the city. This way, multimedia warning messages sent upon the event of a traffic accident will allow the emergency units to make a better preliminary evaluation of the situation. Our proposal could be a solution to improve the routing operation to distribute multimedia data over VANETs in smart cities.
In addition, as a future work, the weights of the QoS metrics will be self-configured. We will design a new way to compute and update those weights so that paths/vehicles (paths in MANETs and vehicles in VANETs) would be better arranged according to their QoS metrics and the current state of the environment. In this way, each time the forwarding algorithm needs to classify paths/vehicles, a proper weight value to each metric will be updated depending on the current state of the network.