09.02.2013 Views

Sviluppo di una piattaforma per lo streaming multimediale - MobiLab ...

Sviluppo di una piattaforma per lo streaming multimediale - MobiLab ...

Sviluppo di una piattaforma per lo streaming multimediale - MobiLab ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Sviluppo</strong> <strong>di</strong> <strong>una</strong> <strong>piattaforma</strong> <strong>per</strong> <strong>lo</strong> <strong>streaming</strong> multime<strong>di</strong>ale in ambiente Android<br />

– P, pad<strong>di</strong>ng. Flag <strong>per</strong> informare l'utente se il pacchetto è riempito con bit <strong>di</strong><br />

pad<strong>di</strong>ng <strong>per</strong> garantire <strong>una</strong> lunghezza stabile – campo a 1 bit.<br />

– X, extension. Flag <strong>per</strong> informare della presenza <strong>di</strong> un'estensione dopo<br />

l'header statico – campo a 1 bit.<br />

– CC, count of contributing sources. In<strong>di</strong>ca il numero <strong>di</strong> sorgenti <strong>di</strong>sponibili<br />

all'interno del campo CSRC – campo a 4 bit.<br />

– M, marker. Flag <strong>per</strong> specificare al receiver che i dati contenuti nel pacchetto<br />

sono azioni scaturibili lato receiver dal client – campo a 1 bit.<br />

– PT, Pay<strong>lo</strong>adType. Identifica il formato dei dati inclusi <strong>per</strong> un corretto<br />

playout – campo a 7 bit.<br />

– Sequence Number. Contiene un SN incrementale <strong>per</strong> <strong>per</strong>mettere al receiver<br />

<strong>di</strong> ripristinare il corretto or<strong>di</strong>ne dei dati e in<strong>di</strong>viduare il numero dei pacchetti<br />

<strong>per</strong>si. Il fatto che sia un campo a 16 bit, in<strong>di</strong>ca che un forte ritardo<br />

<strong>per</strong>metterebbe a due pacchetti <strong>di</strong> arrivare con <strong>lo</strong> stesso SN; <strong>per</strong> ovviare a ciò si<br />

usa un ulteriore contatore a livel<strong>lo</strong> applicativo, il warp_around_counter, che<br />

<strong>per</strong>mette <strong>di</strong> mantenere traccia del numero <strong>di</strong> volte che si raggiunge il<br />

massimo SN – campo a 16 bit.<br />

– Timestamp. Registrato alla cattura del primo byte – campo a 32 bit.<br />

– SSRC, Syncronization Source Identifier. Identificativo della sorgente che ha<br />

creato il contenuto del pay<strong>lo</strong>ad. È un va<strong>lo</strong>re numerico univoco casuale,<br />

generato dalla sorgente quando inizializza la sessione. Se due sorgenti<br />

generano <strong>lo</strong> stesso SSRC si ricorre all'algoritmo risolutivo collision_resolver –<br />

campo a 32 bit.<br />

21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!