Skip to content

Commit

Permalink
#1194: try harder to generate a more compatible stream
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@14410 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Nov 13, 2016
1 parent cba21cb commit 9672b11
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/xpra/sound/gstreamer_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def force_enabled(codec_name):
(OPUS_OGG , "opusenc", "oggmux", "opusdec", "oggdemux"),
(OPUS , "opusenc", None, "opusparse ! opusdec", None),
#this can cause "could not link opusenc0 to webmmux0"
(OPUS_MKA , "opusenc", "webmmux", "opusdec", "matroskademux"),
(OPUS_MKA , "opusenc", "webmmux", "opusdec", "matroskademux"),
(SPEEX_OGG , "speexenc", "oggmux", "speexdec", "oggdemux"),
(WAVPACK , "wavpackenc", None, "wavpackparse ! wavpackdec", None),
(AAC_MPEG4 , "faac", "mp4mux", "faad", "qtdemux"),
Expand Down Expand Up @@ -148,9 +148,12 @@ def force_enabled(codec_name):
"quality" : 0, #"fast"
},
"avenc_aac" : {
"compliance" : -2, #allows experimental
"compliance" : 1, #allows experimental
"perfect-timestamp" : 1,
},
"faac" : {
"perfect-timestamp" : 1,
},
#"faac" : {"perfect-timestamp" : 1},
#"vorbisenc" : {"perfect-timestamp" : 1},
}
ENCODER_DEFAULT_OPTIONS = {
Expand Down Expand Up @@ -178,13 +181,13 @@ def force_enabled(codec_name):
"webmmux" : {
"writing-app" : "Xpra",
"streamable" : 1,
"min-index-interval" : 100000000,
#"min-index-interval" : 0,
},
"mp4mux" : {
"faststart" : 1,
"streamable" : 1,
"fragment-duration" : 1,
"presentation-time" : 0,
#"fragment-duration" : 20,
#"presentation-time" : 0,
}
}

Expand Down

0 comments on commit 9672b11

Please sign in to comment.