mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2026-03-14 14:35:44 +01:00
Move flags to "internal" package.
This commit is contained in:
parent
75f6579efa
commit
827de250ea
5 changed files with 8 additions and 6 deletions
|
|
@ -38,6 +38,7 @@ import (
|
|||
"github.com/strukturag/nextcloud-spreed-signaling/api"
|
||||
"github.com/strukturag/nextcloud-spreed-signaling/async"
|
||||
"github.com/strukturag/nextcloud-spreed-signaling/async/events"
|
||||
"github.com/strukturag/nextcloud-spreed-signaling/internal"
|
||||
"github.com/strukturag/nextcloud-spreed-signaling/log"
|
||||
"github.com/strukturag/nextcloud-spreed-signaling/nats"
|
||||
"github.com/strukturag/nextcloud-spreed-signaling/talk"
|
||||
|
|
@ -72,7 +73,7 @@ type ClientSession struct {
|
|||
|
||||
parseUserData func() (api.StringMap, error)
|
||||
|
||||
inCall Flags
|
||||
inCall internal.Flags
|
||||
// +checklocks:mu
|
||||
supportsPermissions bool
|
||||
// +checklocks:mu
|
||||
|
|
|
|||
|
|
@ -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 internal
|
||||
|
||||
import (
|
||||
"sync/atomic"
|
||||
|
|
@ -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 internal
|
||||
|
||||
import (
|
||||
"sync"
|
||||
|
|
@ -52,7 +52,7 @@ type mcuJanusPublisher struct {
|
|||
id api.PublicSessionId
|
||||
settings NewPublisherSettings
|
||||
stats publisherStatsCounter
|
||||
sdpFlags Flags
|
||||
sdpFlags internal.Flags
|
||||
sdpReady *internal.Closer
|
||||
offerSdp atomic.Pointer[sdp.SessionDescription]
|
||||
answerSdp atomic.Pointer[sdp.SessionDescription]
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ import (
|
|||
|
||||
"github.com/strukturag/nextcloud-spreed-signaling/api"
|
||||
"github.com/strukturag/nextcloud-spreed-signaling/async/events"
|
||||
"github.com/strukturag/nextcloud-spreed-signaling/internal"
|
||||
"github.com/strukturag/nextcloud-spreed-signaling/log"
|
||||
"github.com/strukturag/nextcloud-spreed-signaling/nats"
|
||||
"github.com/strukturag/nextcloud-spreed-signaling/talk"
|
||||
|
|
@ -55,8 +56,8 @@ type VirtualSession struct {
|
|||
sessionId api.PublicSessionId
|
||||
userId string
|
||||
userData json.RawMessage
|
||||
inCall Flags
|
||||
flags Flags
|
||||
inCall internal.Flags
|
||||
flags internal.Flags
|
||||
options *api.AddSessionOptions
|
||||
|
||||
parseUserData func() (api.StringMap, error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue