Skip to content
Browse files

WebFrontend: Disable the 720p video option for now, you need decent h…

…ardware to transcode to 720p in realtime. Until we can figure out a way to disable it selectively on systems that can't handle it, it's better not to even offer it as a choice.
  • Loading branch information...
1 parent 7ad57f0 commit ea4bfde06a8ed31f51f12e779b9dd42d8f40f868 @stuartm stuartm committed Feb 27, 2014
Showing with 6 additions and 6 deletions.
  1. +6 −6 mythtv/html/tv/tvplayer.qsp
View
12 mythtv/html/tv/tvplayer.qsp
@@ -32,16 +32,16 @@ import "/tv/js/tvutil.qjs"
var program = dvr.GetRecorded(chanID, startTime);
var videoProfile = "360p";
- if (Server.CLIENT_NETWORK == "local")
- videoProfile = "720p";
+// if (Server.CLIENT_NETWORK == "local")
+// videoProfile = "720p";
var streamInfo = 0;
// Relative bitrates and resolutions taken from
// https://developer.apple.com/library/ios/technotes/tn2224/_index.html#//apple_ref/doc/uid/DTS40009745-CH1-SETTINGSFILES
if (videoProfile == "720p")
- streamInfo = content.AddRecordingLiveStream(chanID, startTime, 0, 1280, 720, 2500000, 64000, -1); // Local - 2.5Mbps 1280x720
+ streamInfo = content.AddRecordingLiveStream(chanID, startTime, 0, 1280, 720, 2500000, 64000, -1); // Local - 2.564 Mbps 1280x720
else
- streamInfo = content.AddRecordingLiveStream(chanID, startTime, 0, 640, 360, 600000, 40000, -1); // Remote - 600 Kbps 640x360
+ streamInfo = content.AddRecordingLiveStream(chanID, startTime, 0, 640, 360, 600000, 64000, -1); // Remote - 664 Kbps 640x360
var streamID = 0;
if (isValidObject(streamInfo))
@@ -103,10 +103,10 @@ import "/tv/js/tvutil.qjs"
<button id="muteButton" class="playbackControl" onClick="jwplayer('player').setMute()">Mute</button>&nbsp;
<label for="hlsProfileList">
<%=qsTr("Quality")%>:
- <select name="profile" id="hlsProfileList">
+<!-- <select name="profile" id="hlsProfileList">
<option value="360p"><%=qsTr("360p (Mobile)")%></option>
<option value="720p" <%if (videoProfile == "720p") {%>selected<%}%>><%=qsTr("720p (WiFi)")%></option>
- </select>
+ </select>-->
</label>
</div>
</div>

0 comments on commit ea4bfde

Please sign in to comment.
Something went wrong with that request. Please try again.