EricssonResearch / openwebrtc

A cross-platform WebRTC client framework based on GStreamer
http://www.openwebrtc.org
BSD 2-Clause "Simplified" License
1.8k stars 537 forks source link

Is it possible to create a webrtc application without browser using Openwebrtc #403

Closed suganthikarthick closed 9 years ago

suganthikarthick commented 9 years ago

Hi all, We have an embedded device which has a camera. we need to stream the media from the device to a browser (firefox or chrome). The device doesnot have a browser. We need to create a webrtc application which can run without browser and it should be able to send webrtc streams without browser. Whether we can use OpenWebRTC for creating webrtc applications without browser? We have a signaling server also in middle, for initial connection. The device is linux based.

Thanks in advance. Suganthi

barcoyou commented 9 years ago

And when I do ./configure, always got the following error: checking for GSTREAMER_SCTP... no configure: error: Package requirements (gstreamer-sctp-1.0) were not met:

No package 'gstreamer-sctp-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables GSTREAMER_SCTP_CFLAGS and GSTREAMER_SCTP_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

ScottChayaa commented 9 years ago

Hi, I got the same problem : ... dpkg-shlibdeps: error: no dependency information found for /opt/openwebrtc-0.3/lib/libjpeg.so.8 (used by debian/openwebrtc-gstreamer-1.0-core/opt/openwebrtc-0.3/lib/gstreamer-1.0/libgstopengl.so) ...

I have already check the path : " /opt/openwebrtc-0.3/lib/libjpeg.so.8" is exist. But I dont know why it got error.....

Does anyone know how to fix it ?

superdump commented 9 years ago

This should now be fixed if you update your cerbero clone. A couple of packaging dependencies were missing.

ScottChayaa commented 9 years ago

Thanks for reply Do you recommand to build on Ubuntu 12.04 ? Or 14.04 ? Or anyother platform?

superdump commented 9 years ago

14.04.

barcoyou commented 9 years ago

Hi, When I use iOS client to initiate a SDP session, the message is like: {"type": "offer", "sdp": "v=xxxxx,xxx"}

But the test_client.c under "tests" expects the message like {"sdp": {"type":"offer", "sdp":"v=xxx,xxx"}, "sessionDescription":{"version":0,"originator":{"username":"-","sessionId":1442570332604854000,"sessionVersion":1,"netType":"IN","addressType":"IP4","address":"127.0.0.1"},"sessionName":"-", .....}

What's wrong, how can I generate the missing part of the SDP "offer" message?

Thanks!

stefanalund commented 9 years ago

@barcoyou You can experiment by changing what is signaled here: https://github.com/EricssonResearch/openwebrtc-examples/blob/master/ios/NativeDemo/NativeDemo/NativeDemoViewController.m#L185