Skip to content

Screenshare Streams

jo-code edited this page Dec 22, 2020 · 11 revisions

Incoming Screenshare Streams

Overview

Messages

screenshare added

a["{
  \"msg\":\"added\",
  \"collection\":\"screenshare\",
  \"id\":\"someRandomString\",
  \"fields\":{
    \"meetingId\":\"<MEETING_ID>\",
    \"screenshare\":{
      \"voiceConf\":\"12345\",
      \"screenshareConf\":\"67890\",
      \"stream\":\"someString\",
      \"vidWidth\":2176,
      \"vidHeight\":1224,
      \"timestamp\":\"1608641957232\"
    }
  }
}"]

start

{
  "id":"start",
  "type":"screenshare",
  "role":"recv",
  "internalMeetingId":"<MEETING_ID>",
  "voiceBridge":"12345",
  "callerName":"<INTERNAL_USER_ID>",
  "sdpOffer":"SDP offer string",
  "userName":"Bob"
}

startResponse

{
  "connectionId":123,
  "type":"screenshare",
  "role":"recv",
  "id":"startResponse",
  "response":"accepted",
  "sdpAnswer":"SDP answer string"
}

Outgoing Screenshare Streams

Overview

Messages

start

{
  "id":"start",
  "type":"screenshare",
  "role":"send",
  "internalMeetingId":"<MEETING_ID>",
  "voiceBridge":"12345",
  "callerName":"<INTERNAL_USER_ID>",
  "sdpOffer":"SDP offer string",
  "vh":1235,
  "vw":2195,
  "userName":"Alice"
}

startResponse

{
  "connectionId":123,
  "type":"screenshare",
  "role":"send",
  "id":"startResponse",
  "response":"accepted",
  "sdpAnswer":"SDP answer string"
}
Clone this wiki locally