View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 13 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Stream to iPhone
PostPosted: Mon Aug 04, 2008 2:24 pm 
Offline
Joined: Fri Apr 15, 2005 10:52 am
Posts: 20
Is anyone aware of a way to stream to an iPhone, live or recorded shows.
I have myth2ipod set up, and I use it with my Nano, but the iphone won't stream the files.

I believe I read somewhere that it is because the iphone cannot play files that are password protected, and the /ipodfeed/ directory is protected in mythweb.

Does anyone know how to unsecure the ipodfeed directory, or bettery yet, a end to end tutorial on setting up streaming to an iphone?


Top
 Profile  
 
PostPosted: Tue Aug 05, 2008 3:02 am 
Offline
Joined: Sun Sep 02, 2007 2:30 pm
Posts: 94
Hi,

I'm not sure what streams the iPhone can play, but the only streams I know of on R5.5 are the flash stream (which you must enable in MythWeb Settings, i.e. on the website) and an asx stream also on the website but enabled by default.

To remove authentication from MythWeb just edit the apache config file: /etc/apache2/apache2.conf as found on this link: http://www.knoppmythwiki.org/index.php? ... thWebHowTo :
Code:
#<Directory />
#     AuthType           Digest
#     AuthName           "MythTV"
#     AuthUserFile       /etc/<em class="highlight marker searchword-1">htdigest</em>
#     Require            valid-user
#     BrowserMatch       "MSIE"      AuthDigestEnableQueryStringHack=On
#</Directory>


which was towards the end of the apache config file. Then run:
Code:
/etc/init.d/apache2 restart

and all authentication should be removed from MythWeb. Just make sure your MythBox is not exposed to the web first though! Hope that gets your iPhone working!

_________________
Running Knoppmyth R5.5 on a Compaq EVO D510 (sff) w/ P4 1.8GHz, 1GB RAM, 330GB 7200rpm Maxtor IDE HDD, XFX Nvidia GeForce 6200 (AGP low profile, p/n: PV-T44A-WANG) and Huappauge NOVA-T 500 DVB-T dual tuner PCI card.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 05, 2008 8:42 pm 
Offline
Joined: Fri Apr 15, 2005 10:52 am
Posts: 20
Is there a way to remove the authentication from just the ipodfeed directory?

I would rather have mythweb secured, than watch shows on my phone.

Or even yet if the browser user agent is "iphone" to disable the authentication.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 06, 2008 8:50 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
Bodah, I got hung up on the security end of streaming to the iPhone. I can do it nicely at home on wifi with security off, but I wanted to stream outside too and don't want to leave the shields down. If you find a way to keep secure and stream, please post it.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 07, 2008 8:05 am 
Offline
Joined: Fri Apr 15, 2005 10:52 am
Posts: 20
Did you configure it to allow no security from your internal network?

If that is the case, the 2.0 software allows VPNs so I could configure the phone to VPN to the network, then watch the video.


Top
 Profile  
 
 Post subject: iphone stream
PostPosted: Sat Aug 16, 2008 11:33 am 
Offline
Joined: Sun Sep 02, 2007 2:30 pm
Posts: 94
Hi Bodah, sorry its taken time to reply. I think you can just remove the authentication from the ipod feeds directory but I'm not entirely sure what you would have to change in your apache config file to to do this. I reckon you might have to either create an exception for this directory or create another webserver on a different port which points to the ipod feed directory and have no authentication on that. This last idea might be the easiest to do as then you would be forwarding with your router to a port on the mythbox that is not connected with mythweb. Check out the apache documentation for this here:
http://httpd.apache.org/docs/2.2/
BUT I think this a bit clumsy as you have to have already transcoded the files you want to watch before you want to watch them. What looks like a more user friendly approach, in my opinion, is one of the following projects that are coming up to speed that create a frontend for the iphone, check out:
http://chriscarey.com/projects/mythtv/iphone/ and also
http://mythtvnews.com/2007/11/07/stream ... or-iphone/ and there are probably others on Google.

You may not feel confident with doing this if you're not familar with Linux / Knoppmyth etc. since it requires some installation. Although I reckon that if it works well then it is the sought of thing that will be included with Knoppmyth in the future,

-Mythman

_________________
Running Knoppmyth R5.5 on a Compaq EVO D510 (sff) w/ P4 1.8GHz, 1GB RAM, 330GB 7200rpm Maxtor IDE HDD, XFX Nvidia GeForce 6200 (AGP low profile, p/n: PV-T44A-WANG) and Huappauge NOVA-T 500 DVB-T dual tuner PCI card.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 18, 2008 6:45 am 
Offline
Joined: Fri Apr 15, 2005 10:52 am
Posts: 20
I actually looked at both of those. You're right, right now I just don't feel comfortable with trying it. Maybe if I had a step by step walkthough, I would give it a try, but not right now.

I thought that removing security from that directory would be the easiest way to handle it right now.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 19, 2008 11:19 am 
Offline
Joined: Sun Sep 02, 2007 2:30 pm
Posts: 94
Hi Bodah, I'd give the iPhone links a try and then produce a How To but unforunately I don't own an iPhone and so wouldn't be able to test whether it worked! Also I think you would still have to sort out the authentication on mythweb to get it working!

So I guess your best bet is to remove the authentication on the ipodfeeds directory (as you suggested). Whether you do this by creating a second website on your mythbox (but on a different port) that only serves the ipodfeed directory or remove the authentication just on your ipodfeeds directory on the exisiting site, its up to you. To do the latter I've read that you can create a file called .htaccess in the ipodfeed directory with details to override the authentication, this is not necessarily very secure but might just do what you require: http://httpd.apache.org/docs/2.2/howto/htaccess.html

Personally I would try and create a second site for the ipodfeed directory without authentication but I cannot yet figure out to do this.

_________________
Running Knoppmyth R5.5 on a Compaq EVO D510 (sff) w/ P4 1.8GHz, 1GB RAM, 330GB 7200rpm Maxtor IDE HDD, XFX Nvidia GeForce 6200 (AGP low profile, p/n: PV-T44A-WANG) and Huappauge NOVA-T 500 DVB-T dual tuner PCI card.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 19, 2008 6:22 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
I've been playing with this today. Here's what I've done to stream.

Quote:
1. Turned off authentication via the ToggleWebSecurity.sh -all script.

2. Then verified that authentication was on for mythweb. (same script)

3. Changed the index.html page to only redirect to /mythweb directory, thus needing authentication.

4. From iPhone, enter IP address/<ipod_directory> and stream away...

5. Setup a cron job to turn off/on security only for hours I might be streaming.


Granted this is not secure, but it's out of sight on a dynamic IP, so it's a bit elusive.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 17, 2008 2:26 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
Just an update. After the iPhone 2.1 update, all the security issues have been solved for me. I can stream to my iPhone, securely. I can set up a program to record, comflag and then transcode and stream it the next morning, usually without commercials at all!

For those on the 3G or wifi, this should work great. Edge is slow, but if your patient it works.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 17, 2008 4:43 pm 
Offline
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location: Beaumont, CA
I installed Darwin Streaming Server on my R5.5 a couple weekends ago and couldn't be happier. It was pretty simple to get going. I dont have an iphone, but I know it works from quicktime and from Core player on my pocket pc.

_________________
ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 17, 2008 4:50 pm 
Offline
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location: Beaumont, CA
I installed Darwin Streaming Server on my R5.5 a couple weekends ago and couldn't be happier. It was pretty simple to get going. I dont have an iphone, but I know it works from quicktime and from Core player on my pocket pc.

http://ubuntuforums.org/showthread.php?t=346292 (see the 6th post down)

_________________
ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 17, 2009 10:29 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
anyone get R6 to stream to iPhone? my transcodes worked in 5.5 but it seems all the ipodfeed directory wants to do is download and not stream. (Of course d/l isn't an option for an iPhone)

Also the feed.php doesn't work on the iPhone as it doesn't play well with rss. I used to just go to //ipaddress/ipodfeed and it would bring me to the raw directory, now I just get 404.

EDITED

OK, I spoke too soon. Edit /etc/lighttpd/lighttpd.conf to add
Code:
".mp4"          =>      "video/quicktime",
between the .qt and .mov lines

Restart

/etc/rc.d/lighttpd stop
/etc/rc.d/lighttpd start

and then stream from the 'Link' m2iweb.php page and I'm golden.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu