fyhertz / libstreaming

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

Example 1 - no packets sent #104

Open gussmith23 opened 9 years ago

gussmith23 commented 9 years ago

I compiled and ran example 1 on my HTC One running Cyanogenmod 12.1 (Lollipop, 5.1).

I am opening the stream in VLC on an Ubuntu virtual machine. Using Wireshark, I can see the setup and play commands go through; however, after 10 seconds, VLC claims to not have received any packets, and sends a teardown command.

The streaming itself is done through RTP over UDP, correct? Could there be a chance that the UDP packets are being blocked? I'm on a university network.

gussmith23 commented 9 years ago

The problem ended up being with my own setup. I was streaming to a virtual machine, but I needed to set the VM to use a bridged connection so that it had its own IP. After that, everything worked great.