 |
 |
|
 |
08-12-2008, 02:21 AM
|
#1 (permalink)
|
|
iPhone developer
Join Date: Aug 2008
Location: India
Posts: 20
|
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!!!!!
|
|
|
08-12-2008, 07:51 AM
|
#2 (permalink)
|
|
iPhone developer
Join Date: Aug 2008
Location: India
Posts: 20
|
If anybody having any idea do tell me. It might be very helpfull to findout the final solution.....
Cheers!!!!
|
|
|
08-14-2008, 02:19 AM
|
#3 (permalink)
|
|
iPhone developer
Join Date: Aug 2008
Location: India
Posts: 20
|
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...
|
|
|
08-15-2008, 08:16 AM
|
#4 (permalink)
|
|
New Member
Join Date: Aug 2008
Posts: 22
|
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 URLWithString  ath];
[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.
|
|
|
08-18-2008, 05:18 AM
|
#5 (permalink)
|
|
iPhone developer
Join Date: Aug 2008
Location: India
Posts: 20
|
Hi,
Yep its working fine.......on simulator 
Thanks Alot...
|
|
|
01-27-2009, 11:58 PM
|
#6 (permalink)
|
|
New Member
Join Date: Nov 2008
Posts: 6
|
have you played video file using rtsp?
|
|
|
01-28-2009, 07:07 AM
|
#7 (permalink)
|
|
Registered Member
Join Date: Jul 2008
Posts: 345
|
Quote:
Originally Posted by iphonejudy
have you played video file using rtsp?
|
It's not supported.
No iPhone app uses it. They use http with incremental downloads.
|
|
|
07-03-2009, 03:39 AM
|
#8 (permalink)
|
|
Registered Member
Join Date: Oct 2008
Posts: 14
|
any one have any new idea abt RTSP live streaming in iphone 3.0
anybody having any idea ?
|
|
|
07-04-2009, 12:37 AM
|
#9 (permalink)
|
|
Registered Member
Join Date: Oct 2008
Posts: 14
|
Quote:
Originally Posted by Bucky
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?
|
|
|
08-04-2009, 07:31 PM
|
#10 (permalink)
|
|
New Member
Join Date: Aug 2009
Posts: 5
|
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
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
» Advertisements |
» Online Users: 457 |
| 54 members and 403 guests |
| Adam3001, adison, AdvertiseSpace, Alexman, amulter, Axeva, bbc z, bgeerdes, Chilibird, Cooper_1988, CunningCat, damienbern, develsolutions, DonneonoInvoft, Eagle11, Eskema, Furniture_lover, fxshot, gbh, Gi-lo, Glibnobin, harrytheshark, hazmat82, headkaze, Hendrika, iGeorG, ImpresionesWeb, iphonedave, itsugawakun, jbro, joeprogrammer, jojo453, krishy, LightRoom, Locker, lukeca, LunarMoon, malaki1974, mauri, mcgrath3, ng93, phuongth, racer_X, rhawkey, Rudy, schoash, seymores, sinclairgf, smasher, tappix, tateyaku, upperhouse, vitalic, xiko |
| Most users ever online was 779, 05-11-2009 at 09:55 AM. |
» Stats |
Members: 24,198
Threads: 38,971
Posts: 170,967
Top Poster: smasher (2,567)
|
| Welcome to our newest member, Hendrika |
|