Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration of Streams - Adding a concrete example #109

Open
dsilhavy opened this issue Dec 15, 2023 · 1 comment
Open

Configuration of Streams - Adding a concrete example #109

dsilhavy opened this issue Dec 15, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@dsilhavy
Copy link
Contributor

dsilhavy commented Dec 15, 2023

Feature description

In Configuration of media streams to synchronise with the Application Function we provide an explanation of the structure for a JSON file which contains the information required to configure the Provisioning Sessions and Content Hosting Configurations on the 5GMSd Application Function.

I suggest we add an example with concrete values in addition to the one with "dummy" values for users to simply copy/paste. Filling out the required parameters is not straightforward for inexperienced users.

We can use a sample based on the one we have on our Linode instance:

{
    "aspId": "5GMAG",
    "appId": "5G-MAG_Reference_Tools",
    "streams": {
	"vod": {
	    "name": "BBC R&D Demo Streams",
	    "ingestURL": "https://rdmedia.bbc.co.uk/",
	    "distributionConfigurations": [
                {"domainNameAlias": <<ENTER YOUR FQDN HERE>>}
	    ],
	    "consumptionReporting": {
                "reportingInterval": 10,
                "samplePercentage": 100.00,
                "locationReporting": true,
                "accessReporting": true
            },
            "policies": {
                "policy-external-id-1": {
                    "applicationSessionContext": {
                        "sliceInfo": {"sst": 1, "sd": "000001"},
                        "dnn": "internet"
                    },
                    "qoSSpecification": {
                        "qosReference": "qos-ref-1",
                        "maxAuthBtrUl": "2 Mbps",
                        "maxAuthBtrDl": "1 Gbps",
                        "defPacketLossRateDl": 10,
                        "defPacketLossRateUl": 5
                    },
                    "chargingSpecification": {
                        "sponId": "sponsor-id-1",
                        "sponsorEnabled": true,
                        "gpsi": ["msisdn-447000123456"]
                    }
                }
            }
	}
    },
    "vodMedia": [
	{
	    "name": "VoD: Elephant's Dream",
	    "stream": "vod",
	    "entryPoints": [
		{
                    "relativePath": "elephants_dream/1/client_manifest-all.mpd",
                    "contentType": "application/dash+xml",
                    "profiles": ["urn:mpeg:dash:profile:isoff-live:2011"]
                }
	    ]
	},
	{
	    "name": "VoD: Big Buck Bunny",
	    "stream": "vod",
            "entryPoints": [
                {
                    "relativePath": "bbb/2/client_manifest-common_init.mpd",
                    "contentType": "application/dash+xml",
                    "profiles": ["urn:mpeg:dash:profile:isoff-live:2011"]
                }
            ]
	},
	{
	    "name": "VoD: Testcard",
	    "stream": "vod",
            "entryPoints": [
                {
                    "relativePath": "testcard/vod/manifests/avc-full.mpd",
                    "contentType": "application/dash+xml",
                    "profiles": ["urn:mpeg:dash:profile:isoff-live:2011"]
                },
		{
                    "relativePath": "testcard/vod/manifests/avc-full.m3u8",
                    "contentType": "application/x-mpegURL"
                }
	    ]
	}
    ]
}
@dsilhavy dsilhavy added the enhancement New feature or request label Dec 15, 2023
@davidjwbbc
Copy link
Contributor

davidjwbbc commented Dec 22, 2023

Added the "policies" block as an example with all the values filled in. Note, however, that most of the values are optional except for the external policy id key name and the "applicationSessionContext" object. Although the latter can be an empty object without "sliceInfo" or "dnn" entries. (applicationSessionContext is now optional in TS 26.512 v17.7.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants