-
Notifications
You must be signed in to change notification settings - Fork 4
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
Not able to run JanusDocker in Mac M1 #4
Comments
The warning that you see makes sense because to cut the build time the project is split into two parts one januscoredeps which only contains janus core dependencies for compiling janus and another is janus itself now to make it work you need to compile arm64 image for januscoredeps which is architecture of your m1 macbook after that you need to change the base image in janus/Dockerfile to your compiled arm64 image of januscoredeps and run the project simply by docker compose up --build -d Please note in my last attempts of running it on m1 mac ,docker of mac m1 has some intrinsic issues with |
Thanks for the arm image suggestion, It helped and the container started also.
|
Looks like config files are missing maybe comment out copy command for.jcfg in Dockerfile and try running again |
Still the same error |
Try using arm64.yaml file docker compose -f arm64.yaml up --build -d Updated core deps with m1 arm processor image |
Hey @shivanshtalwar ,
Thanks for your contribution, I want to use this docker image and run janus server locally in my MAC M1 and I want to stream a rtsp url which can be streamed on H264 format.
I literally have zero knowledge of janus, but what I am trying to do is to stream rtsp url using gstreamer on port 8004 and run janus locally and then I want to access the stream in my flutter app using janus_client which is also a contribution of yours.
I am able to run gstreamer stream locally and I am done with the flutter janus_client setup using the example in the janus_client repo for streaming.dart.
But I am not able to run janus locally in mac, so I am trying to follow the JanusDocker method you provided in the medium article you wrote. I cloned the janusDocker repo and simply run the commands you provided for build, I don't know what the commands in quickstart mean, so I just used the commands to build.
and while running the docker run command , I got this error :-
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
The text was updated successfully, but these errors were encountered: