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

FIX an issue about the 'client_port' parameter in RtspServer #276

Closed KentVu closed 5 years ago

KentVu commented 6 years ago

RtspServer responds to client's setup request with unexpected client_port parameter, leading some clients unable to play.

I've tried this pull request to ExoPlayer. It didn't work until I fix this in RtspServer. It seems not accepting the server's specified port that's different from its chosen port.

KentVu commented 6 years ago

@fyhertz please confirm if there are no other similar implications about the port parameter. Since RFC2326 is not forcing the range part as mentioned.