fyhertz / spydroid-ipcamera

A powerful and funny android app. that streams the camera and microphone of your phone to your browser or to VLC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VLC not receiving any audio packets

opened this issue · comments

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.

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

Please commit this change above. This bug is causing spydroid audio streaming to fail unless I make the change as raviabi11 described above. This change fixes the problem for both AUDIO_AMRNB.and AUDIO_AAC when I test it on Android 4.1. #raviabi11, AUDIO_AAC requires API 16 to work.