Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example: create a pions <-> flutter-webrtc example #10

Closed
backkem opened this issue Aug 3, 2018 · 9 comments
Closed

example: create a pions <-> flutter-webrtc example #10

backkem opened this issue Aug 3, 2018 · 9 comments

Comments

@backkem
Copy link
Member

backkem commented Aug 3, 2018

Create an example connecting pions with flutter-webrtc.

cc @gedw99

@ghost
Copy link

ghost commented Aug 3, 2018 via email

@backkem
Copy link
Member Author

backkem commented Aug 3, 2018

@gedw99 I suggest we keep the example as simple as possible. Unless flutter has some specific needs, I think the example can live in the main repo for now. Feel free to ask for help if anything is blocking you. You may also want to join the #pion channel of the gophers slack since we're really active on there.

@ghost
Copy link

ghost commented Aug 4, 2018 via email

@cloudwebrtc
Copy link
Member

cloudwebrtc commented Mar 26, 2019

I created an example of flutter for sfu-ws here sfu-ws/flutter, I did some simple tests, Publisher is works, but Subscriber in iOS can only hear the sound, the webrtc log shows that the decoder could not find the keyframe.

Reasons and test steps:
1, Run sfu-ws
2. Start publishing using the web client.
     pc.createOffer provides VP8/playload=96 => sfu
     pc.setRemoteDescription(answer) <= sfu

3, Start to subscribe to use the Flutter client
      pc.createOffer provides H264/payload=96 => sfu (The real payload of VP8 is 100 on iOS.)
      pc.setRemoteDescription(answer) <= sfu
     
The Flutter client starts to receive the video stream, but the playoad does not match, the webrtc framework will get the rtp from SFU's VP8/pt=96, and the error as H264/pt=96 will not be decoded.

If the Subscriber process is createOffer by sfu, and the client answer, maybe can fixed this issue.

@dtel
Copy link

dtel commented Apr 17, 2019

ok. I will work on a PR.

Any joy in integrating flutter with pions?

@Sean-Der
Copy link
Member

Hey @dtel

All the work is done! I just need to merge the PR :( we are working on release v2.0.0, right when that is done we should be able to do this easily.

#8

@Sean-Der Sean-Der transferred this issue from pion/webrtc Apr 17, 2019
@joeblew99
Copy link

@Sean-Der any updates on this. I am also working on this and dont want to overlap work.

@anilthummar
Copy link

Hello Everyone ,
can we set up personal server with pion webrtc ?
i am getting error like below
{
I/flutter ( 8210): [Ion::Client] DEBUG: leave reject: error =>transport error
I/flutter ( 8210): [protoo-client] DEBUG: close()
I/flutter ( 8210): [protoo-client] DEBUG: constructor()
I/flutter ( 8210): [protoo-client] DEBUG: constructor() [url:https://meet.cynod.live/html5client/join?peer=bb48fd89-045a-47b8-b3bc-9761e21cde9c]
}

@Sean-Der
Copy link
Member

This is done!

sfu-ws is a many-to-many conferencing demo. In the flutter we have an example applications that works just like the index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants