Merge pull request #83 from strukturag/legacy-ptype

Stop using legacy ptype "listener".
This commit is contained in:
Joachim Bauch 2021-02-24 10:06:02 +01:00 committed by GitHub
commit 43f0b1d598
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1061,7 +1061,7 @@ func (p *mcuJanusSubscriber) joinRoom(ctx context.Context, callback func(error,
retry: retry:
join_msg := map[string]interface{}{ join_msg := map[string]interface{}{
"request": "join", "request": "join",
"ptype": "listener", "ptype": "subscriber",
"room": p.roomId, "room": p.roomId,
"feed": streamTypeUserIds[p.streamType], "feed": streamTypeUserIds[p.streamType],
} }