我可以使用RSTP将桌面流式传输到Android手机。
但是Stream在一段时间后停止了。我试图在网上搜索错误但是没有理解这是日志
08-23 20:25:29.927 380-967/? I/ActivityManager﹕ START {cmp=com.example.vostro.rtspvideodemo/.StreamActivity (has extras)} from pid 17800
08-23 20:25:30.367 17800-17800/? E/MediaPlayer﹕ Uri is rtsp://192.168.1.4:8554/stream
08-23 20:25:30.367 17800-17800/? D/MediaPlayer﹕ http youtube = false, scheme = rtsp
08-23 20:25:30.367 126-283/? W/MediaPlayerService﹕ setDataSource(rtsp://192.168.1.4:8554/stream)
08-23 20:25:30.417 380-412/? I/ActivityManager﹕ Displayed com.example.vostro.rtspvideodemo/.StreamActivity: +468ms
08-23 20:25:30.467 126-18008/? W/ASessionDescription﹕ adding 'a=control' => 'rtsp://192.168.1.4:8554/stream'
08-23 20:25:30.467 126-18008/? W/ASessionDescription﹕ adding 'a=control' => 'rtsp://192.168.1.4:8554/stream/trackID=0'
08-23 20:25:30.507 126-18008/? W/MyHandler﹕ Missing 'source' field in Transport response. Using RTSP endpoint address.
08-23 20:25:50.957 126-1062/? E/MyHandler﹕ ARTSPController::flags 0
08-23 20:25:50.977 17800-17800/? D/MediaPlayer﹕ start() mUri is rtsp://192.168.1.4:8554/stream
08-23 20:25:50.977 380-393/? D/BluetoothA2dpService﹕ uri is rtsp://192.168.1.4:8554/streammUri is content://settings/system/notification_sound
08-23 20:25:50.977 380-393/? D/BluetoothA2dpService﹕ Rtsp streaming media, ignoring