fyhertz / libstreaming

A solution for streaming H.264, H.263, AMR, AAC using RTP on Android
Apache License 2.0
3.47k stars 1.07k forks source link

VLC Getting No Audio #281

Open Programmerpk opened 5 years ago

Programmerpk commented 5 years ago

Hi i am developing an application which stream audio and Video ..i tried example 1 which can stream video to VIC but audio is not getting.Can any one can help me plz..how to solve Them.Some People Suggest that change the Destination Port in Session.java i also Do it But its still Not work Thanks advance

umer0586 commented 5 years ago

Try

mSession.getVideoTrack().setStreamingMethod(MediaStream.MODE_MEDIACODEC_API_2);

It worked for me