{"id":30617417,"url":"https://github.com/lgdd/demo-rum-video-streaming","last_synced_at":"2026-04-11T18:04:20.007Z","repository":{"id":303608849,"uuid":"1013842880","full_name":"lgdd/demo-rum-video-streaming","owner":"lgdd","description":"Demo of a video streaming application to explore Datadog's Real User Monitoring (RUM) with logs and traces correlation.","archived":false,"fork":false,"pushed_at":"2025-07-16T07:47:51.000Z","size":204,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-17T10:48:25.898Z","etag":null,"topics":["datadog","datadog-agent","datadog-apm","datadog-rum","golang","react","react-router","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lgdd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-04T14:57:39.000Z","updated_at":"2025-07-16T07:47:54.000Z","dependencies_parsed_at":"2025-07-08T14:25:19.469Z","dependency_job_id":"0c82e715-5c8a-499d-9f65-62238f1d8d29","html_url":"https://github.com/lgdd/demo-rum-video-streaming","commit_stats":null,"previous_names":["lgdd/demo-rum-video-streaming"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lgdd/demo-rum-video-streaming","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgdd%2Fdemo-rum-video-streaming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgdd%2Fdemo-rum-video-streaming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgdd%2Fdemo-rum-video-streaming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgdd%2Fdemo-rum-video-streaming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lgdd","download_url":"https://codeload.github.com/lgdd/demo-rum-video-streaming/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgdd%2Fdemo-rum-video-streaming/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272833350,"owners_count":25000875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["datadog","datadog-agent","datadog-apm","datadog-rum","golang","react","react-router","typescript"],"created_at":"2025-08-30T10:05:33.407Z","updated_at":"2026-04-11T18:04:19.950Z","avatar_url":"https://github.com/lgdd.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Demo RUM Video Streaming\n\nThis repository contains a demo of a video streaming application to explore Datadog's Real User Monitoring (RUM) with logs and traces correlation.\n\n## Application Stack\n\n- Frontend using React with TypeScript\n- Backend using Go with [Fiber](https://gofiber.io/)\n- Streaming service using [Mux](https://www.mux.com/)\n\n## Requirements\n\nEnvironment variables:\n- `DD_API_KEY`\n- `DD_SITE`\n- `MUX_TOKEN_ID`\n- `MUX_TOKEN_SECRET`\n- `VITE_APP_DD_APP_ID`\n- `VITE_APP_DD_CLIENT_TOKEN`\n\n`VITE_APP_*` variables are expected in a `.env.production` for the build. See [`.env.example`](react-ts-frontend/.env.example).\n\n`VITE_APP_DD_APP_ID` is the `applicationId` for Datadog RUM.\n`VITE_APP_DD_CLIENT_TOKEN` is the `clientToken` for Datadog RUM.\n\nBoth information comes from the [setup](https://docs.datadoghq.com/real_user_monitoring/browser/setup/client/?tab=rum).\n\n## Usage\n\nOnce the environment variables are setup, run a `docker compose build`.\nIf the build goes fine, you can run `docker compose up -d` and go to http://localhost:8000.\n\n### /login\n\nYou will find a fake login page where you can use any username. It will generate a user ID using the md5 hash of the username. The user ID is then used for telemetry data sent to Datadog (e.g. logs, traces or RUM sessions).\n\n### /home\n\nOnce you're identified, you will be redirected to the `/home` page that will call the backend on `/videos` to finally call Mux APIs to fetch the list of assets uploaded to the platform.\n\n### /streaming\n\nWhen you click on the title of one of the videos, you will be redirected to the `/streaming` page which contains URL parameters used in the `\u003cMuxPlayer /\u003e` React component from Mux. See [Advanced usage of Mux Player\n](https://www.mux.com/docs/guides/player-advanced-usage) for how to leverage custom events, and see [Mux Player API Reference](https://www.mux.com/docs/guides/player-api-reference/html#events) for the full list of events available.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flgdd%2Fdemo-rum-video-streaming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flgdd%2Fdemo-rum-video-streaming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flgdd%2Fdemo-rum-video-streaming/lists"}