mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2026-03-14 14:35:44 +01:00
Move notifier code to async package.
This commit is contained in:
parent
674b09d38d
commit
af4a7e7ab9
6 changed files with 8 additions and 7 deletions
|
|
@ -19,7 +19,7 @@
|
|||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package signaling
|
||||
package async
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package signaling
|
||||
package async
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package signaling
|
||||
package async
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package signaling
|
||||
package async
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
|
@ -35,6 +35,7 @@ import (
|
|||
"github.com/notedit/janus-go"
|
||||
|
||||
"github.com/strukturag/nextcloud-spreed-signaling/api"
|
||||
"github.com/strukturag/nextcloud-spreed-signaling/async"
|
||||
"github.com/strukturag/nextcloud-spreed-signaling/internal"
|
||||
"github.com/strukturag/nextcloud-spreed-signaling/log"
|
||||
)
|
||||
|
|
@ -256,8 +257,8 @@ type mcuJanus struct {
|
|||
|
||||
// +checklocks:mu
|
||||
publishers map[StreamId]*mcuJanusPublisher
|
||||
publisherCreated Notifier
|
||||
publisherConnected Notifier
|
||||
publisherCreated async.Notifier
|
||||
publisherConnected async.Notifier
|
||||
// +checklocks:mu
|
||||
remotePublishers map[StreamId]*mcuJanusRemotePublisher
|
||||
|
||||
|
|
|
|||
|
|
@ -371,7 +371,7 @@ type mcuProxyConnection struct {
|
|||
trackClose atomic.Bool
|
||||
temporary atomic.Bool
|
||||
|
||||
connectedNotifier SingleNotifier
|
||||
connectedNotifier async.SingleNotifier
|
||||
|
||||
msgId atomic.Int64
|
||||
helloMsgId string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue