Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 08-12-2008, 02:21 AM   #1 (permalink)
iPhone developer
 
Join Date: Aug 2008
Location: India
Posts: 20
Send a message via AIM to iFoneTechy Send a message via MSN to iFoneTechy Send a message via Yahoo to iFoneTechy
Thumbs up How to play/stream a video from server through http/rtsp???

Hello,
Currently, I am being able to play a video on iPhone simulator placed under resource folder of application and also being able to make http connection with server to transfer text data.
Now my next step is to play/stream the video on iPhone Simulator through http or rtsp placed on server.

Please guide me if any body having same experience on same problem and came out with a solution.
Also clear my one doubt can i use rtsp to stream video from server or not.

Thanks in advance...


Cheers!!!!!
iFoneTechy is offline   Reply With Quote
Old 08-12-2008, 07:51 AM   #2 (permalink)
iPhone developer
 
Join Date: Aug 2008
Location: India
Posts: 20
Send a message via AIM to iFoneTechy Send a message via MSN to iFoneTechy Send a message via Yahoo to iFoneTechy
Lightbulb

If anybody having any idea do tell me. It might be very helpfull to findout the final solution.....
Cheers!!!!
iFoneTechy is offline   Reply With Quote
Old 08-14-2008, 02:19 AM   #3 (permalink)
iPhone developer
 
Join Date: Aug 2008
Location: India
Posts: 20
Send a message via AIM to iFoneTechy Send a message via MSN to iFoneTechy Send a message via Yahoo to iFoneTechy
Default

I came to know we can use NSURL for making connection with server. But still having no idea how can we download or directly stream the video from server...
iFoneTechy is offline   Reply With Quote
Old 08-15-2008, 08:16 AM   #4 (permalink)
New Member
 
Join Date: Aug 2008
Posts: 22
Send a message via AIM to superuser
Default

You've probably figured this out already but this plays a movie, or mp3 from a server but I am not sure it fits your definition:

-(NSURL *)movieURL
{
if (mMovieURL == nil)
{
id path = @"http://www.yourserver.com/iphone/yourmovie.m4v";
mMovieURL = [NSURL URLWithStringath];
[mMovieURL retain];
}
return mMovieURL;
}

(I got this from another post - not my code)

I have not tested this on an iPhone but only on the simulator so I can't comment about performance issues.

One thing I don't like, when playing mp3 it displays a Quicktime logo and the url of the file. I would like to be able to define an image to use as a background or minimize the instance of MPMoviePlayer so I can show and image.

My only solution thus far is to create a slideshow of images as a movie and just treat it as a movie but that increases the size from a 6Mb sound file to a 84Mb movie file... all for the sake of images.
superuser is offline   Reply With Quote
Old 08-18-2008, 05:18 AM   #5 (permalink)
iPhone developer
 
Join Date: Aug 2008
Location: India
Posts: 20
Send a message via AIM to iFoneTechy Send a message via MSN to iFoneTechy Send a message via Yahoo to iFoneTechy
Default

Hi,
Yep its working fine.......on simulator
Thanks Alot...
iFoneTechy is offline   Reply With Quote
Old 01-27-2009, 11:58 PM   #6 (permalink)
New Member
 
Join Date: Nov 2008
Posts: 6
Default

have you played video file using rtsp?
iphonejudy is offline   Reply With Quote
Old 01-28-2009, 07:07 AM   #7 (permalink)
Registered Member
 
Join Date: Jul 2008
Posts: 345
Default

Quote:
Originally Posted by iphonejudy View Post
have you played video file using rtsp?
It's not supported.

No iPhone app uses it. They use http with incremental downloads.
Bucky is offline   Reply With Quote
Old 07-03-2009, 03:39 AM   #8 (permalink)
Registered Member
 
Join Date: Oct 2008
Posts: 14
Default any one have any new idea abt RTSP live streaming in iphone 3.0

anybody having any idea ?
rkp01_jec is offline   Reply With Quote
Old 07-04-2009, 12:37 AM   #9 (permalink)
Registered Member
 
Join Date: Oct 2008
Posts: 14
Default

Quote:
Originally Posted by Bucky View Post
It's not supported.

No iPhone app uses it. They use http with incremental downloads.
"iTuner radio" application supports RTSP streaming (URL: Tuner2 HiFi Radio: iPhone/iPod Touch Player). So has he achieved this?
rkp01_jec is offline   Reply With Quote
Old 08-04-2009, 07:31 PM   #10 (permalink)
New Member
 
Join Date: Aug 2009
Posts: 5
Default

I really am having problems. I want a video to be displayed after a UIButton or a UIBarButtonItem is clicked. The video i have is streaming off of my dropbox. I know everything i need on that end. I just can't figure out how to play videos with the click off a button.

I have tried so many can someone tell me what i need to write in the .h, .m and delegate if needed. I have tried to make it using many methods and they all give me errors and warnings.

Please help and email me at antman3579@aol.com
antman872 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,198
Threads: 38,971
Posts: 170,967
Top Poster: smasher (2,567)
Welcome to our newest member, Hendrika
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:42 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0