-
April 23rd, 2012, 04:29 AM
#1
want to create a socket application to receive data from streaming server(Live Media)
Hi everybody....
Actually i want to create a socket application(client) to receive data from streaming server(Live Media)...
i a unable to create that code...
can anyone guide me any pseudo code for that....
Thank You
-
April 23rd, 2012, 04:38 AM
#2
Re: want to create a socket application to receive data from streaming server(Live Me
Did you read something about sockets (in MSDN, for a example)?
If you can use MFC then I'd recommend you to use MFC CAsyncSocket class
Victor Nijegorodov
-
April 23rd, 2012, 04:44 AM
#3
Re: want to create a socket application to receive data from streaming server(Live Me
-
April 23rd, 2012, 04:50 AM
#4
Re: want to create a socket application to receive data from streaming server(Live Me
Victor Nijegorodov
-
April 23rd, 2012, 05:02 AM
#5
Re: want to create a socket application to receive data from streaming server(Live Me
sir i started the programming but unable to reach the end...so need a sample for rtsp client to look at...
-
April 23rd, 2012, 05:07 AM
#6
Re: want to create a socket application to receive data from streaming server(Live Me
Originally Posted by tarun Batra
sir i started the programming but unable to reach the end...so need a sample for rtsp client to look at...
- What is "rtsp"?
- What did you already do?
- Didn't you fine any sample code in the link I've posted?
Victor Nijegorodov
-
April 23rd, 2012, 05:36 AM
#7
Re: want to create a socket application to receive data from streaming server(Live Me
RTSP is real time streaming protocol...
i got a MFC code from some link and tried to build my VC++ code without using MFC...but am not able to do that...
-
April 23rd, 2012, 05:43 AM
#8
Re: want to create a socket application to receive data from streaming server(Live Me
What is the problem for you in using MFC?
Victor Nijegorodov
-
April 23rd, 2012, 05:46 AM
#9
Re: want to create a socket application to receive data from streaming server(Live Me
Actually the cod is not running in VC++
its giving errors like "
1>Compiling...
1>StdAfx.cpp
1> WINVER not defined. Defaulting to 0x0600 (Windows Vista)
1>c:\program files\microsoft sdks\windows\v6.0a\include\windns.h(1369) : error C2059: syntax error : 'constant'
1>c:\program files\microsoft sdks\windows\v6.0a\include\windns.h(1369) : error C2238: unexpected token(s) preceding ';'
1>c:\program files\microsoft sdks\windows\v6.0a\include\windns.h(1428) : error C2059: syntax error : 'constant'
1>c:\program files\microsoft sdks\windows\v6.0a\include\windns.h(1428) : error C2238: unexpected token(s) preceding ';'
1>Creating browse information file...
1>Microsoft Browse Information Maintenance Utility Version 9.00.21022
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>BSCMAKE: error BK1506 : cannot open file '.\Debug\Rtspc.sbr': No such file or directory
1>Build log was saved at "file://c:\Documents and Settings\Administrator\Desktop\imp\rtspc-src-1.3.1.tar\rtspc1.3.1\win32\Debug\BuildLog.htm"
1>Rtspc - 5 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
-
April 23rd, 2012, 07:46 AM
#10
Re: want to create a socket application to receive data from streaming server(Live Me
Originally Posted by tarun Batra
so need a sample for rtsp client to look at...
Learning how to google: rtsp client source code
Best regards,
Igor
-
April 23rd, 2012, 08:35 AM
#11
Re: want to create a socket application to receive data from streaming server(Live Me
Hey sir i want a code implemented through Socket not through Live Media libraries or some what else......
-
April 23rd, 2012, 10:59 AM
#12
Re: want to create a socket application to receive data from streaming server(Live Me
Don't click on any link that uses something you don't want...
-
April 23rd, 2012, 06:00 PM
#13
Re: want to create a socket application to receive data from streaming server(Live Me
sir i started the programming but unable to reach the end...so need a sample for rtsp client to look at...
Originally Posted by tarun Batra
Hey sir i want a code implemented through Socket not through Live Media libraries or some what else......
The library source code was supposed to be "a sample for rtsp client to look at". So you do think the "libraries or some what else" implements that not through socket, right? By some magic, you think?
Last edited by Igor Vartanov; April 23rd, 2012 at 06:03 PM.
Best regards,
Igor
-
April 24th, 2012, 08:29 PM
#14
Re: want to create a socket application to receive data from streaming server(Live Me
Here is one example of a source code library that can be used to to build a streaming application using protocols like RTP/RTCP, RTSP, SIP: "LIVE555 Streaming Media" at http://www.live555.com/liveMedia/ . The link includes sample code, like sample code for building a basic RTSP client.
Incidentally, although the above link was found independently, it's the very first hit in the Google search that Igor gave you. Pay attention to Igor, and listen to his advice. He's smart.
Mike
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|