[jitsi-dev] How to remove channels from colibri (REST)?


#1

Hi guys,

How do I remove channels from colibri, which I no longer need?
Do I just let them expire or should I better actively remove them?

Oliver.


#2

You can explicitly expire them by setting the "expire" attribute to 0.

Regards,
Boris

···

On 30/10/16 06:32, Oliver Hausler wrote:

Hi guys,

How do I remove channels from colibri, which I no longer need?

Do I just let them expire or should I better actively remove them?


#3

When I expire a channel, will I need to explicitly remove the ssrc from the remaining channels, or will Jitsi do that automatically?

I noticed I must send a new sdp to the remaining clients so the stream is removed. But how is this on the Jitsi side?

···

-----Original Message-----
From: dev [mailto:dev-bounces@jitsi.org] On Behalf Of Boris Grozev
Sent: Monday, October 31, 2016 08:04
To: Jitsi Developers <dev@jitsi.org>
Subject: Re: [jitsi-dev] How to remove channels from colibri (REST)?

On 30/10/16 06:32, Oliver Hausler wrote:

Hi guys,

How do I remove channels from colibri, which I no longer need?

Do I just let them expire or should I better actively remove them?

You can explicitly expire them by setting the "expire" attribute to 0.

Regards,
Boris

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#4

Boris,

When I expire all channels, the conference stays alive with no channels for whatever the original expiration time was.

Does it matter? Is there a way to expire the conference instead of all channels?

Oliver.

{
  "id": "791dde420890d93f",
  "contents": [{
    "name": "audio",
    "channels": [{
      "id": "8210d3f17631870",
      "expire": 0
    }, {
      "id": "7d156d5511374780",
      "expire": 0
    }],
    "sctpconnections": []
  }, {
    "name": "video",
    "channels": [{
      "id": "386142f5986e9ad5",
      "expire": 0
    }, {
      "id": "8292933d57f5d63e",
      "expire": 0
    }],
    "sctpconnections": []
  }, {
    "name": "data",
    "channels": [],
    "sctpconnections": [{
      "id": "143d2d7f94cf8579",
      "expire": 0
    }]
  }, {
    "name": "audio",
    "channels": [{
      "id": "8210d3f17631870",
      "expire": 0
    }, {
      "id": "7d156d5511374780",
      "expire": 0
    }],
    "sctpconnections": []
  }, {
    "name": "video",
    "channels": [{
      "id": "386142f5986e9ad5",
      "expire": 0
    }, {
      "id": "8292933d57f5d63e",
      "expire": 0
    }],
    "sctpconnections": []
  }, {
    "name": "data",
    "channels": [],
    "sctpconnections": [{
      "id": "143d2d7f94cf8579",
      "expire": 0
    }]
  }],
  "channel-bundles": []
}

···

-----Original Message-----
From: dev [mailto:dev-bounces@jitsi.org] On Behalf Of Boris Grozev
Sent: Monday, October 31, 2016 08:04
To: Jitsi Developers <dev@jitsi.org>
Subject: Re: [jitsi-dev] How to remove channels from colibri (REST)?

On 30/10/16 06:32, Oliver Hausler wrote:

Hi guys,

How do I remove channels from colibri, which I no longer need?

Do I just let them expire or should I better actively remove them?

You can explicitly expire them by setting the "expire" attribute to 0.

Regards,
Boris

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#5

No, there is currently no way to force the conference to expire. Conferences are only expired when the expire thread finds out that a conference has no contents and has been inactive for over 60 seconds.

Boris

···

On 09/12/2016 23:06, Oliver Hausler wrote:

Boris,

When I expire all channels, the conference stays alive with no channels for whatever the original expiration time was.

Does it matter? Is there a way to expire the conference instead of all channels?