Johan Delimon MCM Lync Server / MVP Lync Server Ordina Belgium Tommy Clarke MCSM Lync Server / MVP Lync Server Altitude 365 Level
Conferencing Protocol Conferencing Backend Conferencing Modalities Conferencing Lifecycle Conferencing Extra’s
CommandNotes addConferenceCreating a conference modifyConferenceModify the details of an existing conference deleteConferenceDelete an existing conference getConferencing Capabilities Get capabilities for use in a conference & available MCU types getConferencesGet list of conferences created by an organizer getEncryptionKeyGet a certificate from Focus Factory (for encryption) getAvailableMCUTypesGet MCU Types activated in Pool
CommandNotes addUserConnect a user to an MCU deleteUserRemove a user from an MCU modifyEndpointMediaStart/Stop recording & Muting/Unmuting setLobbyAccessAdmit users from the lobby into the conference modifyUserRolesPromote / Demote presenters modifyConferenceLockLocking / Unlocking Conferences
Get-CsWindowsService | Where-Object {$_.Name -like "*MCU*"}
FeaturesValueConfigured byNotes Auto Start IMNoNA IM can be DisabledYesMeeting SettingsMeeting Setting when Scheduling or Q&A (*) IM Mute Single Participants during NoNAUnless Q&A is turned on during meeting for Everyone IM Mute All ParticipantsNoNAUnless Q&A is turned on during meeting for Everyone or IM is disabled at scheduling time IM Only MeetingYesMeeting PolicyDisable AllowIPAudio (or Multi select Users) Q&AYes/NoPolicy / Meeting Setting Based on Policy “AllowQandA” & Meeting Configuration (*) (*) Lync 2013 Cumulative Update Oktober 2013
FeaturesValueConfigured byNotes Auto Start AudioYesNADefault configuration Audio can be DisabledYesConference PolicySet AllowIPAudio to $False in Conferencing Policy Mute Single Participants duringYesPresenter Mute All ParticipantsYesPresenterDuring Meeting & Scheduling Audio Only MeetingYesNADisable IM, NoIPVideo, Set EnableAppDesktopSharing to None Auto Start VideoNoNAViewing will start automatically Video can be DisabledYesConference Policy Meeting Options Set AllowIPVideo to $False in Conferencing Policy & Scheduling Block Video Mute Single Video ParticipantsNoNA Mute All ParticipantsYesPresenterDuring Meeting & Scheduling Video Only MeetingNoNAAudio is always required
SettingDefault ValueNotes AllowIPAudioTrueEnable Audio Conferencing (Organizer) AllowIPVideoTrueEnable Video Conferencing (Organizer) AllowMultiViewTruePer Organizer Policy EnableMultiViewJoinTruePer User Level Policy MaxVideoConferenceResolutionVGADeprecated AudioBitRateKb200 TotalReceiveVideoBitRateKb KbpsReceive BW per User VideoBitRateKb KbpsSend BW per User SettingDefault ValueNotes AllowAnonymousUsersToDialOutFalse AllowNonEnterpriseVoiceUsersToDialOutFalse EnableDialInConferencingTrue
G.711 SIREN G.722/2 G.722 SIREN G.722
SIREN G.722 G.711 G.722/2 DECODE MIX ENCODE SIREN G.722 G.711 G.722/2 CPU Cycles Up to 5 Active Speakers Send to all attendees Filter Active Speakers Streams
Payload typeCodecClock rateP-timesChannels 0G.711 µ-Law800010, 20, 40, 601 3GSM , 40, 601 4G , 60, 901 8G.711 A-Law800010, 20, 40, or 117G , 40, Comfort Noise8000Not Applicable1 111Siren , 40, 60, 100, G , 40, RT Audio , 40, RT Audio800020, 40, G , 40, G ,40, Comfort Noise16000Not Applicable1 RTP Packets (MSDN)
m=audio RTP/AVP 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 Preference Order Even though the actual sampling rate for G.722 audio is 16,000 Hz, the RTP 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 compatibility. The octet rate or sample-pair rate is 8,000 Hz.RFC 1890 (4.5.2 G.722) Wideband Narrowband RTAudio Wideband & Narrowband Skype Codec Wideband & Narrowband G.711 The redundant audio payload format "RED" is specified by RFC 2198 [17]. It defines a means by which multiple redundant copies of an audio packet may be transmitted in a single RTP stream ( RED)RFC RTP Profile for Audio and Video Conferences with Minimal Control
m=audio RTP/AVP 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 RTP/SAVP 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 RTP/AVP 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 RE-INVITE m=audio RTP/SAVP 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 Audio MCU m=audio RTP/SAVP 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
Lync Federation Lync Clients External Firewall Internal Firewall Reverse Proxy EDGE Pool Enterprise Pool Office Web Apps Farm File Store Mediation Pool Lync Mobile Lync Web App TCP 443 SIP/TLS TCP 5061 SIP/MTLS TCP 443 HTTPS TCP 4443 HTTPS TCP 5061 SIP/TLS TCP 443 HTTPS UDP 3478 SRTPUDP SRTP UDP SRTP UDP 3478 SRTP UDP SRTP UDP SRTP Lync ClientsLync Mobile Lync Web App
Lync Federation Lync Clients External Firewall Internal Firewall Reverse Proxy EDGE Pool Enterprise Pool Office Web Apps Farm File Store Mediation Pool Lync Mobile Lync Web App TCP 443 HTTPS TCP 4443 HTTPS TCP 5061 SIP/TLS TCP 443 HTTPS UDP 3478 SRTPUDP SRTP UDP SRTP UDP 3478 SRTP UDP SRTP UDP SRTP Lync ClientsLync Mobile Lync Web App UDP SRTP UDP SRTP TCP 443 HTTPS
m=video RTP/SAVP a=rtpmap:122 X-H264UC/90000 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 Legacy Lync 2010 Video Codec RT-Video Lync 2013 H.264 SVC
Gallery View (Active Speaker in Full Screen) No Gallery View
H.264 SVC 240p SWITCHING RATE MATCHING H.264 SVC 240p
H.264 SVC 180p SWITCHING RATE MATCHING H.264 SVC 180p
SWITCHING RATE MATCHING H.264 SVC 240p
SWITCHING RATE MATCHING H.264 SVC 1080p
NO DECODING NO MIXING NO RE-ENCODING H.264 SVC 180p SWITCHING RATE MATCHING H.264 SVC 720p H.264 SVC 1080p 30 f/s RT Video 480p H.264 SVC 720p H.264 SVC 1080p All Video Streams Originating from the same client Video Streams sent to clients requesting the resolution and codec H.264 SVC 1080p 15 f/s RT Video 480p H.264 SVC 180p 30 f/s H.264 SVC 180p 7.5 f/s H.264 SVC 180p 15 f/s H.264 SVC 180p 30 f/s
Lync Federation Lync Clients External Firewall Internal Firewall Reverse Proxy EDGE Pool Enterprise Pool Office Web Apps Farm File Store Mediation Pool UDP 3478 SRTPUDP SRTP UDP SRTP UDP 3478 SRTP UDP SRTP Lync Clients
FeaturesValueConfigured byNotes Auto Start App Sharing NAPresenterFor participants App Sharing will automatically start when presenter is sharing App Sharing can be Disabled YesConferencing Policy AllowUserToScheduleMeetingsWithAppSharing [$True|$False] EnableAppDesktopSharing [Desktop|SingleApplication|None] App Sharing Only Meeting NoNAUnless escalated from IM Conference (Including IM)
m=applicationsharing 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
SettingDefault ValueNotes AllowUserToScheduleMeetingsWithAppSharingTrueEnable Scheduling (Organizer) EnableAppDesktopSharingDesktopEnable Sharing (Organizer) AppSharingBitRateKb KbpsPer User Level Policy
Lync Federation External Firewall Internal Firewall Reverse Proxy EDGE Pool Enterprise Pool Office Web Apps Farm File Store Mediation Pool TCP 443 SRTPTCP 443 <> TCP SRTP UDP SRTP Lync Clients
Lync Federation External Firewall Internal Firewall Reverse Proxy EDGE Pool Enterprise Pool Office Web Apps Farm File Store Mediation Pool TCP 443 SRTP <> TCP – SRTPTCP 443 <> TCP SRTP UDP SRTP Lync Clients
FeaturesValueConfigured byNotes Auto Start Web ConferencingNAPresenterFor participants Web Conference will automatically start when presenter has started Web Conferencing Web Conferencing can be Disabled YesConferencing Policy EnableDataCollaboration [$True|$False] Web Conferencing Only Meeting NoNAUnless escalated from IM Conference (including IM)
SettingDefault Value AllowAnnotationsTrue AllowExternalUserControlFalse AllowExternalUsersToSaveContentTrue AllowParticipantControlTrue AllowPollsTrue AllowQandATrue AllowSharedNotesTrue DisablePowerPointAnnotationsFalse
Lync Federation External Firewall Internal Firewall Reverse Proxy EDGE Pool Enterprise Pool Office Web Apps Farm File Store Mediation Pool TCP 443 PSOMTCP 8057 PSOM Lync Clients
Lync Federation External Firewall Internal Firewall Reverse Proxy EDGE Pool Enterprise Pool Office Web Apps Farm File Store Mediation Pool TCP 443 HTTPS Lync Clients Lync Mobile Lync Web App TCP 443 HTTPS Lync Clients TCP 443 HTTPS
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) 6. INVITE AV MCU:5PDRL65L (SIP) 5. NOTIFY from Focus: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)
Lync Client Enterprise Pool Port : Port : 0 Port : 1024 Default Audio Port Range Default Video Port Range Default App Sharing Port Range Default File Sharing Port Range Default Audio Port Range Default Video Port Range Default App Sharing Port Range Port : 0 Port : Port : Port : 49152
Lync Client Enterprise Pool Port : Port : 0 Port : 1024 Default Audio Port Range Default Video Port Range Default App Sharing Port Range Port : 0 Port : Port : Port : Port : Custom Audio Port Range Custom Video Port Range Custom App Sharing Port Range Custom File Sharing Port Range
Lync Client Enterprise Pool Port : Port : 0 Port : 1024 Custom Audio Port Range Custom Video Port Range Custom App Sharing Port Range Custom File Sharing Port Range Default Audio Port Range Default Video Port Range Custom App Sharing Port Range Port : 0 Port : Port : Port : Port : 40803
Service Default Port Range Default Ports Customized Port Range Custom Ports Minimum Custom Ports Type Audio K Custom Video K Custom Application Sharing K Custom File Transfer K Custom
Service Default Port Range Default Ports Customized Port Range Customized Ports Type Application Sharing Custom Audio Default Video Default
ModalityDescriptionMaximum bandwidthTypical bandwidth IM, presence, and signaling Nonmedia elements2 Kbps1.6 Kbps VoiceDefault = RTAudio Wideband62 Kbps39 Kbps Conference voiceDefault = G Kbps46.1 Kbps Video – smallUses H.264 at 320x Kbps200 Kbps Video – mediumUses H.264 at 640x Kbps640 Kbps Video – highUses H.264 at 1280x10804 Mbps3.2 Mbps
Video codec Resolution and aspect ratio Maximum video payload bit rate (Kbps) Minimum video payload bit rate (Kbps) Typical bit rate (Kbps) H x180 (16:9) 212x160 (4:3) H.264/RTVideo 424x240 (16:9)) 320x240 (4: H x270 (16:9) 424x320 (4:3) H.264/RTVideo 640x360 (16:9) 640x480 (4:3) H x480 (16:9) H x540 (16:9) H.264/RTVideo1280x720 (16:9) H x1080 (16:9) H.264/RTVideo960x144 (20:3) H x192 (20:3) H x288 (20:3)
Screen SizeAcceptableOptimal 1280x Kbps1.5 Mbps 1440x Kbps2 Mbps 1680x Kbps2.75 Mbps 1920x12001 Mbps3.5 Mbps
MediaTypical codec Typical stream bandwidth (Kbps) Maximum stream bandwidth without FEC Maximum stream bandwidth with FEC AudioG AudioSiren Main video receiveH.264 and/or RTVideo Not applicable Main video sendH.264 and/or RTVideo Not applicable Panoramic video receive H.264 and/or RTVideo Not applicable Panoramic video sendH.264 and/or RTVideo Not applicable