Prima Sport test stream
Broadcast from your phone and watch it come back as a live HLS stream built exactly like Prima Sport production — same profile names, same 4-second segments, same AES-128 encryption.
It exists so we can test players and the event logger against a stream that behaves like production, but that we fully control. Anyone on the team can push to it.
The server is switched off between test sessions to keep it from costing money around the clock. If the playback link returns nothing, open the dashboard and press Start server — it is ready in about a minute. It shuts itself down again after two hours with nobody broadcasting.
Endpoints
The two addresses you need
srt://srt.test-stream.devix.cz:8890
https://test-stream.devix.cz/channels/adhoc1/playlist-live_lq-live_mq-live_hq50-live_hd50-live_fullhd50.m3u8
Broadcasting
Set up Larix Broadcaster
Install Larix Broadcaster (free, iOS and Android). You only do this once — the connection is saved.
- Open the connection list
Tap the gear icon, then Connections, then New connection.
- Name it
Anything you'll recognise, for example
Prima test adhoc1. - Paste the address
Into the URL field. As soon as it starts with
srt://, Larix reveals the SRT settings below it.srt://srt.test-stream.devix.cz:8890
- Set mode, latency and stream ID
Mode
Caller· Latency2000ms · Stream IDpublish:adhoc1.If your version has no separate Stream ID field, put everything in the URL instead:
srt://srt.test-stream.devix.cz:8890?streamid=publish:adhoc1
- Save, and leave the connection ticked
An unticked connection is ignored when you hit record.
- Check video and audio settings
Under Settings: video
1920×1080,30fps, codec H.264 (not HEVC), bitrate around6 Mbps. AudioAACat128 kbps. - Hit the red button
Transcoding starts on its own within a few seconds. Stop broadcasting and it shuts down again — nothing to clean up.
On a weak signal, drop the bitrate to 2–3 Mbps in Larix. The server rescales to every quality level regardless, so the stream stays watchable instead of stuttering.
Playback
Watching the stream
Safari opens the playback link directly. In other browsers use the hls.js demo player and paste the link there. Expect roughly 10–15 seconds of delay — that is the SRT buffer plus the segment length, and production behaves the same way.
The link answers even when nobody is broadcasting, because the master playlist is a static file. To confirm a stream is actually live, open the quality-level playlist instead:
https://test-stream.devix.cz/channels/adhoc1/playlist/cze/live_hd50.m3u8
Channels
Six channels, one per person
Channels adhoc1 through adhoc6 all work the same way. They exist so two people don't land on the same stream — not for broadcasting all six at once. Swap the number in both the stream ID and the playback link.
| Purpose | Value |
|---|---|
| Stream ID in Larix | publish:adhocN |
| Playback link | …/channels/adhocN/playlist-live_lq-…m3u8 |
Two people on one channel will fight over it. There is no password on the push endpoint, so agree on a number before a shared test session.
Output
What comes out
One phone broadcast becomes five quality levels, each with AAC stereo audio at 48 kHz. The names match Prima Sport production exactly.
| Profile | Resolution | FPS | Video bitrate |
|---|---|---|---|
live_lq | 640 × 360 | 25 | 550 kbps |
live_mq | 768 × 432 | 25 | 1 050 kbps |
live_hq50 | 1024 × 576 | 50 | 3 400 kbps |
live_hd50 | 1280 × 720 | 50 | 4 900 kbps |
live_fullhd50 | 1920 × 1080 | 50 | 8 800 kbps |
If something breaks
Troubleshooting
- Larix says it connected, but nothing plays
- Give it 15 seconds — the first segment has to be encoded before the playlist has anything to serve. If it stays empty, the stream ID is usually the culprit: it must read
publish:adhoc1, including thepublish:prefix. - Larix won't connect at all
- Check the port is
8890and mode isCaller. Mobile data and Wi-Fi both work. Corporate Wi-Fi that blocks outbound UDP will not — switch to mobile data to rule it out. - The picture keeps freezing
- Your upload is not keeping up. Lower the Larix bitrate to 2–3 Mbps and raise latency to 4000 ms.
- The player asks for a decryption key, or fails after a restart
- The AES key is regenerated every time the server restarts. Reload the player so it fetches the new one.
- Everything returns "not found"
- The server is probably scaled down to save cost. Ask the team to bring it back up — it takes a minute or two.
Good to know
Notes
The stream runs in DEVIX's own AWS account, not the client's. It costs money for every hour it is switched on, so it gets scaled down between test sessions — if you need it for a demo, say so in advance.
Internal tool. Anyone who can reach the push address can broadcast to it. Keep this page inside the team.
بثّ Prima Sport التجريبي
ابثّ من هاتفك وشاهد الناتج بثًّا حيًّا بصيغة HLS مبنيًّا تمامًا كما هو بثّ Prima Sport في الإنتاج: الأسماء نفسها، ومقاطع بطول أربع ثوانٍ، والتشفير نفسه AES-128.
الغرض منه اختبار المشغّلات وسجلّ الأحداث في مواجهة بثّ يتصرّف كبثّ الإنتاج، لكنّه تحت سيطرتنا الكاملة. ويستطيع أيّ فرد في الفريق البثّ إليه.
يُطفأ الخادم بين جلسات الاختبار كي لا يكلّف مالًا على مدار الساعة. فإن لم يُرجع رابط المشاهدة شيئًا، افتح لوحة التحكّم واضغط تشغيل الخادم، ويصبح جاهزًا خلال دقيقة تقريبًا. ثمّ يتوقّف من تلقاء نفسه بعد ساعتين دون أن يبثّ أحد.
العناوين
العنوانان اللذان تحتاج إليهما
srt://srt.test-stream.devix.cz:8890
https://test-stream.devix.cz/channels/adhoc1/playlist-live_lq-live_mq-live_hq50-live_hd50-live_fullhd50.m3u8
البثّ
إعداد تطبيق Larix Broadcaster
ثبّت تطبيق Larix Broadcaster (مجّاني، لنظامَي iOS وAndroid). تنفّذ هذه الخطوات مرّة واحدة فقط، إذ يُحفظ الاتصال بعدها.
- افتح قائمة الاتصالات
اضغط رمز الترس، ثمّ Connections، ثمّ New connection.
- سمِّ الاتصال
أيّ اسم تميّزه، مثل
Prima test adhoc1. - الصق العنوان
في حقل URL. وبمجرّد أن يبدأ بـ
srt://يُظهر التطبيق إعدادات SRT أسفله.srt://srt.test-stream.devix.cz:8890
- اضبط الوضع وزمن التأخير ومعرّف البثّ
الوضع
Caller· التأخير2000مِلّي ثانية · معرّف البثّpublish:adhoc1.وإن لم يكن في نسختك حقل مستقلّ لمعرّف البثّ، فضع كلّ شيء داخل العنوان:
srt://srt.test-stream.devix.cz:8890?streamid=publish:adhoc1
- احفظ، وأبقِ الاتصال مُحدَّدًا
الاتصال غير المحدَّد يُتجاهَل عند بدء التسجيل.
- راجع إعدادات الصورة والصوت
ضمن Settings: الفيديو
1920×1080بمعدّل30إطارًا في الثانية، والترميز H.264 (لا HEVC)، ومعدّل البتّ نحو6 Mbps. أمّا الصوت فـAACبمعدّل128 kbps. - اضغط الزرّ الأحمر
تبدأ المعالجة تلقائيًّا خلال ثوانٍ. وما إن توقف البثّ حتّى تتوقّف هي أيضًا، فلا شيء يحتاج إلى تنظيف بعدها.
عند ضعف الإشارة، اخفض معدّل البتّ في التطبيق إلى 2–3 Mbps. فالخادم يعيد التحجيم إلى كلّ مستويات الجودة على أيّ حال، ممّا يُبقي البثّ قابلًا للمشاهدة بدل أن يتقطّع.
التشغيل
مشاهدة البثّ
يفتح متصفّح Safari رابط المشاهدة مباشرةً. أمّا في المتصفّحات الأخرى فاستخدم مشغّل hls.js التجريبي والصق الرابط فيه. وتوقّع تأخيرًا يتراوح بين 10 و15 ثانية، وهو مجموع مخزن SRT المؤقّت وطول المقطع؛ وبثّ الإنتاج يتصرّف على النحو ذاته.
يستجيب الرابط حتّى حين لا يبثّ أحد، لأنّ قائمة التشغيل الرئيسة ملفّ ثابت. وللتأكّد من أنّ البثّ حيّ فعلًا، افتح قائمة تشغيل أحد مستويات الجودة:
https://test-stream.devix.cz/channels/adhoc1/playlist/cze/live_hd50.m3u8
القنوات
ستّ قنوات، واحدة لكلّ شخص
القنوات من adhoc1 إلى adhoc6 تعمل جميعها بالطريقة نفسها. وهي موجودة كي لا يقع شخصان على البثّ ذاته، لا للبثّ على القنوات الستّ في وقت واحد. غيّر الرقم في معرّف البثّ وفي رابط المشاهدة معًا.
| الغرض | القيمة |
|---|---|
| معرّف البثّ في Larix | publish:adhocN |
| رابط المشاهدة | …/channels/adhocN/playlist-live_lq-…m3u8 |
إذا استخدم شخصان القناة نفسها تنازعا عليها. فلا كلمة مرور على عنوان البثّ، لذا اتّفقوا على رقم قبل أيّ جلسة اختبار مشتركة.
المخرجات
ما ينتج عن البثّ
يتحوّل بثّ هاتف واحد إلى خمسة مستويات جودة، مع صوت AAC ستيريو بتردّد 48 كيلوهرتز في كلّ مستوى. والأسماء مطابقة تمامًا لأسماء الإنتاج في Prima Sport.
| المستوى | الدقّة | إطار/ث | معدّل بتّ الفيديو |
|---|---|---|---|
live_lq | 640 × 360 | 25 | 550 kbps |
live_mq | 768 × 432 | 25 | 1 050 kbps |
live_hq50 | 1024 × 576 | 50 | 3 400 kbps |
live_hd50 | 1280 × 720 | 50 | 4 900 kbps |
live_fullhd50 | 1920 × 1080 | 50 | 8 800 kbps |
عند حدوث خلل
حلّ المشكلات
- التطبيق يقول إنّه اتّصل، لكن لا شيء يُعرض
- امهله خمس عشرة ثانية، إذ يجب ترميز المقطع الأوّل قبل أن يصير لدى قائمة التشغيل ما تقدّمه. فإن بقيت فارغة فالسبب عادةً معرّف البثّ: ينبغي أن يكون
publish:adhoc1بالبادئةpublish:نفسها. - التطبيق لا يتّصل أصلًا
- تأكّد أنّ المنفذ
8890وأنّ الوضعCaller. تعمل بيانات الهاتف وشبكة Wi-Fi كلتاهما، أمّا شبكات الشركات التي تحجب حركة UDP الصادرة فلا. انتقل إلى بيانات الهاتف لاستبعاد هذا الاحتمال. - الصورة تتجمّد باستمرار
- سرعة الرفع لديك لا تواكب البثّ. اخفض معدّل البتّ إلى 2–3 Mbps وارفع التأخير إلى 4000 مِلّي ثانية.
- المشغّل يطلب مفتاح فكّ التشفير، أو يفشل بعد إعادة التشغيل
- يُولَّد مفتاح AES من جديد مع كلّ إعادة تشغيل للخادم. أعد تحميل المشغّل ليجلب المفتاح الجديد.
- كلّ الروابط تُرجع «غير موجود»
- الأرجح أنّ الخادم مُوقَف لتوفير التكلفة. اطلب من الفريق إعادة تشغيله، ولا يستغرق ذلك سوى دقيقة أو دقيقتين.
معلومات مفيدة
ملاحظات
يعمل هذا البثّ في حساب AWS الخاصّ بـ DEVIX، لا في حساب العميل. وهو يكلّف مالًا عن كلّ ساعة تشغيل، لذا يُوقَف بين جلسات الاختبار؛ فإن احتجت إليه في عرض توضيحيّ فنبّه إلى ذلك مسبقًا.
أداة داخليّة. كلّ من يصل إلى عنوان البثّ يستطيع البثّ إليه. أبقِ هذه الصفحة داخل الفريق.