Help debugging flash stream please

Hi all



I’m trying to play content from National Geographic’s TV Channel. It’s an RTMP stream, that I’ve tried both ways (straight to the source, and via WebVideoItem).



When attempting to play the source file, I just get a blank screen. Also, try as I may, I’ve been unable to play the file using the plex player app.



For an RTMP stream with data file given below:



[xml] cp58035.edgefcs.net cp58035.edgefcs.net − ondemand?auth=daEaHc5cDcFd.b7bDaedsbecqc7cpc0cCa3-blUSd7-eS-EEHpsxszrzJyxryq&aifp=0001&slist=flash/channel/feed/00006/.uid.MbTiAABxEP_uGlxVmw582e61a240f34304ca36e97bb9e3664d.07966_00_secret-history-o_001 − flash/channel/feed/00006/.uid.MbTiAABxEP_uGlxVmw582e61a240f34304ca36e97bb9e3664d.07966_00_secret-history-o_001 false 2 [/xml]



I’ve added the item as follows:



dir.Append(RTMPVideoItem(videourl, clip=playPath, live=bool(isLive), title=title, subtitle=subtitle, summary=longsummary, thumb=thumb))



With the url:


rtpm://cp58035.edgefcs.net/ondemand?auth=daEaHc5cDcFd.b7bDaedsbecqc7cpc0cCa3-blUSd7-eS-EEHpsxszrzJyxryq&aifp=0001&slist=flash/channel/feed/00006.uid.MbTiAABxEP_uGlxVmw582e61a240f34304ca36e97bb9e3664d.07966_00_secret-history-o_001



and the clip:


flash/channel/feed/00006/.uid.MbTiAABxEP_uGlxVmw582e61a240f34304ca36e97bb9e3664d.07966_00_secret-history-o_001


*
However, all that returns is a blank screen in plex. I've also attempted to use variations of the above url (encoded, of course) on the plexapp.com flash player, to now avail...*

**For the FLASH item:

**With the above failing, I attempted to play the clip with WebVideoItem:


dir.Append(WebVideoItem(videourl,title=title, subtitle=subtitle, summary=longsummary, thumb=thumb))



url:


http://channel.nationalgeographic.com/channel/videos/player.html?channel=60850&category=60664&title=6658


*
However, with this I only get a popup that states the video title and then the page title, with no playback. * I know it get's some kind of response from the server, since it's showing the web page's title in the popup. There's however no additional feedback from the console or terminal (even if debug logs are activated in the preferences) as to what may be holding it up:


Opening [plex://localhost/video/:/webkit?url=http%3A%2F%2Fchannel.nationalgeographic.com%2Fchannel%2Fvideos%2Fplayer.html%3Fchannel%3D60850%26category%3D60664%26title%3D7966&prefix=/video/nationalgeographic]<br />
Debugger() was called!<br />




(that last entry appears in the console).

Here, my site config file is shown below:

[xml]<?xml version="1.0" encoding="UTF-8"?> [/xml]

I suspect that the trouble must lie with my site configuration?

Is there a way of getting more verbose feedback from Plex?

to get better feedback for debugging site configs, quit plex media server and relaunch it from a terminal window


~/Library/Application\ Support/Plex/Plex\ Media\ Server.app/Contents/MacOS/Plex\ Media\ Server

Hello JanMan,

I just made some changes to the videoplayer at plexapp.com to support authorization strings. I hope Elan is able to put the changed files on the server soon, I’ll post some more info after that.

Hello JanMan,

The player file on the plexapp.com server has been updated. You can now use authorization strings in the url parameter. Here’s an example



Edgeboss XML file:


<FLVPlayerConfig><br />
  <serverName>cp58035.edgefcs.net</serverName><br />
  <fallbackServerName>cp58035.edgefcs.net</fallbackServerName><br />
  <appName>ondemand?auth=daEdKcub4dGb.d_bgasdqd2bFa_aLbXbAbw-blU3CC-eS-HEAopytxrBDyurCq&aifp=0001&slist=flash/channel/feed/00003/.uid.MbTiAAD74VtvnfbhPQ45ab88b670fe88342dcfcaa2785673e8.06658_00_detroit-meets-pe_001</appName><br />
  <streamName>flash/channel/feed/00003/.uid.MbTiAAD74VtvnfbhPQ45ab88b670fe88342dcfcaa2785673e8.06658_00_detroit-meets-pe_001</streamName><br />
  <isLive>false</isLive><br />
  <bufferTime>2</bufferTime><br />
</FLVPlayerConfig><br />



(I left out the CDATA tags for clarity)

url = rtmp://[serverName]/[appName including the auth string **[urlencoded](http://wiki.plexapp.com/index.php/Online_videoplayers#Urlencoding)**]
clip = [streamName]

The result will be something like this:

http://www.plexapp.com/player/player.php?url=rtmp://cp58035.edgefcs.net/ondemand%3Fauth%3DdaEdKcub4dGb.d_bgasdqd2bFa_aLbXbAbw-blU3CC-eS-HEAopytxrBDyurCq%26aifp%3D0001%26slist%3Dflash%2Fchannel%2Ffeed%2F00003%2F.uid.MbTiAAD74VtvnfbhPQ45ab88b670fe88342dcfcaa2785673e8.06658_00_detroit-meets-pe_001&clip=flash/channel/feed/00003/.uid.MbTiAAD74VtvnfbhPQ45ab88b670fe88342dcfcaa2785673e8.06658_00_detroit-meets-pe_001


When testing be sure to grab a fresh authorization string every time! The above url won't work as the key probably has expired by the time you read this (I think keys are valid for 5 minutes or so).


Great, thanks! I was loading Plex, but not the Media Server from Terminal.


Hi sander1

Awesome! That did it! The videos play well now!

Thanks for helping out!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.