|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#181
|
||||
|
||||
As for the link you posted, TheWalkingDead-TS19-9459062-0 is the actual file name without the extension?
__________________
SageTCPServer (2.3.5): Open source TCP interface to the SageTV API MLSageTV (3.1.8)/Sage Media Server (1.13): SageTV plugin for MainLobby/CQC TaSageTV (2.58)/TaSTVRemote (1.14): Monitor/control SageTV with an Android device TbSageTV (1.02)/STVRemote (1.11): Monitor/control SageTV with a PlayBook 2 TiSageTV (1.64)/TiSTVRemote (1.09): Monitor/control SageTV with an iPhone/iPod/iPad |
#182
|
|||
|
|||
Quote:
|
#183
|
||||
|
||||
Quote:
The link that I posted was for a search query within ORB that would then pop up a secondary page with the actual link. Using the actual ORB API (and a little memory...), you can use this link to actually stream it via an .asx file... http://mycast.orb.com/orb/data/stream.asx?q=path.filename="TheWalkingDead-TS19-9459062-0" I posted this exact question to the ORB forums some time a go... http://forums.orb.com/viewtopic.php?f=29&t=5919 The problem comes in not for the stream, but in getting the browser to actually act on the link as opposed to saving it... This is why the flash video format works within the Android system and the .asx format simply does not get passed to, say, vPlayer. Here is the main developer page for all the ORB API information: https://developer.orb.com/wiki/Main_Page Just as an FYI: Here is an actual streamer that uses the ORB API's for an android phone http://christian-albert-mueller.com/...1-androrb-03a/ WOW... traction! -Jason
__________________
True standalone tuner functionality with the --> HAVA Channel Changer<-- |
#184
|
||||
|
||||
Quote:
https://developer.orb.com/wiki/How_t...authentication -Jason
__________________
True standalone tuner functionality with the --> HAVA Channel Changer<-- |
#185
|
||||
|
||||
Quote:
If you could add/code the following, all flash enabled browsers could achieve streaming via Orb: 1. Obtain an Orb API Key via https://mycast.orb.com/orb/html/createAPIKey.html This will allow you (via their terms...) to inquire/post requests to the Orb software. 2. For non-iOS devices, query the Orb server for a 'session ID' via https://api.orb.com/orb/xml/session....n&password=foo The *APIKEY* would be the key that you received in step 1. This will validate all the future sessions so that the credentials will not have to be passed with each request. 3. Parse the Orb SessionId and the SageTV recording title (without the extension...) into the following URL(s): https://mycast.orb.com/orb/data/stre...playPosition=0 That's it... I say 'That's it...' but I am also not doing the coding... You can add even more options (.asx/.pls etc...) as well. Heck if you were feeling truly industrious, you could embed the player via http://mediaelementjs.com/ or http://videojs.com/ for a truly cross platform solution in a one page solution. -Jason
__________________
True standalone tuner functionality with the --> HAVA Channel Changer<-- |
#186
|
||||
|
||||
Quote:
According to this link, the application/x-mpegURL is specified as an 'or', but with only the application/vnd.apple.mpegurl specified it would only work on Apple/iOS devices? -Jason EDIT: I think this may be EXACTLY the reason... Looking through the decompiled jad, here is the line: resp.setContentType("application/vnd.apple.mpegurl");
__________________
True standalone tuner functionality with the --> HAVA Channel Changer<-- Last edited by Jason; 01-29-2011 at 07:27 PM. |
#187
|
||||
|
||||
Good idea. The content type might be (part of) the issue. Strangely enough, the link to Apple's m3u8 on the previous page returns a content type of audio/x-mpegurl and the NASA m3u8 returns a content type of text/plain.
Newer drafts of the IETF spec request that application/vnd.apple.mpegurl be registered with IANA, so I'm not sure which direction Apple is headed. I'll try it out and see what happens. The other issues will be if VPlayer can be launched from a web page and whether it works with HTTP basic authentication.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#188
|
||||
|
||||
Quote:
-Jason
__________________
True standalone tuner functionality with the --> HAVA Channel Changer<-- |
#189
|
||||
|
||||
I tried both audio/x-mpegurl and application/x-mpegURL with the mobile web interface's URL. Neither one works. VPlayer pops up a window that says "Can't open this file"
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#190
|
||||
|
||||
Quote:
I double checked both the Apple link and the NASA link that were posted previously. The Apple link works flawlessly, while the NASA link actually lists the .m3u8 as a text file. Digging through the mime types on my Epic (as listed from the Astro File Manager...) there was no .m3u8 listed... There is a .m3u listed as an audio/x-mpegurl. I had previously added .m3u8 as the same as .m3u... When you click the Apple link from your Android, does it play the bipbop video? I ask in that maybe (???) if you cannot open the Apple dev link, and I can, then it may be a missing mime-type on your actual phone. I do not think that I have the content type from the NASA stream linked to an audio or video intent, which is why it lists simply as a text file... Does all that make any sort of sense? -Jason
__________________
True standalone tuner functionality with the --> HAVA Channel Changer<-- |
#191
|
||||
|
||||
I'm guessing the reason it lists the content of the file on your phone is because the mime type is text/plain.
Yes, I get prompted to open it in either VPlayer or Web Browser. I chose VPlayer and it played the video.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#192
|
||||
|
||||
Quote:
Jason
__________________
True standalone tuner functionality with the --> HAVA Channel Changer<-- |
#193
|
|||
|
|||
Quote:
Look at these snippets from each of the files: Apple "bip/bop" sample: Code:
#EXTM3U #EXT-X-TARGETDURATION:10 #EXT-X-MEDIA-SEQUENCE:0 #EXTINF:10, no desc fileSequence0.ts #EXTINF:10, no desc fileSequence1.ts #EXTINF:10, no desc fileSequence2.ts ... Code:
#EXTM3U #EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=298577 http://liveips.nasa.gov.edgesuite.net/msfc/Edge.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=298577 http://liveips.nasa.gov.edgesuite.net/ksc/Edge.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=532383 http://liveips.nasa.gov.edgesuite.net/msfc/3G.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=532383 http://liveips.nasa.gov.edgesuite.net/ksc/3G.m3u8 Code:
#EXTM3U #EXT-X-TARGETDURATION:10 #EXT-X-MEDIA-SEQUENCE:28312 #EXTINF:10, http://liveips.nasa.gov.edgesuite.net/msfc/Edge/Edge_012711_135707_28312.ts #EXTINF:10, http://liveips.nasa.gov.edgesuite.net/msfc/Edge/Edge_012711_135707_28313.ts #EXTINF:10, http://liveips.nasa.gov.edgesuite.net/msfc/Edge/Edge_012711_135707_28314.ts Try playing one of the m3u8 files from Nasa in Vplayer, it works: http://liveips.nasa.gov.edgesuite.net/msfc/Edge.m3u8 http://liveips.nasa.gov.edgesuite.net/ksc/Edge.m3u8 |
#194
|
|||
|
|||
Ah, ok, so that first nasa link is the "index" file with the different bitrate streams, and the contents of the "index" file gives the links to the actual streams. So Vplayer doesn't seem to know what to do with the "index" files, but it can play the individual streams.
|
#195
|
||||
|
||||
Quote:
Quote:
If you turn on Sage's and Jetty's debug logging you can see the playlists that are generated. (It only prints the first and last entries in the segment playlist to avoid flooding the log file with needless repetition.)
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#196
|
||||
|
||||
I still can't figure out what one does to actually use this. There's lots of discussion about people trying it out successfully, but what do you *do*?? Type an address into Safari? What address? I can't find any straightforward instructions on how to use/implement this and it's driving me nuts. Do you guys read each others minds?
|
#197
|
||||
|
||||
Quote:
The address 'could' be, depending on your setup, and at it's most basic: http://localhost:8080/sagem/m/menu.jsp where localhost would be YOUR pc. This is basically a mobilized version of the original web server made by nielm in 2009. I would suggest reading up just a bit on it, as it may give you a better understanding on how/what/why/etc things do what they do... http://forums.sage.tv/forums/showthr...6&page=1&pp=20 -Jason
__________________
True standalone tuner functionality with the --> HAVA Channel Changer<-- |
#198
|
||||
|
||||
Quote:
As an aside, what, specifically, is the difference between the playlist that you generate and the 'Apple' version? As a further aside (OK... way off course...) in place of the thumbnail up top, have you considered embedding the video.js player (http://videojs.com/#getting-started)? It could/should (depending on IF it recognizes your source stream...) alleviate a ton of the cross browser issues. -Jason
__________________
True standalone tuner functionality with the --> HAVA Channel Changer<-- |
#199
|
||||
|
||||
Quote:
Thanks. I tried using the address: http://localhost:8080/streaming and I just got a message that there was nothing there. I'm using the latest version of Safari on a MacBook under Snow Leopard to test it. Does the web server by Nielm play videos? I thought it was just a way to manage the extender or server from a website, with no playback capabilities. Update: Don't know why it didn't occur to me that the nielm web server could play videos. Now I wonder if there's a way of modifying one of these to play on the Roku. The Safari implementation worked, although it only played intermittently for the HD PVR files. I think I can save them in mpg instead of ts, so will try that. Last edited by freewheeling; 01-31-2011 at 12:48 PM. |
#200
|
||||
|
||||
VPlayer update
I have some updates on using VPlayer on Android to play HTTP Live Streaming and wanted to let everyone know what's going on.
I did get VPlayer (0.7.7b7) to play a video. However, based on what I found in my testing, there are several things that I would want resolved before integrating it into the Mobile Web Interface.
I didn't go back and try the application/vnd.apple.mpegurl again. Right now I'm running with application/x-mpegURL. It was also brought to my attention that Android 3.0 will come with a media player that supports HTTP Live Streaming. Obviously I'd rather support something that ships with the OS, but we'll have to see. I'm still waiting for Samsung to deliver 2.2 for my Captivate. Not that it's a big deal that it shuts off by itself at random times or anything.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
Tags |
mobile, web |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: Mobile Web UI for v7 | jreichen | SageTV v7 Customizations | 145 | 03-07-2016 08:47 AM |
Support: Mobile Web Interface V2 iOS Streaming | jreichen | SageTV v7 Customizations | 225 | 09-22-2013 01:19 AM |
Plugin: Mobile Web Interface 1.2 | jreichen | SageTV Customizations | 281 | 06-17-2011 02:20 PM |
FAQ: Mobile Web Interface V2 iOS Streaming | jreichen | SageTV v7 Customizations | 3 | 11-07-2010 08:28 PM |
Wanted: Developer for Web Interface Mobile | Brent | SageTV Customizations | 249 | 02-09-2009 11:21 PM |