...
curl --connect-timeout 3 -i -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer DIGEST:MySrtTokenMySRTPublishToken" -X PUT --data '{ "uri": "srt://11.22.33.44" }' https://pcast.phenixrts.com/pcast/MyAppId/stream/publish/uri/srt
Where:
MySrtToken
MySRTPublishToken
is a token created for publishing via SRT ingest. See the discussion below about creating tokens for use in publishing via SRT.11.22.33.44
is the source URI from which content will be publishedMyAppId
is your application ID
...