Closed Alijaaan closed 2 years ago
Is H5 OK? Or only issue in flutter_live?
Is H5 OK? Or only issue in flutter_live?
Yes H5 is Ok. I easily can publish Streams by OBV and play in H5(webrtc) and VlC-player (rtmp). But when I try to publish or play from flutter app I receive this error.
I tried so hard, but no luck, It seems when the offer send to api it has a problem and I do not receive answer. this is my offer :
v=0\r\no=- 3003030913490621030 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1 2\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS 271b7e9d-c661-4053-8478-f04056474eb7\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 35 36 100 101 127\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:q6nb\r\na=ice-pwd:Db+Hauh1GeyqgNUT3TrKw87O\r\na=ice-options:trickle renomination\r\na=fingerprint:sha-256 85:1B:E0:F1:F9:34:D6:90:51:FA:C8:21:EE:37:D3:A9:A7:21:D1:03:CB:E6:18:76:2D:0A:A5:A9:3D:A5:B7:62\r\na=setup:actpass\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 urn:3gpp:video-orientation\r\na=extmap:4 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/vi
If H5 is ok, it generally the problem of client, and SRS can not help you.
Please check your client carefully.
BTW: Recommend use HTTP-FLV/RTMP/HLS if possible.
If H5 is ok, it generally the problem of client, and SRS can not help you.
Please check your client carefully.
BTW: Recommend use HTTP-FLV/RTMP/HLS if possible.
Dear Winlinvip,
Thanks for your answer and help.
I tried so much and I found something.
When I'm using flutter-web. everything is ok.
Peer Connection is ok and I can publish and play in both side.
But when I'm trying on emulator or real device I receive this error :
no valid found h264 payload type
Don't you think it might be related to srs server or any config?
Dear Winlinvip,
I've searched a lot in flutter webrtc and I found many devices are not support H264. It means if anyone wants to use webrtc in any device they have problem like me. That's why I could publish and play easily in flutter web, but no luck in device. Is there any chance to support other codecs in srs server or is there any configuration that I missed?
Thanks in advance for your time and help.
Make sure to maintain the markdown structure.
Make sure to maintain the markdown structure.
Description
Make sure to maintain the markdown structure.
Make sure to maintain the markdown structure.
4
Make sure to maintain the markdown structure.
Make sure to maintain the markdown structure.
Replay
Make sure to maintain the markdown structure.
How to replay bug?
Make sure to maintain the markdown structure.
xxxxxx
xxxxxx
xxxxxx
Expected behavior (Expect)
Make sure to maintain the markdown structure.
Make sure to maintain the markdown structure. I'm trying to publish and play with webrtc in my flutter app. First I added the stream by OBV to server and I could play with VLCPlayer by rtmp. Even I could recieve it in webrtc in html default page of srs. Then I used some help from flutter_live project and rtcdn-draft to how play streams by webrtc. I received : no found valid H.264 payload type. Then I tried to publish my stream to server by webrtc from my app. I received again : no found valid H.264 payload type.
TRANS_BY_GPT3