English
Release Notes
v0.8.0
This release shows recorded chat over the video on the session page and live chat on the Player page, adds H.265 and AV1 recording for Twitch, a low disk space notification and a way to keep checking streamers without an account when every account in a pool needs attention. It also keeps Bigo checks going through login requests, fixes long or broken FLV recordings from the Mesio engine, closes several ways another site could act as the signed-in user, and fixes a broad range of configuration, backup, notification and web interface problems.
Before you upgrade
- Invalid environment values: An invalid value in
API_PORT,ACCESS_TOKEN_EXPIRATION_SECS,REFRESH_TOKEN_EXPIRATION_SECS,REFRESH_TOKEN_REUSE_GRACE_SECSorMIN_PASSWORD_LENGTHnow stops rust-srec at startup instead of being replaced by the default without notice. The likeliest way to hit this is a value followed by a comment on the same line, such asACCESS_TOKEN_EXPIRATION_SECS=3600 # 1 hourin the earlier example env file: loaded withdocker run --env-fileor the systemd service'sEnvironmentFile=, it now stops startup, where before it was silently ignored. Check these variables before updating. See Configuration. - Reverse proxies: The web interface now refuses actions requested from a page on another port or subdomain of the same address. If it is behind a reverse proxy that changes the address the browser used and every action fails with "Request refused" after updating, forward the original address or list it in
CSRF_TRUSTED_ORIGINS. See Authentication and API. - API error responses: A request with a malformed body, query string or URL path now gets a JSON error response with a
codeinstead of plain text. The status codes are unchanged. See Authentication and API. - Streamlink part size: Streamlink recordings now end a part at Max Part Size and carry on in a new file, unless Max Duration is also set. Before, the setting had no effect on them. See Recording and recovery.
FFMPEG_PATHfor recordings: WhenFFMPEG_PATHis set, an FFmpeg engine whose Binary Path is empty now records with that FFmpeg instead offfmpegfrom the system path. See Recording and recovery.- Older backups: Backups made before this version contain no Stream lookup choices, so importing one sets the Stream lookup of every platform and template to the default. Take a new backup after updating. See Configuration.
- List page links: A saved
?page=link to the media outputs, pipeline jobs, presets or workflows lists now opens one page earlier, because those lists now count pages from 1. See Web interface.
New features
- Recorded chat on the session page: Recorded chat now plays over the video when you watch a recording, timed to the picture. A Danmu settings panel in the player hides message types, sets opacity, font size, speed and how much of the picture the chat covers, merges repeated messages, pauses a message under the mouse, shows where the chat is busiest above the progress bar, and blocks words or users. Settings are remembered, and large chat files load without freezing the page. See Record chat.
- Live chat on the Player page: Live streams on the Player page now show their chat over the picture as it arrives, with the same show/hide button and Danmu settings. Each player in the grid shows its own stream's chat, and a hidden chat is not downloaded. See Watch a live stream with its chat.
- Low disk space notification: A notification is now sent when a disk holding recordings or the database reaches 95% used. It names the folder and how much space is left, and is sent once for each recordings or database folder on that disk until usage drops below 80% again. The event was already listed among the events you could subscribe to but was never sent. See Notifications.
- Twitch H.265 and AV1: New Allow H.265 (HEVC) and Allow AV1 Twitch platform settings let you record the higher qualities some channels stream only in those codecs. Both are off by default, so recordings stay H.264 unless you turn them on. See Twitch.
- Check without an account: Account pools have a new Check without an account when no account can be used switch. With it on, streamers keep being checked and recorded without an account while every account in the pool needs a new login or is disabled, instead of stopping until you fix an account. Useful on platforms such as Bigo that need a login on some days and not on others. See Account profiles and selection.
Recording and recovery
- Fixed one Bigo login request marking the account as needing a new login at once, which stopped checks for every streamer using it. When Bigo asks an account to log in, rust-srec now asks Bigo whether the login still works: an expired login is marked as needing a new login, and a working one, which Bigo sometimes turns away for a while after many requests, rests for 30 minutes and is then tried again. Bigo accounts are also refreshed every hour the way the website does it, and checks with an account send fewer requests. See Bigo.
- Fixed Bigo rooms showing a wrong viewer count, often the same 4108 for many rooms. Bigo rooms now show no viewer count.
- The Max Part Size setting now applies to recordings made with the Streamlink engine, unless Max Duration is also set. Before, a Streamlink recording kept writing one file past the limit; now it ends that part at the limit and carries on in a new one, as the FFmpeg engine does. MP4 files recorded with Streamlink also start playing sooner in browsers and players, like those from the FFmpeg engine.
- The
FFMPEG_PATHenvironment variable now also chooses the FFmpeg that records streams with an FFmpeg engine whose Binary Path is left empty. Before, such an engine ranffmpegfrom the system path even though processing usedFFMPEG_PATH. See Environment variables. - Fixed a long stream title in Chinese, Japanese or another language written with multi-byte characters making the file name too long for the disk, which could stop the recording from being saved. The title is now shortened in file and folder names, and the rest of the name, such as the date and time, is kept.
- FLV files recorded with the Mesio engine now list Mesio as their creator instead of an outdated version number, and their real data size instead of 0, so media tools show correct file details.
- FLV recordings made with the Mesio engine now store their exact length instead of rounding it down to whole seconds, so players show the right length and the end of the seek bar matches the end of the recording. The session page's Recordings tab shows the exact length too.
- Fixed FLV recordings made with the Mesio engine and Fix FLV Streams on becoming one very long file, which players showed as 0 seconds long and the duration limit never split, when the stream restarted mid-broadcast, for example after the streamer turned on stream delay. Recordings now keep counting time across such restarts and split as configured.
- With the Mesio engine and Fix FLV Streams on, browser players can now show the length of an FLV recording and seek in it when the stream sent no file information.
- Fixed copying or converting an FLV recording made with the Mesio engine and Fix FLV Streams on keeping an earlier setup instead of the one the stream settled on, when the stream sent several conflicting setups before the picture started. Such recordings now copy and convert correctly.
- Fixed FLV recordings made with the Mesio engine and Fix FLV Streams on, from streams whose timing starts slightly before zero, shrinking to a few seconds or having audio and video out of sync by seconds. Such recordings now play from the start with audio and video in sync.
- Fixed Bigo recordings made with the Mesio engine missing the stream information at the start of each piece, because Bigo sends that part scrambled. The recordings now keep it, so players and media tools read them reliably.
- A Twitch channel that has just gone live or just ended is now reported as offline until its stream can be played, instead of failing the live check with an error. When Twitch refuses playback, its own error message is shown.
- A Twitch channel that does not exist is now shown as not found, and a suspended channel as banned, instead of failing every live check with a data error.
- The Twitcasting Stream Password platform setting now unlocks password-protected broadcasts. Before, only a password added to the streamer URL (
?password=...) worked; a password in the URL still takes priority. - A YouTube link to an uploaded or finished video is now reported as offline instead of live, so it is no longer recorded again on every live check. Live broadcasts are unaffected.
Workflows and file processing
- Fixed opening a saved remux preset or workflow step that encodes with NVIDIA (NVENC) switching its encoder preset to Medium, which the next save kept. The saved preset is now kept.
- Detach & Edit on a preset step now always starts from the preset's saved settings. Before, a change made from the keyboard to the preset settings shown in the step, which look read-only, was copied into the step without notice.
- After you undo your edits to a saved preset, Save Changes now goes away again. Before, it stayed for most processors as if something had changed.
- The preset editor now names each processor and shows its icon the same way as the workflow editor and the job pages.
- The example values shown in empty remux fields and in the preset ID field are now translated.
- The workflow step library now lists workflows created or changed moments before, instead of the list it showed earlier.
- Fixed searching the workflow step library while typing with an input method, such as pinyin, searching with the unfinished text.
- When Delete source file after successful processing in a Metadata or Remux step cannot delete a file, the job log now shows the warning once instead of twice.
Danmu
- Ordinary Huya chat messages are now recorded without a colour, so they appear white in converted subtitles and burned-in videos instead of blue. Messages Huya colours still keep their colour. Chat files recorded before this update keep the blue.
- When the session page is narrowed, such as with the sidebar open, the Danmu Statistics tiles now wrap onto more rows instead of squeezing four into one row.
- Chat message times in the session page's danmu list now follow the app language instead of the browser's.
Configuration
- An invalid value in
API_PORT,ACCESS_TOKEN_EXPIRATION_SECS,REFRESH_TOKEN_EXPIRATION_SECS,REFRESH_TOKEN_REUSE_GRACE_SECSorMIN_PASSWORD_LENGTH, such as a typo or a port above 65535, now stops rust-srec at startup with a message naming the variable. Before, the value was ignored and the default was used without notice, so the server could listen on a different port or keep sign-ins for a different time than configured. An unset or empty variable still uses the default. See Environment variables. - Fixed a streamer whose saved settings could not be read, or held a value the recorder accepts but the page rejected, stopping the whole streamers list from loading. Such values include an extractor name in different capitalization or one the recorder does not know, an offline check count of 0 or a delay under one second, a retry policy with only some values set, a stream selection that has no format list saved, or a workflow step with an empty retry or timeout, for example from an imported configuration. Values the recorder accepts show as it applies them; settings that could not be read show as not configured.
- Fixed an extractor name in different capitalization or one the recorder does not know stopping the platforms or templates list or the global settings page from loading. On platforms and templates, a download retry policy with only some values set, a stream selection that has no format list saved, or a workflow step with an empty retry or timeout no longer shows as not configured and is no longer removed by the next save. A retry value that was left out shows the default the recorder uses.
- The Stream lookup setting of platforms and templates now shows the saved choice, and saving any other change on the page no longer resets Always use Streamlink to the default.
- When you add a streamer from a site only Streamlink supports, the check now uses the Streamlink program named by
streamlink.binary_pathin the Streamlink platform's settings, the same one that looks up its streams. Before, it always usedSTREAMLINK_PATHorstreamlink, so the site could be refused as unsupported. See Environment variables. - A backup now keeps the Stream lookup choice of each platform and template, such as Always use Streamlink. Before, restoring a backup on a new install set them all back to the default, so streams were looked up the automatic way again.
- After importing a configuration in Backup & Restore, notification channels and their subscriptions, presets, workflows, proxies and any open streamer, template or engine page now show the imported settings without reloading the page.
- Backup & Restore now shows the size of the file chosen for import in a fitting unit (KB, MB) instead of always in KB.
- Exporting the configuration in Backup & Restore now fails with an error when part of it, such as a streamer's filters or a notification channel's subscriptions, can't be read. Before, the export left that part out without notice and still produced a backup that looked complete.
Notifications
- The webhook channel's timeout now accepts at most 300 seconds, like the Gotify one. The server never waited longer than that, so a higher value had no effect.
- The processing-queue critical notification now says the queue reached 500 jobs, the level at which it is sent. Before, it said 200.
- Critical-event browser notifications now appear while the app's tab is in the background, instead of only once you return to it.
- Critical-event browser notifications now say what happened instead of only "Critical". A notification for an account sign-in that is no longer valid, or that needs you to sign in again, names the platform and says why; one for an output folder that cannot be written names the folder; and one for a full processing queue says how many jobs are waiting.
- When a browser notification cannot be delivered, the server log now records only the push service's address, not the full subscription address that identifies your browser.
Authentication and API
- Fixed a link crafted by another site making the stream proxy show a page that acted as the signed-in user. The proxy now only passes on video, audio, images and playlists, and refuses requests from other sites. When a stream is played with a platform account, more kinds of platform error pages and account data are now refused instead of being passed on to the player.
- Fixed a page on another port or subdomain of the same address making the web interface carry out actions as the signed-in user. The web interface now refuses such requests. If it is behind a reverse proxy that changes the address the browser used and every action now fails with "Request refused", forward the original address or list it in
CSRF_TRUSTED_ORIGINS(see Environment variables). - Fixed an ID such as
..sent to the web interface making it reach a different server action than the one requested. Such IDs are now refused. - A recorded file opened straight from the server, such as a chat XML file, can no longer run scripts as the web interface.
- A failed sign-in no longer writes the entered password to the server log, and a failed sign-out no longer writes the sign-in token.
- A failed sign-in now shows the server's reason instead of an internal server address.
- A request with a malformed body, such as invalid JSON, a field of the wrong type or a missing
Content-Type: application/jsonheader, or with an invalid value in its query string or URL path, now gets the same JSON error response as every other API error, with acodesuch asINVALID_JSON,INVALID_REQUEST_BODY,UNSUPPORTED_MEDIA_TYPE,INVALID_QUERYorINVALID_PATH. Before, the reply was plain text. The status codes are unchanged.
Web interface
- A request the server does not answer now fails with an error after 15 seconds, or later for slow actions such as platform checks, connection tests and backups, instead of leaving the page waiting. Closing or reloading the tab also stops the requests the server was still working on for it.
- When a list, a Dashboard or API Keys section, the log file list or a streamer's status check history fails to load, it now shows the error with a Retry button. The streamers, media outputs, pipeline jobs, presets, workflows, templates, platforms and notification events lists keep their header and search; a Dashboard or API Keys section no longer loads forever or looks empty; and the log file list and a streamer's status check history no longer show an empty area. A pipeline, template, platform, engine, preset or workflow that cannot be opened now offers a link back to its list.
- When the sessions list fails to load, the page now says so and offers Retry, instead of reporting an empty library. A search or filter that matches nothing now says no sessions match and offers Clear filters.
- Every session can now be reached through the page numbers of the sessions list. Before, the page count assumed 50 sessions per page while each page showed 20, so the sessions beyond the last page number could not be reached from the list.
- The sessions list now turns on selection with a Select button in the page header and shows the same selection bar as the other lists. Empty lists look the same on every page, streamer cards show each platform's own icon, and the global and theme settings place sections side by side only when the page is wide enough for them.
- Deleting the last items on the last page of the sessions, media outputs, pipeline jobs, presets or workflows list now goes back to the previous page, instead of showing an empty page that says nothing was found.
- The page number in the address of the media outputs, pipeline jobs, presets and workflows lists now counts from 1, like the other lists, so
?page=2is the second page everywhere. A saved link to one of these lists opens one page earlier than before. - Deleting a streamer or sessions now asks in an in-app dialog instead of a browser prompt, and deleting a streamer filter now asks first instead of deleting it at once.
- Leaving the template, platform, engine, preset or workflow editor with unsaved edits now asks before discarding them. Global settings and the streamer editor, which already asked, now ask in an in-app dialog.
- Download, upload and check progress no longer stops for a while when your sign-in renews, including in a tab left in the background.
- A recording that ended while the app's live connection had fallen behind no longer stays shown as recording on its streamer card, and check history and streamer status catch up as soon as the connection to the server comes back instead of staying out of date for several minutes.
- Opening a streamer's page shortly after enabling, disabling or batch-editing it from the streamers list now shows the change, and an open streamer page catches up when the connection to the server comes back.
- On the session page, a session that is still recording now shows each new segment when it finishes, keeps its duration and size up to date, and shows when it ends, without reloading the page. Its duration counts up instead of showing the length it had when the page was opened. A session that has ended no longer shows a green live dot on the streamer's picture.
- A running job's page shows progress as it is reported and asks the server for updates far less often.
- A job with a long log no longer makes its page sluggish while it runs or while you scroll; only the log lines near the screen are drawn. Because of that, the browser's find only searches those lines, so the log now has a Copy log button that copies every loaded line, or downloads them as a file where the browser does not allow copying.
- A job's log no longer starts with an empty band above the title bar and a wide gap below it.
- The line, warning and error counts in a job's log header now include every line the job wrote. Before, lines shown while the job ran were left out, so a long log could say it had only 1 line and miss its warnings and errors.
- Deleting a job now asks in an in-app dialog and then opens the jobs list. Before, it went back to whatever page you came from, which left the app when the job was opened from a link.
- Completed jobs now show their input and output sizes on the job page; before, those fields stayed empty. The sizes are shown in a fitting unit (KB, MB, GB) instead of always in MB, and their labels are translated.
- Playing a URL that belongs to no streamer on the Player page now looks up the stream with the platform's Stream lookup setting, or the global one when the platform has none, such as Always use Streamlink. Before, it always used the automatic lookup, so a stream that records fine could fail to play there.
- When the browser refuses to copy, for example when the app is opened over plain HTTP on a local network, copying a file path, API key, MCP configuration or notification event now says it failed instead of reporting success or showing nothing.
- Search boxes, filter menus, switches, sliders and buttons that show only an icon, such as the round add buttons and Clear filters, now have names that screen readers announce. Filter buttons on the sessions, pipeline jobs and notification events pages now say whether they are on, and settings that were announced without their label, such as the Huya and TikTok API mode, now read their label.
- Buttons that only appeared under the mouse pointer, such as Interact on notification events, the step buttons in workflows and the remove button on Logging settings, now show on touch screens and when reached with the keyboard. The Browser Notifications or Desktop Notifications card, the platform sections of a template, the play button on a session's preview and selecting sessions can now be used from the keyboard.
- In the Chinese interface, form errors, such as on sign-in, password change, streamer, workflow, notification channel, template and preset forms, now appear in Chinese instead of English. The date picker shows Chinese month and day names, numbers on the session page and API keys dates follow the app language instead of the browser's, and the startup screen, several card labels, encoder preset descriptions and screen reader labels are translated.
Monitoring and maintenance
- With the default Docker setup, System Health now reports the free space of the data folder's disk for the database folder, shown as
/app/data. Before, the space came from the container's own storage instead of the mounted data folder, and the folder was shown asapp/data. - A component that has not been checked yet is now shown in grey on the dashboard, the health page and the storage bars, instead of red on the dashboard and green on the storage bars.
Deployment and desktop
- The web container's access log no longer records the sign-in token included in playback, download and live update links.
- Saving the Desktop Notifications settings in the desktop app no longer briefly removes the settings file, so the settings can no longer be reset to their defaults while they are being saved.