Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
SHMCamStudio
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SexHackMe
SHMCamStudio
Commits
9230acdc
Commit
9230acdc
authored
Nov 10, 2024
by
nextime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Start config file integration for tkinter
parent
8853586d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
config.ini
config.ini
+1
-2
shmcamstudio
shmcamstudio
+4
-4
No files found.
config.ini
View file @
9230acdc
...
...
@@ -4,6 +4,7 @@ log_level = INFO
[Web]
stream_url
=
https://192.168.42.1/HLS/record/Live.m3u8
rtmp_url
=
rtmp://192.168.42.1/record/Live
port
=
5000
[Commands]
...
...
@@ -21,8 +22,6 @@ open = smblur_clean
[Tkinter]
window_title
=
SHM Cam Studio
window_width
=
300
window_height
=
400
button_width
=
20
button_height
=
2
font_size
=
12
shmcamstudio
View file @
9230acdc
...
...
@@ -201,16 +201,16 @@ class VideoPlayer:
def
create_tkinter_gui
():
# Create the main window
window
=
tk
.
Tk
()
window
.
title
(
"Streaming Control Panel"
)
window
.
title
(
config
.
get
(
"Tkinter"
,
"window_title"
,
fallback
=
"SHM CamStudio"
)
)
helv36
=
tkFont
.
Font
(
family
=
'Helvetica'
,
size
=
13
,
weight
=
'bold'
)
helv36
=
tkFont
.
Font
(
family
=
'Helvetica'
,
size
=
config
.
get
(
"Tkinter"
,
"font_size"
,
fallback
=
12
)
,
weight
=
'bold'
)
# Frame for the left side
fleft
=
tk
.
Frame
(
window
)
fleft
.
pack
(
side
=
tk
.
LEFT
,
fill
=
tk
.
BOTH
,
expand
=
True
)
# URL of your
HLS
stream
video_url
=
"rtmp://192.168.42.1/record/Live"
# URL of your
RTMP
stream
video_url
=
config
.
get
(
"General"
,
"rtmp_url"
,
fallback
=
"rtmp://192.168.42.1/record/Live"
)
VideoPlayer
(
fleft
,
video_url
)
# Frame for the right side
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment