josephlim94 / python_janus_client Goto Github PK
View Code? Open in Web Editor NEWPython Janus WebRTC client
License: MIT License
Python Janus WebRTC client
License: MIT License
First of all, thank you to the author for their contribution
I just encountered an issue using this library
I use plugin. coin (room_id=1111, Publisher_id=23456, display_name="test publish") If the room was successfully added, but did not join as a publisher
Print request details
10: 50:23: Send: {"janus": "message", "body": {"request": "join", "ptype": "publisher", "room": 1111, "display": "test publish", "publisher_id": 23456}, "transaction": "49cdf138a15749e98d2e0d9d30d2d4f0", "apisecret": "wetalk_janus", "session _id": 932189969595 30429, "handle_id": 5916266656752316}
Data returned by Janus server
10: 50:23: Received: {'janus': 'ack', 'session id': 932189969530429, 'transaction': '49cdf138a15749e98d2e0d9d30d2d4f0'}
10: 50:23: Received: {'janus': 'event', 'session id': 932189969530429, 'transaction': '49cdf138a15749e98d2e0d9d30d2d4f0', 'sender': 5916266656752316, 'plugindata': {'plugin ':' janus. plugin. videoroom ',' data ': {'videoroom': 'joined', 'room': 1111, 'description': 'Demo Room' ',' id ': 2664505253809310,' private_id ': 582534088,' publishers': []}}
It can be seen that the requested data is correct, but the publisher parameter and publisher_id parameter are not effective
The Janus server does not have any special settings for this room. I tried using other clients to create publishers normally. I don't understand where the problem lies
The second question,
As a publisher, Is await publish waiting for the stream to be sent? If so, is there any other fully asynchronous method for sending streams that can stop or switch streams at any time without waiting for all streams to be sent
The above is from automatic translation. We apologize for any inconvenience caused
Thank you to the author for answering
Hi! I successfully launched JanusVideoCallPlugin and it works great. However, I'm confused about how to write my own JanusTextRoomPlugin. Could you help me with an example? I would like to receive and send messages to the text room.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.