Level 400 Johan Delimon Tommy Clarke MCM Lync Server / MVP Lync Server Ordina Belgium N.V. [email protected] MCSM Lync Server / MVP Lync Server Altitude 365 [email protected] @jdelimon @itommyclarke.
Download ReportTranscript Level 400 Johan Delimon Tommy Clarke MCM Lync Server / MVP Lync Server Ordina Belgium N.V. [email protected] MCSM Lync Server / MVP Lync Server Altitude 365 [email protected] @jdelimon @itommyclarke.
Level 400 Johan Delimon Tommy Clarke MCM Lync Server / MVP Lync Server Ordina Belgium N.V. [email protected] MCSM Lync Server / MVP Lync Server Altitude 365 [email protected] @jdelimon @itommyclarke Conferencing Protocol Conferencing Backend Conferencing Modalities Conferencing Lifecycle Conferencing Extra’s Command addConference modifyConference deleteConference getConferencing Capabilities getConferences getEncryptionKey getAvailableMCUTypes Notes Creating a conference Modify the details of an existing conference Delete an existing conference Get capabilities for use in a conference & available MCU types Get list of conferences created by an organizer Get a certificate from Focus Factory (for encryption) Get MCU Types activated in Pool Command addUser deleteUser modifyEndpointMedia setLobbyAccess modifyUserRoles modifyConferenceLock Notes Connect a user to an MCU Remove a user from an MCU Start/Stop recording & Muting/Unmuting Admit users from the lobby into the conference Promote / Demote presenters Locking / Unlocking Conferences Get-CsWindowsService | Where-Object {$_.Name -like "*MCU*"} IM IM IM IM IM Features Value Configured by Auto Start IM No NA IM can be Disabled Yes Meeting Settings Meeting Setting when Scheduling or Q&A (*) IM Mute Single Participants during No NA Unless Q&A is turned on during meeting for Everyone IM Mute All Participants No NA Unless Q&A is turned on during meeting for Everyone or IM is disabled at scheduling time IM Only Meeting Yes Meeting Policy Disable AllowIPAudio (or Multi select Users) Q&A Yes/No Policy / Meeting Setting Based on Policy “AllowQandA” & Meeting Configuration (*) (*) Lync 2013 Cumulative Update Oktober 2013 Notes IM IM Audio/Video Audio/Video AV Audio/Video AV Features Value Configured by Notes Auto Start Audio Yes NA Default configuration Audio can be Disabled Yes Conference Policy Set AllowIPAudio to $False in Conferencing Policy Mute Single Participants during Yes Presenter Mute All Participants Yes Presenter During Meeting & Scheduling Audio Only Meeting Yes NA Disable IM, NoIPVideo, Set EnableAppDesktopSharing to None Auto Start Video No NA Viewing will start automatically Video can be Disabled Yes Conference Policy Set AllowIPVideo to $False in Meeting Options Conferencing Policy & Scheduling Block Video Mute Single Video Participants No NA Mute All Participants Yes Presenter During Meeting & Scheduling Video Only Meeting No NA Audio is always required Setting Default Value Notes AllowIPAudio True Enable Audio Conferencing (Organizer) AllowIPVideo True Enable Video Conferencing (Organizer) AllowMultiView True Per Organizer Policy EnableMultiViewJoin True Per User Level Policy MaxVideoConferenceResolution VGA Deprecated AudioBitRateKb 200 TotalReceiveVideoBitRateKb 50.000 Kbps Receive BW per User VideoBitRateKb 50.000 Kbps Send BW per User Setting Default Value AllowAnonymousUsersToDialOut False AllowNonEnterpriseVoiceUsersToDialOut False EnableDialInConferencing True Notes G.722 G.722 G.711 SIREN SIREN G.722/2 Filter Active Speakers Streams ENCODE G.711 MIX SIREN G.722 DECODE G.722 G.722/2 Up to 5 Active Speakers SIREN G.711 G.722/2 CPU Cycles CPU Cycles Send to all attendees Payload type 0 3 4 8 9 or 117 13 111 112 114 115 116 117 118 Codec G.711 µ-Law GSM 6.10 G.723.1 G.711 A-Law G.722 Comfort Noise Siren G.722.1 RT Audio RT Audio G.726 G.722 Comfort Noise Clock rate 8000 8000 8000 8000 8000 8000 16000 16000 16000 8000 8000 8000 16000 P-times 10, 20, 40, 60 20, 40, 60 30, 60, 90 10, 20, 40, 60 20, 40, 60 Not Applicable 20, 40, 60, 100, 200 20, 40, 60 20, 40, 60 20, 40, 60 20, 40, 60 20,40,60 Not Applicable RTP Packets (MSDN) http://msdn.microsoft.com/en-us/library/dd944715(v=office.15).aspx Channels 1 1 1 1 1 1 1 1 1 1 1 2 1 Preference Order Wideband Narrowband m=audio 51819 RTP/AVP 117 114 104 9 112 111 0 8 116 115 103 97 13 118 101 a=rtpmap:117 G722/8000/2 Even though the actual sampling rate for G.722 audio is 16,000 Hz, the RTP a=rtpmap:114 x-msrta/16000 clock rate for the G722 payload format is 8,000 Hz because that value was erroneously assigned in RFC 1890 and must remain unchanged for backward a=rtpmap:104 SILK/16000 compatibility. The octet rate or sample-pair rate is 8,000 Hz. a=rtpmap:9 G722/8000 (4.5.2 G.722) a=rtpmap:112 G7221/16000 RTAudio Wideband & Narrowband a=rtpmap:111 SIREN/16000 a=rtpmap:0 PCMU/8000 G.711 a=rtpmap:8 PCMA/8000 a=rtpmap:116 AAL2-G726-32/8000 Skype Codec Wideband & Narrowband a=rtpmap:115 x-msrta/8000 The redundant audio payload format "RED" is specified by RFC 2198 [17]. It a=rtpmap:103 SILK/8000 defines a means by which multiple redundant copies of an audio packet may a=rtpmap:97 RED/8000 be transmitted in a single RTP stream (4.5.16 RED) a=rtpmap:13 CN/8000 a=rtpmap:118 CN/16000 a=rtpmap:101 telephone-event/8000 http://tools.ietf.org/html/rfc3551 RTP Profile for Audio and Video Conferences with Minimal Control m=audio 51819 RTP/AVP 117 114 104 9 112 111 0 8 116 115 103 97 13 118 101 a=rtpmap:117 G722/8000/2 a=rtpmap:114 x-msrta/16000 a=rtpmap:104 SILK/16000 a=rtpmap:9 G722/8000 a=rtpmap:112 G7221/16000 a=rtpmap:111 SIREN/16000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:116 AAL2-G726-32/8000 a=rtpmap:115 x-msrta/8000 a=rtpmap:103 SILK/8000 a=rtpmap:97 RED/8000 a=rtpmap:13 CN/8000 a=rtpmap:118 CN/16000 a=rtpmap:101 telephone-event/8000 m=audio 49978 RTP/SAVP 117 9 111 0 8 97 13 118 101 a=rtpmap:117 g722/8000/2 a=rtpmap:9 g722/8000 a=rtpmap:111 SIREN/16000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:97 RED/8000 a=rtpmap:13 CN/8000 a=rtpmap:118 CN/16000 a=rtpmap:101 telephone-event/8000 m=audio 51819 RTP/AVP 117 114 104 9 112 111 0 8 116 115 103 97 13 118 101 a=rtpmap:117 G722/8000/2 a=rtpmap:114 x-msrta/16000 a=rtpmap:104 SILK/16000 a=rtpmap:9 G722/8000 a=rtpmap:112 G7221/16000 a=rtpmap:111 SIREN/16000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:116 AAL2-G726-32/8000 a=rtpmap:115 x-msrta/8000 a=rtpmap:103 SILK/8000 a=rtpmap:97 RED/8000 a=rtpmap:13 CN/8000 a=rtpmap:118 CN/16000 RE-INVITE Audio MCU m=audio 58199 RTP/SAVP 9 111 0 8 97 13 118 101 a=rtpmap:9 G722/8000 a=rtpmap:111 SIREN/16000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:97 RED/8000 a=rtpmap:13 CN/8000 a=rtpmap:118 CN/16000 a=rtpmap:101 telephone-event/8000 m=audio 49978 RTP/SAVP 117 9 111 0 8 97 13 118 101 a=rtpmap:117 g722/8000/2 a=rtpmap:9 g722/8000 a=rtpmap:111 SIREN/16000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:97 RED/8000 a=rtpmap:13 CN/8000 a=rtpmap:118 CN/16000 a=rtpmap:101 telephone-event/8000 Codecs used in the audio conference SIP traffic: signaling Lync Mobile Lync Web App Lync Clients HTTPS traffic TCP 443 HTTPS TCP 5061 SIP/MTLS TCP 443 SIP/TLS UDP 1024-65535 SRTP UDP 3478 SRTP EDGE Pool Enterprise Pool Lync Clients TCP 4443 HTTPS TCP 443 HTTPS UDP 49152-57500 SRTP UDP 49152-57500 SRTP UDP 49152-57500 SRTP UDP 3478 SRTP Lync Federation UDP 1024-65535 SRTP TCP 5061 SIP/TLS PSOM traffic: Web Conferencing UDP 49152-57500 SRTP RTP/SRTP traffic: A/V Conferencing File Store Connectivity to: IP-PSTN gateway IP/PBX Direct SIP SIP trunk Lync Mobile Reverse Proxy Office Web Apps Farm Lync Web App External Firewall Internal Firewall Mediation Pool TCP 443 HTTPS SIP traffic: signaling Lync Mobile Lync Web App Lync Clients HTTPS traffic Lync Clients UDP 3478 SRTP UDP 49152-57500 SRTP UDP 1024-65535 SRTP Lync Mobile Lync Web App Lync Federation TCP 4443 HTTPS TCP 443 HTTPS Reverse Proxy Office Web Apps Farm Internal Firewall UDP 49152-57500 SRTP Enterprise Pool UDP 49152-57500 SRTP UDP 3478 SRTP EDGE Pool External Firewall TCP 443 HTTPS UDP 1024-65535 SRTP TCP 5061 SIP/TLS PSOM traffic: Web Conferencing UDP 49152-57500 SRTP RTP/SRTP traffic: A/V Conferencing File Store Connectivity to: IP-PSTN gateway IP/PBX Direct SIP SIP trunk Mediation Pool Lync 2013 H.264 SVC m=video 57533 RTP/SAVP 122 121 123 Legacy Lync 2010 Video a=rtpmap:122 X-H264UC/90000 Codec RT-Video a=rtpmap:121 x-rtvc1/90000 a=rtpmap:123 x-ulpfecuc/90000 If a user agent supports the H.264UC video codec, it SHOULD also support the ULPFEC-UC video FEC media format Gallery View Gallery View No Gallery View Gallery View (Active Speaker in Full Screen) SWITCHING RATE MATCHING H.264 SVC 240p H.264 SVC 240p H.264 SVC 240p H.264 SVC 240p H.264 SVC 240p SWITCHING RATE MATCHING H.264 SVC 180p H.264 SVC 180p H.264 SVC 180p H.264 SVC 180p H.264 SVC 180p SWITCHING RATE MATCHING H.264 SVC 240p SWITCHING RATE MATCHING H.264 SVC 1080p H.264 SVC 180p 30 f/s H.264 SVC 180p 15 f/s H.264 SVC 180p 7.5 f/s SWITCHING RATE MATCHING H.264 SVC 180p RT Video 480p H.264 SVC 720p H.264 SVC 1080p All Video Streams Originating from the same client NO DECODING NO MIXING NO RE-ENCODING H.264 SVC 180p 30 f/s RT Video 480p H.264 SVC 720p H.264 SVC 1080p 30 f/s Video Streams sent to clients requesting the resolution and codec SIP traffic: signaling HTTPS traffic Lync Clients PSOM traffic: Web Conferencing UDP 3478 SRTP UDP 57501-65535 SRTP UDP 1024-65535 SRTP UDP 3478 SRTP EDGE Pool Lync Federation UDP 1024-65535 SRTP UDP 57501-65535 SRTP RTP/SRTP traffic: A/V Conferencing Enterprise Pool File Store Lync Clients Reverse Proxy External Firewall Office Web Apps Farm Internal Firewall Connectivity to: IP-PSTN gateway IP/PBX Direct SIP SIP trunk Mediation Pool Application Sharing Application Share AS Application Share AS Features Value Configured by Notes Auto Start App Sharing NA Presenter For participants App Sharing will automatically start when presenter is sharing App Sharing can be Disabled Yes Conferencing Policy AllowUserToScheduleMeetingsWithAppSharing [$True|$False] EnableAppDesktopSharing [Desktop|SingleApplication|None] App Sharing Only Meeting No NA Unless escalated from IM Conference (Including IM) m=applicationsharing 59510 TCP/RTP/SAVP 127 a=rtpmap:127 x-data/90000 a=x-applicationsharing-session-id:1 a=x-applicationsharing-role:sharer a=x-applicationsharing-media-type:rdp The RTP payload (RTData) is a dynamic payload used forApplication Sharing Streams Setting AllowUserToScheduleMeetingsWithAppSharing EnableAppDesktopSharing AppSharingBitRateKb Default Value Notes True Enable Scheduling (Organizer) Desktop Enable Sharing (Organizer) 50.000 Kbps Per User Level Policy SIP traffic: signaling HTTPS traffic Lync Clients UDP 49152-57500 SRTP RTP/SRTP traffic: A/V Conferencing PSOM traffic: Web Conferencing TCP 443 SRTP TCP 443 <> TCP 49152-65535 SRTP EDGE Pool Lync Federation Enterprise Pool File Store Lync Clients Reverse Proxy External Firewall Office Web Apps Farm Internal Firewall Connectivity to: IP-PSTN gateway IP/PBX Direct SIP SIP trunk Mediation Pool SIP traffic: signaling HTTPS traffic Lync Clients UDP 49152-57500 SRTP RTP/SRTP traffic: A/V Conferencing PSOM traffic: Web Conferencing TCP 443 SRTP <> TCP 50.000 – 59.999 SRTP TCP 443 <> TCP 49152-65535 SRTP EDGE Pool Lync Federation Enterprise Pool File Store Lync Clients Reverse Proxy External Firewall Office Web Apps Farm Internal Firewall Connectivity to: IP-PSTN gateway IP/PBX Direct SIP SIP trunk Mediation Pool Web DATA Web DATA Features Value Configured by Notes Auto Start Web Conferencing NA Presenter For participants Web Conference will automatically start when presenter has started Web Conferencing Web Conferencing can be Disabled Yes Conferencing Policy EnableDataCollaboration [$True|$False] Web Conferencing Only Meeting No NA Unless escalated from IM Conference (including IM) Setting Default Value AllowAnnotations True AllowExternalUserControl False AllowExternalUsersToSaveContent True AllowParticipantControl True AllowPolls True AllowQandA True AllowSharedNotes True DisablePowerPointAnnotations False SIP traffic: signaling HTTPS traffic Lync Clients RTP/SRTP traffic: A/V Conferencing TCP 8057 PSOM PSOM traffic: Web Conferencing TCP 443 PSOM TCP 8057 PSOM EDGE Pool Lync Federation Enterprise Pool File Store Lync Clients Reverse Proxy External Firewall Office Web Apps Farm Internal Firewall Connectivity to: IP-PSTN gateway IP/PBX Direct SIP SIP trunk Mediation Pool TCP 443 HTTPS SIP traffic: signaling Lync Mobile Lync Web App HTTPS traffic RTP/SRTP traffic: A/V Conferencing PSOM traffic: Web Conferencing EDGE Pool Lync Federation Enterprise Pool Lync Clients File Store Connectivity to: IP-PSTN gateway IP/PBX Direct SIP SIP trunk TCP 443 HTTPS TCP 443 HTTPS Reverse Proxy External Firewall TCP 443 HTTPS Lync Clients Office Web Apps Farm Internal Firewall Mediation Pool No Request sent to server Online Meetings can be scheduled when offline SERVICE (SIP) getConferencingCapabilities (CCCP) 200 (SIP) getConferencingCapabilities (CCCP) SERVICE (SIP) getConferences:Static=True (CCCP) 200 (SIP) getConferences=Static ConferenceID : 2KH5G7FG SERVICE (SIP) getConference:ConferenceID: 2KH5G7FG (CCCP) 200 (SIP) getConference:All info of the conference SERVICE (SIP) addConference:CSTWLDR1 (CCCP) 200 (SIP) addConference:CSTWLDR1 (CCCP) SERVICE (SIP) getConference:ConferenceID: CSTWLDR1 (CCCP) 200 (SIP) getConference:All info of the conference SERVICE (SIP) modifyConference:ConferenceID: CSTWLDR1 (CCCP) 200 (SIP) modifyConference:All info of the conference 1. SERVICE Focus Factory (SIP) addConference:5PDRL65L (CCCP) 2. INVITE Focus:5PDRL65L (SIP) addUser:5PDRL65L user (CCCP) 3. SUBSCRIBE Focus:5PDRL65L (SIP) 4. INVITE Chat MCU:5PDRL65L (SIP) 5. NOTIFY from Focus:5PDRL65L (SIP) 6. INVITE AV MCU:5PDRL65L (SIP) 7. INVITE Focus:5PDRL65L CAS (SIP) addUser:5PDRL65L CASuser (CCCP) 8. SUBSCRIBE Focus:5PDRL65L CAS (SIP) 9. INFO Focus:5PDRL65L (SIP) getConference:5PDRL65L (CCCP) 10. NOTIFY CAS + User (SIP) New user Joining 11. INFO Focus:5PDRL65L (SIP) addUser:5PDRL65L (CCCP) Port : 65535 Port : 65535 Port : 57500 Port : 49152 Lync Client Port : 1024 Port : 0 Default Audio Default Video Default App Port Range Sharing Port Range 1024-65535 1024-65535 Port Range 1024-65535 Default File Sharing Port Range 1024-65535 Default Audio Default Video Default App Port Range Sharing Port Range 49152-57500 57501-65535 Port Range 49152-65535 Enterprise Pool Port : 0 Port : 65535 Port : 65535 Port : 57500 Port : 49152 Lync Client Port : 40801 Port : 1024 Port : 0 Custom App Custom File Custom Custom Sharing Audio Video Sharing Port Range Port Range Port Range Port Range 50000-50020 60000-60020 45000-45020 30000-30020 Default Audio Default Video Default App Port Range Sharing Port Range 49152-57500 57501-65535 Port Range 49152-65535 Enterprise Pool Port : 0 Port : 65535 Port : 65535 Port : 57500 Port : 49152 Lync Client Port : 40803 Port : 1024 Port : 0 Custom Audio Port Range 4000-4020 Custom Video Port Range 8000-8020 Custom App Sharing Port Range 5000-5020 Custom File Sharing Port Range 6000-6020 Default Audio Default Video Custom App Port Range Sharing Port Range 49152-57500 57501-65535 Port Range 40803-49151 Enterprise Pool Port : 0 Service Default Port Range Default Ports Customized Custom Port Range Ports Minimum Custom Ports Type Audio 1024-65535 64K 5350-5389 40 20 Custom Video 1024-65535 64K 5390-5429 40 20 Custom Application Sharing 1024-65535 64K 5430-5469 40 20 Custom File Transfer 1024-65535 64K 5470-5509 40 20 Custom Service Default Port Range Application Sharing Default Ports Customized Port Range Customized Ports Type 49152-65535 16383 40803-49151 8348 Custom Audio 49152-57500 8348 49152-57500 8348 Default Video 57501-65535 8034 57501-65535 8034 Default Modality Description Maximum bandwidth Typical bandwidth IM, presence, and signaling Nonmedia elements 2 Kbps 1.6 Kbps Voice Default = RTAudio Wideband 62 Kbps 39 Kbps Conference voice Default = G.722 100.6 Kbps 46.1 Kbps Video – small Uses H.264 at 320x180 250 Kbps 200 Kbps Video – medium Uses H.264 at 640x480 800 Kbps 640 Kbps Video – high Uses H.264 at 1280x1080 4 Mbps 3.2 Mbps Video codec Resolution and aspect Maximum video payload ratio bit rate (Kbps) Minimum video payload bit Typical bit rate rate (Kbps) (Kbps) H.264 H.264 320x180 (16:9) 212x160 (4:3) 424x240 (16:9)) 320x240 (4:3 480x270 (16:9) 424x320 (4:3) 640x360 (16:9) 640x480 (4:3) 848x480 (16:9) 960x540 (16:9) H.264/RTVideo 1280x720 (16:9) 2500 700 2000 H.264 1920x1080 (16:9) 4000 500 3200 H.264/RTVideo 960x144 (20:3) 500 15 400 H.264 H.264 1280x192 (20:3) 1920x288 (20:3) 1000 2000 250 500 H.264 H.264/RTVideo H.264 H.264/RTVideo 250 15 200 350 100 280 450 200 350 800 300 640 1500 2000 400 500 1200 1600 Screen Size Acceptable Optimal 1280x800 384 Kbps 1.5 Mbps 1440x900 512 Kbps 2 Mbps 1680x1050 768 Kbps 2.75 Mbps 1920x1200 1 Mbps 3.5 Mbps Typical stream bandwidth (Kbps) Maximum stream bandwidth without FEC Maximum stream bandwidth with FEC Media Typical codec Audio G.722 46.1 100.6 164.6 Audio Siren 25.5 52.6 68.6 Main video receive H.264 and/or RTVideo 260 8015 Not applicable Main video send H.264 and/or RTVideo 270 8015 Not applicable Panoramic video receive H.264 and/or RTVideo 190 2010 Not applicable Panoramic video send H.264 and/or RTVideo 190 2515 Not applicable Microsoft Office Protocol Documents Microsoft Lync Server 2010 Resource Kit Microsoft Lync Server 2013 Resource Kit Tools Microsoft Lync Server 2013 Debugging Tools Microsoft Network Monitor Network Planning, Monitoring, and Troubleshooting with Lync Server