-
Notifications
You must be signed in to change notification settings - Fork 364
Description
Hi,
Use case:
Streaming video from IP camera using Webrtc C sdk as master to a web browser using Webrtc JS as viewer.
Logging
logs.txt
Describe the bug
Video is not streamed from master if viewer does not stream video back.
SDK version number
Latest : v1.7.3
To Reproduce
Steps to reproduce the behavior:
- Use viewer JS example and set sendvideo=False flag in viewer.js
- Use master c example or gstmaster example to stream video into a browser.
- Check if video from master is working.
Expected behavior
When setting sendvideo= False in js viewer I expect that I only receive video from master (C sdk). But once I set this flag to false, or disabling the viewer camera, I cant get any video from master.
Desktop (please complete the following information):
- OS: ubuntu 20.04
- Browser chrome
- Version 101.0.4951.41 (Official Build) (64-bit)
Additional context
Additionaly I tried to modify RTC_RTP_TRANSCEVER direction to SENDONLY in PeerConnection.C, as well videoRtpTranseiver direction in Common.C, nothing seem have effect.
Tried to modify viewer.js%3B,-//%20When%20trickle%20ICE) based on this PR, doesnt seem to have effect either
I tried to follow other issues:
awslabs/amazon-kinesis-video-streams-webrtc-sdk-js#81
#148
On this issue -
#468
I can understand that the modification I did are not needed, but still, if I set sendvideo = False on the viewer side, I still dont get any video at all.
Tried to debug myself but I couldnt figure if it is something with the C Sdk, JS Sdk, or it is just the browser itself.
Any ideas?
Thanks.