These complement the new start/stop recording events as they are called
as soon as a network connection is initiated/severed regardless of
previous encoder state
This enforces the warning that settings will not be applied until
streaming is restarted from the settings dialog for all profile settings
Also fixes a bug that would prevent start streaming/recording buttons
from being properly enabled/disabled when switching from a
recording/streaming only profile to a streaming/recording only profile
on stream stop
Additionally, the microphone volume meter got disabled when switching
from a profile with microphone enabled to a profile with microphone
disabled while the microphone was still active
Move the keep recording setting from global.ini to Broadcast Settings
(profile dependent), make it default to off, comment out the old
dashboard link code for now.
- I needed to change the parameter for my hack, so I'm just going to
create a new function instead, QueryAudio2. C++ mangling and API
breakage makes me most displeased.
- Woops, don't use global audio time for sorting, use the latest audio
timestamp from that specific device.
- Also, made it so lastSentTimestamp is only done when data is actually
used, accidentally put it in the wrong scope.
- Fixed an issue where audio data that came in bursts would cause
desyncs. Basically, if data came in too late, it would continue to
buffer little by little, causing progressive desync with certain
microphones and capture devices (avermedia stream engine for the live
gamer portable especially). Also seemed to happen with HDMI data
from the newer game consoles, like xbox one apparently, though I
can't be too sure.
Now, it queries the mic and auxilary sound sources until sound
buffers are depleted. After doing so, it then "sorts" the audio
packets timestamps backwards from the most recent packet to the
oldest audio packet. By doing this, it compensates for burst, and
ensures that all audio data is seamless. New burst data coming in
will then line up properly with the older data via the sort function.
NOTE: This needs testing
When the user has set the mode to "record to file only", make it so
that the "Start/Stop Recording" button is enabled, and that the
"Start/Stop Streaming" button is disabled. Having both buttons
enabled when in 'record only' mode is just a bit confusing.
This branch fixes the issue of your recordings ending every time the
network stream is disconnection.
This commit is a squash of the following commits on the branch:
tweak the button positions a little bit
Added OnOBSStatus plugin callback
Enables plugins to recreate the (LIVE + REC) display
Skip ReportStreamStatus callbacks if there is no actual stream
Fix the status bar for real this time
Make the status bar keep updating when not live
Fixed exit cleanup while streaming/recording
Fix Stop() behavior and stream status message
Continue recording even if the stream goes offline
Requires setting KeepRecordingOnStopStreaming to 1 in global.ini to test
Hopefully. Made the recording wait for a keyframe before starting,
adjust the timestamps for the output file so they display the correct
video duration. Start AFKing in Orgrimmar, everyone!
Like the description says. Currently nukes the Dashboard button, not
quite sure where to put it. Allows you to toggle recording while
streaming, to split up videos or turn it off while you AFK in Orgrimmar
for ten hours.