question: public boolean isStreaming ( String file ) { if ( file . contains ( "http://" ) || file . contains ( "https://" ) || file . contains ( "rtsp://" ) ) { return true ; } else { return false ; } }
target:  Determine if playback file is streaming or local. It is streaming if file name starts with "http://"