remember display mirroring
This commit is contained in:
parent
29afe3348c
commit
6350971623
7 changed files with 76 additions and 45 deletions
|
@ -316,12 +316,19 @@
|
|||
var bitrateSetting = MediaPlayer.getBitrateSetting();
|
||||
bitrateSetting = Math.min(bitrateSetting, 10000000);
|
||||
|
||||
var receiverName = null;
|
||||
|
||||
if (castPlayer.session && castPlayer.session.receiver && castPlayer.session.receiver.friendlyName) {
|
||||
receiverName = castPlayer.session.receiver.friendlyName;
|
||||
}
|
||||
|
||||
message = $.extend(message, {
|
||||
userId: Dashboard.getCurrentUserId(),
|
||||
deviceId: ApiClient.deviceId(),
|
||||
accessToken: ApiClient.accessToken(),
|
||||
serverAddress: ApiClient.serverAddress(),
|
||||
maxBitrate: bitrateSetting
|
||||
maxBitrate: bitrateSetting,
|
||||
receiverName: receiverName
|
||||
});
|
||||
|
||||
getEndpointInfo().done(function (endpoint) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue