About MMS(Microsoft Media Server)...
-
I'm studying MMS Protocol in order to develop the program connecting to FM Radio broadcast of which the url scheme is mms://domain_name/sub_name(directory name?) such as mms://wmc1.liquidviewer.net/WEEI I can obtain the ip address of mms url above, but i don't know the meaning of sub_name. it's important when i write tcp socket code. The socket function usually takes ip address and port number. The MMS protocol's port number is used with 1755. If i have ip address and port number, i can write code as below. ------------------------------------------------------------- const int MMF_PROTOCOL = 1755; char sServerIP[] = "127.0.0.1"; if(WSAStartup(MAKEWORD(2, 2), &wsaData) != 0) ErrorHandling("WSAStartup() error!"); hSocket=socket(PF_INET, SOCK_STREAM, 0); if(hSocket == INVALID_SOCKET) ErrorHandling("socket() error"); memset(&servAddr, 0, sizeof(servAddr)); servAddr.sin_family=AF_INET; servAddr.sin_addr.s_addr=inet_addr(sServerIP); servAddr.sin_port=htons(MMF_PROTOCOL); if(connect(hSocket, (struct sockaddr*)&servAddr, sizeof(servAddr))==SOCKET_ERROR) ErrorHandling("connect() error!"); while(1) { send(hSocket, message, strlen(message), 0); ... } ------------------------------------------------------------- However, i don't know how to connect that mms url owing to the sub_name(directory?). if mms url is mms://111.222.333.444, i can try to connect server with socket because in that case i know ip address and port number(MMS Protocol's port number, 1755). But, with mms://111.222.333.444/sub_name(directory?), i can't connect due to sub_name. I want to take account of sub_name, then do my purpose. Do you know anybody about this problem?
-
I'm studying MMS Protocol in order to develop the program connecting to FM Radio broadcast of which the url scheme is mms://domain_name/sub_name(directory name?) such as mms://wmc1.liquidviewer.net/WEEI I can obtain the ip address of mms url above, but i don't know the meaning of sub_name. it's important when i write tcp socket code. The socket function usually takes ip address and port number. The MMS protocol's port number is used with 1755. If i have ip address and port number, i can write code as below. ------------------------------------------------------------- const int MMF_PROTOCOL = 1755; char sServerIP[] = "127.0.0.1"; if(WSAStartup(MAKEWORD(2, 2), &wsaData) != 0) ErrorHandling("WSAStartup() error!"); hSocket=socket(PF_INET, SOCK_STREAM, 0); if(hSocket == INVALID_SOCKET) ErrorHandling("socket() error"); memset(&servAddr, 0, sizeof(servAddr)); servAddr.sin_family=AF_INET; servAddr.sin_addr.s_addr=inet_addr(sServerIP); servAddr.sin_port=htons(MMF_PROTOCOL); if(connect(hSocket, (struct sockaddr*)&servAddr, sizeof(servAddr))==SOCKET_ERROR) ErrorHandling("connect() error!"); while(1) { send(hSocket, message, strlen(message), 0); ... } ------------------------------------------------------------- However, i don't know how to connect that mms url owing to the sub_name(directory?). if mms url is mms://111.222.333.444, i can try to connect server with socket because in that case i know ip address and port number(MMS Protocol's port number, 1755). But, with mms://111.222.333.444/sub_name(directory?), i can't connect due to sub_name. I want to take account of sub_name, then do my purpose. Do you know anybody about this problem?
-
MMS is no longer supported, see http://en.wikipedia.org/wiki/Microsoft_Media_Server[^].
Thank you for your answer. Should i study RTSP for that work? hm... anyway, your answer is very helpful and will be helpful. However, I am still wondering how to connect to mms url such as "mms://wmc1.liquidviewer.net/WEEI" when programming socket. The below is extracted on the URL you mentioned. "As of 2012 Microsoft still recommends[1] using "mms://" as a "protocol rollover[2] URL"." Therefore, whether or not i use RTSP, i have to know the way to connect mms url with socket for my work. In this part, do you have any answer? thank you for your interest.
-
Thank you for your answer. Should i study RTSP for that work? hm... anyway, your answer is very helpful and will be helpful. However, I am still wondering how to connect to mms url such as "mms://wmc1.liquidviewer.net/WEEI" when programming socket. The below is extracted on the URL you mentioned. "As of 2012 Microsoft still recommends[1] using "mms://" as a "protocol rollover[2] URL"." Therefore, whether or not i use RTSP, i have to know the way to connect mms url with socket for my work. In this part, do you have any answer? thank you for your interest.
-
Did you look at http://msdn.microsoft.com/en-us/library/cc234711.aspx[^]?
sure. I already saw that document and downloaded "[MS-MMSP].pdf" for reading. Then I read it roughly. Could you tell me about what i may be missing.
-
sure. I already saw that document and downloaded "[MS-MMSP].pdf" for reading. Then I read it roughly. Could you tell me about what i may be missing.
-
ok, thank you for your attention.