RTSP Bad request error

Added by Matthew D about 4 years ago

Hi
Im trying to restream rtsp into rtmp from Acti ac-2100 video server ([url]http://www.acti.com/product/detail/Video_Encoder/ACD-2100[/url])
but im getting such errors:

t=0 0
a=tool:IP Encoder RTP streamer V2009.02.05
a=type:broadcast
a=control:*
a=range:ntp=0-
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=245;config=000001B003000001B50900000100000001200086C400670C2C1090518F
a=control:track1
m=audio 0 RTP/AVP 111
c=IN IP4 0.0.0.0
a=rtpmap:111 L16/8000
a=control:track2

debug 2010-11-30 11:22:29.226141 [ertp] (sdp:136): Value: "96 profile-level-id=245;config=000001B003000001B50900000100000001200086C400670C2C1090518F"
debug 2010-11-30 11:22:29.226442 [ertp] (sdp:139): Opt: "profile-level-id=245"
debug 2010-11-30 11:22:29.226669 [ertp] (sdp:139): Opt: "config=000001B003000001B50900000100000001200086C400670C2C1090518F"
debug 2010-11-30 11:22:29.226946 [ertsp] rtsp_socket:285 {"Streams", {{video, {video,<0.141.0>,90.0,undefined,undefined,
undefined,undefined,undefined,false,
undefined,undefined,mp4v,undefined,
undefined,false,[]}}, {rtcp,0}, {audio, {audio,<0.141.0>,8.0,undefined,undefined,
undefined,undefined,undefined,false,
undefined,undefined,pcm,undefined,undefined,
<<>>,<<>>}}, {rtcp,2}},
[1,2]}
debug 2010-11-30 11:22:29.227559 [ertsp] rtsp_socket:564 {"No Rtp-Info on play command"}
debug 2010-11-30 11:22:29.227800 [ertsp] rtsp_socket:156 {"Setup",1,
[{media_desc,video,undefined,0,
[{payload,96,mp4v,90.0,undefined,undefined,[]}],
"track1",undefined,undefined,undefined}, {media_desc,audio,undefined,0,
[{payload,111,pcm,8.0,undefined,undefined,[]}],
"track2",undefined,undefined,undefined}]}
SETUP rtsp://192.168.1.99/track1 RTSP/1.0
CSeq: 2
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

--------------------------
[RTSP Response]
400 Bad Request
[{'Allow',<<"OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN">>}, {'Date',<<"Thu, Jul 02 2009 14:09:22 GMT">>}]
debug 2010-11-30 11:22:29.232815 [ertsp] rtsp_socket:564 {"No Rtp-Info on play command"}
debug 2010-11-30 11:22:29.233109 [ertsp] rtsp_socket:156 {"Setup",2,
[{media_desc,video,undefined,0,
[{payload,96,mp4v,90.0,undefined,undefined,[]}],
"track1",undefined,undefined,undefined}, {media_desc,audio,undefined,0,
[{payload,111,pcm,8.0,undefined,undefined,[]}],
"track2",undefined,undefined,undefined}]}
SETUP rtsp://192.168.1.99/track2 RTSP/1.0
CSeq: 3
Transport: RTP/AVP/TCP;unicast;interleaved=2-3

debug 2010-11-30 11:22:29.233599 [ertsp] rtsp_socket:210 {"RTSP socket closed"}
debug 2010-11-30 11:22:29.233821 [ertsp] rtsp_socket:635 {"RTSP stopping",normal}
debug 2010-11-30 11:22:29.234049 [main] rtsp_media:128 {"Failed to open rtsp_source","rtsp://192.168.1.99",
"retry count/limit",96,100, {exit, {normal, {gen_server,call,
[<0.240.0>,{request,setup,2},5000]}}}}
debug 2010-11-30 11:22:30.235131 [main] rtsp_media:38 {"Connecting to RTSP","rtsp://192.168.1.99"}
debug 2010-11-30 11:22:30.235443 [main] ems_event:305 {ems_event, {erlyvideo_event,stream_source_requested,default,
undefined,undefined,undefined,undefined,
"rtsp://192.168.1.99",[],undefined}}
debug 2010-11-30 11:22:30.235782 [ertsp] rtsp_socket:134 {"Connecting to","192.168.1.99",554}
debug 2010-11-30 11:22:30.239563 [ertsp] rtsp_socket:136 {"Connect","rtsp://192.168.1.99"}
DESCRIBE rtsp://192.168.1.99 RTSP/1.0
CSeq: 1

--------------------------
[RTSP Response]
200 OK
[{'Content-Base',<<"rtsp://192.168.1.99/">>}, {'Content-Length',477}, {'Content-Type',<<"application/sdp">>}, {'Cseq',<<"1">>}, {'Date',<<"Thu, Jul 02 2009 14:09:23 GMT">>}]
v=0
o=- 124654376300710000 1 IN IP4 0.0.0.0
s=Session streamed by RTP/RTSP server
i=IP Encoder RTP streamer
t=0 0
a=tool:IP Encoder RTP streamer V2009.02.05
a=type:broadcast
a=control:*
a=range:ntp=0-
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=245;config=000001B003000001B50900000100000001200086C400670C2C1090518F
a=control:track1
m=audio 0 RTP/AVP 111
c=IN IP4 0.0.0.0
a=rtpmap:111 L16/8000
a=control:track2

debug 2010-11-30 11:22:30.248726 [ertp] (sdp:136): Value: "96 profile-level-id=245;config=000001B003000001B50900000100000001200086C400670C2C1090518F"
debug 2010-11-30 11:22:30.249041 [ertp] (sdp:139): Opt: "profile-level-id=245"
debug 2010-11-30 11:22:30.249325 [ertp] (sdp:139): Opt: "config=000001B003000001B50900000100000001200086C400670C2C1090518F"
debug 2010-11-30 11:22:30.249623 [ertsp] rtsp_socket:285 {"Streams", {{video, {video,<0.141.0>,90.0,undefined,undefined,
undefined,undefined,undefined,false,
undefined,undefined,mp4v,undefined,
undefined,false,[]}}, {rtcp,0}, {audio, {audio,<0.141.0>,8.0,undefined,undefined,
undefined,undefined,undefined,false,
undefined,undefined,pcm,undefined,undefined,
<<>>,<<>>}}, {rtcp,2}},
[1,2]}
debug 2010-11-30 11:22:30.250247 [ertsp] rtsp_socket:564 {"No Rtp-Info on play command"}
debug 2010-11-30 11:22:30.250500 [ertsp] rtsp_socket:156 {"Setup",1,
[{media_desc,video,undefined,0,
[{payload,96,mp4v,90.0,undefined,undefined,[]}],
"track1",undefined,undefined,undefined}, {media_desc,audio,undefined,0,
[{payload,111,pcm,8.0,undefined,undefined,[]}],
"track2",undefined,undefined,undefined}]}
SETUP rtsp://192.168.1.99/track1 RTSP/1.0
CSeq: 2
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

--------------------------
[RTSP Response]
400 Bad Request
[{'Allow',<<"OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN">>}, {'Date',<<"Thu, Jul 02 2009 14:09:23 GMT">>}]
debug 2010-11-30 11:22:30.253728 [ertsp] rtsp_socket:564 {"No Rtp-Info on play command"}
debug 2010-11-30 11:22:30.253972 [ertsp] rtsp_socket:156 {"Setup",2,
[{media_desc,video,undefined,0,
[{payload,96,mp4v,90.0,undefined,undefined,[]}],
"track1",undefined,undefined,undefined}, {media_desc,audio,undefined,0,
[{payload,111,pcm,8.0,undefined,undefined,[]}],
"track2",undefined,undefined,undefined}]}
SETUP rtsp://192.168.1.99/track2 RTSP/1.0
CSeq: 3
Transport: RTP/AVP/TCP;unicast;interleaved=2-3

debug 2010-11-30 11:22:30.254524 [ertsp] rtsp_socket:210 {"RTSP socket closed"}
debug 2010-11-30 11:22:30.254744 [ertsp] rtsp_socket:635 {"RTSP stopping",normal}
debug 2010-11-30 11:22:30.254995 [main] rtsp_media:128 {"Failed to open rtsp_source","rtsp://192.168.1.99",
"retry count/limit",97,100, {exit, {normal, {gen_server,call,
[<0.241.0>,{request,setup,2},5000]}}}}
debug 2010-11-30 11:22:31.256136 [main] rtsp_media:38 {"Connecting to RTSP","rtsp://192.168.1.99"}
debug 2010-11-30 11:22:31.256463 [main] ems_event:305 {ems_event, {erlyvideo_event,stream_source_requested,default,
undefined,undefined,undefined,undefined,
"rtsp://192.168.1.99",[],undefined}}
debug 2010-11-30 11:22:31.256828 [ertsp] rtsp_socket:134 {"Connecting to","192.168.1.99",554}
debug 2010-11-30 11:22:31.259533 [ertsp] rtsp_socket:136 {"Connect","rtsp://192.168.1.99"}
DESCRIBE rtsp://192.168.1.99 RTSP/1.0
CSeq: 1

--------------------------
[RTSP Response]
200 OK
[{'Content-Base',<<"rtsp://192.168.1.99/">>}, {'Content-Length',477}, {'Content-Type',<<"application/sdp">>}, {'Cseq',<<"1">>}, {'Date',<<"Thu, Jul 02 2009 14:09:24 GMT">>}]
v=0
o=- 124654376400740000 1 IN IP4 0.0.0.0
s=Session streamed by RTP/RTSP server
i=IP Encoder RTP streamer
t=0 0
a=tool:IP Encoder RTP streamer V2009.02.05
a=type:broadcast
a=control:*
a=range:ntp=0-
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=245;config=000001B003000001B50900000100000001200086C400670C2C1090518F
a=control:track1
m=audio 0 RTP/AVP 111
c=IN IP4 0.0.0.0
a=rtpmap:111 L16/8000
a=control:track2

debug 2010-11-30 11:22:31.276963 [ertp] (sdp:136): Value: "96 profile-level-id=245;config=000001B003000001B50900000100000001200086C400670C2C1090518F"
debug 2010-11-30 11:22:31.277290 [ertp] (sdp:139): Opt: "profile-level-id=245"
debug 2010-11-30 11:22:31.277515 [ertp] (sdp:139): Opt: "config=000001B003000001B50900000100000001200086C400670C2C1090518F"
debug 2010-11-30 11:22:31.277788 [ertsp] rtsp_socket:285 {"Streams", {{video, {video,<0.141.0>,90.0,undefined,undefined,
undefined,undefined,undefined,false,
undefined,undefined,mp4v,undefined,
undefined,false,[]}}, {rtcp,0}, {audio, {audio,<0.141.0>,8.0,undefined,undefined,
undefined,undefined,undefined,false,
undefined,undefined,pcm,undefined,undefined,
<<>>,<<>>}}, {rtcp,2}},
[1,2]}
debug 2010-11-30 11:22:31.278321 [ertsp] rtsp_socket:564 {"No Rtp-Info on play command"}
debug 2010-11-30 11:22:31.278539 [ertsp] rtsp_socket:156 {"Setup",1,
[{media_desc,video,undefined,0,
[{payload,96,mp4v,90.0,undefined,undefined,[]}],
"track1",undefined,undefined,undefined}, {media_desc,audio,undefined,0,
[{payload,111,pcm,8.0,undefined,undefined,[]}],
"track2",undefined,undefined,undefined}]}
SETUP rtsp://192.168.1.99/track1 RTSP/1.0
CSeq: 2
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

--------------------------
[RTSP Response]
400 Bad Request
[{'Allow',<<"OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN">>}, {'Date',<<"Thu, Jul 02 2009 14:09:24 GMT">>}]
debug 2010-11-30 11:22:31.281408 [ertsp] rtsp_socket:564 {"No Rtp-Info on play command"}
debug 2010-11-30 11:22:31.281635 [ertsp] rtsp_socket:156 {"Setup",2,
[{media_desc,video,undefined,0,
[{payload,96,mp4v,90.0,undefined,undefined,[]}],
"track1",undefined,undefined,undefined}, {media_desc,audio,undefined,0,
[{payload,111,pcm,8.0,undefined,undefined,[]}],
"track2",undefined,undefined,undefined}]}
SETUP rtsp://192.168.1.99/track2 RTSP/1.0
CSeq: 3
Transport: RTP/AVP/TCP;unicast;interleaved=2-3

debug 2010-11-30 11:22:31.282242 [ertsp] rtsp_socket:210 {"RTSP socket closed"}
debug 2010-11-30 11:22:31.282459 [ertsp] rtsp_socket:635 {"RTSP stopping",normal}
debug 2010-11-30 11:22:31.282680 [main] rtsp_media:128 {"Failed to open rtsp_source","rtsp://192.168.1.99",
"retry count/limit",98,100, {exit, {normal, {gen_server,call,
[<0.242.0>,{request,setup,2},5000]}}}}
debug 2010-11-30 11:22:32.283153 [main] rtsp_media:38 {"Connecting to RTSP","rtsp://192.168.1.99"}
debug 2010-11-30 11:22:32.283446 [main] ems_event:305 {ems_event, {erlyvideo_event,stream_source_requested,default,
undefined,undefined,undefined,undefined,
"rtsp://192.168.1.99",[],undefined}}
debug 2010-11-30 11:22:32.283793 [ertsp] rtsp_socket:134 {"Connecting to","192.168.1.99",554}
debug 2010-11-30 11:22:32.289537 [ertsp] rtsp_socket:136 {"Connect","rtsp://192.168.1.99"}
DESCRIBE rtsp://192.168.1.99 RTSP/1.0
CSeq: 1

--------------------------
[RTSP Response]
200 OK
[{'Content-Base',<<"rtsp://192.168.1.99/">>}, {'Content-Length',477}, {'Content-Type',<<"application/sdp">>}, {'Cseq',<<"1">>}, {'Date',<<"Thu, Jul 02 2009 14:09:25 GMT">>}]
v=0
o=- 124654376500770000 1 IN IP4 0.0.0.0
s=Session streamed by RTP/RTSP server
i=IP Encoder RTP streamer
t=0 0
a=tool:IP Encoder RTP streamer V2009.02.05
a=type:broadcast
a=control:*
a=range:ntp=0-
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=245;config=000001B003000001B50900000100000001200086C400670C2C1090518F
a=control:track1
m=audio 0 RTP/AVP 111
c=IN IP4 0.0.0.0
a=rtpmap:111 L16/8000
a=control:track2

debug 2010-11-30 11:22:32.306762 [ertp] (sdp:136): Value: "96 profile-level-id=245;config=000001B003000001B50900000100000001200086C400670C2C1090518F"
debug 2010-11-30 11:22:32.307036 [ertp] (sdp:139): Opt: "profile-level-id=245"
debug 2010-11-30 11:22:32.307260 [ertp] (sdp:139): Opt: "config=000001B003000001B50900000100000001200086C400670C2C1090518F"
debug 2010-11-30 11:22:32.307523 [ertsp] rtsp_socket:285 {"Streams", {{video, {video,<0.141.0>,90.0,undefined,undefined,
undefined,undefined,undefined,false,
undefined,undefined,mp4v,undefined,
undefined,false,[]}}, {rtcp,0}, {audio, {audio,<0.141.0>,8.0,undefined,undefined,
undefined,undefined,undefined,false,
undefined,undefined,pcm,undefined,undefined,
<<>>,<<>>}}, {rtcp,2}},
[1,2]}
debug 2010-11-30 11:22:32.308010 [ertsp] rtsp_socket:564 {"No Rtp-Info on play command"}
debug 2010-11-30 11:22:32.308236 [ertsp] rtsp_socket:156 {"Setup",1,
[{media_desc,video,undefined,0,
[{payload,96,mp4v,90.0,undefined,undefined,[]}],
"track1",undefined,undefined,undefined}, {media_desc,audio,undefined,0,
[{payload,111,pcm,8.0,undefined,undefined,[]}],
"track2",undefined,undefined,undefined}]}
SETUP rtsp://192.168.1.99/track1 RTSP/1.0
CSeq: 2
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

--------------------------
[RTSP Response]
400 Bad Request
[{'Allow',<<"OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN">>}, {'Date',<<"Thu, Jul 02 2009 14:09:25 GMT">>}]
debug 2010-11-30 11:22:32.313397 [ertsp] rtsp_socket:564 {"No Rtp-Info on play command"}
debug 2010-11-30 11:22:32.313753 [ertsp] rtsp_socket:156 {"Setup",2,
[{media_desc,video,undefined,0,
[{payload,96,mp4v,90.0,undefined,undefined,[]}],
"track1",undefined,undefined,undefined}, {media_desc,audio,undefined,0,
[{payload,111,pcm,8.0,undefined,undefined,[]}],
"track2",undefined,undefined,undefined}]}
SETUP rtsp://192.168.1.99/track2 RTSP/1.0
CSeq: 3
Transport: RTP/AVP/TCP;unicast;interleaved=2-3

debug 2010-11-30 11:22:32.314415 [ertsp] rtsp_socket:210 {"RTSP socket closed"}
debug 2010-11-30 11:22:32.314634 [ertsp] rtsp_socket:635 {"RTSP stopping",normal}
debug 2010-11-30 11:22:32.314857 [main] rtsp_media:128 {"Failed to open rtsp_source","rtsp://192.168.1.99",
"retry count/limit",99,100, {exit, {normal, {gen_server,call,
[<0.243.0>,{request,setup,2},5000]}}}}
debug 2010-11-30 11:22:33.316133 [main] rtsp_media:38 {"Connecting to RTSP","rtsp://192.168.1.99"}
debug 2010-11-30 11:22:33.316463 [main] ems_event:305 {ems_event, {erlyvideo_event,stream_source_requested,default,
undefined,undefined,undefined,undefined,
"rtsp://192.168.1.99",[],undefined}}
debug 2010-11-30 11:22:33.316793 [ertsp] rtsp_socket:134 {"Connecting to","192.168.1.99",554}
debug 2010-11-30 11:22:33.319591 [ertsp] rtsp_socket:136 {"Connect","rtsp://192.168.1.99"}
DESCRIBE rtsp://192.168.1.99 RTSP/1.0
CSeq: 1

--------------------------
[RTSP Response]
200 OK
[{'Content-Base',<<"rtsp://192.168.1.99/">>}, {'Content-Length',477}, {'Content-Type',<<"application/sdp">>}, {'Cseq',<<"1">>}, {'Date',<<"Thu, Jul 02 2009 14:09:26 GMT">>}]
v=0
o=- 124654376600790000 1 IN IP4 0.0.0.0
s=Session streamed by RTP/RTSP server
i=IP Encoder RTP streamer
t=0 0
a=tool:IP Encoder RTP streamer V2009.02.05
a=type:broadcast
a=control:*
a=range:ntp=0-
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=245;config=000001B003000001B50900000100000001200086C400670C2C1090518F
a=control:track1
m=audio 0 RTP/AVP 111
c=IN IP4 0.0.0.0
a=rtpmap:111 L16/8000
a=control:track2

debug 2010-11-30 11:22:33.329502 [ertp] (sdp:136): Value: "96 profile-level-id=245;config=000001B003000001B50900000100000001200086C400670C2C1090518F"
debug 2010-11-30 11:22:33.329858 [ertp] (sdp:139): Opt: "profile-level-id=245"
debug 2010-11-30 11:22:33.330166 [ertp] (sdp:139): Opt: "config=000001B003000001B50900000100000001200086C400670C2C1090518F"
debug 2010-11-30 11:22:33.330525 [ertsp] rtsp_socket:285 {"Streams", {{video, {video,<0.141.0>,90.0,undefined,undefined,
undefined,undefined,undefined,false,
undefined,undefined,mp4v,undefined,
undefined,false,[]}}, {rtcp,0}, {audio, {audio,<0.141.0>,8.0,undefined,undefined,
undefined,undefined,undefined,false,
undefined,undefined,pcm,undefined,undefined,
<<>>,<<>>}}, {rtcp,2}},
[1,2]}
debug 2010-11-30 11:22:33.331226 [ertsp] rtsp_socket:564 {"No Rtp-Info on play command"}
debug 2010-11-30 11:22:33.331478 [ertsp] rtsp_socket:156 {"Setup",1,
[{media_desc,video,undefined,0,
[{payload,96,mp4v,90.0,undefined,undefined,[]}],
"track1",undefined,undefined,undefined}, {media_desc,audio,undefined,0,
[{payload,111,pcm,8.0,undefined,undefined,[]}],
"track2",undefined,undefined,undefined}]}
SETUP rtsp://192.168.1.99/track1 RTSP/1.0
CSeq: 2
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

--------------------------
[RTSP Response]
400 Bad Request
[{'Allow',<<"OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN">>}, {'Date',<<"Thu, Jul 02 2009 14:09:26 GMT">>}]
debug 2010-11-30 11:22:33.334439 [ertsp] rtsp_socket:564 {"No Rtp-Info on play command"}
debug 2010-11-30 11:22:33.334685 [ertsp] rtsp_socket:156 {"Setup",2,
[{media_desc,video,undefined,0,
[{payload,96,mp4v,90.0,undefined,undefined,[]}],
"track1",undefined,undefined,undefined}, {media_desc,audio,undefined,0,
[{payload,111,pcm,8.0,undefined,undefined,[]}],
"track2",undefined,undefined,undefined}]}
SETUP rtsp://192.168.1.99/track2 RTSP/1.0
CSeq: 3
Transport: RTP/AVP/TCP;unicast;interleaved=2-3

debug 2010-11-30 11:22:33.335317 [ertsp] rtsp_socket:210 {"RTSP socket closed"}
debug 2010-11-30 11:22:33.335536 [ertsp] rtsp_socket:635 {"RTSP stopping",normal}
debug 2010-11-30 11:22:33.335780 [main] rtsp_media:128 {"Failed to open rtsp_source","rtsp://192.168.1.99",
"retry count/limit",100,100, {exit, {normal, {gen_server,call,
[<0.244.0>,{request,setup,2},5000]}}}}
debug 2010-11-30 11:22:34.337115 [main] rtsp_media:134 "No RTSP source and retry limits are over"
debug 2010-11-30 11:22:34.337471 [main] ems_media:794 {"ems_media is stopping after handle_info",rtsp_media,
make_request,normal}
debug 2010-11-30 11:22:34.337781 [main] ems_media:1005 "ems_media exit normal"
debug 2010-11-30 11:22:34.338134 [main] media_provider:412 {"Stream died",<0.141.0>,<<"cam">>,<<"normal">>}
debug 2010-11-30 11:22:34.338457 [main] ems_event:305 {ems_event, {erlyvideo_event,stream_stopped,default,undefined,
undefined,undefined,<0.141.0>,<<"cam">>,
undefined,undefined}}

My config file is: {rtmp_default_wait, false}. {modules,[rtsp,mpegts]}. {paths, ["/var/lib/erlyvideo/plugins", "/usr/local/lib/erlyvideo/plugins"]}. {file_formats,[mp4_reader,flv_reader,mp3_reader]}. {vhosts, [ {default, [ {file_access, file}, {detectors, [rewrite, http, rtsp, ts_file, file, livestream]}, {hostname, ["localhost"]}, {rtmp_handlers, [{auth_users_limit, 200}, trusted_login, apps_push, apps_streaming, apps_recording]}, {event_handlers, [
% {stream_stopped, {ems_hook_http, "http://localhost:8082/stopped"}},
% {user_connected, {ems_hook_http, "http://localhost:3000/"}}
]}, {secret_key, "123"}, {file_dir, "movies"}, {wwwroot, "wwwroot"}, {www_handlers, [ems_http_templates, ems_http_stats, ems_http_rtmpt, ems_http_push, ems_http_mpegts, ems_http_flv, {ems_http_file,"wwwroot"}]}, {rewrite, [ {"stream/vlc.ts", mpegts, "http://localhost:8080", [{timeshift, 60000}]}, {"cam", rtsp, "rtsp://192.168.1.99"}

RTSP stream works on VLC.
On some other forum, related to darwin stream server, i found such note:
"The camera does not like SETUP requests without first issuing a DESCRIBE in the same connection. If you try, it returns a 400 error. "
It refers to some vivotek ip camera but i think the problem is similar.

Please help, I wouldn't bother you i wouldn't try everything in my power.
PS. sorry for my crappy english.


Replies (2)

RE: RTSP Bad request error - Added by Max Lapshin about 4 years ago

MP4V-ES

It means not MPEG-4 Part 10, or H.264 or AVC.

It means MPEG-4 Part 2 or just MPEG-4. Erlyvideo doesn't work with it because only VLC can view it. Neither Flash, neither iPhone can't watch this video.

So your device isn't supported by erlyvideo.

RE: RTSP Bad request error - Added by Matthew D about 4 years ago

thanks for quick reply

(1-2/2)