Comments (13)
您好, 我會研究下如何在ESP32上兼容WHIP/WHEP信令協議, 如果您的應用場景是將ESP32 Camera推流到流媒体服務器的話, 可能會面臨到編碼格式的問題
https://components.espressif.com/components/espressif/esp_h264
from libpeer.
您好, 我會研究下如何在ESP32上兼容WHIP/WHEP信令協議, 如果您的應用場景是將ESP32 Camera推流到流媒体服務器的話, 可能會面臨到編碼格式的問題 https://components.espressif.com/components/espressif/esp_h264
其实我主要是使用音频,当然H264能支持是最好的了
from libpeer.
Hi. 目前whip分支上的esp32s3範例已經能透過WHIP推流到ZLMediakit或Janus (Simple WHIP Server)
但尚未完成HTTPS的支持, 並且受限ESP32的效能, 我只有成功嘗試 OPUS (8000HZ/18000bps)和 H264 (96x96/7FPS),
可以透過修改config.h來設置media server地址
from libpeer.
I have no problem about being HTTP on my side.
I will give it a try next week! Will let you know how it goes.
from libpeer.
是否可以支持zlmediakit的webrtc服务器?它可以使用http或WHIP/WHEP信令协议,能否尝试兼容一下?
from libpeer.
我的主要场景是使用在ESP32上,谢谢了
from libpeer.
Hey there I'm also interesting in WHIP, mostly for ESP-EYE.
It makes all the handshaking way easier to integrate to third-party media servers. https://www.ietf.org/archive/id/draft-ietf-wish-whip-01.html
from libpeer.
其实我主要是使用音频,当然H264能支持是最好的了
Yes. OPUS + H264 is ideal in my case of interest :)
from libpeer.
请问WHIP/WHEP支持现在有进度吗?
from libpeer.
Hi,
I've tested the code and I haven't been able to receive the stream correctly. I doubt that my WHIP endpoint is not working correctly, since I can use it with other services.
I debugged a little bit the code and found where is getting stuck:
It's in an infinite loop in this line:
Line 347 in 6ec50f7
I've added a LOG in this section
case PEER_CONNECTION_NEW:
LOGI("NEW CONNECTION %d",pc->b_offer_created);
if (!pc->b_offer_created) {
peer_connection_state_new(pc);
}
break;
And well, the code is landing infinitely in PEER_CONNECTION_NEW
and the value of pc->b_offer_created
is always true
INFO /libpeer-seed/libpeer/src/peer_connection.c 352 NEW CONNECTION 1
INFO /libpeer-seed/libpeer/src/peer_connection.c 352 NEW CONNECTION 1
INFO /libpeer-seed/libpeer/src/peer_connection.c 352 NEW CONNECTION 1
INFO /libpeer-seed/libpeer/src/peer_connection.c 352 NEW CONNECTION 1
INFO /libpeer-seed/libpeer/src/peer_connection.c 352 NEW CONNECTION 1
What could cause the code to be infinitely looping in this case? 🤔
Note:
I was also trying to add my own STUN SERVER
, but it fails to be added the last logs I see are these:
INFO /libpeer-seed/libpeer/src/agent.c 167 resolved_addr.port: 5349
ERROR /libpeer-seed/libpeer/src/stun.c 196 Unknown Attribute Type: 0x802b
ERROR /libpeer-seed/libpeer/src/stun.c 196 Unknown Attribute Type: 0x802c
ERROR /libpeer-seed/libpeer/src/stun.c 196 Unknown Attribute Type: 0x8022
These attributes are for:
0x802b -> Response Origin
0x802c -> Other Address
0x8022 -> Software
from libpeer.
I just increased the timeout at https://github.com/sepfy/libpeer/blob/whip/src/peer_signaling.c#L18 like @sepfy suggested and it's working now 😄
I haven't tried with my own STUN server, will try that now
from libpeer.
Hi. 目前whip分支上的esp32s3範例已經能透過WHIP推流到ZLMediakit或Janus (Simple WHIP Server) 但尚未完成HTTPS的支持, 並且受限ESP32的效能, 我只有成功嘗試 OPUS (8000HZ/18000bps)和 H264 (96x96/7FPS), 可以透過修改config.h來設置media server地址
感谢您的支持,谢谢,我试一下。
from libpeer.
WHIP supported 192d7f0
from libpeer.
Related Issues (20)
- [QUESTION] Can it work with ESP32 Arduino? HOT 2
- whip的esp32s3编译报错 HOT 6
- mdns? HOT 3
- Error during make HOT 1
- the sample demo in waiting status forever HOT 7
- missing headers HOT 2
- Windows support HOT 5
- Is usrsctp required to open the data channel for string HOT 1
- Support WHEP
- Permissions and candidates
- IPv6 support HOT 1
- how to test
- libpeer does not work in Firefox, and takes ~40s to load in Chrome HOT 2
- Candidate pairs are not tested based on priority.
- Where to set ICE Candidate generate by remote?
- Can't compile for Arduino ESP32. HOT 1
- ports_resolve_mdns_host always return -1 for ESP32
- More documentation please + Arduino support if possible
- Is libpeer ice connection only support a=setup:passive?
- Any support or idea how to run on STM32 MCU ? thanks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libpeer.