I just sent you a pull request on Github with some changes that I think *should* make playback work in non desktop clients.
Thanks mate!
I had to make a few changes to get this working, just needed to add the video duration settings to the VideoObject, this is now working on PlexWeb, but not on my iPhone (havent tested the iPad but im going to assume its the same problem)
2013 13:04:41 [0xb0185000] DEBUG - Cookie header in secure request: SESSION-GUID=DFB93889-1200-4412-8951-104111103CE9
Apr 26, 2013 13:04:41 [0xb0185000] DEBUG - Checking cookie 'SESSION-GUID=DFB93889-1200-4412-8951-104111103CE9'Apr 26, 2013 13:04:41 [0xb0185000] DEBUG - Request range: 0 to 1Apr 26, 2013 13:04:41 [0xb0185000] DEBUG - Found session GUID of DFB93889-1200-4412-8951-104111103CE9 in session start.Apr 26, 2013 13:04:41 [0xb0185000] DEBUG - Short-circuiting silly request.Apr 26, 2013 13:04:41 [0xb0185000] DEBUG - Adding cookie for security headers: 'SESSION-GUID=DFB93889-1200-4412-8951-104111103CE9'Apr 26, 2013 13:04:41 [0xb0081000] DEBUG - Request: GET /video/:/transcode/segmented/start.m3u8?session=DFB93889-1200-4412-8951-104111103CE9 [192.168.10.52:55225] (2 live)Apr 26, 2013 13:04:41 [0xb0081000] DEBUG - * session => DFB93889-1200-4412-8951-104111103CE9Apr 26, 2013 13:04:41 [0xb0081000] DEBUG - Cookie header in secure request: SESSION-GUID=DFB93889-1200-4412-8951-104111103CE9Apr 26, 2013 13:04:41 [0xb0081000] DEBUG - Checking cookie 'SESSION-GUID=DFB93889-1200-4412-8951-104111103CE9'Apr 26, 2013 13:04:41 [0xb0081000] DEBUG - Found session GUID of DFB93889-1200-4412-8951-104111103CE9 in session start.Apr 26, 2013 13:04:41 [0xb0081000] DEBUG - Using session GUID DFB93889-1200-4412-8951-104111103CE9 for new transcode session.Apr 26, 2013 13:04:41 [0xb0081000] DEBUG - Using existing transcode session.Apr 26, 2013 13:04:41 [0xb0081000] DEBUG - Adding cookie for security headers: 'SESSION-GUID=DFB93889-1200-4412-8951-104111103CE9'Apr 26, 2013 13:04:41 [0xb0185000] DEBUG - Request: GET /video/:/transcode/segmented/session/DFB93889-1200-4412-8951-104111103CE9/6/index.m3u8 [192.168.10.52:55226] (2 live)Apr 26, 2013 13:04:41 [0xb0185000] DEBUG - Starting a transcode session DFB93889-1200-4412-8951-104111103CE9 at offset -1.0 (stopped=1)Apr 26, 2013 13:04:41 [0xb0185000] DEBUG - Setting up segmented session, quality=6Apr 26, 2013 13:05:01 [0xb0b3c000] DEBUG - Request: GET /video/:/transcode/segmented/stop?session=DFB93889-1200-4412-8951-104111103CE9&X-Plex-Device=iPhone&X-Plex-Client-Capabilities=protocols%3Dhttp-live-streaming%2Chttp-mp4-streaming%2Chttp-streaming-video%2Chttp-streaming-video-720p%2Chttp-mp4-video%2Chttp-mp4-video-720p%3BvideoDecoders%3Dh264%7Bprofile%3Ahigh%26resolution%3A1080%26level%3A41%7D%3BaudioDecoders%3Dmp3%2Caac%7Bbitrate%3A160000%7D&X-Plex-Client-Platform=iOS&X-Plex-Device-Name=Kyle%20iPhone&X-Plex-Model=5%2C2&X-Plex-Platform=iOS&X-Plex-Client-Identifier=DFB93889-1200-4412-8951-104111103CE9&X-Plex-Product=Plex%2FiOS&X-Plex-Platform-Version=6.1.3&X-Plex-Version=3.1.3 [192.168.10.52:55228] (3 live)Apr 26, 2013 13:05:01 [0xb0b3c000] DEBUG - * session => DFB93889-1200-4412-8951-104111103CE9Apr 26, 2013 13:05:01 [0xb0b3c000] DEBUG - * X-Plex-Device => iPhoneApr 26, 2013 13:05:01 [0xb0b3c000] DEBUG - * X-Plex-Client-Capabilities => protocols=http-live-streaming,http-mp4-streaming,http-streaming-video,http-streaming-video-720p,http-mp4-video,http-mp4-video-720p;videoDecoders=h264{profile:high&resolution:1080&level:41};audioDecoders=mp3,aac{bitrate:160000}Apr 26, 2013 13:05:01 [0xb0b3c000] DEBUG - * X-Plex-Client-Platform => iOSApr 26, 2013 13:05:01 [0xb0b3c000] DEBUG - * X-Plex-Device-Name => Kyle iPhoneApr 26, 2013 13:05:01 [0xb0b3c000] DEBUG - * X-Plex-Model => 5,2Apr 26, 2013 13:05:01 [0xb0b3c000] DEBUG - * X-Plex-Platform => iOSApr 26, 2013 13:05:01 [0xb0b3c000] DEBUG - * X-Plex-Client-Identifier => DFB93889-1200-4412-8951-104111103CE9Apr 26, 2013 13:05:01 [0xb0b3c000] DEBUG - * X-Plex-Product => Plex/iOSApr 26, 2013 13:05:01 [0xb0b3c000] DEBUG - * X-Plex-Platform-Version => 6.1.3Apr 26, 2013 13:05:01 [0xb0b3c000] DEBUG - * X-Plex-Version => 3.1.3Apr 26, 2013 13:05:05 [0xb0081000] DEBUG - Request: GET / [192.168.10.10:65456] (3 live)Apr 26, 2013 13:05:05 [0xb0081000] DEBUG - It took 0.000072 sec to serialize a list with 10 elements.Apr 26, 2013 13:05:11 [0xb0185000] DEBUG - Computed display width of 7.8"Apr 26, 2013 13:05:11 [0xb0185000] DEBUG - Video Stream copy => cp:av, vp:high, vr:1080, vl:41Apr 26, 2013 13:05:11 [0xb0185000] DEBUG - Audio Stream copy => ac:mp3,aac=160000Apr 26, 2013 13:05:11 [0xb0185000] DEBUG - Job running: /Applications/Plex Media Server.app/Contents/Resources/Plex Transcoder transcode rtmp://cp53909.edgefcs.net/ondemand?auth=daEaab1dQdradd4aAbBcRaTcqdobdcQcCbN-brEFwu-8-jlo_tHynI&aifp=v001+playpath=mp4:flash/playback/_definst_/promos/funnyaspromo_13_01_02+swfUrl=http://www.abc.net.au/iview/images/iview.jpg+swfVfy=1 /var/folders/pj/nmnk2vwd3bs910tzhqzvklr00000gn/T/plex-transcode-DFB93889-1200-4412-8951-104111103CE9-63465aa9-c0de-4ba7-8a6a-d361778b2811/media 6 6 0 any nil 0 yes UTF-8 default 0.75 av high 1080 41 mp3,aac=160000 3355443 yes no http://127.0.0.1:32400/video/:/transcode/session/DFB93889-1200-4412-8951-104111103CE9/progressApr 26, 2013 13:05:11 [0xb0b3c000] DEBUG - [Transcoder] Starting transcoder v306 (t=6s, q=6)Apr 26, 2013 13:05:11 [0xb0081000] DEBUG - [Transcoder] Registered components, about to parse arguments.Apr 26, 2013 13:05:11 [0xb0b3c000] DEBUG - [Transcoder] Video caps: ca=1, cv=1, ac=libmp3lame, mp3=0, aac=160000,1, ac3=-1, dts=-1, pcm=-1, vp=64, vr=1080, vl=41, mss=3355443, anam=1Apr 26, 2013 13:05:11 [0xb0081000] DEBUG - [Transcoder] About to apply initial settings.Apr 26, 2013 13:05:11 [0xb0b3c000] DEBUG - [Transcoder] Opening the input file.Apr 26, 2013 13:05:12 [0xb0081000] ERROR - [Transcoder] Exiting after failure.Apr 26, 2013 13:05:12 [0xb0bbe000] DEBUG - Stopping transcode session DFB93889-1200-4412-8951-104111103CE9Apr 26, 2013 13:05:12 [0xb0bbe000] DEBUG - Killing job.
above is and extract from the log when trying to play from iOS
I have just pushed the changes I have made to Git.
There are a few things I want to get working before I look to put this into the plex store
- Support for iOS devices
- Support for Video Playlists
- Add Series descriptions
Im still very busy and wont get much time to work on this in the next few weeks but ill try