diff --git a/fivegmag_5GMSdAwareApplication/app/build.gradle b/fivegmag_5GMSdAwareApplication/app/build.gradle
index 7ca14c69..c3a8ff7a 100644
--- a/fivegmag_5GMSdAwareApplication/app/build.gradle
+++ b/fivegmag_5GMSdAwareApplication/app/build.gradle
@@ -41,6 +41,7 @@ dependencies {
implementation 'com.google.android.material:material:1.8.0'
implementation 'org.greenrobot:eventbus:3.3.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
+ implementation 'com.google.android.gms:play-services-oss-licenses:17.0.1'
implementation 'com.fivegmag:a5gmscommonlibrary:1.1.0'
implementation 'com.fivegmag:a5gmsmediastreamhandler:1.1.0'
testImplementation 'junit:junit:4.13.2'
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/AndroidManifest.xml b/fivegmag_5GMSdAwareApplication/app/src/main/AndroidManifest.xml
index 1eda4629..0ec7e41c 100644
--- a/fivegmag_5GMSdAwareApplication/app/src/main/AndroidManifest.xml
+++ b/fivegmag_5GMSdAwareApplication/app/src/main/AndroidManifest.xml
@@ -15,6 +15,12 @@
android:supportsRtl="true"
android:theme="@style/Theme.5GMSdAwareApplication"
tools:targetApi="31">
+
+
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/assets/config.properties.xml b/fivegmag_5GMSdAwareApplication/app/src/main/assets/config.properties.xml
index 080b9203..3c3f67da 100644
--- a/fivegmag_5GMSdAwareApplication/app/src/main/assets/config.properties.xml
+++ b/fivegmag_5GMSdAwareApplication/app/src/main/assets/config.properties.xml
@@ -4,7 +4,7 @@
https://rt.5g-mag.com/
- http://10.147.67.10:3003/m8/
-
+
+ http://192.168.178.78:3003/m8/
\ No newline at end of file
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/java/com/fivegmag/a5gmsdawareapplication/AboutActivity.kt b/fivegmag_5GMSdAwareApplication/app/src/main/java/com/fivegmag/a5gmsdawareapplication/AboutActivity.kt
new file mode 100644
index 00000000..8771ff12
--- /dev/null
+++ b/fivegmag_5GMSdAwareApplication/app/src/main/java/com/fivegmag/a5gmsdawareapplication/AboutActivity.kt
@@ -0,0 +1,11 @@
+package com.fivegmag.a5gmsdawareapplication
+
+import androidx.appcompat.app.AppCompatActivity
+import android.os.Bundle
+
+class AboutActivity : AppCompatActivity() {
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ setContentView(R.layout.activity_about)
+ }
+}
\ No newline at end of file
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/java/com/fivegmag/a5gmsdawareapplication/LicenseActivity.kt b/fivegmag_5GMSdAwareApplication/app/src/main/java/com/fivegmag/a5gmsdawareapplication/LicenseActivity.kt
new file mode 100644
index 00000000..df020e50
--- /dev/null
+++ b/fivegmag_5GMSdAwareApplication/app/src/main/java/com/fivegmag/a5gmsdawareapplication/LicenseActivity.kt
@@ -0,0 +1,11 @@
+package com.fivegmag.a5gmsdawareapplication
+
+import androidx.appcompat.app.AppCompatActivity
+import android.os.Bundle
+
+class LicenseActivity : AppCompatActivity() {
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ setContentView(R.layout.activity_license)
+ }
+}
\ No newline at end of file
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/java/com/fivegmag/a5gmsdawareapplication/MainActivity.kt b/fivegmag_5GMSdAwareApplication/app/src/main/java/com/fivegmag/a5gmsdawareapplication/MainActivity.kt
index c2529cb9..547bedbe 100644
--- a/fivegmag_5GMSdAwareApplication/app/src/main/java/com/fivegmag/a5gmsdawareapplication/MainActivity.kt
+++ b/fivegmag_5GMSdAwareApplication/app/src/main/java/com/fivegmag/a5gmsdawareapplication/MainActivity.kt
@@ -10,10 +10,16 @@ https://drive.google.com/file/d/1cinCiA778IErENZ3JN52VFW-1ffHpx7Z/view
package com.fivegmag.a5gmsdawareapplication
import android.Manifest
-import android.content.Context
+import android.app.AlertDialog
+import android.content.Intent
import android.content.pm.PackageManager
+import android.net.Uri
import android.os.Bundle
+import android.text.Html
import android.util.Log
+import android.view.LayoutInflater
+import android.view.Menu
+import android.view.MenuItem
import android.view.View
import android.widget.AdapterView
import android.widget.ArrayAdapter
@@ -21,6 +27,7 @@ import android.widget.Button
import android.widget.Spinner
import android.widget.TextView
import androidx.activity.result.contract.ActivityResultContracts
+import com.google.android.gms.oss.licenses.OssLicensesMenuActivity;
import androidx.appcompat.app.AppCompatActivity
import androidx.core.app.ActivityCompat
import androidx.media3.common.util.UnstableApi
@@ -64,6 +71,104 @@ class MainActivity : AppCompatActivity(), AdapterView.OnItemSelectedListener {
setContentView(R.layout.activity_main)
requestUserPermissions()
}
+ override fun onCreateOptionsMenu(menu: Menu): Boolean {
+ menuInflater.inflate(R.menu.menu_main, menu)
+ return true
+ }
+
+ override fun onOptionsItemSelected(item: MenuItem): Boolean {
+ when (item.itemId) {
+ R.id.actionLicense -> {
+ val dialogView = LayoutInflater.from(this).inflate(R.layout.activity_license, null)
+ val textView = dialogView.findViewById(R.id.licenseTextView)
+ val formattedText = getString(R.string.license_text)
+ textView.text = Html.fromHtml(formattedText, Html.FROM_HTML_MODE_LEGACY)
+ val builder = AlertDialog.Builder(this)
+ .setView(dialogView)
+ .setPositiveButton("OK") { dialog, _ ->
+ dialog.dismiss()
+ }
+ val dialog = builder.create()
+ dialog.show()
+ return true
+ }
+
+ R.id.actionAbout -> {
+ val dialogView = LayoutInflater.from(this).inflate(R.layout.activity_about, null)
+ addVersionNumber(dialogView)
+ setClickListeners(dialogView)
+ formatAboutText(dialogView)
+ val builder = AlertDialog.Builder(this)
+ .setView(dialogView)
+ .setPositiveButton("OK") { dialog, _ ->
+ dialog.dismiss()
+ }
+ val dialog = builder.create()
+ dialog.show()
+ return true
+ }
+
+ R.id.actionAttribution -> {
+ OssLicensesMenuActivity.setActivityTitle(getString(R.string.action_attribution_notice))
+ val licensesIntent = Intent(this, OssLicensesMenuActivity::class.java)
+ startActivity(licensesIntent)
+ return true
+ }
+ }
+ return super.onOptionsItemSelected(item)
+ }
+
+ private fun addVersionNumber(dialogView: View) {
+ val packageInfo = packageManager.getPackageInfo(packageName, 0)
+ val versionName = packageInfo.versionName
+ val versionTextView = dialogView.findViewById(R.id.versionNumberView)
+ val versionText = getString(R.string.version_text_field, versionName)
+ versionTextView.text = versionText
+ }
+
+ private fun setClickListeners(dialogView: View) {
+
+ val githubTextView = dialogView.findViewById(R.id.githubLink)
+ githubTextView.setOnClickListener {
+ val url = getString(R.string.github_url)
+ val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url))
+ startActivity(intent)
+ }
+
+ val twitterTextView = dialogView.findViewById(R.id.twitterLink)
+ twitterTextView.setOnClickListener {
+ val url = getString(R.string.twitter_url)
+ val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url))
+ startActivity(intent)
+ }
+
+ val linkedInView = dialogView.findViewById(R.id.linkedInLink)
+ linkedInView.setOnClickListener {
+ val url = getString(R.string.linked_in_url)
+ val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url))
+ startActivity(intent)
+ }
+
+ val slackView = dialogView.findViewById(R.id.slackLink)
+ slackView.setOnClickListener {
+ val url = getString(R.string.slack_url)
+ val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url))
+ startActivity(intent)
+ }
+
+ val websiteView = dialogView.findViewById(R.id.websiteLink)
+ websiteView.setOnClickListener {
+ val url = getString(R.string.website_url)
+ val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url))
+ startActivity(intent)
+ }
+ }
+
+ private fun formatAboutText(dialogView: View) {
+ val textView = dialogView.findViewById(R.id.descriptionText)
+ val formattedText = getString(R.string.description_text)
+ textView.text = Html.fromHtml(formattedText, Html.FROM_HTML_MODE_LEGACY)
+ }
private fun requestUserPermissions() {
val requestPermissionLauncher =
@@ -104,7 +209,7 @@ class MainActivity : AppCompatActivity(), AdapterView.OnItemSelectedListener {
exoPlayerAdapter,
::onConnectionToMediaSessionHandlerEstablished
)
- val representationInfoTextView = findViewById(R.id.representationInfo)
+ val representationInfoTextView = findViewById(R.id.representation_info)
mediaStreamHandlerEventHandler.initialize(representationInfoTextView, this)
} catch (e: Exception) {
e.printStackTrace()
@@ -127,7 +232,7 @@ class MainActivity : AppCompatActivity(), AdapterView.OnItemSelectedListener {
val packageInfo = packageManager.getPackageInfo(packageName, 0)
val versionName = packageInfo.versionName
val versionTextView = findViewById(R.id.versionNumber)
- val versionText = getString(R.string.versionTextField, versionName)
+ val versionText = getString(R.string.version_text_field, versionName)
versionTextView.text = versionText
} catch (e: PackageManager.NameNotFoundException) {
e.printStackTrace()
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/java/com/fivegmag/a5gmsdawareapplication/MediaStreamHandlerEventHandler.kt b/fivegmag_5GMSdAwareApplication/app/src/main/java/com/fivegmag/a5gmsdawareapplication/MediaStreamHandlerEventHandler.kt
index 53ab41ad..3c1dbb6d 100644
--- a/fivegmag_5GMSdAwareApplication/app/src/main/java/com/fivegmag/a5gmsdawareapplication/MediaStreamHandlerEventHandler.kt
+++ b/fivegmag_5GMSdAwareApplication/app/src/main/java/com/fivegmag/a5gmsdawareapplication/MediaStreamHandlerEventHandler.kt
@@ -34,7 +34,7 @@ class MediaStreamHandlerEventHandler {
val kbitsPerSecond =
event.mediaLoadData.trackFormat?.peakBitrate?.div(1000).toString()
val id = event.mediaLoadData.trackFormat?.id.toString()
- val text = context.getString(R.string.representationInfo, kbitsPerSecond, id)
+ val text = context.getString(R.string.representation_info, kbitsPerSecond, id)
representationInfoTextView.text = text
}
}
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-hdpi/ic_action_linked_in.png b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-hdpi/ic_action_linked_in.png
new file mode 100644
index 00000000..df7e02ea
Binary files /dev/null and b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-hdpi/ic_action_linked_in.png differ
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-hdpi/ic_action_slack.png b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-hdpi/ic_action_slack.png
new file mode 100644
index 00000000..d5b9c2b6
Binary files /dev/null and b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-hdpi/ic_action_slack.png differ
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-hdpi/ic_action_x.png b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-hdpi/ic_action_x.png
new file mode 100644
index 00000000..f0efe16f
Binary files /dev/null and b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-hdpi/ic_action_x.png differ
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-mdpi/ic_action_linked_in.png b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-mdpi/ic_action_linked_in.png
new file mode 100644
index 00000000..28dc6469
Binary files /dev/null and b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-mdpi/ic_action_linked_in.png differ
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-mdpi/ic_action_slack.png b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-mdpi/ic_action_slack.png
new file mode 100644
index 00000000..580adc08
Binary files /dev/null and b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-mdpi/ic_action_slack.png differ
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-mdpi/ic_action_x.png b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-mdpi/ic_action_x.png
new file mode 100644
index 00000000..2f319150
Binary files /dev/null and b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-mdpi/ic_action_x.png differ
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xhdpi/ic_action_linked_in.png b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xhdpi/ic_action_linked_in.png
new file mode 100644
index 00000000..d94f6f32
Binary files /dev/null and b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xhdpi/ic_action_linked_in.png differ
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xhdpi/ic_action_slack.png b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xhdpi/ic_action_slack.png
new file mode 100644
index 00000000..49d3e42d
Binary files /dev/null and b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xhdpi/ic_action_slack.png differ
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xhdpi/ic_action_x.png b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xhdpi/ic_action_x.png
new file mode 100644
index 00000000..d91c13d7
Binary files /dev/null and b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xhdpi/ic_action_x.png differ
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xxhdpi/ic_action_linked_in.png b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xxhdpi/ic_action_linked_in.png
new file mode 100644
index 00000000..3dde1108
Binary files /dev/null and b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xxhdpi/ic_action_linked_in.png differ
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xxhdpi/ic_action_slack.png b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xxhdpi/ic_action_slack.png
new file mode 100644
index 00000000..bf3f170e
Binary files /dev/null and b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xxhdpi/ic_action_slack.png differ
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xxhdpi/ic_action_x.png b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xxhdpi/ic_action_x.png
new file mode 100644
index 00000000..ee0303c6
Binary files /dev/null and b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xxhdpi/ic_action_x.png differ
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xxxhdpi/ic_action_linked_in.png b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xxxhdpi/ic_action_linked_in.png
new file mode 100644
index 00000000..d551b1fe
Binary files /dev/null and b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xxxhdpi/ic_action_linked_in.png differ
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xxxhdpi/ic_action_slack.png b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xxxhdpi/ic_action_slack.png
new file mode 100644
index 00000000..c7981778
Binary files /dev/null and b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xxxhdpi/ic_action_slack.png differ
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xxxhdpi/ic_action_x.png b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xxxhdpi/ic_action_x.png
new file mode 100644
index 00000000..2cae8cd8
Binary files /dev/null and b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable-xxxhdpi/ic_action_x.png differ
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable/github_mark.png b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable/github_mark.png
new file mode 100644
index 00000000..6cb3b705
Binary files /dev/null and b/fivegmag_5GMSdAwareApplication/app/src/main/res/drawable/github_mark.png differ
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/font/poppins_semibold.xml b/fivegmag_5GMSdAwareApplication/app/src/main/res/font/poppins_semibold.xml
new file mode 100644
index 00000000..803c4d6b
--- /dev/null
+++ b/fivegmag_5GMSdAwareApplication/app/src/main/res/font/poppins_semibold.xml
@@ -0,0 +1,7 @@
+
+
+
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/layout-land/activity_main.xml b/fivegmag_5GMSdAwareApplication/app/src/main/res/layout-land/activity_main.xml
index 2e6bb581..f64a6580 100644
--- a/fivegmag_5GMSdAwareApplication/app/src/main/res/layout-land/activity_main.xml
+++ b/fivegmag_5GMSdAwareApplication/app/src/main/res/layout-land/activity_main.xml
@@ -13,6 +13,7 @@
android:layout_height="57dp"
android:layout_marginStart="20dp"
android:layout_marginTop="4dp"
+ android:contentDescription="@string/_5g_mag_logo_description"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/logo_5g_mag_reference_tools" />
@@ -42,7 +43,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="12dp"
- android:text="@string/labelStreamSelection"
+ android:text="@string/label_stream_selection"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/idM8Spinner" />
@@ -61,7 +62,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="20dp"
- android:text="@string/labelM8Selection"
+ android:text="@string/label_M8_selection"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView" />
@@ -71,14 +72,14 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="20dp"
- android:text="@string/startPlaybackButton"
+ android:text="@string/start_playback_button"
android:backgroundTint="@color/fivegmag_blue"
android:textColor="@color/white"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/idStreamSpinner" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/layout/activity_license.xml b/fivegmag_5GMSdAwareApplication/app/src/main/res/layout/activity_license.xml
new file mode 100644
index 00000000..4a061ce2
--- /dev/null
+++ b/fivegmag_5GMSdAwareApplication/app/src/main/res/layout/activity_license.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/layout/activity_main.xml b/fivegmag_5GMSdAwareApplication/app/src/main/res/layout/activity_main.xml
index 2a08216d..d7f8eb47 100644
--- a/fivegmag_5GMSdAwareApplication/app/src/main/res/layout/activity_main.xml
+++ b/fivegmag_5GMSdAwareApplication/app/src/main/res/layout/activity_main.xml
@@ -13,6 +13,7 @@
android:layout_height="75dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
+ android:contentDescription="@string/_5g_mag_logo_description"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/logo_5g_mag_reference_tools" />
@@ -32,7 +33,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="24dp"
- android:text="@string/labelM8Selection"
+ android:text="@string/label_M8_selection"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/idExoPlayerVIew" />
@@ -52,7 +53,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="32dp"
- android:text="@string/labelStreamSelection"
+ android:text="@string/label_stream_selection"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/idM8Spinner" />
@@ -71,14 +72,14 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="28dp"
- android:text="@string/startPlaybackButton"
+ android:text="@string/start_playback_button"
android:backgroundTint="@color/fivegmag_blue"
android:textColor="@color/white"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/idStreamSpinner" />
+
\ No newline at end of file
diff --git a/fivegmag_5GMSdAwareApplication/app/src/main/res/values/strings.xml b/fivegmag_5GMSdAwareApplication/app/src/main/res/values/strings.xml
index c840c777..0a5c49ff 100644
--- a/fivegmag_5GMSdAwareApplication/app/src/main/res/values/strings.xml
+++ b/fivegmag_5GMSdAwareApplication/app/src/main/res/values/strings.xml
@@ -1,9 +1,280 @@
5GMS Aware Application
5G-MAG Reference Tools
- Select M8 Input
- Select a Stream
- Start Playback
- %1$s kbit/s - Rep ID: %2$s
- Version: %s
+ Select M8 Input
+ Select a Stream
+ Start Playback
+ %1$s kbit/s - Rep ID: %2$s
+ Version: %s
+ License
+ About
+ Attribution Notice
+ Contact
+ Authors
+ Project
+ Description
+ The 5GMS Media Session Handler is a 5GMS Client component that forms part of the 5G Media Services framework as defined in ETSI TS 126.501.
+ A Media Session Handler first retrieves its configuration (“Service Access Information”) from the 5GMSd AF at reference point M5d and then uses this configuration information to activate and exploit the currently provisioned 5GMSd features.
+ In addition, the Media Session Handler exposes APIs via M6 to the 5GMSd-Aware Application and to the Media Player (for downlink streaming).
]]>
+ 5G-MAG Public License (v1.0)
+
+LICENSE TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION OF
+5G-MAG SOFTWARE.3>
+
+
+1. Definitions
+
+
+“License” shall mean the terms and conditions for use, reproduction, and
+distribution set forth in this document.
+
+“Licensor” shall mean the 5G Media Action Group (5G-MAG) Association.
+
+“You” (or “Your”) shall mean an individual or legal entity exercising
+permissions granted by this License. “Source” form shall mean the preferred
+form for making modifications, including but not limited to software source
+code, documentation source, and configuration files.
+
+“Object” form shall mean any form resulting from mechanical transformation or
+translation of a Source form, including but not limited to compiled object
+code, generated documentation, and conversions to other media types.
+
+“Work” shall mean the work of authorship, whether in Source or Object form,
+made available under the License, as indicated by a copyright notice that is
+included in or attached to the work (an example is provided in the Appendix
+below), it being understood that such work of authorship shall comprise all
+works of authorship licensed in by Licensor under any Contributor License
+Agreement.
+
+“Derivative Works” shall mean any work, whether in Source or Object form, that
+is based on (or derived from) the Work and for which the editorial revisions,
+annotations, elaborations, or other modifications represent, as a whole, an
+original work of authorship. For the purposes of this License, Derivative Works
+shall not include works that remain separable from, or merely link (or bind by
+name) to the interfaces of, the Work and Derivative Works thereof.
+
+“Contribution” shall mean any work of authorship that is intentionally
+submitted to Licensor for inclusion in the Work by the copyright owner or by an
+individual or legal entity authorized to submit on behalf of the copyright
+owner. For the purposes of this definition, “submitted” means any form of
+electronic, or written communication sent to the Licensor or its
+representatives, including but not limited to communication on electronic
+mailing lists, source code control systems, and issue tracking systems that are
+managed by, or on behalf of, the Licensor for the purpose of discussing and
+improving the Work
+
+“Contributor License Agreement” shall mean the standard 5G-MAG Reference Tools
+– Contributor License Agreement for 5G-MAG repositories signed by any
+Contributor setting forth the terms and conditions applicable to its
+Contribution.
+
+“Contributor” shall mean any individual or legal entity on behalf of whom a
+Contribution has been received by Licensor and subsequently incorporated within
+the Work.
+
+
+2. Grant of Copyright License
+
+
+Subject to the terms and conditions of this License, Licensor hereby grants to
+You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+copyright license to reproduce, prepare Derivative Works of, publicly display,
+publicly perform, and distribute the Work and such Derivative Works in Source
+or Object form.
+
+
+3. Grant of Patent License
+
+
+3.1 Grant of Patent License for study, testing and research purposes
+
+Subject to the terms and conditions of this License, Licensor hereby grants to
+You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+(except as stated in this section) patent license to make, have made, use, and
+otherwise transfer (excluding selling) the Work, solely for study, testing and
+research purposes, where such license applies only to those patent claims
+licensable by Licensor that are necessarily infringed respectively by the Work
+and/or each Contributor Contribution(s) alone or by combination of their
+Contribution(s) with the Work to which such Contribution(s) was submitted
+(“Essential Patents”).
+
+3.2 Grant of Patent License for purposes other than study, testing and research
+
+For purposes other than study, testing and research, and subject to the terms
+and conditions of this License, You commit to be prepared to negotiate a
+non-exclusive, non-transferable, non-assignable license of Essential Patents
+with each Contributor and/or the Licensor on Fair, Reasonable and
+NonDiscriminatory (“FRAND”) terms and conditions for the use of the Work or
+Contribution(s) incorporated within the Work.
+
+Licensor and/or each Contributor, by submitting a Contribution, will identify
+any of its known Essential Patent it owns related to the Work and/or its
+Contribution.
+
+3.3 Patent Litigation
+
+If You institute patent litigation against any entity making use of the Work
+solely for study, testing and research purposes (including a cross-claim or
+counterclaim in a lawsuit) alleging that the Work or a Contribution
+incorporated within the Work constitutes direct or contributory patent
+infringement, then the patent licenses granted to You under section 3.1 of this
+License for that Work shall terminate as of the date such litigation is filed.
+
+
+4. Sublicensing
+
+
+You may grant sublicenses under the licenses granted under sections 2 and 3.1
+provided that the sublicense is subject to and inclusive of all the terms of
+and rights under this License to which the Work is or was distributed by the 5G
+Media Action Group (5G-MAG) Association.
+
+
+5. Redistribution
+
+
+Subject to terms and conditions set forth in sections 2 and 3, You may
+reproduce and distribute copies of the Work or Derivative Works thereof in any
+medium, with or without modifications, and in Source or Object form, provided
+that You meet the following conditions: 1. You must give any other recipients
+of the Work or Derivative Works a copy of this License; and 2. You must cause
+any modified files by You to carry prominent notices stating that You changed
+the files; and 3. You must retain, in the Source form of any Derivative Works
+that You distribute, all copyright, patent, trademark, and attribution notices
+from the Source form of the Work, excluding those notices that do not pertain
+to any part of the Derivative Works; and 4. If the Work includes a “NOTICE”
+text file as part of its distribution, then any Derivative Works that You
+distribute must include a readable copy of the attribution notices contained
+within such NOTICE file, excluding those notices that do not pertain to any
+part of the Derivative Works, in at least one of the following places: within a
+NOTICE text file distributed as part of the Derivative Works; within the Source
+form or documentation, if provided along with the Derivative Works; or, within
+a display generated by the Derivative Works, if and wherever such third-party
+notices normally appear. The contents of the NOTICE file are for informational
+purposes only and do not modify the License. You may add Your own attribution
+notices within Derivative Works that You distribute, alongside or as an
+addendum to the NOTICE text from the Work, provided that such additional
+attribution notices cannot be construed as modifying the License.
+
+You may add Your own copyright statement to Your modifications and may provide
+additional or different license terms and conditions for use, reproduction, or
+distribution of Your modifications, or for any such Derivative Works as a
+whole, provided Your use, reproduction, and distribution of the Work otherwise
+complies with the conditions stated in this License.
+
+
+6. Submission of Contributions
+
+
+Contribution intentionally submitted for inclusion in the Work by You to the
+Licensor shall be under the terms and conditions of Contributor License
+Agreement, without any additional terms or conditions, and You undertake to
+execute such Contributor License Agreement prior to submitting to the Licensor
+any Contribution for inclusion in the Work.
+
+
+7. Trademarks
+
+
+This License does not grant permission to use the trade names, trademarks,
+service marks, or product names of the Licensor, except as required for
+reasonable and customary use in describing the origin of the Work and
+reproducing the content of the NOTICE file.
+
+8. Disclaimer of Warranty
+
+
+Unless required by applicable law or agreed to in writing, Licensor provides
+the Work on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+either express or implied, including, without limitation, any warranties or
+conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+PARTICULAR PURPOSE. You are solely responsible for determining the
+appropriateness of using or redistributing the Work and assume any risks
+associated with your exercise of permissions under this License.
+
+
+9. Limitation of Liability
+
+
+In no event and under no legal theory, whether in tort (including negligence),
+contract, or otherwise, unless required by applicable law (such as deliberate
+and grossly negligent acts) or agreed to in writing, shall Licensor, as such,
+be liable to You for damages, including any direct, indirect, special,
+incidental, or consequential damages of any character arising as a result of
+this License or out of Your use or inability to use the Work (including but not
+limited to damages for loss of goodwill, work stoppage, computer failure or
+malfunction, or any and all other commercial damages or losses), even if You
+have been advised of the possibility of such damages.
+
+
+10. Accepting Warranty or Additional Liability
+
+
+While redistributing the Work or Derivative Works thereof, You may choose to
+offer, and charge a fee for, acceptance of support, warranty, indemnity, or
+other liability obligations and/or rights consistent with this License.
+However, in accepting such obligations, You may act only on Your own behalf and
+on Your sole responsibility, not on behalf of any other Contributor and/or the
+Licensor, and only if You agree to indemnify, defend, and hold each Contributor
+and/or the Licensor harmless for any liability incurred by, or claims asserted
+against, such Contributor and/or Licensor by reason of Your accepting any such
+warranty or additional liability.
+
+
+11. Applicable Law and Jurisdiction
+
+
+The present license shall be solely governed by the laws of Switzerland,
+without any reference to (a) any conflicts of law principle that would apply
+the substantive laws of another jurisdiction to the parties’ rights and duties,
+(b) the 1980 United Nations Convention on Contracts for the International Sale
+of Goods, or © other international laws. The parties consent to the personal
+and exclusive jurisdiction of the ordinary courts of the Canton of Geneva,
+Switzerland.
+
+END OF TERMS AND CONDITIONS
+
+
+APPENDIX: How to apply the PRESENT 5G-MAG Public License to your work
+
+To apply the present License to your work, attach the following boilerplate
+notice, with the fields enclosed by brackets “[]” replaced with your own
+identifying information. (Don’t include the brackets!) The text should be
+enclosed in the appropriate comment syntax for the file format. We also
+recommend that a file or class name and description of purpose be included on
+the same “printed page” as the copyright notice for easier identification
+within third-party archives.
+
+--------------------------------------------------------------------------------
+Copyright [---] [name of copyright owner]
+
+Licensed under the License terms and conditions for use, reproduction, and
+distribution of 5G-MAG software (the “License”). You may not use this file
+except in compliance with the License. You may obtain a copy of the License at
+https://www.5g-mag.com/reference-tools. Unless required by applicable law or
+agreed to in writing, software distributed under the License is distributed on
+an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+or implied.
+
+See the License for the specific language governing permissions and limitations
+under the License.
+--------------------------------------------------------------------------------
+
+5G Media Action Group - www.5g-mag.com – admin@5g-mag.com
+Version 1.0 Dated 22/07/2021]]>
+