sourcey / libsourcey

C++14 evented IO libraries for high performance networking and media based applications
https://sourcey.com/libsourcey
GNU Lesser General Public License v2.1
1.31k stars 347 forks source link

TURNMediaProvider in exmaple #107

Closed notedit closed 7 years ago

notedit commented 7 years ago

i see the TURNMediaProvider exmaple in turn example.

it seems that use this TURNMediaProvider and generate some ice candidate to some other webrtc peer, then i can have a true real time broadcast system?

auscaster commented 7 years ago

Yes this would be possible, but you would need to code it. I'm closing this issue because it's not technically an issue, but if you have specific questions perhaps I can answer them

notedit commented 7 years ago

thansks, i will email you later.

notedit commented 7 years ago

hi @auscaster i want to test TURNMediaProvider example.

can you give me some advise how can i make this work and another webrtc client can watch this

auscaster commented 7 years ago

Hi there, you can raise a TURN server (turn/samples/turnserver) and set the server URL on the WebRTC client in browser or native to use it.

notedit commented 7 years ago

what i understand is that TURNMediaProvider is a turn client and media provider, another peer can connect to it and watch the media. what i don't understand is that how i can handler the sdp stuff? answer/offer and sigaling

auscaster commented 7 years ago

OK I follow you ... this would require some hacking to work with webrtc since the TURNMediaProvider does not implement any ICE signalling, only TURN signalling.

If you want to stream media to a webrtc client there is a native sample that does exactly that in webrtc/samples/webrtcstreamer

On 9 January 2017 at 05:18, notedit notifications@github.com wrote:

what i understand is that TURNMediaProvider is a turn client and media provider, another peer can connect to it and watch the media. what i don't understand is that how i can handler the sdp stuff? answer/offer and sigaling

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sourcey/libsourcey/issues/107#issuecomment-271208958, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGKDM0wvA8L38b3RQK9RJKe87W-cf_Rks5rQbT7gaJpZM4LQtaX .