If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!


papalozaroupapalozarou Posts: 96Members, Plex Pass Plex Pass

I've just gotten around to updating to the latest PMS (1.5.4.x) and it's borked a live streaming plugin.

It throws an error saying that my createChannelObject[] has an unexpected keyword argument of includeBandwidths

Adding it to my createChannelObject[] with value of either 0, 1 or False throws a second error on iOS complaing about no direct playback for HTTP, with container MP4, codec H264, audio codec AC3. The offending code appears to be:

video_codec = "H264", audio_codec = "AAC", container = "MP4", protocols = "HTTPLiveStreaming",

(I'm using an @indirect playback method as I need to generate a URL when play is pressed)

If I remove video_codec, audio_codec and container it will play the stream, but:

  • I have no idea what a value of 0, 1 or False does to includeBandwidths as I don't know what it is
  • iOS complains the server is not fast enough to transcode on iOS

Prior to the updated PMS the plugin worked perfectly.

Best Answer


  • sander1sander1 Channel Developer/Admin Posts: 3,844Members, Plex Pass, Plex Ninja Plex Ninja

    Instead of adding the exact "missing" parameters to my functions, I usually have added **kwargs (example) at the end of the function/parameters declaration. That way it'll keep working, even if anything new is (accidentally) added later in time.


  • papalozaroupapalozarou Posts: 96Members, Plex Pass Plex Pass

    Thanks @sander1 that helps.

    It does still leave me not knowing what that argument does, and why the properties (video_codec etc.) now cause iOS to choke

  • papalozaroupapalozarou Posts: 96Members, Plex Pass Plex Pass

    Thanks again @sander1 – will try the above.

Sign In or Register to comment.