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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<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 />

(getLocalSocketAddress)<br />

/192.168.1.10:10000<br />

(getRemoteSocket)<br />

/192.168.1.10:4618<br />

file:/D:/Eclipse/Workspace/AVTransmitter/sample.mpeg<br />

Creato il Transmitter<br />

Track 0 is set to transmit as:<br />

MPEG/RTP<br />

Track 1 is set to transmit as:<br />

mpegau<strong>di</strong>o/rtp, 44100.0 Hz, 16-bit, Stereo, LittleEn<strong>di</strong>an, Signed, 28000.0 frame rate,<br />

FrameSize=32768 bits<br />

in<strong>di</strong>rizzo <strong>di</strong> origine: DataAddress: herbie/192.168.1.10<br />

ControlAddress: herbie/192.168.1.10<br />

DataPort: 10001<br />

ControlPort: 10002<br />

in<strong>di</strong>rizzo <strong>di</strong> destinazione: DataAddress: herbie/192.168.1.10<br />

ControlAddress: herbie/192.168.1.10<br />

DataPort: 11001<br />

ControlPort: 11002<br />

Created RTP session: RTPManager<br />

SSRCCache com.sun.me<strong>di</strong>a.rtp.SSRCCache@121cc40<br />

Dataport 10001<br />

Controlport 10002<br />

Address 192.168.1.10<br />

RTPForwarder com.sun.me<strong>di</strong>a.rtp.util.PacketForwarder@1e893df<br />

RTPDemux com.sun.me<strong>di</strong>a.rtp.RTPDemultiplexer@443226 10001<br />

Avvio <strong>lo</strong> stream<br />

Avviato il processor<br />

avviato il Transmitter<br />

Warm up comleto - 60 sec <strong>di</strong> trasmissione<br />

Contemporaneamente il client, riconosciuto il sender attraverso il metodo update(),<br />

istanzierà il ReceiveStreamReader che inizierà la ricezione del<strong>lo</strong> stream inserendo<strong>lo</strong><br />

nel QueableCircularBuffer.<br />

09-09 10:04:51.792: InetAddress: gethostbyaddr: 192.168.1.10 = herbie.<strong>lo</strong>cal.lan<br />

09-09 10:04:51.856: InetAddress: herbie.<strong>lo</strong>cal.lan: 192.168.1.10 (family 2, proto 6)<br />

09-09 10:04:51.862: RPCclient *274*: Tempo impiegato <strong>per</strong> addTarget(proxy) = 398<br />

09-09 10:04:53.912: RPCclient *351*: .update(): il buffer è già attivo? false<br />

09-09 10:04:53.912: RPCclient *354*: participant non ancora identificato<br />

09-09 10:04:53.922: RPCclient *340*: .update(): ricevuto InactiveReceiveStreamEvent<br />

09-09 10:04:54.812: RPCclient *340*: .update(): ricevuto evento ActiveReceiveStreamEvent<br />

09-09 10:04:54.812: RPCclient *340*: .update(): ricevuto evento StreamMappedEvent<br />

09-09 10:04:54.821: RPCclient *345*: .update(): identificato uno stream dal mittente<br />

Jenjis@herbie<br />

09-09 10:04:54.821: RPCclient *351*: .update(): il buffer è già attivo? false<br />

09-09 10:04:55.621: RPCclient *340*: .update(): ricevuto evento NewReceiveStreamEvent<br />

09-09 10:04:55.621: RPCclient *449*: reader assente alla ricezione del NewEvent<br />

09-09 10:04:55.635: ReceiveStreamReader.java *180*: CREAZIONE COMPLETA<br />

09-09 10:04:55.635: RPCclient *459*: reader creato alla ricezione del NewEvent<br />

09-09 10:04:55.635: RPCclient *461*: aggiunto observer<br />

09-09 10:04:55.635: RPCclient *463*: creato nuovo thread <strong>per</strong> il Reader<br />

09-09 10:04:55.643: RTPSourceStream *199*: RTP au<strong>di</strong>o socket buffer size: 992 bytes.<br />

09-09 10:04:55.661: RPCclient *466*: Avviato il Thread<br />

09-09 10:04:55.671: ReceiveStreamReader *200*: avvio RawBufferParser<br />

09-09 10:04:55.682: ReceiveStreamReader *202*: avviato RawBufferParser<br />

09-09 10:04:57.252: RTPSourceStream *168*: RTP video socket buffer size: 44834 bytes.<br />

09-09 10:04:57.272: ReceiveStreamReader *209*: recu<strong>per</strong>ate le tracce<br />

09-09 10:04:57.272: ReceiveStreamReader *216*: istanziato nuovo buffer<br />

09-09 10:04:57.283: ReceiveStreamReader *223*: prima traccia<br />

72

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

Saved successfully!

Ooh no, something went wrong!