Comments (1)
I've been reading the code of your example. But I have some questions.
- The method
pnRTCClient.connect("User2_channel");
is needed in both sides of a call(Peer to peer)? What happen if only one side call it?
2.The method pnRTCClient.listenOn("myChannel")
, is used to listen calls. Is through this method that the user start to get the remote video and messages?
I've been trying to do the below setup to do video-broadcast:
- UserA (Broadcaster) and UserB (Viewer)
- UserA (Bc):
- Go to Broadcast Activity
- Create everything needed, like:
pnRTCClient, localVideoSource, AudioSource, AudioTrack, localRender, etc
- Call
pnRTCClient.listenOn
with a channel called "ch-user-a-broacast"
- User B (Vw):
- Go to Broadcast Activity with a reference of broadcast channel name
- Create:
PeepRTCClient
mediaStream(empty without localVideoTrack, localAudioTrack)
- The viewer doesn't call
pnRTCClient.listenOn
- Call
pnRTCClient.connect
with the channel name "ch-user-a-broacast"
- UserA (Bc):
But, it doesn't works!!!
I would appreciate any suggestion!!
Thanks! :)
from android-webrtc-api.
Related Issues (12)
- How to listen for the Hangup Packets? HOT 2
- A find a bug and i cannot under please help me HOT 3
- Cant run project
- Where to implement stun / turn from xirsys
- other user cann't call me
- New PubNub Instance on every Activity? HOT 1
- onAddRemoteStream ,onRemoveRemoteStream not called HOT 2
- why cant import org.webrtc.
- Audio/Video Streaming:One side stream only HOT 1
- Why doesn't PnPeer have to create answer and call setRemoteDescription?
- pubnub subscribe error on listen method
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 android-webrtc-api.