I just noticed that libmms (and thus applications using libmms such as KRadio4, gstreamer, totem, ...) seems to fail to connect to certain mms:// streams (or servers). VLC plays those well. One such streams is:
The debug output with the environment variable LIBMMS_DEBUG set is:
mmsh: trying to connect to roquette.94fm.rj.gov.br on port 8000
mmsh: first http request
GET / HTTP/1.0
mmsh: answer: >HTTP/1.0 503 Service Unavailable<
mmsh: http status not 2xx: >503 Service Unavailable<
mmsh: connect failed
mms: trying to connect to roquette.94fm.rj.gov.br on port 8000
mms: send command 0x01
mms: error reading packet header
mms: unexpected response: 00 (0x01)
A TCP-Stream analysis shows that the stream gets terminated (tcp FIN) by the remote side after the connect header has been sent. libmms seems to have two tries, VLC seems to have a third try (the first two fail similarly as in libmms) with a higher Version number in the connect header (NSPlayer 7.10.0 instead of 7.0.0). But I'm not sure if this is the only reason.
If you need any more information, please let me know.
Best regards and many thanks,
Log in to post a comment.