LiveSquawk Weekly Fixed Income Supply Preview
Week commencing 30 November 2026

Supply drought shifts spotlight to payrolls and eurozone inflation

- US Treasury coupon supply takes a breather as November payrolls provide the final major labour-market test before the December FOMC meeting.

- Eurozone government bond issuance falls to just EUR 4.5bn, with Germany the sole conventional issuer and substantial cash flows providing technical support.

- UK gilt issuance totals GBP 6bn, concentrated in the five-year sector, while coupon reinvestment offers some offset.

- Japan brings JPY 5.4tn of JGB supply across the two- and 10-year maturities.

- Australian supply totals AUD 2bn, while New Zealand is expected to issue NZD 450mn.

- Political developments in Spain and French budget negotiations add to the risks facing European sovereign spreads.

Overview

Government bond markets enter December with a relatively favourable supply backdrop, although a busy economic calendar threatens to overshadow the technical support from reduced issuance.

The week's most significant event is Friday's US employment report. With the Federal Reserve entering its communications blackout ahead of the 8–9 December FOMC meeting, the November payrolls release could prove decisive for near-term rate expectations.

In Europe, the focus shifts to Tuesday's flash eurozone inflation figures. These will provide a further test of whether elevated price pressures are becoming entrenched, particularly as policymakers weigh the implications of higher energy costs and persistent domestic inflation.

Supply conditions should be supportive, especially across the eurozone, where Germany is the only scheduled conventional government bond issuer. Reinvestment flows and the sharp reduction in primary supply could help cushion any sell-off driven by stronger economic data.

The UK faces a somewhat heavier calendar, with GBP 6bn in planned gilt issuance, while Japan's two- and 10-year auctions will test demand across different parts of its yield curve.

However, the absence of substantial US Treasury coupon auctions means economic data, rather than supply, should remain the principal driver of global duration.

US Treasuries: Payrolls to determine whether December tightening remains on track

There are no scheduled marketable Treasury note or bond auctions this week. Regular Treasury bill issuance continues, but the absence of coupon supply removes a significant source of duration pressure.

Citi's supply monitor also identifies no US Treasury cash flows eligible for reinvestment during the period.

The technical picture becomes less favourable the following week, when the Treasury is expected to return with three-, 10- and 30-year auctions.

The absence of scheduled Treasury coupon auctions leaves US rates markets almost entirely exposed to the economic calendar, with Friday's nonfarm payrolls report providing the week's main event.

Economists expect November payrolls to increase by 90,000, slowing from October's stronger-than-anticipated 165,000 gain. The unemployment rate is forecast to remain at 4.1%, while average hourly earnings are seen increasing 0.3% m/m, following the previous month's 0.4% advance.

The employment figures are particularly important given the Federal Reserve's decision to leave rates unchanged in October despite continuing inflation concerns. Markets are now weighing whether policymakers will resume tightening in December or wait for further evidence that underlying price pressures are easing.

A stronger-than-expected payrolls report, accompanied by firm wage growth, would reinforce the case for another hike, potentially pushing Treasury yields higher, particularly at the front end of the curve.

Conversely, disappointing employment growth could prompt a reassessment of the timing of further tightening, although any rally may be constrained by persistent inflation.

Euro Area: Inflation risks challenge supportive supply backdrop

European government bond markets face an unusually light issuance calendar, with Germany the sole scheduled conventional sovereign issuer.

The German Finance Agency will reopen EUR 4.5bn of its 2.90% October 2031 Bobl on Tuesday, accounting for the entire week's scheduled conventional eurozone sovereign supply.

The auction arrives against a backdrop of sizeable redemption flows, creating a favourable technical environment for European government bonds.

However, Tuesday's flash inflation figures could prove more influential than the supply calendar.

Eurozone headline inflation is expected to ease marginally to 3.9% y/y in November from 4.0%, while core inflation is forecast to remain unchanged at 2.6%.

Although the modest retreat in headline inflation would be welcome, an unchanged core figure may reinforce concerns over underlying price pressures.

For the ECB, the challenge remains balancing persistent inflation against signs of uneven economic growth across the currency bloc.

Any upside surprise in core inflation could push Bund yields higher, particularly in shorter maturities, while softer figures would support expectations that policymakers may have greater flexibility at forthcoming meetings.


Politics and sovereign spreads
Political developments are another potential source of volatility.

Spain's snap general election on 29 November delivered victory for the centre-right People's Party (PP), leaving it positioned to form a government with the support of Vox.

The result shifts attention towards coalition negotiations and their implications for fiscal policy. Spanish government bond spreads could become more sensitive to any indications of increased spending or changes to fiscal commitments.

In France, ongoing budget negotiations remain an important consideration for OAT investors. Questions surrounding fiscal consolidation and parliamentary support for the government's plans could continue to influence the spread between French and German government debt.

Although the reduced volume of new issuance should be constructive for European sovereign bonds, political uncertainty and inflation risks may limit the scope for sustained tightening in peripheral spreads.

Positioning: Lower issuance provides support, but duration remains data-dependent

The technical outlook is potentially favourable for European government bonds, particularly with substantial Italian redemptions coinciding with a sharp reduction in primary issuance.

However, the likely market impact will depend on how much of that cash is reinvested into sovereign debt rather than diverted into other assets.

The concentration of issuance in Germany's five-year sector leaves longer maturities relatively insulated from direct auction pressure. That could support the belly and long end of the eurozone curve, although inflation surprises remain a risk.

In the US, the absence of coupon auctions removes a supply-related headwind, but the direction of yields will depend heavily on economic releases.

For UK gilts, sizeable five-year issuance and prevailing uncertainty over the Bank of England's policy outlook could leave the front end and belly of the curve more vulnerable to changes in rate expectations.

With major central bank meetings scheduled for the following week, investors may be reluctant to establish aggressive directional positions ahead of Friday's US labour-market figures.

European cash flows: Italian redemptions dominate a supportive technical week

European sovereign bond cash flows are expected to provide a meaningful offset to scheduled issuance.

UBS estimates around EUR 23bn of gross cash flows during the week, principally from Italian redemptions and coupon payments.

The most significant transaction falls on Tuesday, when approximately EUR 19.78bn of Italian government bonds mature.

A further EUR 1.92bn of Italian conventional bond coupons are scheduled for payment on the same day. Spain also has approximately EUR 1bn in inflation-linked coupon payments on Monday.

Belgium and Italy account for smaller additional flows.

This negative net supply picture suggests that investors receiving redemption proceeds may have relatively few opportunities to reinvest in new sovereign issuance.

The next four weeks are expected to generate approximately EUR 45bn of cash flows, according to UBS, while scheduled conventional issuance declines sharply as the year draws to a close.

The reduced primary calendar could provide some support for Bunds and other core government bonds, although investors may also look towards outstanding Italian, Spanish and French securities for reinvestment opportunities.

Market implication: Cash reinvestment may support sovereign spreads, but the magnitude of the benefit will depend on reinvestment behaviour and the extent to which investors retain duration exposure.

UK Gilts: GBP 6bn gilt supply concentrated in shorter maturities

The UK Debt Management Office plans two transactions totalling GBP 6bn during the week.

On Tuesday, it will reopen GBP 4.75bn of the 4.625% March 2032 gilt, followed on Thursday by a tender for up to GBP 1.25bn of the 0.25% July 2031 gilt.

Both transactions are concentrated in the shorter-to-intermediate portion of the curve, with no scheduled long-dated or index-linked gilt auction.

Citi estimates that the week's issuance represents approximately USD 3.5mn of DV01, with the equivalent risk exposure corresponding to roughly 28,000 10-year gilt futures contracts.

Coupon flows should provide some technical support. Citi estimates approximately GBP 3.4bn of conventional gilt coupons, measured on a free-float basis, are eligible for reinvestment.

The balance between new supply and coupon reinvestment suggests a relatively manageable issuance week, particularly compared with periods featuring significant long-dated gilt sales.

On the economic front, final November manufacturing and services PMIs will provide an updated picture of UK activity, while the Bank of England's Decision Maker Panel survey on Friday will offer an insight into business pricing intentions and inflation expectations.

BoE Monetary Policy Committee members Huw Pill and Sarah Breeden are also scheduled to speak on Tuesday.

With UK inflation remaining elevated and markets debating the extent of further monetary tightening, gilt yields could remain sensitive to any indications that price pressures are spreading across the broader economy.

UK rate-market focus: The five-year sector faces the heaviest supply, while movements in the front end will continue to reflect expectations for the Bank Rate.

Asia-Pacific:

Japan

Japan's Ministry of Finance plans JPY 5.4tn in JGB issuance across two auctions.

The first is Monday's JPY 2.8tn two-year auction, followed by a JPY 2.6tn 10-year sale on Thursday.

The 10-year auction will be particularly important for assessing demand for duration amid continuing speculation over the Bank of Japan's policy path.

With domestic inflation pressures persisting and the BoJ expected to maintain a tightening bias, demand from banks, insurers and other institutional investors will be closely watched.

A weak auction result could reinforce upward pressure on Japanese yields, particularly if investors demand additional compensation for further interest-rate increases.

Governor Kazuo Ueda's remarks will also be scrutinised for clues about the timing of further monetary tightening.

The two-year auction should offer a more direct indication of investor expectations for the near-term policy path, while the 10-year sale will provide a broader assessment of the market's appetite for duration.

Australia

Australian government bond supply totals AUD 2bn, split evenly between two auctions.

On Wednesday, the Australian Office of Financial Management will offer AUD 1bn of the 1.50% June 2031 bond, followed by AUD 1bn of the 5.00% May 2038 bond on Friday.

Wednesday's Q3 GDP release is the main economic event.

Economists expect growth of approximately 0.5% q/q, compared with 0.4% in Q2. A stronger-than-anticipated reading could reinforce expectations that the Reserve Bank of Australia will maintain a restrictive policy stance.

The GDP release comes on the same day as the five-year bond auction, potentially creating additional volatility around pricing.

The longer-dated Friday transaction will provide an indication of demand for duration towards the end of the trading week.

New Zealand

New Zealand's Debt Management Office is expected to conduct a NZD 450mn government bond tender on Thursday.

The maturity allocation and final terms are subject to the debt manager's announcement.

The market will also be positioning for the Reserve Bank of New Zealand's Monetary Policy Statement on 9 December, with investors assessing the potential for further tightening following its latest policy move.

Demand for the week's tender may therefore be influenced by expectations surrounding the RBNZ's next decision and the broader outlook for inflation.

Supply Snapshot
Sources: Citi Research, UBS
Looking Ahead: European Supply And French Redemptions Take Centre Stage

European sovereign issuance is expected to increase in the week commencing 16 November.

UBS forecasts approximately EUR 26.5 bln of conventional EGB supply, led by France, Germany and Spain.

Germany is scheduled to issue EUR 5 bln of December 2028 Schatz and EUR 3 bln of November 2033 Bunds.

France is expected to raise EUR 12-13 bln across conventional OATs and approximately EUR 1 bln of inflation-linked securities, while Spain has around EUR 3 bln of Bonos scheduled.

Finland is also expected to auction approximately EUR 1.5 bln of government bonds.

The US Treasury will return with a provisional USD 16 bln 20-year bond auction and a USD 19 bln reopening of 10-year TIPS.

In the UK, the DMO is expected to auction the 5.25% 2041 gilt, alongside a conventional gilt tender later in the week.

Further ahead, European cash flows become increasingly important. UBS expects approximately EUR 46 bln of French coupons and redemptions during the week commencing 23 November, providing a substantial reinvestment pool ahead of month-end.

Bottom Line

The opening week of December presents an unusually favourable sovereign bond supply backdrop, particularly in the eurozone and US.

Eurozone conventional issuance is limited to EUR 4.5bn against approximately EUR 21.7bn of conventional coupons and redemptions, providing a potentially supportive environment for European government debt.

In the US, the absence of Treasury coupon auctions removes a source of duration pressure, leaving economic data to dictate market direction.

UK supply remains manageable, with GBP 6bn concentrated in the five-year sector and coupon reinvestment expected to absorb some of the additional issuance.

The principal risk to the supportive technical picture comes from inflation and employment data.

A stronger US labour-market report or upside surprise in eurozone inflation could overwhelm the benefit of reduced issuance, pushing yields higher as markets reassess the likely course of monetary policy.

Conversely, softer data could allow the favourable supply conditions to reinforce demand for government bonds.

With the major central bank decisions approaching, the week looks set to be driven by incoming economic data rather than primary issuance, leaving Friday's US payrolls report as the decisive event for global rates.

/*jshint esversion: 6 */ var socket; var assigned_server = 3001; var distributor_server = 3010; var publisher_channel = ''; var broadcaster_channel = ''; var remote_ip = ''; var session_info = {}; var logging_interval; var logging_interval_time = 120000; var socket_emits = 0; var session_start_time; var reconnectionDelayGrowFactor = 1.2; var reconnection_delay = 1000; var playing = false; var connected_to_assigned = false; var socket_close_timeout; var player_disconnected_annoucement_play_delay = 1500; var player_disconnected_annoucement_play_timeout = null; const TOKEN_ENDPOINT = "https://www.livesquawk.com/api/get_token.php"; self.onmessage = function (msg) { switch(msg.data.action) { case 'Reactivate': reactivate(); break; case 'ConnectDistributor': connect_to_distributor(msg); break; case 'SessionStaticInfo': session_static_info(msg); break; case 'SessionInfo': update_session_info(msg.data); break; case 'PauseLogging': clearTimeout(logging_interval); break; case 'RestartLogging': postMessage({action: 'RequestSessionStaticInfo' }); break; case 'JoinPublisherChannel': join_publisher_channel(msg.data); break; case 'JoinPlayerChannel': join_player_channel(msg.data); break; case 'CheckChannelStatus': check_channel_status(msg.data); break; case 'PlayerLogResponse': player_log_response(msg.data); break; case 'CloseSocket': close_socket(); break; case 'RequestMessageSearch': request_message_search(msg.data); break; case 'RequestMoreMessages': request_more_messages(msg.data); break; case 'PlayerDisconnectedAnnoucementTimeoutStart': player_disconnected_annoucement_timeout_start(); break; case 'PlayerDisconnectedAnnoucementTimeoutClear': player_disconnected_annoucement_timeout_clear(); break; case 'GetConnectionState': checkSocketConnectionState(); break; } }; function player_disconnected_annoucement_timeout_clear() { clearTimeout(player_disconnected_annoucement_play_timeout); player_disconnected_annoucement_play_timeout = null; } function player_disconnected_annoucement_timeout_start() { player_disconnected_annoucement_play_timeout = setTimeout(function() { send_play_disconnect_annoucement(); }, player_disconnected_annoucement_play_delay ); } function send_play_disconnect_annoucement() { postMessage({action: "PlayDisconnectAnnoucement"}); } function reactivate() { playing = false; connect_to_assigned_server(); } function player_log_response(data) { var data_array = {}; data_array.type = 'PlayerLogResponse'; data_array.respond_to_socket_final = data.respond_to_socket_final; data_array.respond_to_socket = data.respond_to_socket; data_array.player_socket_id = data.player_socket_id; data_array.logs = data.logs; var msg_string = JSON.stringify(data_array); if (socket.readyState == 1) { socket.send(msg_string); } } function request_message_search(data) { var data_array = {}; data_array.type = 'request_message_search'; data_array.publisher_channel = data.publisher_channel; data_array.search_term = data.search_term; var msg_string = JSON.stringify(data_array); if (socket.readyState == 1) { socket.send(msg_string); } } function request_more_messages(data) { var data_array = {}; data_array.type = 'request_more_messages'; data_array.publisher_channel = data.publisher_channel; data_array.last_record_id = data.last_record_id; var msg_string = JSON.stringify(data_array); if (socket.readyState == 1) { socket.send(msg_string); } } function check_channel_status(data) { var data_array = {}; data_array.type = 'check_channel_status'; data_array.app_name = data.app_name; var msg_string = JSON.stringify(data_array); if (socket.readyState == 1 && connected_to_assigned) { socket.send(msg_string); } else { setTimeout(function() { check_channel_status(data); },500); } } function check_channel_status_response(data) { postMessage({ action: 'CheckChannelStatusReponse', stream_status: data.stream_status.status, onair: data.stream_status.onair, connected: data.stream_status.connected }); } async function join_publisher_channel(data) { if (typeof data.jwt_token === 'string' && data.jwt_token !== '') { if (!socket || socket.readyState !== WebSocket.OPEN) { console.warn("[Page worker] JWT join skipped: socket not open"); return; } socket.send(JSON.stringify({ type: "join_publisher_channel", jwt_token: data.jwt_token, publisher_channel: data.publisher_channel, username: data.username, subscriber_group: data.subscriber_group, display_name: data.display_name, single_sign_on: data.single_sign_on, remote_ip: data.remote_ip, http_referrer: data.http_referrer, current_page: data.current_page, php_session_id: data.php_session_id, from_react: data.from_react, ...(typeof data.api_key === "string" && data.api_key.trim() !== "" ? { api_key: data.api_key } : {}), })); console.log("[Page worker] Sent supplied JWT join"); postMessage({ action: 'PublisherChannelJoined' }); return; } const joinSocket = socket; if (!joinSocket || joinSocket.readyState !== WebSocket.OPEN) { return; } const apiKey = typeof data.api_key === "string" ? data.api_key.trim() : ""; const partnerName = partnerFromCurrentPage(data.current_page); let tokenBody; if (apiKey !== "") { tokenBody = { api_key: apiKey }; } else if (partnerName) { tokenBody = { partner_name: partnerName }; } else { tokenBody = { username: data.username || "", publisher_channel: data.publisher_channel || "", }; } let jwtToken = null; try { const requestStartedAt = Date.now(); const response = await fetch(TOKEN_ENDPOINT, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify(tokenBody), credentials: "same-origin", cache: "no-store", }); if (!response.ok) { throw new Error(`token endpoint returned ${response.status}`); } const tokenData = await response.json(); if ( !tokenData || typeof tokenData.token !== "string" || tokenData.token === "" ) { throw new Error("token endpoint returned no token"); } const expiresIn = Number(tokenData.expires_in); if (!Number.isFinite(expiresIn) || expiresIn <= 0) { throw new Error("token endpoint returned an invalid lifetime"); } const expiresAt = requestStartedAt + (expiresIn * 1000); if (expiresAt <= Date.now() + 30000) { throw new Error("token response has insufficient remaining lifetime"); } jwtToken = tokenData.token; } catch (error) { console.warn("[Page worker] Token request failed", error); // API-key requests must not silently bypass token authentication. if (apiKey !== "") { postMessage({ action: "auth_failed" }); return; } } // A reconnect during the fetch makes this join attempt obsolete. if ( socket !== joinSocket || joinSocket.readyState !== WebSocket.OPEN ) { return; } const payload = { type: "join_publisher_channel", publisher_channel: data.publisher_channel, username: data.username, subscriber_group: data.subscriber_group, display_name: data.display_name, single_sign_on: data.single_sign_on, remote_ip: data.remote_ip, http_referrer: data.http_referrer, current_page: data.current_page, php_session_id: data.php_session_id, from_react: data.from_react, }; if (apiKey !== "") { payload.api_key = apiKey; } if (jwtToken) { payload.jwt_token = jwtToken; } console.log( jwtToken ? "[Page worker] Sending fetched JWT with legacy details" : "[Page worker] Sending legacy join without JWT" ); joinSocket.send(JSON.stringify(payload)); postMessage({ action: "PublisherChannelJoined" }); } function partnerFromCurrentPage(current_page) { try { if (!current_page) return ''; const fullUrl = current_page.startsWith('http') ? current_page : `https://${current_page}`; return new URL(fullUrl).searchParams.get('partner_name') || ''; } catch (e) { return ''; } } function session_static_info(msg) { set_static_session_info(msg.data); start_log(); } function connect_to_distributor(msg) { publisher_channel = msg.data.publisher_channel; remote_ip = msg.data.remote_ip; socket = new WebSocket("wss://ws.livesquawk.com/ws"+distributor_server); socket.onopen = function(event) { request_server_assignment(); }; socket.onmessage = function(event) { var msg_string = event.data.toString(); var data = JSON.parse(msg_string); switch(data.type) { case 'server_assignment_response': server_assignment_response(data); break; } }; } function session_info_interval() { postMessage({action: 'RequestSessionInfo' }); logging_interval = setTimeout(session_info_interval,logging_interval_time); } function server_assignment_response(data) { assigned_server = data.selected_server; socket.close(); connect_to_assigned_server(); } function request_server_assignment() { var data_array = {}; data_array.type = 'request_server_assignment'; var msg_string = JSON.stringify(data_array); if (socket.readyState == 1) { socket.send(msg_string); } } function connect_to_assigned_server() { socket = new WebSocket("wss://ws.livesquawk.com/ws"+assigned_server); socket.onopen = function(event) { postMessage({ action: 'VisibleConsole',console_string: "Connected to server "+assigned_server }); console.log("Connected to server "+assigned_server); postMessage({ action: 'ConnectedToAssigned' }); connected_to_assigned = true; if (playing) { postMessage({ action: 'RejoinPlayerChannel' }); } }; socket.onmessage = function(event) { var msg_string = event.data.toString(); var data = JSON.parse(msg_string); if (data.type != 'server_ping') { /* console.log(data.type); */ } switch(data.type) { case 'reconnect': postMessage({ action: 'VisibleConsole',console_string: "Reconnected" }); break; case 'reload': postMessage({ action: 'Reload' }); break; case 'start_log_response': start_log_response(data); break; case 'application_refresh_start': application_refresh_start(data); break; case 'application_refresh_stop': application_refresh_stop(data); break; case 'player_log_request': case 'check_channel_status_response': check_channel_status_response(data); break; case 'PlayerLogRequest': case 'new_tweet': case 'new_latest_news': case 'delete_report': case 'add_report': case 'add_ref_doc': case 'calendar_change': case 'calendar_insert': case 'calendar_delete': case 'new_note': case 'trunk': case 'AppStart': case 'AppStop': case 'BroadcasterStarted': case 'BroadcasterStopped': case 'added_cme_report': case 'updated_cme_report': case 'added_cme_commentary': case 'updated_cme_commentary': case 'server_assignment_response': case 'initial_messages': case 'message_categories': case 'more_messages': case 'matched_messages': pass_straight_to_post_message(data); break; case 'output': case 'server_ping': case 'reconnect': case 'disconnect': break; } }; socket.onerror = function(event) { postMessage({ action: 'VisibleConsole',console_string: "LS Socket Error" + event.type }); console.log(event); postMessage({ action: 'LSSocketConnectionError' }); }; socket.onclose = function(event) { console.log('Socket is closed. Reconnect will be attempted in 1 second.', event.reason); socket_close_timeout = setTimeout(connect_to_assigned_server, reconnection_delay); reconnection_delay = reconnection_delay*reconnectionDelayGrowFactor; connected_to_assigned = false; }; } function checkSocketConnectionState() { postMessage({ action: 'SocketConnectionState', connected: Boolean(socket && socket.readyState === WebSocket.OPEN && connected_to_assigned ), }); } function close_socket() { clearTimeout(socket_close_timeout); socket_close_timeout = null; socket.onclose = function(event) {}; socket.onmessage = function(event) {}; socket.onerror = function(event) {}; socket.close(1000); console.log('Socket Closed'); } function pass_straight_to_post_message(data) { data.action = data.type; postMessage(data); } function join_player_channel(data) { var data_array = {}; data_array.type = 'join_player_channel'; data_array.player_channel = data.player_channel; data_array.remote_ip = data.remote_ip; data_array.username = data.username; data_array.app_name = data.app_name; data_array.onair_status = data.onair_status; data_array.http_referrer = data.http_referrer; data_array.current_page = data.current_page; data_array.php_session_id = data.php_session_id; var msg_string = JSON.stringify(data_array); if (socket.readyState == 1) { socket.send(msg_string); } postMessage({action: 'PlayerChannelJoined' }); playing = true; } function start_log_response(data) { session_info.session_id = data.log_record_id; session_info_interval(); } function application_refresh_start(data) { if (data.app_name == session_info.application_name) { postMessage({action: 'ApplicationRefreshStart' }); } } function application_refresh_stop(data) { if (data.app_name == session_info.application_name) { postMessage({action: 'ApplicationRefreshStop' }); } } function set_static_session_info(data) { session_info.browser_codename = data.browser_codename; session_info.browser_name = data.browser_name; session_info.user_agent = data.user_agent; session_info.browser_version = data.browser_version; session_info.cookies_enabled = data.cookies_enabled; session_info.platform = data.platform; session_info.player_version = data.player_version; session_info.stream = data.stream; session_info.connection_protocol = data.protocol; session_info.delay_target = data.delay_target; session_info.session_email = data.session_email; session_info.remote_ip = data.remote_ip; session_info.php_session_id = data.php_session_id; session_info.application_name = data.application_name; session_info.http_referrer = data.http_referrer; } function start_log() { var session_start_date = new Date(); session_start_time = session_start_date.getTime(); var months = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']; var session_start_date_string = session_start_date.getDate() + " " + months[session_start_date.getMonth()] + " " + session_start_date.getFullYear(); var data_array = {}; data_array.type = 'webrtc_start_log'; data_array.remote_ip = session_info.remote_ip; data_array.username = session_info.session_email; data_array.php_session_id = session_info.php_session_id; data_array.webrtc_protocol = ''; data_array.session_start_time = (session_start_time/1000).toFixed(0); data_array.stream_name = session_info.stream; data_array.session_start_date = session_start_date_string; var msg_string = JSON.stringify(data_array); if (socket.readyState == 1) { socket.send(msg_string); } } function update_session_info(data) { var data_array = {}; var msg_string = ''; var current_date = new Date(); var current_time = current_date.getTime(); session_info.protocol = data.protocol; session_info.curr_delay = (data.effective_latency / 1000).toFixed(2); session_info.session_length = current_time - session_start_time; session_info.ping_time = data.ping_time; session_info.jitter = data.jitter; session_info.packet_loss = data.packet_loss; session_info.effective_latency = data.effective_latency; session_info.mean_opinion_score = data.mean_opinion_score; session_info.restarts = data.restarts; if (socket_emits == 0) { data_array = {}; data_array.type = 'webrtc_log_data_full'; data_array.connection_protocol = session_info.protocol; data_array.threshold = 0; data_array.curr_delay = session_info.curr_delay; data_array.session_length = session_info.session_length; data_array.date = current_time; data_array.browser_codename = session_info.browser_codename; data_array.browser_name = session_info.browser_name; data_array.user_agent = session_info.user_agent; data_array.browser_version = session_info.browser_version; data_array.cookies_enabled = session_info.cookies_enabled; data_array.platform = session_info.platform; data_array.player_version = session_info.player_version; data_array.stream = session_info.stream; data_array.restarts = session_info.restarts; data_array.delay_target = 0; data_array.op_sys = ''; data_array.flash_version = ''; data_array.remote_ip = session_info.remote_ip; data_array.http_referrer = session_info.http_referrer; data_array.php_session_id = session_info.php_session_id; data_array.user_email = session_info.session_email; data_array.webrtc_protocol = session_info.protocol; data_array.ping_time = session_info.ping_time; data_array.jitter = session_info.jitter; data_array.packet_loss = session_info.packet_loss; data_array.effective_latency = session_info.effective_latency; data_array.mean_opinion_score = session_info.mean_opinion_score; data_array.session_id = session_info.session_id; msg_string = JSON.stringify(data_array); if (socket.readyState == 1) { socket.send(msg_string); } } else { data_array = {}; data_array.type = 'webrtc_log_data'; data_array.session_id = session_info.session_id; data_array.php_session_id = session_info.php_session_id; data_array.connection_protocol = session_info.protocol; data_array.restarts = session_info.restarts; data_array.threshold = 0; data_array.curr_delay = session_info.curr_delay; data_array.session_length = session_info.session_length; data_array.date = current_time; data_array.webrtc_protocol = session_info.protocol; data_array.ping_time = session_info.ping_time; data_array.jitter = session_info.jitter; data_array.packet_loss = session_info.packet_loss; data_array.effective_latency = session_info.effective_latency; data_array.mean_opinion_score = session_info.mean_opinion_score; data_array.stream = session_info.stream; msg_string = JSON.stringify(data_array); if (socket.readyState == 1) { socket.send(msg_string); } } socket_emits++; if (socket_emits == 100) { socket_emits = 0; } }