Android 2.3、4.0 rtsp视频流错误:没有视频,但有音频

Android 2.3、4.0 rtsp视频流错误:没有视频,但有音频,android,video,streaming,rtsp,android-4.0-ice-cream-sandwich,Android,Video,Streaming,Rtsp,Android 4.0 Ice Cream Sandwich,我在播放流视频时遇到问题 关于HTC Desire 2.2的视频播放良好,没有问题 但在NexusOne2.3.4和NexusS4.0.3上,我只有音频,但没有视频显示 这是在N1和NS上具有相同问题的块日志 02-27 11:42:30.914: W/MyHandler(116): Unsupported format. Ignoring track #2. 02-27 11:42:30.914: I/MyHandler(116): SETUP(2) completed with result

我在播放流视频时遇到问题

关于HTC Desire 2.2的视频播放良好,没有问题 但在NexusOne2.3.4和NexusS4.0.3上,我只有音频,但没有视频显示

这是在N1和NS上具有相同问题的块日志

02-27 11:42:30.914: W/MyHandler(116): Unsupported format. Ignoring track #2.
02-27 11:42:30.914: I/MyHandler(116): SETUP(2) completed with result -1010 (Unknown error: 1010)
完整日志:

02-27 11:42:20.634: I/MyHandler(116): connection request completed with result 0 (Unknown error: 0)
02-27 11:42:20.664: I/ARTSPConnection(116): status: RTSP/1.0 200 OK
02-27 11:42:20.674: I/MyHandler(116): DESCRIBE completed with result 0 (Unknown error: 0)
02-27 11:42:20.674: I/ASessionDescription(116): v=0
02-27 11:42:20.674: I/ASessionDescription(116): o=- 952000 952000 IN IP4 178.124.133.2
02-27 11:42:20.674: I/ASessionDescription(116): s=WowzaMediaServer
02-27 11:42:20.674: I/ASessionDescription(116): i=<No author> <No copyright>
02-27 11:42:20.674: I/ASessionDescription(116): c=IN IP4 0.0.0.0
02-27 11:42:20.674: I/ASessionDescription(116): t=0 0
02-27 11:42:20.674: I/ASessionDescription(116): a=SdpplinVersion:1610641560
02-27 11:42:20.674: I/ASessionDescription(116): a=StreamCount:integer;2
02-27 11:42:20.674: I/ASessionDescription(116): a=control:*
02-27 11:42:20.674: I/ASessionDescription(116): a=LiveStream:integer;1
02-27 11:42:20.674: I/ASessionDescription(116): a=Title:buffer;"V293emFNZWRpYVNlcnZlcg=="
02-27 11:42:20.674: I/ASessionDescription(116): a=range:npt=0-
02-27 11:42:20.674: I/ASessionDescription(116): a=tool:libavformat 53.5.0
02-27 11:42:20.674: I/ASessionDescription(116): m=audio 7234 RTP/AVP 97
02-27 11:42:20.674: I/ASessionDescription(116): b=AS:72
02-27 11:42:20.674: I/ASessionDescription(116): b=TIAS:64000
02-27 11:42:20.674: I/ASessionDescription(116): b=RR:1280
02-27 11:42:20.674: I/ASessionDescription(116): b=RS:640
02-27 11:42:20.674: I/ASessionDescription(116): a=maxprate:16.000000
02-27 11:42:20.674: I/ASessionDescription(116): a=control:streamid=1
02-27 11:42:20.674: I/ASessionDescription(116): a=range:npt=0-
02-27 11:42:20.674: I/ASessionDescription(116): a=length:npt=0
02-27 11:42:20.674: I/ASessionDescription(116): a=rtpmap:97 MP4A-LATM/44100/2
02-27 11:42:20.684: I/ASessionDescription(116): a=fmtp:97 profile-level-id=41;cpresent=0;config=400024203fc0
02-27 11:42:20.684: I/ASessionDescription(116): a=mimetype:string;"audio/MP4A-LATM"
02-27 11:42:20.684: I/ASessionDescription(116): a=ASMRuleBook:string;"Marker=0,AverageBandwidth=64000,TimestampDelivery=TRUE,InterDepend=1;Marker=1,AverageBandwidth=0,TimestampDelivery=TRUE,InterDepend=0;"
02-27 11:42:20.684: I/ASessionDescription(116): a=3GPP-Adaptation-Support:1
02-27 11:42:20.684: I/ASessionDescription(116): a=Helix-Adaptation-Support:1
02-27 11:42:20.684: I/ASessionDescription(116): a=AvgBitRate:integer;64000
02-27 11:42:20.684: I/ASessionDescription(116): a=ForceRTP:integer;1
02-27 11:42:20.684: I/ASessionDescription(116): m=video 7232 RTP/AVP 96
02-27 11:42:20.684: I/ASessionDescription(116): b=AS:208
02-27 11:42:20.684: I/ASessionDescription(116): b=TIAS:200000
02-27 11:42:20.684: I/ASessionDescription(116): b=RR:4000
02-27 11:42:20.684: I/ASessionDescription(116): b=RS:2000
02-27 11:42:20.684: I/ASessionDescription(116): a=maxprate:16.000000
02-27 11:42:20.684: I/ASessionDescription(116): a=control:streamid=2
02-27 11:42:20.684: I/ASessionDescription(116): a=range:npt=0-
02-27 11:42:20.684: I/ASessionDescription(116): a=length:npt=0
02-27 11:42:20.684: I/ASessionDescription(116): a=rtpmap:96 H264/90000
02-27 11:42:20.684: I/ASessionDescription(116): a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z0LAFdoCMK/r/wDTAMcQAAADABAAAAMB4PFi6g==,aM48gA==
02-27 11:42:20.684: I/ASessionDescription(116): a=mimetype:string;"video/H264"
02-27 11:42:20.684: I/ASessionDescription(116): a=ASMRuleBook:string;"Marker=0,AverageBandwidth=200000,TimestampDelivery=TRUE,InterDepend=1;Marker=1,AverageBandwidth=0,TimestampDelivery=TRUE,InterDepend=0;"
02-27 11:42:20.684: I/ASessionDescription(116): a=3GPP-Adaptation-Support:1
02-27 11:42:20.684: I/ASessionDescription(116): a=Helix-Adaptation-Support:1
02-27 11:42:20.694: I/ASessionDescription(116): a=AvgBitRate:integer;200000
02-27 11:42:20.694: I/ASessionDescription(116): a=ForceRTP:integer;1
02-27 11:42:20.704: I/ARTSPConnection(116): status: RTSP/1.0 200 OK
02-27 11:42:20.704: I/MyHandler(116): SETUP(1) completed with result 0 (Unknown error: 0)
02-27 11:42:20.704: W/MyHandler(116): Missing 'source' field in Transport response. Using RTSP endpoint address.
02-27 11:42:20.704: W/MyHandler(116): Unsupported format. Ignoring track #2.
02-27 11:42:20.714: I/MyHandler(116): SETUP(2) completed with result -1010 (Unknown error: 1010)
02-27 11:42:20.754: I/ActivityManager(163): Displayed by.tut.android/.tv.channelselector.VideoViewActivity: +338ms
02-27 11:42:20.804: I/ARTSPConnection(116): status: RTSP/1.0 200 OK
02-27 11:42:20.814: I/MyHandler(116): PLAY completed with result 0 (Unknown error: 0)
02-27 11:42:30.824: W/MyHandler(116): Never received any data, switching transports.
02-27 11:42:30.824: I/ARTSPConnection(116): status: RTSP/1.0 200 OK
02-27 11:42:30.834: I/MyHandler(116): TEARDOWN completed with result 0 (Unknown error: 0)
02-27 11:42:30.844: I/MyHandler(116): connection request completed with result 0 (Unknown error: 0)
02-27 11:42:30.864: I/ARTSPConnection(116): status: RTSP/1.0 200 OK
02-27 11:42:30.874: I/MyHandler(116): DESCRIBE completed with result 0 (Unknown error: 0)
02-27 11:42:30.874: I/ASessionDescription(116): v=0
02-27 11:42:30.874: I/ASessionDescription(116): o=- 139000 139000 IN IP4 178.124.133.2
02-27 11:42:30.874: I/ASessionDescription(116): s=WowzaMediaServer
02-27 11:42:30.874: I/ASessionDescription(116): i=<No author> <No copyright>
02-27 11:42:30.874: I/ASessionDescription(116): c=IN IP4 0.0.0.0
02-27 11:42:30.874: I/ASessionDescription(116): t=0 0
02-27 11:42:30.884: I/ASessionDescription(116): a=SdpplinVersion:1610641560
02-27 11:42:30.884: I/ASessionDescription(116): a=StreamCount:integer;2
02-27 11:42:30.884: I/ASessionDescription(116): a=control:*
02-27 11:42:30.884: I/ASessionDescription(116): a=LiveStream:integer;1
02-27 11:42:30.884: I/ASessionDescription(116): a=Title:buffer;"V293emFNZWRpYVNlcnZlcg=="
02-27 11:42:30.884: I/ASessionDescription(116): a=range:npt=0-
02-27 11:42:30.884: I/ASessionDescription(116): a=tool:libavformat 53.5.0
02-27 11:42:30.884: I/ASessionDescription(116): m=audio 7234 RTP/AVP 97
02-27 11:42:30.884: I/ASessionDescription(116): b=AS:72
02-27 11:42:30.894: I/ASessionDescription(116): b=TIAS:64000
02-27 11:42:30.894: I/ASessionDescription(116): b=RR:1280
02-27 11:42:30.894: I/ASessionDescription(116): b=RS:640
02-27 11:42:30.894: I/ASessionDescription(116): a=maxprate:16.000000
02-27 11:42:30.894: I/ASessionDescription(116): a=control:streamid=1
02-27 11:42:30.894: I/ASessionDescription(116): a=range:npt=0-
02-27 11:42:30.894: I/ASessionDescription(116): a=length:npt=0
02-27 11:42:30.894: I/ASessionDescription(116): a=rtpmap:97 MP4A-LATM/44100/2
02-27 11:42:30.894: I/ASessionDescription(116): a=fmtp:97 profile-level-id=41;cpresent=0;config=400024203fc0
02-27 11:42:30.904: I/ASessionDescription(116): a=mimetype:string;"audio/MP4A-LATM"
02-27 11:42:30.904: I/ASessionDescription(116): a=ASMRuleBook:string;"Marker=0,AverageBandwidth=64000,TimestampDelivery=TRUE,InterDepend=1;Marker=1,AverageBandwidth=0,TimestampDelivery=TRUE,InterDepend=0;"
02-27 11:42:30.904: I/ASessionDescription(116): a=3GPP-Adaptation-Support:1
02-27 11:42:30.904: I/ASessionDescription(116): a=Helix-Adaptation-Support:1
02-27 11:42:30.904: I/ASessionDescription(116): a=AvgBitRate:integer;64000
02-27 11:42:30.904: I/ASessionDescription(116): a=ForceRTP:integer;1
02-27 11:42:30.904: I/ASessionDescription(116): m=video 7232 RTP/AVP 96
02-27 11:42:30.904: I/ASessionDescription(116): b=AS:208
02-27 11:42:30.904: I/ASessionDescription(116): b=TIAS:200000
02-27 11:42:30.904: I/ASessionDescription(116): b=RR:4000
02-27 11:42:30.904: I/ASessionDescription(116): b=RS:2000
02-27 11:42:30.904: I/ASessionDescription(116): a=maxprate:16.000000
02-27 11:42:30.904: I/ASessionDescription(116): a=control:streamid=2
02-27 11:42:30.904: I/ASessionDescription(116): a=range:npt=0-
02-27 11:42:30.904: I/ASessionDescription(116): a=length:npt=0
02-27 11:42:30.904: I/ASessionDescription(116): a=rtpmap:96 H264/90000
02-27 11:42:30.904: I/ASessionDescription(116): a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z0LAFdoCMK/r/wDTAMcQAAADABAAAAMB4PFi6g==,aM48gA==
02-27 11:42:30.904: I/ASessionDescription(116): a=mimetype:string;"video/H264"
02-27 11:42:30.904: I/ASessionDescription(116): a=ASMRuleBook:string;"Marker=0,AverageBandwidth=200000,TimestampDelivery=TRUE,InterDepend=1;Marker=1,AverageBandwidth=0,TimestampDelivery=TRUE,InterDepend=0;"
02-27 11:42:30.904: I/ASessionDescription(116): a=3GPP-Adaptation-Support:1
02-27 11:42:30.904: I/ASessionDescription(116): a=Helix-Adaptation-Support:1
02-27 11:42:30.904: I/ASessionDescription(116): a=AvgBitRate:integer;200000
02-27 11:42:30.904: I/ASessionDescription(116): a=ForceRTP:integer;1
02-27 11:42:30.914: I/ARTSPConnection(116): status: RTSP/1.0 200 OK
02-27 11:42:30.914: I/MyHandler(116): SETUP(1) completed with result 0 (Unknown error: 0)
02-27 11:42:30.914: W/MyHandler(116): Unsupported format. Ignoring track #2.
02-27 11:42:30.914: I/MyHandler(116): SETUP(2) completed with result -1010 (Unknown error: 1010)
02-27 11:42:31.254: I/ARTSPConnection(116): status: RTSP/1.0 200 OK
02-27 11:42:31.254: I/MyHandler(116): PLAY completed with result 0 (Unknown error: 0)
02-27 11:42:32.866: I/AwesomePlayer(116): ARTSPController::connect returned 0
02-27 11:42:20.634:I/MyHandler(116):连接请求已完成,结果为0(未知错误:0)
02-27 11:42:20.664:I/ARTSP连接(116):状态:RTSP/1.0 200正常
02-27 11:42:20.674:I/MyHandler(116):描述已完成,结果为0(未知错误:0)
02-27 11:42:20.674:I/A会话描述(116):v=0
02-27 11:42:20.674:I/ASessionDescription(116):o=-952000在IP4中952000 178.124.133.2
02-27 11:42:20.674:I/ASessionDescription(116):s=WowzaMediaServer
02-27 11:42:20.674:I/A会话描述(116):I=
02-27 11:42:20.674:I/ASessionDescription(116):c=在IP40.0.0.0中
02-27 11:42:20.674:I/A会话描述(116):t=0
02-27 11:42:20.674:I/a会话描述(116):a=S应用程序转换:1610641560
02-27 11:42:20.674:I/ASessionDescription(116):a=流计数:整数;2.
02-27 11:42:20.674:I/ASessionDescription(116):a=控制:*
02-27 11:42:20.674:I/ASessionDescription(116):a=LiveStream:integer;1.
02-27 11:42:20.674:I/ASessionDescription(116):a=标题:缓冲区;“V293emFNZWRpYVNlcnZlcg==”
02-27 11:42:20.674:I/a操作说明(116):a=范围:npt=0-
02-27 11:42:20.674:I/ASessionDescription(116):a=工具:libavformat 53.5.0
02-27 11:42:20.674:I/ASessionDescription(116):m=audio 7234 RTP/AVP 97
02-27 11:42:20.674:I/A会话描述(116):b=AS:72
02-27 11:42:20.674:I/A任务描述(116):b=TIAS:64000
02-27 11:42:20.674:I/A会话描述(116):b=RR:1280
02-27 11:42:20.674:I/A任务描述(116):b=RS:640
02-27 11:42:20.674:I/ASessionDescription(116):a=maxprate:16.000000
02-27 11:42:20.674:I/ASessionDescription(116):a=控件:streamid=1
02-27 11:42:20.674:I/a操作说明(116):a=范围:npt=0-
02-27 11:42:20.674:I/a任务描述(116):a=长度:npt=0
02-27 11:42:20.674:I/a会话描述(116):a=rtpmap:97 MP4A-LATM/44100/2
02-27 11:42:20.684:I/ASessionDescription(116):a=fmtp:97配置文件级别id=41;cpresent=0;配置=400024203fc0
02-27 11:42:20.684:I/ASessionDescription(116):a=mimetype:string;“音频/MP4A-LATM”
02-27 11:42:20.684:I/ASessionDescription(116):a=ASMRuleBook:string;Marker=0,AverageBandwidth=64000,TimestampDelivery=TRUE,Interdependent=1;Marker=1,AverageBandwidth=0,TimestampDelivery=TRUE,Interdependent=0
02-27 11:42:20.684:I/ASessionDescription(116):a=3GPP适配支持:1
02-27 11:42:20.684:I/ASessionDescription(116):a=螺旋自适应支架:1
02-27 11:42:20.684:I/ASessionDescription(116):a=AvgBitRate:integer;64000
02-27 11:42:20.684:I/ASessionDescription(116):a=ForceRTP:integer;1.
02-27 11:42:20.684:I/ASessionDescription(116):m=video 7232 RTP/AVP 96
02-27 11:42:20.684:I/A会话描述(116):b=AS:208
02-27 11:42:20.684:I/A任务描述(116):b=TIA:200000
02-27 11:42:20.684:I/A任务描述(116):b=RR:4000
更新:2007-07-27-11:42:20.684:I/A会话描述(116):b=RS:2000
02-27 11:42:20.684:I/ASessionDescription(116):a=maxprate:16.000000
02-27 11:42:20.684:I/ASessionDescription(116):a=控件:streamid=2
02-27 11:42:20.684:I/a操作说明(116):a=范围:npt=0-
02-27 11:42:20.684:I/a任务描述(116):a=长度:npt=0
02-27 11:42:20.684:I/a会话描述(116):a=rtpmap:96 H264/90000
02-27 11:42:20.684:I/ASessionDescription(116):a=fmtp:96打包模式=1;sprop参数集=Z0LAFdoCMK/r/WDTAMCQAADABAAAMB4PFI6G==,aM48gA==
02-27 11:42:20.684:I/ASessionDescription(116):a=mimetype:string;“视频/H264”
02-27 11:42:20.684:I/ASessionDescription(116):a=ASMRuleBook:string;Marker=0,AverageBandwidth=200000,TimestampDelivery=TRUE,Interdependent=1;Marker=1,AverageBandwidth=0,TimestampDelivery=TRUE,Interdependent=0
02-27 11:42:20.684:I/ASessionDescription(116):a=3GPP适配支持:1
02-27 11:42:20.684:I/ASessionDescription(116):a=螺旋自适应支架:1
02-27 11:42:20.694:I/ASessionDescription(116):a=AvgBitRate:integer;200000
02-27 11:42:20.694:I/ASessionDescription(116):a=ForceRTP:integer;1.
02-27 11:42:20.704:I/ARTSP连接(116):状态:RTSP/1.0 200正常
02-27 11:42:20.704:I/MyHandler(116):安装程序(1)已完成,结果为0(未知错误:0)
02-27 11:42:20.704:W/MyHandler(116):传输响应中缺少“源”字段。使用RTSP端点地址。
02-27 11:42:20.704:W/MyHandler(116):不支持的格式。忽略轨道2。
02-27 11:42:20.714:I/MyHandler(116):设置(2)已完成,结果为-1010(未知错误:1010)
02-27 11:42:20.754:I/ActivityManager(163):由.tut.android/.tv.channelselector.VideoViewActivity:+338ms显示
02-27 11:42:20.804:I/ARTSP连接(116):状态:RTSP/1.0 200正常
02-27 11:42:20.814:I/MyHandler(116):播放完成,结果为0(未知错误:0)
02-27 11:42:30.824:W/MyHandler(116):从未收到任何数据,正在切换传输。
02-27 11:42:30.824:I/ARTSP连接(116):状态:RTSP/1.0 200正常
02-27 11:42:30.834:I/MyHandler(116):已完成拆卸,结果为0(未知错误:0)
02-27 11:42:30.844:I/MyHandler(116):连接请求已完成,结果为0(未知错误:0)
02-27 11:42:30.864:I/ARTSP连接(116):状态:RTSP/1.0 200正常
02-27 11:42:30.874:I/MyHandler(116):描述已完成,结果为0(未知错误:0)
02-27 11:42:30.874:I/A会话描述(116):v=0
02-27 11:42:30.874:I/ASessionDescription(116):o=-139000139000,在IP4178.124.133.2中
02-27 11:42:30.874:I/ASessionDescription(116):s=WowzaMediaServer
02-27 11:42:30.874:I/ASessionDescription(116):I=
02-27 11:42:30.874:I/ASessionDescription(116):c=在IP40.0.0.0中
02-27 11:42:30.874:I/A会话描述(116):t=0
02-27 11:42:30.884:I/a会话描述(116):a=S应用程序转换:1610641560
02-27 11:42:30.884:I/ASessionDescription(116):a=流计数:整数;2.
02-27 11:42:30.884:I/a任务描述(116):a=控制