Results 1 to 2 of 2

Thread: JSON format of PushPublishMap

  1. #1
    Join Date
    Sep 2009
    Posts
    10

    Default JSON format of PushPublishMap

    I'm a little unclear on something in the documentation, which states:

    The PushPublishMap.txt file now supports quotation (") marks around the keys and value strings, in compliance with the JSON specification. Older files without quotation marks will continue to work for a limited time. Update your files as you edit them to retain compatibility with future versions of Push Publishing.
    (http://www.wowza.com/forums/content.php?109#config)


    But the examples don't use quotation marks around keys (not in the documentation, nor in the sample file shipped with WSE 4).

    If I understand this correctly, instead of this:

    {profile:"rtmp", streamName:"myStream", host:"www.mydestination.com"}

    I should be doing this:

    {"profile":"rtmp", "streamName":"myStream", "host":"www.mydestination.com"}

    correct?

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    I think the 2nd one should work, where both the keys and values are quoted. The first one might work but it might not. I would be consistent, quote keys and values or don't quote either.

    Richard

Similar Threads

  1. PushPublishMap.txt File
    By ofer70 in forum Live Streaming and Encoders
    Replies: 1
    Last Post: 03-12-2014, 03:03 PM
  2. PushPlugin PushPublishMap dynamic stream name
    By Skebohof in forum AddOn: Other AddOns
    Replies: 1
    Last Post: 01-31-2013, 09:19 AM
  3. PushPlugin variable StreamName; PushPublishMap
    By jimfresh86 in forum AddOn: Other AddOns
    Replies: 3
    Last Post: 11-30-2012, 09:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •