licode publishing licode stream not working - licode

I am developing a video conference application using licode having multiple users(suppose 4).
I want that every user can view his webcam's video but he can publish his video in conference room only when he gets the permission.
I get access of camera using following.
localStream.init();
localStream.show("myVideo");
this is working fine.
Through a script we decide which user will get permission of publishing stream, under the script i am using following code to publish users stream.
room.publish(localStream);
but through this users stream is not publishing under the room, please tell me what i am doing wrong.
also is there any process to check how many streams in the room??
Thanks

The localStream is always available and can be used to publish anytime. Just recheck your code again. I would suggest to use setTimeout and publish the stream after 30 seconds your localstream is generated. I am sure this will work.

Related

Youtube - New Livestream does not start until i dismiss old one

I am streaming video from an IP camera to Youtube using the restreamer software (https://datarhei.github.io/restreamer/) running on a Raspberry Pi 4.
Actually everything works as well. But when the stream is interrupted (for whatever reason), a new livestream is created only when I click on the "Dismiss" button in Youtube Studio.
But since I want to start the new stream automatically, I'm looking for a way to execute the click on the button (or the associated command) via the Youtube API.
How can I execute this?
I will answer my own question because I found the problem description and a solution in another forum: https://obsproject.com/forum/threads/stream-didnt-show-error-or-load-to-youtube.130897/
Something has changed on youtube in the last few days, but the solution to manage a real streaming reconnection is this: from the youtube control room from the manage icon, you need to create a scheduled streaming. Start the encode on this stream and everything will work fine. If the connection drops, youtube will say streaming offline; when the connection is re-established, streaming restarts.

Cordova ios watch live video streaming ApiRTC

I am using cordova ios app for live streaming. I am able to stream video from iphone but when i try to join stream it never calls remoteStreamAddedHandler function to display streaming video.
I am using cordova-plugin-iosrtc plugin. It also shows status that "someone has joined room" but not calling that remoteStreamAddedHandler where i can append video tag from. It is working fine in andriod phone.
Thanks
remoteStreamAddedHandler event is fired when a remote user has already joined the room and published his stream.
On apiRTC tutorial : 11-VIDEO CALL STREAMING, user only subscribe to available streams (there is no video publish)
You need to have an user connected with tutorial 10-GROUP CALL, this user will publish his stream and subscribe to remote streams.
The tutorial 12-GROUP CALL - ADVANCED shows you an advanced sample where user can choose to publish/subscribe streams.

Latency issue in iOS SDK Skype + At completion of connection defaul audio feed is mute

I am using iOS SDK Skype for Business following are my concerns.
Latency issue - It takes lots of time to connect the call even at good network also I am keeping video service on demand default connection is only for Audio feeds.
After call connected audio feed default set to muted, didChangeIsMuted delegate returns true (Mute). User has to manually press the button to unmute it.
Latest SDK Demo at url https://github.com/OfficeDev/skype-ios-app-sdk-samples/tree/master/BankingAppSwift is not compiling successfully. Few resource files are missing (Helper files).
The Meeting join only connects to IM and Audio. It does not enable Video by default. You have to explicitly start the video service one the meeting join in complete (Conversation moves to established state).
For Latency, can you give an estimate.. how long did it take to join the meeting?
We will look at this one and reply back.
Please use the Helper files from the SDK Zip package. They are not provided by default in the GitHub samples.

Override the start recording event in Youtube APIs

I am trying to develop a web application in which user can record his/her video using the webcam and upload it to youtube.
I would like to incorporate a feature in which video recording starts automatically. User need not press the start button(Ofcourse we need to take the permission to access the webcam). Once he/she allows the webcam access, the video recording should automatically start after 30 seconds.
Any help will be highly appreciated.
I m afraid that Youtube APIs does not provide that functionality. You need to build your own custom video recorder for that.
https://developers.google.com/youtube/youtube_upload_widget

Can I save a stream-only track locally for offline capability?

I am developing an iOS app that will play music from soundcloud. I want to give the user the option of an offline mode so he/she can play music even if there is no connection available.
it is technically possible to download the streamed mp3:s locally (I have already implemented it) but will Soundcloud allow me to do it? I have no intention of making these mp3:s accessible outside the app.
The problem of using a downloaded copy instead of the streamed track would be that the play would not count. Is there a way to register a play without actually playing the track?
I have tried to reach them through mail and twitter but I have got no reply yet.
Any thoughts?
Short summary of nickf:s comment above:
this is expressly disallowed

Resources