Direct Access of media through HTTP 2004-06-11 - By Thomas Joseph (Jobi)
Back Hi Markus,
Thanks for your reply. I do not understand what's JMFand RTP. I am not that new to Java, but I am still a student and have not gone to the professional level. I have not used any Sound APIs in my project. Morover I am very new to Enterprise programming.
I myself do not know what's mms protocol, but I guess its Multi-media Streaming . When one tries to listen to songs from http://launch.yahoo.com , one gets the .aiff file from the server, which is a text file containing a URL - something like - mms://someserver.com?someSongID, which the media player plays instantly.
I do not want to stick to it. This was the only example I could get. If one could get me a way to hear music using a browser without downloading the whole file from the server, I would be very greateful. What should I do? I would welcome any suggestions or referances to this end. I am ready to rework on this topic.
For your information - I am using, Sun's J2EE1.3.1 Server.
Thanks again for your time and support.
: Thomas Joseph
-- -- Original Message -- -- From: Markus Fuchs Sent: Monday, June 07, 2004 11:18 PM Subject: Re: Direct Access of media through HTTP
Hi Thomas,
AIFF is not a playlist file, but a file format for audio files.
Which audio API are you using (JMF vs. Java Sound)? Standard for streaming media is rtp, which is supported by JMF but not Java Sound. Both support direct http streaming of audio files, but both don't support any playlist files -- but it should be easy to parse them on the client and request the actual files with JMF or Java Sound.
What is MMS?
Thanks to Florian Bomers for supplying this answer!
-- markus.
Thomas Joseph (Jobi) wrote:
Hi,
I am working on a project which involves creation of a music site which requires the users to sample music. I have created a servlet which upon recieving the request, makes a playlist file (.aiff), and presents it to the client. I can get it all correct - the playlist file, but the media player is not able to access the music file through http. What can I do for this? o Is media streaming necessary? o Can I do with http itself without going in for mms protocol? o If I need to use mms protocol(as done by many music sites), what changes I have to make to the server? (I am using, Sun's J2EE1.3.1 Server.)
Can anyone help me out???
THANKS IN ADVANCE ! ! !
Thomas Joseph =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv @(protected) and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE></TITLE> <META http-equiv=Content-Type content=text/html;charset=UTF-8 (See http://UTF-8.ora-code.com)> <META content="MSHTML 5.50.4731.2200" name=GENERATOR></HEAD> <BODY text=#000000 bgColor=#ffffff> <DIV><FONT face=Arial color=#000080 size=2></FONT></DIV> <DIV><FONT face=Arial color=#000080 size=2></FONT></DIV> <DIV><FONT face=Arial></FONT></DIV> <DIV><FONT size=2><FONT face=Arial><FONT color=#000080>Hi Markus,<BR><BR>Thanks for your reply.<BR>I do not understand what's JMFand RTP. I am not that new to Java, but I am still a student and have not gone to the professional level. I have not used any Sound APIs in my project. Morover I am very new to Enterprise programming.<BR><BR>I myself do not know what's mms protocol, but I guess its Multi-media Streaming. When one tries to listen to songs from </FONT><U><FONT color=#0000ff>http://launch.yahoo.com</U></FONT></FONT></FONT><FONT size=2><FONT face=Arial><FONT color=#000080> , one gets the .aiff file from the server, which is a text file containing a URL - something like - </FONT><FONT color=#0000ff><U>mms://someserver.com?someSongID</U></FONT></FONT></FONT><FONT face=Arial color=#000080 size=2>, which the media player plays instantly.<BR><BR>I do not want to stick to it. This was the only example I could get. If one could get me a way to hear music using a browser without downloading the whole file from the server, I would be very greateful. What should I do? I would welcome any suggestions or referances to this end. I am ready to rework on this topic.<BR><BR>For your information - I am using, Sun's J2EE1.3.1 Server.<BR><BR>Thanks again for your time and support.<BR><BR>: Thomas Joseph</FONT></DIV> <DIV> </DIV> <DIV>-- -- Original Message -- -- </DIV> <BLOCKQUOTE dir=ltr style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px"> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A title=Markus.Fuchs@(protected) href="mailto:Markus.Fuchs@(protected)">Markus Fuchs</A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, June 07, 2004 11:18 PM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Direct Access of media through HTTP</DIV> <DIV><BR></DIV>Hi Thomas,<BR><BR>AIFF is not a playlist file, but a file format for audio files. <BR><BR>Which audio API are you using (JMF vs. Java Sound)? Standard for streaming media is rtp, which is supported by JMF but not Java Sound. Both support direct http streaming of audio files, but both don't support any playlist files -- but it should be easy to parse them on the client and request the actual files with JMF or Java Sound. <BR><BR>What is MMS?<BR><BR>Thanks to Florian Bomers for supplying this answer!<BR><BR>-- markus.<BR><BR><BR><BR>Thomas Joseph (Jobi) wrote:<BR> <BLOCKQUOTE type="cite" cite="mid002701c44a62$b1937d20$41ec013d@(protected)"> <META content="MSHTML 5.50.4731.2200" name=GENERATOR> <STYLE></STYLE>
<DIV> <DIV><FONT face=Arial color=#000080 size=2>Hi,</FONT></DIV> <DIV> </DIV> <DIV> <DIV><FONT face=Arial color=#000080 size=2>I am working on a project which involves creation of a music site which requires the users to sample music. I have created a servlet which upon recieving the request, makes a playlist file (.aiff), and presents it to the client. I can get it all correct - the playlist file, but the media player is not able to access the music file through http. What can I do for this?<BR>o Is media streaming necessary?<BR>o Can I do with http itself without going in for mms protocol?<BR>o If I need to use mms protocol(as done by many music sites), what changes I have to make to the server? (I am using, Sun's J2EE1.3.1 Server.)</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial color=#000080 size=2>Can anyone help me out???</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial color=#000080 size=2>THANKS IN ADVANCE ! ! !</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial color=#000080 size=2>Thomas Joseph</FONT></DIV></DIV></DIV>============================================ =============================== To unsubscribe, send email to <A class=moz-txt-link-abbreviated href="mailto:listserv@(protected)">listserv@(protected)</A> and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to <A class=moz-txt-link-abbreviated href="mailto:listserv@(protected)">listserv@(protected)</A> and include in the body of the message "help". </BLOCKQUOTE></BLOCKQUOTE></BODY></HTML> =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <p>
|
|