50 Commits

Author SHA1 Message Date
Richard Stanway
42adfc7183 Basic support for installing custom service files 2015-05-08 23:50:44 +02:00
jp9000
947bf51d66 Fix bug where publish warnings wouldn't display
The ID for the services configs are mostly for backward compatibility
due to design flaws with the config files where the config files would
use indexes rather than using actual name values.  They aren't actually
equal to the indexes of the list box.
2015-01-08 20:58:08 -08:00
palana
c8b7f3eab4 Add warnings when using invalid (Replay Buffer) File Path(s) 2014-09-24 01:22:52 +02:00
palana
413120148b Add separate caption for invalid Replay Buffer Save Path 2014-09-23 22:12:29 +02:00
palana
1741e49faf Add browse button for user services 2014-09-12 21:23:50 +02:00
palana
edfbea5ba0 Add support for 3rd party service.xconfigs
3rd party service.xconfigs are located in %AppDataPath%/services
(e.g. %APPDATA%/OBS/services in non-portable mode) and have the same
format as a single service definition in services.xconfig without the id
field, e.g.:

"My Service" : {
  servers : {
    Primary : "rtmp://live.example.org/live"
    Secondary : "rtmp://live.example.com/live"
  }
  recommended : {
    "max bitrate" : 1337
  }
}
2014-09-12 21:23:50 +02:00
palana
2e69b1038b Improve Replay Buffer length error handling 2014-08-22 05:04:39 +02:00
palana
0cd1d0a84a Add separate setting for Replay Buffer File Path 2014-08-21 02:29:41 +02:00
palana
c57758e7d2 Add date/time replacement for save path
Also OBS will now automatically create directories when needed
2014-08-21 02:29:41 +02:00
palana
38f96367d1 Separate Replay Buffer from normal file recording 2014-08-21 02:29:40 +02:00
palana
d3bd97eb2a Fix Broadcast Settings mode switching for rtl locales 2014-08-21 02:29:09 +02:00
Richard Stanway
905041058f Use absolute paths for opening files where possible
Works around various 3rd party nasties that change the working directory and don't set it back properly.
2014-08-19 01:16:09 +02:00
palana
1560f5b9e7 Add Save Interval support to UI/recording logic 2014-08-13 00:37:23 +02:00
palana
0b5158d9e3 Streamline (settings) hotkey handling
This moves all hotkeys that were accessible in the audio/publish
settings panes to a new hotkeys settings pane

Also makes the push to talk hotkeys behave like all other (settings)
hotkeys, i.e. as long as a hotkey is configured the hotkey is active
2014-08-13 00:37:21 +02:00
palana
38160ee2e9 Show IDC_INFO only when necessary
Checking the video encoder should be sufficient, as long as noone adds
a audio encoding only mode
2014-07-16 14:34:22 +02:00
palana
e541c5207d Update recording logic to better reflect ConfigFile settings
ConfigFile doesn't distinguish between non-existent keys and keys with
an empty (string) value; therefore we default to treating an empty
SavePath as default save path (and warn the user when setting an empty
SavePath)

Recording is now always enabled (unless previewing)
2014-07-08 18:25:36 +02:00
palana
d036faa33e Allow recording even when SaveToFile is disabled
This changes the semantics of SaveToFile from "disable all file output
when disabled" to "automatically save stream to file when enabled",
which allows the "Start Recording" button to be enabled even when
SaveToFile is disabled.

Having the "Start Recording" button enabled now depends on having a
non-empty SavePath
2014-07-03 16:22:40 +02:00
palana
c8aac02025 Set default file save path if available 2014-06-10 18:20:45 +02:00
Richard Stanway
1b8b8482bc Fix issues with 0 second reconnect timer 2014-04-21 19:13:05 +02:00
jp9000
02d3c68350 Change minimum reconnect timout to 0 2014-04-17 18:51:53 -07:00
palana
d17b7722bd Move ScopeGuard to OBSApi 2014-03-19 15:45:40 +01:00
palana
a49777f3aa Add red text reference for Optimize button and tweak optimize message box
The message box caption really shouldn't say "Error"
2014-03-19 15:45:40 +01:00
palana
8abcff0c89 Fix potential ambiguity between XT locale and std::locale in Str() 2014-03-14 18:51:41 +01:00
palana
7a7ec418d3 Remove unnecessary new invocation 2014-03-14 18:51:40 +01:00
palana
b6cc5516cc Remove a few VS2010 workarounds
VS2010 has problems with range-based for loops and with constructing a map item
that contained uncopyable types
2014-03-13 18:18:51 +01:00
palana
35539f4c06 Implement optimize settings button for publish settings
This includes "optimizations" for almost all publish warnings; the aspect ratio
warning is not fixed because trying to fix that has wider repercussions for
scene/source layout/positioning and potentially even required bitrate

A possible future "optimization" to fix the aspect ratio warning would be to
compute a number of possible choices based on the current downscale setting with
a target output resolution of 480p/540p/720p/etc. and let the user select one of
the resulting base resolutions
2014-03-08 19:42:20 +01:00
palana
f9ccde2dbf Reorder publish settings checks to group messages by settings pane 2014-03-07 22:26:53 +01:00
palana
13a2398ab7 Add publish warning for recommended video aspect ratio
This may reduce the number of users that are confused about black borders in
video players that are constrained to a certain aspect ratio
2014-02-27 20:14:56 +01:00
palana
02024ffcca Remove a whole bunch of tabs ...
Someone make Visual Studio remember that OBS1 uses spaces
2014-02-26 15:53:50 +01:00
palana
f4ed09778e Add RTL-aware wrappers for DialogBox and CreateDialog
This makes previous RTL-changes (except for OBSMessageBox) obsolete
2014-02-26 07:07:13 +01:00
palana
e3afcc83b4 Show audio codec warning even if it is the only warning 2014-02-16 01:41:26 +01:00
palana
2a1c4326b4 Add support for per service list of supported audio codecs
Currently only handles the vanilla OBS case of two possible codecs, i.e.
it won't list multiple listed supported codecs as alternatives in the
warning message; also doesn't verify that the listed codecs are actually
available in OBS

Other than that it supports multiple "supported audio codec" entries
in services.xconfig per service, in case anyone wants to white list
both MP3 and AAC for their service:

```
recommended : {
 "supported audio codec" : "MP3"
 "supported audio codec" : "AAC"
}
```
2014-02-15 20:12:44 +01:00
palana
de9adb3498 Fix typo in publish settings
Start Recording hotkey is now clearable
2014-02-13 20:11:37 +01:00
palana
43d5b9dc3a Move recording hotkeys on settings init 2014-02-05 05:34:04 +01:00
palana
c01843dea1 Add start/stop recording hotkeys 2014-02-05 02:14:26 +01:00
palana
0455c74052 Disable keep recording checkbox if file output is disabled
This should probably be re-evaluated if disconnects do not stop
the encoder regardless of file output status
2014-02-05 01:43:27 +01:00
paibox
598720cc43 Minor fix for Broadcast Settings
Properly hide the "Keep recording" checkbox when switching to file
output only, update the Start Streaming/Start Recording buttons when
switching modes in the settings.
2014-01-11 04:28:06 +01:00
paibox
e5e5f2a6ed Adjust keep recording settings
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.
2014-01-11 04:15:12 +01:00
jp9000
7048adbc0f added 'main' encoder profile recommendation 2013-12-11 17:02:19 -07:00
palana
2649e001bb Fixed broadcast warnings for non-contiguous service ids 2013-09-14 04:45:08 +02:00
Gol-D-Ace
63b4b4850f corrected flaw missed a ) 2013-09-13 15:13:28 +02:00
Gol-D-Ace
7e62cf7610 Differentiate between AAC and MP3 for Publish Warning + settings for Twitch 2013-09-13 14:55:09 +02:00
Richard Stanway
1d854919c8 Add publish warning for audio bitrate 2013-08-15 20:41:07 -04:00
Richard Stanway
f622f9e7d1 Add per-service recommendations to broadcast settings 2013-08-14 19:37:44 -04:00
Eric
c1d57c206f Remove any leading or trailing spaces from the stream key/playpath. 2013-04-30 18:22:23 +02:00
jp9000
dd9bd2f75c Added the ability for settings panes to have a "defaults" button, added the button to the "Advanced" section 2013-04-18 08:00:34 -07:00
jp9000
abfef72d85 0.48.007 - removed circular list usage until I can verify it's 100% safe to use, removed a potential memory leak from directshow sources, other minor checks and tweaks 2013-03-31 05:47:11 -07:00
Lucas Murray
6b9b671a3d Use SettingsPane for the noise gate settings; Remove HINSTANCE from
the SettingsPane API as it's not needed
2013-03-16 20:01:19 +08:00
Lucas Murray
b2a1b533c3 Added a SetChangedSettings() method to SettingsPane 2013-03-16 18:34:40 +08:00
Lucas Murray
c153a3656a Ported broadcast settings to SettingsPane 2013-03-16 17:13:30 +08:00