Streampunk / sdpoker

CLI tool and library for testing SMPTE ST2110 SDP files.
Apache License 2.0
38 stars 4 forks source link

Resource name of SDP file does not end in '.sdp' #4

Open garethsb opened 5 years ago

garethsb commented 5 years ago

Just a note. When applied to e.g. http://example.com/x-nmos/connection/v1.0/single/senders/3c6615a2-3971-4e0a-85ff-b5d9a7894051/transportfile the output includes:

Error: Resource name of SDP file 'transportfile' does not end in '.sdp' as required by NMOS Section 2.3. at request.then.res (E:\Projects\AMWA\sdpoker\index.js:34:26)

The specification wording is under discussion, because RFC 4566 does not mandate the extension. See https://github.com/AMWA-TV/nmos-discovery-registration/issues/63.

sparkpunkd commented 5 years ago

NMOS checking can be disabled by setting --nmos=false. This code should be updated once the NMOS issue is resolved.

garethsb commented 5 years ago

Update: the relaxation of this requirement was merged into IS-04 v1.3-dev branch, but that's as far as it's got still.