Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expecting Byte Form #6

Open
SharathChampzz opened this issue Mar 19, 2020 · 2 comments
Open

Expecting Byte Form #6

SharathChampzz opened this issue Mar 19, 2020 · 2 comments

Comments

@SharathChampzz
Copy link

(Its Expecting Byte form But got String in Videosocket.py Inside vsend function :
sent = self.sock.send(lengthstr[metasent:]) )
I Tried to Change to "sent = self.sock.send(lengthstr[metasent:].encode())"
Error goes but at decoding it doesnot works.

If its encoded using 'utf-8' , decoding is not properly done .While Decoding
Error says : UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

@parthp2804
Copy link

Hey @SharathChampzz
I’m getting the same error, did you find the solution of this ?

@SharathChampzz
Copy link
Author

No sorry! @parthp2804 I just moved on to WEBRTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants