Skip to content

Commit

Permalink
fix audio format mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
floe committed Jan 15, 2022
1 parent ca7e723 commit 808ce7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def link_new_client(client):
clients[c].create_mixer("surface", new_element("compositor",{"background":"black"}), new_element("videoconvert"),
new_element("capsfilter",{"caps":Gst.Caps.from_string("video/x-raw,format=YV12,width=1280,height=720,framerate=15/1")}))
clients[c].create_mixer( "audio", new_element("audiomixer"), new_element("audioconvert"),
new_element("capsfilter",{"caps":Gst.Caps.from_string("audio/x-raw,format=U8,rate=48000,channels=1")}))
new_element("capsfilter",{"caps":Gst.Caps.from_string("audio/x-raw,format=S16LE,rate=48000,channels=1")}))

# add missing frontmixer links
client.link_to_front()
Expand Down

0 comments on commit 808ce7a

Please sign in to comment.