Skip to content

Conversation

@tytan652
Copy link
Collaborator

@tytan652 tytan652 commented Jan 19, 2023

Description

This PR is about the RFC 45.

Depends on:

Allow users to choose AAC or Opus to stream and record.

Stream side, codec are shown depending on the protocol used and the service compatibility.

If using different encoders in advanced, only common bitrates will be shown, this is made to avoid to over-complexify the UI.

SimpleAudio
SimpleAudioOpen

AdvAudio
AdvAudioOpened

AdvAudioRec

Motivation and Context

Part of the implementation of the RFC 45.

How Has This Been Tested?

Only testing trying to stream SRT with opus and AAC, might need more testing.

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@tytan652 tytan652 added Seeking Testers Build artifacts on CI New Feature New feature or plugin labels Jan 19, 2023
@tytan652 tytan652 added this to the OBS Studio 29.1 milestone Jan 19, 2023
@tytan652 tytan652 force-pushed the audio_codecs branch 4 times, most recently from 4ed0766 to ee0e3c5 Compare January 20, 2023 13:47
@tytan652 tytan652 added the UI/UX Anything to do with changes or additions to UI/UX elements. label Jan 23, 2023
@tytan652 tytan652 force-pushed the audio_codecs branch 2 times, most recently from 07ee359 to 54284b0 Compare January 30, 2023 11:01
@tytan652 tytan652 force-pushed the audio_codecs branch 2 times, most recently from fce386d to 573b2de Compare January 31, 2023 10:26
@tytan652 tytan652 force-pushed the audio_codecs branch 5 times, most recently from 075d1ea to f8f7163 Compare February 16, 2023 14:50
@tytan652 tytan652 force-pushed the audio_codecs branch 2 times, most recently from 007141a to 4999cbc Compare February 24, 2023 07:43
@tytan652 tytan652 force-pushed the audio_codecs branch 5 times, most recently from f7f26f2 to 8d73e25 Compare March 1, 2023 09:48
@tytan652 tytan652 force-pushed the audio_codecs branch 2 times, most recently from 168848c to 7875274 Compare March 12, 2023 10:33
@tytan652 tytan652 force-pushed the audio_codecs branch 3 times, most recently from 1aa2415 to eb2fe43 Compare March 18, 2023 23:07
tytan652 added 22 commits March 19, 2023 15:29
If the server URL is not an RTMP(S) URL, the protocol field becomes
required.

The output field becomes required on non-RTMP(S) services to keep
backward compatibility.

Also skip service if the protocol is not available.
The fallback in now inside the output.
MPEG-TS standard is not ready for AV1
Also remove Opus-only "supported audio codecs" in the services JSON.
Also refactors AAC bitrate map too.
@jp9000 jp9000 merged commit 5fe417b into obsproject:master Mar 20, 2023
@pkviet
Copy link
Member

pkviet commented Mar 23, 2023

It's been merged 3 days ago so my remarks will be too late. Nevertheless it is unfortunate that there's been no discussion in this PR of the changes done to Simple Output Recording. They are per se outside the purview of RFC45 which deals with Protocols (and not Recording!) and should have been at the very least in a separate commit.
I had assumed the changes were only for Streaming and confess I had not noticed that Recording was also impacted.
So for the future Service Overhaul, it seems to me it would be a sound policy to follow strictly the RFC and when departing from it, to make a separate PR or at least a separate commit and then in the PR description to point out precisely what was added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

New Feature New feature or plugin Seeking Testers Build artifacts on CI UI/UX Anything to do with changes or additions to UI/UX elements.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants