Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
fj-livekit
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xianyang
fj-livekit
Commits
80c8ecbe
Commit
80c8ecbe
authored
Aug 16, 2023
by
xianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化2
parent
c86de8c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
functions.py
src/libs/functions.py
+1
-3
No files found.
src/libs/functions.py
View file @
80c8ecbe
...
@@ -269,13 +269,11 @@ def CreateRoom(token, name, max_participants, empty_timeout, user_ids):
...
@@ -269,13 +269,11 @@ def CreateRoom(token, name, max_participants, empty_timeout, user_ids):
return
response
.
text
return
response
.
text
import
datetime
def
create_token
(
username
,
id
,
secret
=
'temp'
):
def
create_token
(
username
,
id
,
secret
=
'temp'
):
"""
"""
生成token
生成token
"""
"""
from
datetime
import
datetime
ip
=
request
.
remote_addr
ip
=
request
.
remote_addr
payload
=
{
payload
=
{
'name'
:
username
,
'name'
:
username
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment