fyhertz / libstreaming-examples

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

Example 3: MainActivity.java: Line 233 - Regexp is wrong at Line 233 for url with port #19

Closed aeracode closed 9 years ago

aeracode commented 9 years ago

is rtsp://(.+):?(\\d*)/(.+) - group 1 contains whole string, group 2 is empty should be rtsp://(.+):(\\d*)/(.+) - group 2 contains port, but this regexp doesn't parse url without port

(link)

fyhertz commented 9 years ago

Damn you're right! It should be fixed now.