fyhertz / libstreaming-examples

Some examples of how to use libstreaming
283 stars 231 forks source link

VLC not receiving audio blocks in example 2 #6

Closed ghost closed 10 years ago

ghost commented 10 years ago

hey hi, i was trying the example 2 application that uses this library with VLC on the other end as client playing using the sdp file. VLC recognises the audio track but its not receiving any audio blocks to decode. i guess something is not right with the audio streaming package. the spydroid app also had the same problem. i tried with both AAC and AMR. no use.

ghost commented 10 years ago

fixed it.change these audio.setDestinationPorts(5008); in SessionBuilder.java and it works only for AUDIO_AMRNB.not for AUDIO_AAC

ssppgit commented 10 years ago

Hi! Can you tell me how i can do working example 2? I copy the example code, I execute but i don't know how i can see the streaming in VLC. What ip and port i need?

Thanks a lot!